Hello,
see the line: https://github.com/ros-planning/moveit_visual_tools/blob/c166f8ee6412023b4183fc091abe6acbcdba2448/src/moveit_visual_tools.cpp#L1254
That line can segfault, because the robot_model_ may be a null pointer. This is possibly due to me using MoveIt without a source of "current" robot state information, I just want to plan hypothetical paths.
Looks like that method is missing a loadSharedRobotState();.
Calling that method from user code beforehand makes causes the segfault to disappear.