loam_velodyne icon indicating copy to clipboard operation
loam_velodyne copied to clipboard

[laserMapping-3] process has died [pid 29080, exit code -11

Open kentzou opened this issue 6 years ago • 17 comments

@dimatura@evenator @laboshinl @facontidavide _001

I run the loam_velodyne according to the github page. In first terminal $ cd ~/catkin_ws/src/ $ git clone https://github.com/laboshinl/loam_velodyne.git $ cd ~/catkin_ws $ catkin_make -DCMAKE_BUILD_TYPE=Release $ source ~/catkin_ws/devel/setup.bash In second terminal $ roslaunch loam_velodyne loam_velodyne.launch $ rosbag play ~/Downloads/velodyne.bag

and then ,show the follow error: [laserMapping-3] process has died [pid 29080, exit code -11, cmd /home/yong/catkin_ws/devel/lib/loam_velodyne/laserMapping __name:=laserMapping __log:=/home/yong/.ros/log/caae77aa-ffda-11e7-b7e2-1002b5cc091b/laserMapping-3.log]. log file: /home/yong/.ros/log/caae77aa-ffda-11e7-b7e2-1002b5cc091b/laserMapping-3*.log

I use ubuntu14.04 and PCL 1.8. I found it caused by this code in LaserMapping.cpp: matX = matAtA.colPivHouseholderQr().solve(matAtB); Could you tell me how to solve it.

kentzou avatar Jan 23 '18 02:01 kentzou

Hi, got the same problem. Waiting for advices ...

ClementLeBihan avatar Feb 12 '18 15:02 ClementLeBihan

Me too

brunoeducsantos avatar Jul 04 '18 10:07 brunoeducsantos

@laboshinl should take a look at it, but since it is somehow related to a change I submitted, I will try to take a look at it. Can anyone share a rosbag to reproduce the error, please?

facontidavide avatar Jul 05 '18 07:07 facontidavide

Hey, How can I share the rosbag? Github doesnt allow it.

brunoeducsantos avatar Jul 05 '18 08:07 brunoeducsantos

The error is:

[laserMapping-8] process has died [pid 2688, exit code -6, cmd /home/bruno/catkin_ws/devel/lib/loam_velodyne/laserMapping __name:=laserMapping __log:=/home/bruno/.ros/log/00585b14-802d-11e8-8f50-2816ad8422ea/laserMapping-8.log]. log file: /home/bruno/.ros/log/00585b14-802d-11e8-8f50-2816ad8422ea/laserMapping-8*.log [multiScanRegistration-6] process has died [pid 2662, exit code -11, cmd /home/bruno/catkin_ws/devel/lib/loam_velodyne/multiScanRegistration /multi_scan_points:=/velodyne_points /imu/data:=/raw_imu __name:=multiScanRegistration __log:=/home/bruno/.ros/log/00585b14-802d-11e8-8f50-2816ad8422ea/multiScanRegistration-6.log]. log file: /home/bruno/.ros/log/00585b14-802d-11e8-8f50-2816ad8422ea/multiScanRegistration-6*.log

brunoeducsantos avatar Jul 05 '18 08:07 brunoeducsantos

@BrunoEduardoCSantos let me google it for you

facontidavide avatar Jul 05 '18 08:07 facontidavide

Any dataset available it has the error.

brunoeducsantos avatar Jul 05 '18 12:07 brunoeducsantos

in that case, I am not able to reproduce the error. @laboshinl any idea?

facontidavide avatar Jul 05 '18 13:07 facontidavide

Which version do you have?

brunoeducsantos avatar Jul 05 '18 13:07 brunoeducsantos

So, I run on gdb mode and no error comes up.

brunoeducsantos avatar Jul 06 '18 09:07 brunoeducsantos

I REALLY don't want to sound rude, so don't take me wrong, but:

  1. This is @laboshinl 's project, not mine. But he has been silent so far. I am not an official nor extra-official maintainer of this repository.
  2. Nevertheless, I will be happy, just for fun, to take a look at this issue, IF you or anyone else sends me a rosbag to reproduce the error. Otherwise, I will not spend a single minute on it.

You can use my email: [email protected] if you don't want to post the link here.

Cheers

facontidavide avatar Jul 06 '18 09:07 facontidavide

Got the same error. I had sent you@facontidavide the rosbag. Waiting your answer.

linweilin avatar Jul 27 '18 07:07 linweilin

Thanks @Williamc17 . I will take a look when I have time. Don't hold your breath ;)

facontidavide avatar Jul 27 '18 10:07 facontidavide

@kentzou @facontidavide @Williamc17 I have met exactly the same problem with you. After some debug and search time, I find it caused by the mismatch compiler flag of prebuild pcl library. I reinstall pcl, build it from source, then everything is Okey.

Related issue and pr from pcl library is here: issue2364 , pr2100

Hope it could be helpful

Jackey-Huo avatar Aug 11 '18 05:08 Jackey-Huo

Jackey is right, update pcl to version 1.8, the problem is fixed!! Thx man

Allen0 avatar Sep 17 '18 06:09 Allen0

Hi, @kentzou

Recently i run into similar situation like you not only in loam but also A-LOAM, loam_livox. It is all about the laserMapping process. Can you tell me your solution to this ?

Looking forward to your generous help ;)

YangSiri avatar Dec 13 '19 02:12 YangSiri

Comment out 35th row in CMakeLists.txt, like below. #add_definitions( -march=native ) then catkin_make again, everything is OK in my PC.

liunao123 avatar Jul 31 '21 02:07 liunao123