openni_camera nodelet crashes when using QVGA 30Hz [closed]
Hi everyone,
I've the following problem with my kinect and the openni_camera driver:
If I launch the openni_camera nodelet with roslaunch openni_launch openni.launch
and afterwards change the image_mode and depth_mode via dynamic_reconfigure to QVGA_30Hz
and then subscribe to camera/rgb/image_mono
or camera/rgb/image_color
the nodelet crashes with the following error:
*** glibc detected *** /opt/ros/electric/stacks/nodelet_core/nodelet/bin/nodelet: malloc(): memory corruption: 0x0000000000bb85f0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x79d7a)[0x7fdaeff65d7a]
/lib/x86_64-linux-gnu/libc.so.6(__libc_malloc+0x6e)[0x7fdaeff6831e]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(_Znwm+0x1d)[0x7fdaf09f2e0d]
/opt/ros/electric/stacks/openni_kinect/depth_image_proc/lib/libdepth_image_proc.so(_ZN5boost11make_sharedIN11sensor_msgs11CameraInfo_ISaIvEEEEENS_10shared_ptrIT_EEv+0x4f)[0x7fdae3d8dcff]
/opt/ros/electric/stacks/openni_kinect/openni_camera/lib/libopenni_nodelet.so(_ZNK13openni_camera13DriverNodelet20getDefaultCameraInfoEiid+0x1b)[0x7fdac6bb1c1b]
/opt/ros/electric/stacks/openni_kinect/openni_camera/lib/libopenni_nodelet.so(_ZNK13openni_camera13DriverNodelet16getRgbCameraInfoEN3ros4TimeE+0x618)[0x7fdac6bb4f98]
/opt/ros/electric/stacks/openni_kinect/openni_camera/lib/libopenni_nodelet.so(_ZNK13openni_camera13DriverNodelet15publishRgbImageERKN14openni_wrapper5ImageEN3ros4TimeE+0xe9)[0x7fdac6bb52c9]
/opt/ros/electric/stacks/openni_kinect/openni_camera/lib/libopenni_nodelet.so(_ZN13openni_camera13DriverNodelet5rgbCbEN5boost10shared_ptrIN14openni_wrapper5ImageEEEPv+0xc7)[0x7fdac6bb5537]
/opt/ros/electric/stacks/openni_kinect/openni_camera/lib/libopenni_nodelet.so(_ZN5boost6detail8function26void_function_obj_invoker1INS_3_bi6bind_tIvNS_4_mfi3mf2IvN13openni_camera13DriverNodeletENS_10shared_ptrIN14openni_wrapper5ImageEEEPvEENS3_5list3INS_17reference_wrapperIS8_EENS_3argILi1EEENS3_5valueISD_EEEEEEvSC_E6invokeERNS1_15function_bufferESC_+0x67)[0x7fdac6bbd4e7]
/opt/ros/electric/stacks/openni_kinect/openni_camera/lib/libopenni_driver.so(_ZN14openni_wrapper12OpenNIDevice23ImageDataThreadFunctionEv+0x359) [0x7fdac62ad6e9]
/usr/lib/libboost_thread.so.1.42.0(thread_proxy+0x5e)[0x7fdaf230e16e]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x6d8c)[0x7fdaf0286d8c]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7fdaeffd204d]
this happens on 32bit and 64bit Ubuntu Natty. the installed openni libraries are:
dpkg -l | grep openni
ii openni-dev 1.3.2.1-4+natty1 OpenNI Framework - libraries
ii ros-electric-openni-kinect 0.3.2-s1323594564~natty The ROS OpenNI project
Has anyone an idea what the reason for this problem is?
Cheers, Christian