Rviz crashes abruptly after running for a short time. exit code -8. Why?
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?
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.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.