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

Openni launch process has died

asked 2012-04-30 05:07:21 -0500

vgaspar gravatar image

When running : roslaunch openni_camera openni_node.launch

I face the following problem:

[ INFO] [1335797962.331964828]: [/openni_node1] Number devices connected: 1 openni_node: /usr/include/boost/smart_ptr/shared_ptr.hpp:412: boost::shared_ptr<t>::reference boost::shared_ptr<t>::operator() const [with T = xn::NodeInfo, boost::shared_ptr<t>::reference = xn::NodeInfo&]: Assertion `px != 0' failed. [openni_node1-2] process has died [pid 25516, exit code -6]. log files: /home/vgaspar/.ros/log/11017564-92d5-11e1-bbff-001d60d75fe4/openni_node1-2.log

system : ubuntu 11.10 , ROS: electric

installed openni with sudo apt-get install ros-electric-openni-kinect


edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2012-04-30 06:52:14 -0500

kshitij gravatar image

try: roslaunch openni_launch openni.launch

edit flag offensive delete link more

answered 2012-06-12 05:24:42 -0500

updated 2012-06-12 05:29:36 -0500

I have the same problem under fuerte/12.04. I also get the boost assert (also mentioned in Before this assert, I get one threading-related python exception per process:

Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored

The problem seems to be a conflict with the Linux driver. Removing it with

sudo modprobe -r gspca_kinect


sudo modprobe -r gspca_main

solves the problem.

edit flag offensive delete link more


After some more in-depth experiments, it seems that openni_camera is crashing often here on fuerte/12.04

Stéphane Magnenat gravatar image Stéphane Magnenat  ( 2012-06-12 07:07:21 -0500 )edit

thanks man, the remove method works for me! Fuerte on Ubuntu12.04 with openni-dev and ps-engine

yangyangcv gravatar image yangyangcv  ( 2013-05-24 22:19:30 -0500 )edit

Question Tools

1 follower


Asked: 2012-04-30 05:07:21 -0500

Seen: 1,543 times

Last updated: Jun 12 '12