ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
2

camera1394 node and nodelet crash with theora subscriber

asked 2012-10-30 04:55:43 -0500

bgoldfai gravatar image

I am using camera1394 to connect to a Point Grey Grasshopper Express via a pc express card. Yesterday, I updated Fuerte in Ubuntu 12.04 using apt-get for the first time in month or so. Since the update, whenever I launch a node or nodelet that subscribes to the theora topic published by a camera1394 node or nodelet, the camera1394 instantiation segfaults with the error:

Unable to convert from 'mono8' to bgr8

I can replicate this error message and crash with any these node test cases:

rosrun camera1394 camera1394_node
rosrun camera1394 camera1394_node _video_mode:=640x480_mono8
rosrun camera1394 camera1394_node _video_mode:=format7_mode0

and these nodelet test cases:

rosrun nodelet nodelet standalone camera1394/driver
rosrun nodelet nodelet standalone camera1394/driver _video_mode:=640x480_mono8
rosrun nodelet nodelet standalone camera1394/driver _video_mode:=format7_mode0

Launched along with:

rosrun image_view image_view image:=/camera/image_raw theora

Any camera1394 node or nodelet will segfault. On shut down of the image_view node after a camera1394 crash, this is printed to the terminal:

Inconsistency detected by ld.so: dl-close.c: 759: _dl_close: Assertion 'map->l_init_called' failed!

For any of the camera1394 test cases I can successfully view the images with:

rosrun image_view image_view image:=/camera/image_raw raw
rosrun image_view image_view image:=/camera/image_raw compressed

Below is the output from a couple of my camera1394 node and nodelet tests. To get the final error and segfaults, I launch an image_view node listening to the theora topic in another terminal as above:

$ rosrun camera1394 camera1394_node
[ INFO] [1351606111.221907265]: Found camera with GUID 00b09d0100aa4b0e
[ INFO] [1351606111.222009732]: camera model: Point Grey Research Grasshopper Express GX-FW-10K3M
[ WARN] [1351606111.223339152]: Bayer pattern [ (4)] is invalid.
[ INFO] [1351606111.226170907]: Format7 unit size: (8x2), position: (2x2)
[ INFO] [1351606111.226202934]: Format7 region size: (1024x1024), offset: (0, 0)
[ INFO] [1351606111.235062711]: [00b09d0100aa4b0e] opened: format7_mode0, 15 fps, 400 Mb/s
[ INFO] [1351606111.287319116]: using default calibration URL
[ INFO] [1351606111.287377527]: camera calibration URL: file:///home/muri/.ros/camera_info/00b09d0100aa4b0e.yaml
[ERROR] [1351606111.287454654]: Unable to open camera calibration file     [/home/muri/.ros/camera_info/00b09d0100aa4b0e.yaml]
[ WARN] [1351606111.287488780]: Camera calibration file /home/muri/.ros/camera_info/00b09d0100aa4b0e.yaml not found.
[ WARN] [1351606111.287521040]: Calibrated image size (0x0) matches neither full Format7 size (1024x1024)) nor ROI size (1024x1024)
[ WARN] [1351606111.287547051]: [00b09d0100aa4b0e] calibration does not match video mode (publishing uncalibrated data)
[ERROR] [1351606129.048954894]: Unable to convert from 'mono8' to bgr8
Segmentation fault, stopping camera driver.
[ERROR] [1351606129.049200794]: Segmentation fault, stopping camera.
Segmentation fault (core dumped)

$ rosrun camera1394 camera1394_node _video_mode:=640x480_mono8
[ INFO] [1351607186.602933210]: Found camera with GUID 00b09d0100aa4b0e
[ INFO] [1351607186.603005004]: camera model: Point Grey Research Grasshopper Express GX-FW-10K3M
[ INFO] [1351607186.604831926]: [00b09d0100aa4b0e] opened: 640x480_mono8, 15 fps, 400 Mb/s
[ INFO] [1351607186.694656755]: using default calibration URL
[ INFO] [1351607186.694867465]: camera calibration URL: file:///home/muri/.ros/camera_info/00b09d0100aa4b0e.yaml
[ERROR] [1351607186.695107359]: Unable to open camera calibration file [/home/muri/.ros/camera_info/00b09d0100aa4b0e.yaml]
[ WARN] [1351607186.695243986]: Camera calibration file /home/muri/.ros/camera_info/00b09d0100aa4b0e.yaml not found.
[ WARN] [1351607186.695339885]: [00b09d0100aa4b0e] calibration does not match video mode (publishing uncalibrated data)
[ERROR ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-10-30 06:28:05 -0500

joq gravatar image

Thanks for the excellent bug report.

Please open a defect ticket with a link to this page, so there is no need to repeat all that information. If possible, a gdb stack backtrace would be very helpful.

I don't know what might have caused this to fail suddenly. No new driver code was released any time recently. Perhaps there has been a change in image_transport somewhere.

edit flag offensive delete link more

Comments

1

Trac ticket moved to github issue: https://github.com/ros-drivers/camera... .

joq gravatar image joq  ( 2014-09-01 11:57:16 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2012-10-30 04:55:43 -0500

Seen: 750 times

Last updated: Oct 30 '12