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

index out of bounds crash when changing 3D view origin #6142

Closed
roym899 opened this issue Apr 27, 2024 · 0 comments · Fixed by #6202
Closed

index out of bounds crash when changing 3D view origin #6142

roym899 opened this issue Apr 27, 2024 · 0 comments · Fixed by #6202
Assignees
Labels
🪳 bug Something isn't working 💣 crash crash, deadlock/freeze, do-no-start ui concerns graphical user interface
Milestone

Comments

@roym899
Copy link
Collaborator

roym899 commented Apr 27, 2024

Describe the bug
I got the crash below when changing the origin of the 3D view.

To Reproduce
Happened randomly. Not sure how easy it is to reproduce. I can try to reproduce it if the stacktrace is not sufficient.

Backtrace

[visualizer-2] thread 'ThreadId(1)' panicked at 'index out of bounds: the len is 0 but the index is 0'
[visualizer-2] re_viewer/src/ui/space_view_space_origin_ui.rs:143
[visualizer-2] stack backtrace:
[visualizer-2]    6: core::panicking::panic_fmt
[visualizer-2]              at core/src/panicking.rs:72:14
[visualizer-2]    7: core::panicking::panic_bounds_check
[visualizer-2]              at core/src/panicking.rs:180:5
[visualizer-2]    8: core::ops::function::FnOnce::call_once{{vtable.shim}}
[visualizer-2]    9: core::ops::function::FnOnce::call_once{{vtable.shim}}
[visualizer-2]   10: egui::ui::Ui::allocate_ui_with_layout_dyn
[visualizer-2]   11: egui::ui::Ui::allocate_ui_at_rect
[visualizer-2]   12: egui::grid::Grid::show_dyn
[visualizer-2]   13: re_viewer::ui::selection_panel::space_view_top_level_properties
[visualizer-2]   14: core::ops::function::FnOnce::call_once{{vtable.shim}}
[visualizer-2]   15: egui::ui::Ui::push_id
[visualizer-2]   16: re_viewer::ui::selection_panel::SelectionPanel::contents
[visualizer-2]   17: re_ui::ReUi::panel_content
[visualizer-2]   18: egui::containers::scroll_area::ScrollArea::show
[visualizer-2]   19: core::ops::function::FnOnce::call_once{{vtable.shim}}

Desktop (please complete the following information):

  • OS: Ubuntu 22.04

Rerun version

rerun_py 0.15.0 [rustc 1.74.0 (79e9716c9 2023-11-13), LLVM 17.0.4] x86_64-unknown-linux-gnu release-0.15.0 bc8bcd0, built 2024-04-09T14:34:04Z

@roym899 roym899 added 🪳 bug Something isn't working 👀 needs triage This issue needs to be triaged by the Rerun team labels Apr 27, 2024
@emilk emilk added 💣 crash crash, deadlock/freeze, do-no-start ui concerns graphical user interface and removed 👀 needs triage This issue needs to be triaged by the Rerun team labels Apr 29, 2024
@emilk emilk added this to the 0.16 milestone May 2, 2024
@emilk emilk self-assigned this May 2, 2024
@jleibs jleibs closed this as completed in aef7f40 May 2, 2024
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 ui concerns graphical user interface
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants