Issue #1 open
Anonymous created an issue


Can you give a bit of advice for the building of this? I have libfreekinect stuff installed in /usr/local in case it conflicts.

I get just a blank screen and these console logs:

12/3/10 9:52:39 PM KinectViewer[20706] KinectViewer(20706,0x1170ff000) malloc: *** auto malloc[20706]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.

12/3/10 9:52:40 PM kernel USBF: 66269.960 AppleUSBOHCI[0x6d80000]::SuspendUSBBus Processing WDH before suspending

12/3/10 9:52:42 PM kernel com_apple_driver_AppleUSBCardReaderUMC:: Stop::Controller Reset

12/3/10 9:52:42 PM kernel USBMSC Identifier (non-unique): 000000009833 0x5ac 0x8403 0x9833

12/3/10 9:52:43 PM KinectViewer[20706] wheeee

Comments (2)

  1. Cliff Biffle repo owner

    The GC on unregistered thread message isn't actually a problem, but I can put in a fix to hide it (Apple enables GC on the thread after printing the warning).

    KinectViewer should ignore your system's libfreenect entirely -- I include a slightly modified version of libfreenect that's statically compiled into the executable. The "wheeee" output indicates that KinectViewer successfully found and opened your Kinect (I know, it's not very obvious), so it should be working from that point forward...

    Can you send me some more information, namely:

    1. Where did your libusb come from and where is it installed? (i.e. did you apply libfreenect's recommended patches, or is it from MacPorts, or...?)
    2. What's your OS version? I'm on a fully-patched 10.6.3 machine here.
    3. What class of machine is this (MacBook, Pro, ?) and what graphics card do you have? I've tested this exclusively on a MacBook Pro with an NVidia 9400M.

    Also, let me know if you're comfortable moving around in Xcode -- if so, I can suggest some places to put breakpoints to help isolate the problem.

  2. mchang

    Thanks. Sorry to be a noob. I've done plenty of software development, but only a bit in XCode. I think I can handle debugging and breakpoints, though.

    1. libusb was checked out from the snapshot recommended in the README in the github/libfreenct:;a=snapshot;h=7da756e09fd97efad2b35b5cee0e2b2550aac2cb;sf=tgz;js=1
    2. there is one libusb installed via brew into /usr/local, and my libusb for freenect is in /Code/kinect/libusb-freenct
    3. Current 10.6.5
    4. Unibody Macbook Pro (MacBookPro5,3) with 9400M / 9600M GT

    I'm thinking that the stock 1.0.8 libusb in /usr/local and the patched libusb in my home directory is the problem.... hrm. Thanks!

  3. Log in to comment