• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Bluetooth External Accessory leading to crashes in iOS 6
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

Has anyone seen this?  There's a StackOverflow post about it here: http://stackoverflow.com/questions/12456922/eaacessory-errors-while-closing-session-with-ios-6-0-gm

I've filed rdar://12436444 about it and opened a DTS incident.

Dan Leehr
email@hidden




 _______________________________________________
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

  • Prev by Date: Re: Getting started with TI
  • Next by Date: Re: [OS X] Using unsecure/unauthenticated RFCOM
  • Previous by thread: Re: Getting started with TI
  • Next by thread: Re: [OS X] Using unsecure/unauthenticated RFCOM
  • Index(es):
    • Date
    • Thread