How can I find the line where the code crashes?
Hi
I only got the following error message:
[package-2] process has died [pid 14880, exit code -6, cmd /home/user/catkin_ws/devel/lib/package/package_node /package/sub_topic:=/topic __name:=package __log:=/home/user/.ros/log/74b3f964-c270-11ea-9dfa-98e743bf11b3/package-2.log].
log file: /home/user/.ros/log/74b3f964-c270-11ea-9dfa-98e743bf11b3/package-2*.log
How do I find the line of code, where the code crashed?
Edit: Is there also a way to run the executable via rosrun or roslaunch?
I don't get any errors with gdb <path to ros executable>
, but the node is also not getting any input topics (for example the navigation goal I usually set in RVIZ).
Thanks