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!

Mac OS X (10.6.8)

Posted on Jan 31, 2013 9:39 PM

Reply
1 reply

Aug 7, 2013 5:22 AM in response to michael.overton

Hi Michael,


I am having similar issues - did you get yours resolved? I did see some notices where people have indicated that this can happen with some of the newer Kinects (Model 1473 was mentioned). My OS is 10.8.4, and I have fresh installs of OpenNI-Bin-Dev-MacOSX-v1.5.4.0 and I have tried both the stable and unstable versions of SensorKinect. All the apps run for 20 seconds or so before dying with some sort of error:


hugh-mbp13:x64-Debug hugh$ ./Sample-NiSimpleViewer Read failed: A timeout has occurred when waiting for new data! Sample-NiSimpleViewer(503,0x105f00000) malloc: *** error for object 0x7f97ec801328: incorrect checksum for freed object - object was probably modified after being freed.

*** set a breakpoint in malloc_error_break to debug


Anyway - maybe I will try to track down an older Kinect and see if it still gives the same error...


Cheers Hugh

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Kinect Mac OSX 10.6.8 Issues

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.