Segmentation fault in rtt_ros_integration_example
Hi,
I'm trying to run the hello world example in rtt_ros_integration_example and I get a segmentation fault after (or while, not sure) importing the ROS types. Last lines before the segfault are:
0.084 [ Info ][TypekitRepository::Import] Loading Typekit ros-primitives.
0.084 [ Debug ][TypekitRepository::Import] Registered Type name 'time' to the Orocos Type System.
0.084 [ Debug ][TypekitRepository::Import] Registered Type name 'int8' to the Orocos Type System.
0.084 [ Debug ][TypekitRepository::Import] Registered Type name 'int8[]' to the Orocos Type System.
0.084 [ Debug ][TypekitRepository::Import] Registered Type name 'uint8' to the Orocos Type System.
0.084 [ Debug ][TypekitRepository::Import] Registered Type name 'uint8[]' to the Orocos Type System.
0.084 [ Debug ][TypekitRepository::Import] Registered Type name 'int16' to the Orocos Type System.
0.084 [ Debug ][TypekitRepository::Import] Registered Type name 'int16[]' to the Orocos Type System.
0.084 [ Debug ][TypekitRepository::Import] Registered Type name 'uint16' to the Orocos Type System.
0.084 [ Debug ][TypekitRepository::Import] Registered Type name 'uint16[]' to the Orocos Type System.
0.084 [ Debug ][TypekitRepository::Import] Registered Type name 'int32' to the Orocos Type System.
0.085 [ Warning][TypekitRepository::Import] Overriding TypeInfo for 'ints' with 'int32[]'.
0.085 [ Debug ][TypekitRepository::Import] Registered Type name 'int32[]' to the Orocos Type System.
0.085 [ Debug ][TypekitRepository::Import] Registered Type name 'uint32' to the Orocos Type System.
0.085 [ Debug ][TypekitRepository::Import] Registered Type name 'uint32[]' to the Orocos Type System.
0.085 [ Debug ][TypekitRepository::Import] Registered Type name 'int64' to the Orocos Type System.
0.085 [ Debug ][TypekitRepository::Import] Registered Type name 'int64[]' to the Orocos Type System.
0.085 [ Debug ][TypekitRepository::Import] Registered Type name 'uint64' to the Orocos Type System.
0.085 [ Debug ][TypekitRepository::Import] Registered Type name 'uint64[]' to the Orocos Type System.
0.085 [ Debug ][TypekitRepository::Import] Registered Type name 'float32' to the Orocos Type System.
0.085 [ Debug ][TypekitRepository::Import] Registered Type name 'float32[]' to the Orocos Type System.
0.085 [ Debug ][TypekitRepository::Import] Registered Type name 'float64' to the Orocos Type System.
0.085 [ Debug ][TypekitRepository::Import] Registered Type name 'float64[]' to the Orocos Type System.
0.085 [ Debug ][TypekitRepository::Import] Registered Type name 'string' to the Orocos Type System.
Segmentation fault
I'm running ROS diamondback using pre-compiled debian packages. Has anyone managed to run this example? Any idea of what might be going wrong?
Edit: I provide a gdb backtrace, as Ruben suggested.
6.331 [ Debug ][TypekitRepository::Import] Registered Type name 'string' to the Orocos Type System.
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff0a69dd7 in ros_integration::ROSPrimitivesTypekitPlugin::loadConstructors (this=<value optimised out>)
at /tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt_ros_integration/src/orocos/types/ros_primitives_typekit_plugin.cpp:122
122 /tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt_ros_integration/src/orocos/types/ros_primitives_typekit_plugin.cpp: No such file or directory.
in /tmp/buildd/ros-diamondback-orocos-toolchain-ros-0.2.1/debian/ros-diamondback-orocos-toolchain-ros/opt/ros/diamondback/stacks/orocos_toolchain_ros/rtt_ros_integration/src/orocos/types/ros_primitives_typekit_plugin.cpp
(gdb) backtrace
#0 0x00007ffff0a69dd7 in ros_integration::ROSPrimitivesTypekitPlugin::loadConstructors (this=<value optimised out>)
at ...