Closed azeey closed 1 month ago
It seems to be related to the timerEvent
that waits until the docking_server is up and it loads the plugins. Your docking server is not running when it crashes, right?
The plugins loader is also used in the SelectorPanel, does this happen to you when you enable the SelectorPanel?
@azeey can you respond to @ajtudela's request for info? He's the original author of that panel and knows it best to solve the issue with some info.
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: https://github.com/ros-navigation/navigation2/pull/4458#issuecomment-2297700073
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 run()
waiting on the action server, log something to let the user know its waiting on something
Does this solve the crash? If so, I can test the state machine, but I trust @ajtudela did this well :smile:
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
.