Re: iOS 7: crash during restore?
Re: iOS 7: crash during restore?
- Subject: Re: iOS 7: crash during restore?
- From: Jason Conn <email@hidden>
- Date: Thu, 26 Sep 2013 10:28:46 -0700
> I will file a bug, just wanted to make sure I'm not missing something…
Much appreciated! I'll save you some trouble, though, because we're aware of this issue.
If memory serves, it happens when there's a central subscribed to one of your characteristics when you're restored. This being the case, there unfortunately isn't really a workaround.
On Sep 26, 2013, at 10:24 AM, William Henderson <email@hidden> wrote:
> (yay, now we can talk about iOS 7!)
>
> I'm seeing the following crash when iOS tries to restore my app using the new Bluetooth state restoration API:
>
> Last Exception Backtrace:
> 0 CoreFoundation 0x30a69e86 __exceptionPreprocess + 126
> 1 libobjc.A.dylib 0x3ad636c2 objc_exception_throw + 34
> 2 CoreFoundation 0x309a4f96 -[__NSDictionaryM setObject:forKey:] + 814
> 3 CoreBluetooth 0x3079b794 -[CBPeripheralManager centralFromArgs:] + 264
> 4 CoreBluetooth 0x3079c186 __44-[CBPeripheralManager handleRestoringState:]_block_invoke + 54
> 5 CoreFoundation 0x309ae1be __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke + 86
> 6 CoreFoundation 0x309ae0f0 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 228
> 7 CoreBluetooth 0x3079beda -[CBPeripheralManager handleRestoringState:] + 1254
> 8 CoreBluetooth 0x30798bc2 __34-[CBXpcConnection handleMsg:args:]_block_invoke + 74
> 9 libdispatch.dylib 0x3b2480fe _dispatch_call_block_and_release + 6
> 10 libdispatch.dylib 0x3b24ce72 _dispatch_queue_drain + 370
> 11 libdispatch.dylib 0x3b249f96 _dispatch_queue_invoke + 38
> 12 libdispatch.dylib 0x3b24d74c _dispatch_root_queue_drain + 72
> 13 libdispatch.dylib 0x3b24d9cc _dispatch_worker_thread2 + 52
> 14 libsystem_pthread.dylib 0x3b377dfa _pthread_wqthread + 294
> 15 libsystem_pthread.dylib 0x3b377cc0 start_wqthread + 4
>
> Anyone else seen this and/or know what might be going on? I will file a bug, just wanted to make sure I'm not missing something...
>
> --
> William
>
> _______________________________________________
> 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
_______________________________________________
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