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

OpenNi/NITE : Segmentation fault with openni_tracker

asked 2013-05-15 23:22:13 -0500

CarolineQ gravatar image

updated 2013-05-16 21:55:05 -0500


I am currently using the openni_tracker package to be able to track a person with a Kinect. I am working with Ubuntu 12.04 and ROS groovy.

I managed to install the package and I needed to install NiTE v1.5.2.21 to make it work (see this ticket :

But the program crashes with a segmentation fault when :

  • you start the user tracker program

  • identify at least two persons.

  • end and restart the program.

I run it with gdb and got these informations about the error :

Program received signal SIGSEGV, Segmentation fault.
0x00007fffe6e1ee56 in Segmentation::detectionByPoint(bool, std::vector<Vector2D<int>, std::allocator<Vector2D<int> > > const*) ()
   from /usr/lib/

I found the same error last year in this ticket : (!msg/openni-dev/259RT7dVSy4/tz1mwiFgejEJ) But nobody seems to had a solution by this time, except removing the NITE library, and I would like to avoid this solution...

Does someone have some news/solutions about this problem ?


edit retag flag offensive close merge delete


In order to be able to help you, people need you to precise your distribution and your ROS version :-) Bests regards, Steph

Stephane.M gravatar image Stephane.M  ( 2013-05-16 01:27:19 -0500 )edit

Sorry I forgot this information. I just added it in the post. Regards

CarolineQ gravatar image CarolineQ  ( 2013-05-16 01:36:48 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-06-18 14:14:25 -0500

bit-pirate gravatar image

I have run into a similar (maybe the same issue). One big problem is, that the Nite developers are now focusing on their new versions (Nite 2.0+ included in OpenNI 2.0). So, for the time being we need to live with the current limitations. I'd like to see OpenNI 2.0 integrated into ROS soon. I hope a bunch of issues will get solved by that.

Maybe we can get enough people together to speed up this migration process.

PS: I solved my problem by re-plugging the Xtion every time it happened - not a nice solution ...

edit flag offensive delete link more


Thansk for the answer, I hope the integration of OpenNI 2.0 into ROS will be done soon. I also tested this solution of re-plugging the Xtion, but as you said it's not really a good solution...

CarolineQ gravatar image CarolineQ  ( 2013-06-19 00:02:49 -0500 )edit

@CarolineQ looks like there has been some progress: Maybe we can except something new soon!

bit-pirate gravatar image bit-pirate  ( 2013-06-20 14:54:09 -0500 )edit

Question Tools


Asked: 2013-05-15 23:22:13 -0500

Seen: 830 times

Last updated: Jun 18 '13