Crash on 10.4 after canceling pairing
site_archiver@lists.apple.com Delivered-To: bluetooth-dev@lists.apple.com My application is crashing on 10.4.9 (PPC and Intel) after I cancel a pairing operation that is in progress. I do not see similar crashes on 10.3.9. I'm calling the runModal method on an IOBluetoothPairingController object to programmatically display a device pairing dialog. After I enter a passkey and click "Pair", my device prompts me to enter the passkey. At this point, if I cancel the pairing from my computer, my device eventually times out on the pairing request and sends a timeout message back to my computer. This message is what causes the crash. Here is the relevant part of the crash report: Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_INVALID_ADDRESS (0x0001) at 0x3133009b Thread 0 Crashed: 0 libobjc.A.dylib 0x90a410f8 objc_msgSend + 24 1 com.apple.Bluetooth 0x94ffa9dc -[IOBluetoothDevicePairing sendNotificationToTarget:param:] + 80 2 com.apple.Bluetooth 0x94ffa920 -[IOBluetoothDevicePairing connectionComplete:status:] + 268 3 com.apple.Bluetooth 0x94fcb080 -[IOBluetoothDevice(IOBluetoothDevicePrivate) callConnectionCompleteCallback:status:] + 92 4 com.apple.Bluetooth 0x94fc5994 DeviceConfigAsyncHCINotificationHandler + 536 5 com.apple.Bluetooth 0x94fc56f8 -[IOBluetoothNotification invokeCallbackWithDataRunLoopScheduled:] + 208 6 com.apple.Foundation 0x92bebc04 __NSFireDelayedPerform + 304 7 com.apple.CoreFoundation 0x907f2578 __CFRunLoopDoTimer + 184 8 com.apple.CoreFoundation 0x907deef8 __CFRunLoopRun + 1680 9 com.apple.CoreFoundation 0x907de4ac CFRunLoopRunSpecific + 268 10 com.apple.HIToolbox 0x93298b20 RunCurrentEventLoopInMode + 264 11 com.apple.HIToolbox 0x9337d48c GetNextEventMatchingMask + 400 12 com.apple.HIToolbox 0x9337d238 WNEInternal + 152 13 com.apple.HIToolbox 0x9337d18c WaitNextEvent + 76 This appears to be similar, but not identical, to another problem previously reported here: http://lists.apple.com/archives/bluetooth-dev/2006/Apr/msg00010.html Can anyone offer insight on what I might be doing wrong? Or, is this possibly a bug in Apple's Bluetooth support? Thanks, James Blair Staff Software Engineer National Instruments, http://ni.com/ _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
James Blair