Closed dbolkensteyn closed 8 years ago
FYI : I'm going to try to run a git bisect
on the unified repo to see if I can go back to a commit where this doesn't happen - but I'll only test against ROS Kinetic
Looks like there was an elephant in the room: A very recent upgrade to C++11.
I was able to fix this issue by reverting it [see https://github.com/davetcoleman/moveit/pull/7] - but I am not familiar enough with C++ and Boost's black magic to understand why.
This seems to relate to https://groups.google.com/forum/#!topic/moveit-users/F9vl9OadFf8
According to https://github.com/PointCloudLibrary/pcl/issues/619 and https://github.com/felixendres/rgbdslam_v2/issues/8, using C++11 is all in or all out: You can't safely mix libraries compiled with different versions of the standard.
We are currently working on moving MoveIt! to c++11 in all subprojects. So you will have to wait for a bit or help us out there to get it to work in kinetic. See https://github.com/ros-planning/moveit_core/issues/315 for details
This duplicates https://github.com/ros-planning/moveit_core/issues/313
@dbolkensteyn can you open a PR that switches the setup assistant to C++11? To get Travis to pass you'll also need to switch the .travis.yml to moveit_ci https://github.com/ros-planning/moveit_ci
Launching
moveit_setup_assistant
using the following command as documented on ROS Kinetic yields a segmentation fault.outputs:
There is no such file as
/root/.ros/log/ed290684-5319-11e6-b625-0242ac110002/moveit*
.I've built MoveIt myself from the experimental unified repository.
I've tried to add a breakpoint on the entry of the
main
function insetup_assistant_main.cpp
using CLion [I'm not familiar with gdb] - and it does not even get hit.Here is the full text under visible within the
Thread-1
window:I've googled a bit, and found that such Boost errors might be caused by different versions or flags of the compiler. I've first tried to build MoveIt with clang, which failed, and then tried to use the already-built from sources moveit-kinetic-source Docker image. Even on that image, I'm getting the same segmentation fault upon the start of the
moveit_setup_assistant
node.