Pages

Saturday, February 2, 2013

Kinect Mac OSX 10.6.8 Issues

Hi everyone,


I really want to use my Kinect with Processing 2.0, but I keep getting malloc errors like this one:


java(12328,0x7fff70269cc0) malloc: *** error for object 0x1020319e8: incorrect checksum for freed object - object was probably modified after being freed.

*** set a breakpoint in malloc_error_break to debug


I have tried multiple drivers for the Kinect: libfreenect and SensorKinect, after installing the proper libusb-devel, libusb, libusb-freenect, etc libraries.  I have also tried multiple versions of OpenNI, and NITE.


The strange thing is that in each configuration, the samples/examples will work for a short period and do what they are supposed to do but will then throw the above malloc error.  It is strange because EVERY configuration I've tried throws these kinds of errors.  These occur when I run some SimpleOpenNI examples IN Processing and also when I run non-Processing examples outside of Processing, through the terminal (i.e. samples that come with NITE or OpenNI).


The fact that it is the same error in all configurations makes me think it could be some sort of 64 bit versus 32 bit mess up?  I've also tried running Processing in both 32 and 64 bit modes.  I am running 64 bit Java (don't know if this is relevant - I don't actually think so), most recent update for OSX 10.6.8.  I think these problems also might be related to the libusb library, upon which the Kinect drivers all seem to depend.


Does anyone have any advice or ideas?  I'm getting really discouraged!  Thank you so much!


View the original article here

0 comments:

Post a Comment