Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when trying to create zero sized classid color map texture #1946

Closed
Wumpf opened this issue Apr 20, 2023 · 0 comments · Fixed by #1947
Closed

Crash when trying to create zero sized classid color map texture #1946

Wumpf opened this issue Apr 20, 2023 · 0 comments · Fixed by #1947
Assignees
Labels
🪳 bug Something isn't working 💣 crash crash, deadlock/freeze, do-no-start 🔺 re_renderer affects re_renderer itself 📺 re_viewer affects re_viewer itself

Comments

@Wumpf
Copy link
Member

Wumpf commented Apr 20, 2023

Running rerun-io/grounding-sam@e1eb004 causes a wgpu error which causes a panic in release mode.

2023-04-20T14:22:44Z ERROR wgpu::backend::direct] Handling wgpu errors as fatal by default

thread 'ThreadId(1)' panicked at 'wgpu error: Validation Error

Caused by:
    In Device::create_texture
    Dimension Y is zero

', wgpu-0.15.1/src/backend/direct.rs:3024

   8: core::panicking::panic_fmt
             at core/src/panicking.rs:64:14`

Running it in debug isn't a crash but reveals that somewhere we create a zero sized color map:

[2023-04-20T15:08:46Z WARN  re_renderer::error_tracker] unknown error cause cause=InvalidDimension(Zero(Y))
[2023-04-20T15:08:46Z ERROR re_renderer::error_tracker] WGPU error tick_nr=85 description=Validation Error

    Caused by:
        In Device::create_texture
          note: label = `class_id_colormap`
        Dimension Y is zero
@Wumpf Wumpf added 🪳 bug Something isn't working 💣 crash crash, deadlock/freeze, do-no-start 🔺 re_renderer affects re_renderer itself 📺 re_viewer affects re_viewer itself labels Apr 20, 2023
@Wumpf Wumpf self-assigned this Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪳 bug Something isn't working 💣 crash crash, deadlock/freeze, do-no-start 🔺 re_renderer affects re_renderer itself 📺 re_viewer affects re_viewer itself
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant