-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
rviz2 Docking Panel plugin randomly crashes when system is under high load #4689
Comments
It seems to be related to the The plugins loader is also used in the SelectorPanel, does this happen to you when you enable the SelectorPanel? |
Sorry, this slipped my mind. Last I checked, it didn't happen with the SelectorPanel enabled as long as the Docking panel is disabled. I can check again tomorrow if you'd like. |
Thanks! |
I'm trying to reproduce the crash with my setup (Ubuntu 24.04, rolling, main) without success. Sometimes, when the cpu is under stress, rviz hangs for a few seconds, but it recovers. However, I'm working on an improved state machine for the panel that will hopefully fix this and this: #4458 (comment) |
I was a race condition, difficult to catch, but I fixed! @SteveMacenski could you check this branch: https://github.com/ajtudela/navigation2/tree/improve_panel using the new non-charging dock to check there is no issues? Thanks |
Software-wise it looks good! A few nits like when Does this solve the crash? If so, I can test the state machine, but I trust @ajtudela did this well 😄 |
#4717 resolves |
Bug report
Required Info:
We've been experiencing a lot of random crashes while preparing the Gazebo Ionic demo that features Nav2 (see https://github.com/gazebosim/ionic_demo). It seems to be related to system load as it occurred more frequently when I was on a video call testing out the demo.
Steps to reproduce issue
stress
to create high load on your machine. I didstress -c 16 -m 8
on my laptop 16 cores, 32GB RAMros2 launch nav2_bringup tb4_simulation_launch.py headless:=False
Expected behavior
rviz2 runs without issues
Actual behavior
rviz will start and crash immediately.
The backtrace from a core dump points to
DockingPanel
Additional information
The crash doesn't seem to happen if I disable
use_composition
.The text was updated successfully, but these errors were encountered: