OctoMap / octomap_mapping

ROS stack for mapping with OctoMap, contains octomap_server package
http://www.ros.org/wiki/octomap_mapping
335 stars 280 forks source link

process has died, exit code -11 Segmentation fault #86

Closed Manit-Chan closed 3 years ago

Manit-Chan commented 3 years ago

Once I have used this great library octomap_mapping in hector_quadrotor with Velodyne VLP16 project to show Marker array on Rviz and it work perfectly.

But when i go to another project and need to apt full-upgrade, our hector_quadrotor project cann't work again.

We remove and reinstall ros and its dependencies after that hector_quadrotor project work again but octomap_mapping not.

When we use"roslaunch octomap_server octomap_mapping.launch" it say octomap_server: "process has died, exit code -11".

With gdb, we get more detail of error

Thread 1 "octomapserver" received signal SIGSEGV, Segmentation fault

sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: No such file or directory

This is octomap_mapping.launch

`

`

(point cloud topic (sensor_msgs/PointCloud2) is already published on /cloud_in so we dont need to remap)

Our environment

I tried to search about "Segmentation fault" and it tend to be something wrong with PCL.

wxmerkt commented 3 years ago

Are you using the Velodyne Gazebo plugin by any chance? We recently saw the error above coming from the Pointcloud-from-message conversion in another package and it was due to malformed LidarScans of the Velodyne Gazebo plugin. In this case compiling the latest Velodyne Gazebo plugin from source fixed it.

Manit-Chan commented 3 years ago

Thank you wxmerkt After i install Velodyne Gazebo plugin from source, It work again and now Marker array are shown on Rviz.

wxmerkt commented 3 years ago

Great, thanks for the feedback. I'll go ahead and will close the issue.