Re: IOBluetoothDeviceOpenRFCOMMChannelAsync fails on Leopard\Intel
Re: IOBluetoothDeviceOpenRFCOMMChannelAsync fails on Leopard\Intel
- Subject: Re: IOBluetoothDeviceOpenRFCOMMChannelAsync fails on Leopard\Intel
- From: Joseph Kelly <email@hidden>
- Date: Wed, 07 May 2008 10:11:36 -0700
Sounds like it could be a 10.5 bug. But I also found a latent bug in my code that was undetected until 10.5's slightly different thread scheduling. Some things I would try: try performing the operation on the main thread, to rule that out. Get a call stack to identify where it's hanging -- maybe there's some kind of clue there. (Re)read the debug magic technote: http://developer.apple.com/technotes/tn2004/tn2124.html.
Joe K.
On May 7, 2008, at 6:23 AM, Christian Martin wrote: Hey Joe,
It is odd. It appears to hang or crash on that call. I get a huge memory leak after the call. I put printf's at each call and they appear after I close the application (the one after the asynch call). Also, with the same OS (Leopard 10.5.1), I do not have any problems with a PPC machine !!!
The printfs (that get printed after the closing the app), tells me that the RFCommChannelRef is non null and that the return value is IOReturnSuccess).
BTW the calls are made inside a thread created with the call MPCreateTask
Any other leads ?
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden