ros-drivers / pointgrey_camera_driver

ROS driver for Pt. Grey cameras, based on the official FlyCapture2 SDK.
128 stars 179 forks source link

Pointgrey_camera_driver crashes when topics are echoed #108

Closed arjun-narang closed 7 years ago

arjun-narang commented 7 years ago

Hello,

I am using Chameleon3 CM3-U3-50S5C with the pointgrey_camera_driver on ubuntu 14.04. The camera.launch file runs successfully but when I do a rostopic echo on the camera image the process dies and throws the following error:

[camera/camera_nodelet_manager-2] process has died [pid 3777, exit code -11, cmd /opt/ros/indigo/lib/nodelet/nodelet manager name:=camera_nodelet_manager log:=/home/rj/.ros/log/0b0cf670-1f15-11e7-8cc6-e4a7a033c980/camera-camera_nodelet_manager-2.log]. log file: /home/rj/.ros/log/0b0cf670-1f15-11e7-8cc6-e4a7a033c980/camera-camera_nodelet_manager-2*.log

Can someone please help me with this?

Few more things: Flycapture works fine. I am able to detect the camera I have set the necessary permissions.

I really appreciate your help.

jonbinney commented 7 years ago

"exit code -11" means a segmentation fault. There are a couple possible causes for that, but with dynamically loaded libraries (like nodelets) involved, I tend to suspect that different things (exectuables/objects) have probably been compiled with different versions of something that has ABI breaking changes.

Did you install using apt-get? Can you do a sudo apt-get update and sudo apt-get dist-upgrade to make sure you have the newest version of everything? Then completely rebuild anything you are using from source, and try running things again.

arjun-narang commented 7 years ago

Thanks. Fixed it myself.

MikeZhu92 commented 6 years ago

@arjun-narang I come up with the same issue as well. Could you please share our solution ?