Bluetooth External Accessory leading to crashes in iOS 6
Bluetooth External Accessory leading to crashes in iOS 6
- Subject: Bluetooth External Accessory leading to crashes in iOS 6
- From: Dan Leehr <email@hidden>
- Date: Wed, 10 Oct 2012 16:56:37 -0400
Hi,
Not sure if this is bluetooth-specific but we're seeing this issue with an MFi bluetooth accessory.
I've noticed that with iOS 6, sometimes our app crashes due to an NSLockError in the ExternalAccessory framework. We observe the EAAccessoryDidDisconnectNotification, and close the EASession's inputStream and outputStream on disconnection.
#0 0x38155a88 in _NSLockError ()
#1 0x38155b0e in -[NSCondition dealloc] ()
#2 0x383dee92 in -[EAInputStream close] ()
#3 0x001e6d30 in -[MyClass closeSession]
And the console shows:
*** -[NSCondition dealloc]: condition (<NSCondition: 0x200c7490> '(null)') deallocated while still in use *** Break on _NSLockError() to debug.
|
_______________________________________________
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