Hi my application is crashing in the estimote SDK after 1 min of launching.
Crashed: bluetoothDiscoveryQueue
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x00000000131362a0
raw
Thread : Crashed: bluetoothDiscoveryQueue
0 libobjc.A.dylib 0x1821440b0 objc_retain + 16
1 SampleApp 0x1000beb80 -[ESTUtilityManager startPeripheralScanning] + 4296518528
2 CoreBluetooth 0x1883a8ee0 __29-[CBXpcConnection handleMsg:]_block_invoke + 60
3 libdispatch.dylib 0x182511630 _dispatch_call_block_and_release + 24
4 libdispatch.dylib 0x1825115f0 _dispatch_client_callout + 16
5 libdispatch.dylib 0x18251d634 _dispatch_queue_drain + 864
6 libdispatch.dylib 0x1825150f4 _dispatch_queue_invoke + 464
This is the screenshot of the crash log.
There are two more similar crashes.
Logs are as follows:-
1.)
Crashed: com.apple.main-thread
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x00000000147592a0
Thread : Crashed: com.apple.main-thread
0 libobjc.A.dylib 0x18213dbd0 objc_msgSend + 16
1 SampleApp 0x100166be4 __44-[ESTUtilityManager startPeripheralScanning]_block_invoke + 4295732196
2 libdispatch.dylib 0x182511630 _dispatch_call_block_and_release + 24
3 libdispatch.dylib 0x1825115f0 _dispatch_client_callout + 16
4 libdispatch.dylib 0x182516cf8 _dispatch_main_queue_callback_4CF + 1844
5 CoreFoundation 0x182a74bb0 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
6 CoreFoundation 0x182a72a18 __CFRunLoopRun + 1628
7 CoreFoundation 0x1829a1680 CFRunLoopRunSpecific + 384
8 GraphicsServices 0x183eb0088 GSEventRunModal + 180
9 UIKit 0x187818d90 UIApplicationMain + 204
10 SampleApp 0x1000dae54 main (main.m:14)
11 libdispatch.dylib 0x1825428b8 (Missing)
2.)
Fatal Exception: NSInvalidArgumentException
-[__NSCFDictionary bluetoothDiscTimer]: unrecognized selector sent to instance 0x144f59240
Thread : Fatal Exception: NSInvalidArgumentException
0 CoreFoundation 0x182abd900 __exceptionPreprocess
1 libobjc.A.dylib 0x18212bf80 objc_exception_throw
2 CoreFoundation 0x182ac461c __methodDescriptionForSelector
3 CoreFoundation 0x182ac15b8 ___forwarding___
4 CoreFoundation 0x1829c568c _CF_forwarding_prep_0
5 SampleApp 0x100142be4 __44-[ESTUtilityManager startPeripheralScanning]_block_invoke
6 libdispatch.dylib 0x182511630 _dispatch_call_block_and_release
7 libdispatch.dylib 0x1825115f0 _dispatch_client_callout
8 libdispatch.dylib 0x182516cf8 _dispatch_main_queue_callback_4CF
9 CoreFoundation 0x182a74bb0 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
10 CoreFoundation 0x182a72a18 __CFRunLoopRun
11 CoreFoundation 0x1829a1680 CFRunLoopRunSpecific
12 GraphicsServices 0x183eb0088 GSEventRunModal
13 UIKit 0x187818d90 UIApplicationMain
14 SampleApp 0x1000b6e54 main (main.m:14)
15 libdispatch.dylib 0x1825428b8 (Missing)