What are possible reasons for ros::spinOnce causing segmentation faults?
I'm having a problem where ros::spinOnce() will cause my code to stop running because of a segmentation fault when it reaches that line. I'm not sure if it's possible to answer without seeing code but are there any general causes for this?
Thanks
Could you post a stack trace from GDB? You can add
launch-prefix="xterm -e gdb --args"
to a node in your launchfile to make it come up in gdb.