Rviz crashes abruptly after running for a short time. exit code -8. Why?

asked 2022-05-07 06:21:48 -0500

Kislyy_homyak gravatar image

updated 2022-05-07 06:37:32 -0500

gvdhoorn gravatar image

I run a simulation of the vacuum cleaner robot. after a certain time of work, the rviz and gazebo programs stop working abruptly and throw this error:

REQUIRED process [rviz-9] has died!
process has died [pid 8381, exit code -8, cmd /opt/ros/kinetic/lib/rviz/rviz -d /home/dmitriy/catkin_ws/src/Clean-robot-turtlebot3/clean_robot/rviz/turtlebot3_navigation.rviz __name:=rviz __log:=/home/dmitriy/.ros/log/fc33c60a-cdf2-11ec-badb-1c872c560276/rviz-9.log].
log file: /home/dmitriy/.ros/log/fc33c60a-cdf2-11ec-badb-1c872c560276/rviz-9*.log
Initiating shutdown!

how can i solve this problem?

edit retag flag offensive close merge delete

Comments

after a certain time of work, the rviz and gazebo programs stop working abruptly

Some more specific information would be useful. What all have you tried to find the cause of the crash? Do the logs show something unexpected right before the crash? process has died is quite generic which gets logged whenever something crashes/segfaults. Valgrind/gdb can be useful too.

abhishek47 gravatar image abhishek47  ( 2022-05-07 07:44:52 -0500 )edit

when I go to the /home/dmitriy/.ros/log/fc33c60a-cdf2-11ec-badb-1c872c560276/ directory there is no file named rviz-9.log, only rviz-9-stdout.log. I don't even know how to find the problem, I'm new. trying to work on a project: https://github.com/mywisdomfly/Clean-.... there are no errors in the console before exiting, indications are displayed and at some point this error pops up.

Kislyy_homyak gravatar image Kislyy_homyak  ( 2022-05-07 09:01:16 -0500 )edit