Segmentation fault on ros.spin()
I installed ROS from source (ros_comm) on a Raspberry Pi 3 and I cannot launch the majority of modules. When using $ roslaunch ... ... on existing launch files I get constant process has died
into restarting process
errors.
The following code throws me straight to a Segmentation fault
. Applying subscribers before spinning doesn't really do anything.
#include <ros/ros.h>
int main(int argc, char **argv)
{
ros::init(argc, argv, "my_node");
ros::spin();
}
I tried reinstalling ros, but the issue remains. The installation goes, from what I can see in the logs, without any errors.
What could be the problem here?