shiffman / libfreenect

Just working on Processing library here
http://www.shiffman.net
122 stars 55 forks source link

freezing on old macs #14

Closed shiffman closed 10 years ago

shiffman commented 13 years ago

this could help? http://groups.google.com/group/openkinect/msg/9d78e24063033a6c

johnbcarpenter commented 13 years ago

isochronous transfer frame scheduling problems makes sense... my sketch is freezing consistently at ~4 hours when i don't use frameRate(30) and i'm on a brand new mac mini (Model: Macmini5,2, Intel Core i5, 2.5 GHz, 4 GB) with lion and the latest installation of java...

Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000 http://forum.processing.org/topic/exc-bad-access-sigbus-kern-protection-failure

daniel, could you help translate a solution for someone who has only really programmed with processing +hasn't done any work with writing libraries? guess the easiest solution is to use frameRate(30), but my sketch animation hiccups sometimes at that rate.

thanks--great library by the way, you do fantastic work. i'm a big fan--looking forward to the nature of code book.

-EDIT- also, any chance i could just reset the kinect at a certain time interval? tried a couple things, but once i call kinect.quit(), i'm having trouble restarting the kinect (ion).

shiffman commented 10 years ago

Still a problem? If so file a new issue in new repo:

https://github.com/shiffman/OpenKinect-for-Processing