I'm getting a crash, reported in Crashlytics, and I have no idea how to reproduce the error, It happens randomly so it's hard to debug it with Xcode. Any ideas?
Crashed: NSOperationQueue 0x11f10ac10 (QOS: UNSPECIFIED)
0 libsystem_kernel.dylib 0x1b5efe84c __pthread_kill + 8
1 libsystem_pthread.dylib 0x1d211a9e8 pthread_kill + 212
2 libsystem_c.dylib 0x1934bd8f4 abort + 100
3 libsystem_malloc.dylib 0x199b73030 _malloc_put + 554
4 libsystem_malloc.dylib 0x199b732a4 malloc_zone_error + 100
5 libsystem_malloc.dylib 0x199b732e0 nanov2_allocate_from_block$VARIANT$mp.cold.1 + 36
6 libsystem_malloc.dylib 0x199b58498 nanov2_find_block_and_allocate$VARIANT$mp + 510
7 libsystem_malloc.dylib 0x199b57710 nanov2_allocate$VARIANT$mp + 124
8 libsystem_malloc.dylib 0x199b57644 nanov2_malloc$VARIANT$mp + 60
9 libsystem_malloc.dylib 0x199b689ac _malloc_zone_malloc + 144
10 CoreFoundation 0x18a6b7c14 -[__NSArrayM insertObject:atIndex:] + 264
11 CoreFoundation 0x18a756fdc __CFSetApplyFunction_block_invoke + 24
12 CoreFoundation 0x18a7f86f0 CFBasicHashApply + 136
13 CoreFoundation 0x18a756f9c CFSetApplyFunction + 192
14 CoreFoundation 0x18a747e50 CFRunLoopCopyAllModes + 136
15 CoreFoundation 0x18a74c4ec __CFRunLoopSourceRemoveFromRunLoop + 64
16 CoreFoundation 0x18a6ebab4 __CFBagApplyFunction_block_invoke + 48
17 CoreFoundation 0x18a7f86f0 CFBasicHashApply + 136
18 CoreFoundation 0x18a6eba5c CFBagApplyFunction + 84
19 CoreFoundation 0x18a74c450 CFRunLoopSourceInvalidate + 208
20 Realm 0x102993634 realm::util::EventLoopSignal<realm::_impl::WeakRealmNotifier::Callback>::~EventLoopSignal() + 24
21 Realm 0x102888c70 realm::_impl::RealmCoordinator::unregister_realm(realm::Realm*) + 388
22 Realm 0x10295a858 realm::Realm::~Realm() + 40
23 Realm 0x10284c210 std::__1::shared_ptr<realm::_impl::CollectionNotifier>::~shared_ptr() + 64
24 libobjc.A.dylib 0x19eb37ae0 object_cxxDestructFromClass(objc_object*, objc_class*) + 112
25 libobjc.A.dylib 0x19eb4d8a4 objc_destructInstance + 88
26 libobjc.A.dylib 0x19eb546ec _objc_rootDealloc + 52
27 Realm 0x10292bcac -[RLMRealm dealloc] + 92
28 libobjc.A.dylib 0x19eb57574 AutoreleasePoolPage::releaseUntil(objc_object**) + 200
29 libobjc.A.dylib 0x19eb57450 objc_autoreleasePoolPop + 208
30 libswiftObjectiveC.dylib 0x1aea1bf4c autoreleasepool<A>(invoking:) + 68
31 Foresight 0x100eaad74 specialized BloodPressureDataManager.getUnSyncedReadings(getHistoricData:fromAppleHealth:) + 441 (BloodPressure.swift:441)
32 Foresight 0x100fccd14 specialized CloudDataManager.syncAllVitalData(withType:syncHistoricalData:fromAppleHealth:_:) + 408 (VitalDataManager.swift:408)
33 Foresight 0x100dba408 SyncAllVitalOperation.main() + 4310885384 (<compiler-generated>:4310885384)
34 Foresight 0x100dba560 #objc SyncAllVitalOperation.main() + 4310885728 (<compiler-generated>:4310885728)
35 Foresight 0x101340af4 #objc SynchronizationOperation.start() + 4316678900 (<compiler-generated>:4316678900)
36 Foundation 0x18ba84f98 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ + 20
37 Foundation 0x18ba84a64 __NSOQSchedule_f + 180
38 libdispatch.dylib 0x18a3b775c _dispatch_block_async_invoke2 + 104
39 libdispatch.dylib 0x18a408280 _dispatch_client_callout + 16
40 libdispatch.dylib 0x18a3ad390 _dispatch_continuation_pop$VARIANT$mp + 412
41 libdispatch.dylib 0x18a3acad4 _dispatch_async_redirect_invoke + 596
42 libdispatch.dylib 0x18a3b9f3c _dispatch_root_queue_drain + 376
43 libdispatch.dylib 0x18a3ba704 _dispatch_worker_thread2 + 124
44 libsystem_pthread.dylib 0x1d211b568 _pthread_wqthread + 212
45 libsystem_pthread.dylib 0x1d211e874 start_wqthread + 8
Please help me how to reproduce and debug this type of crash and What i need to check in my code related to crash.
Related
I got a crash when using AVPlayer to play a remote audio. The App crash on main thread. The crash log is below:
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001806a7014 __pthread_kill + 8
1 libsystem_pthread.dylib 0x000000018076f450 pthread_kill + 112
2 libsystem_c.dylib 0x000000018061b49c __abort + 144
3 libsystem_c.dylib 0x000000018061b40c __abort + 0
4 libc++abi.dylib 0x00000001800e52d4 __cxa_bad_cast + 0
5 libc++abi.dylib 0x0000000180102cc0 default_unexpected_handler+ 126144 () + 0
6 libobjc.A.dylib 0x0000000180110844 _objc_terminate+ 34884 () + 124
7 FanXing 0x0000000103712edc 0x10007c000 + 57241308
8 libc++abi.dylib 0x00000001800ff66c std::__terminate(void (*)+ 112236 ()) + 16
9 libc++abi.dylib 0x00000001800ff234 __cxa_rethrow + 144
10 libobjc.A.dylib 0x000000018011071c objc_exception_rethrow + 44
11 Foundation 0x0000000182154644 NSKVODeallocate + 380
12 CoreFoundation 0x00000001816ca36c -[__NSSingleObjectArrayI dealloc] + 44
13 AVFoundation 0x0000000188e166b0 -[AVPlayer dealloc] + 696
14 libsystem_blocks.dylib 0x00000001805b7a28 _Block_release + 144
15 libdispatch.dylib 0x00000001805621bc _dispatch_client_callout + 16
16 libdispatch.dylib 0x0000000180566d68 _dispatch_main_queue_callback_4CF + 1000
17 CoreFoundation 0x0000000181686810 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
18 CoreFoundation 0x00000001816843fc __CFRunLoopRun + 1660
19 CoreFoundation 0x00000001815b22b8 CFRunLoopRunSpecific + 444
20 GraphicsServices 0x0000000183066198 GSEventRunModal + 180
21 UIKit 0x00000001875f97fc -[UIApplication _run] + 684
22 UIKit 0x00000001875f4534 UIApplicationMain + 208
23 FanXing 0x00000001004c248c 0x10007c000 + 4482188
24 libdyld.dylib 0x00000001805955b8 start + 4
In the production build, i am getting this type of crash log, but I am not able to understand it correctly as it points to the Foundation framework
Backtrace:
OS Version: 10.2.1 (14D27)
Device: iPhone 7 Plus
RAM Free: 5.1%
Disk Free: 54.7%
#0. Crashed: com.apple.main-thread
0 libsystem_kernel.dylib 0x18cc6b014 __pthread_kill + 8
1 libsystem_pthread.dylib 0x18cd33450 pthread_kill + 112
2 libsystem_c.dylib 0x18cbdf400 abort + 140
3 libsystem_malloc.dylib 0x18ccafa5c _nano_vet_and_size_of_live + 330
4 libsystem_malloc.dylib 0x18ccb0f18 nano_realloc + 376
5 libsystem_malloc.dylib 0x18cca3240 malloc_zone_realloc + 180
6 Foundation 0x18e6ee628 -[NSString quotedStringRepresentation] + 732
7 Foundation 0x18e6ce44c -[NSString _stringRepresentation] + 376
8 CoreFoundation 0x18dbc4eec -[NSDictionary descriptionWithLocale:indent:] + 996
9 CoreFoundation 0x18dbc84d4 _DescriptionWithLocaleFunc + 76
10 CoreFoundation 0x18dc5e23c __CFStringAppendFormatCore + 7996
11 CoreFoundation 0x18dc659b0 _CFStringAppendFormatAndArgumentsAux2 + 36
12 CoreFoundation 0x18dbc842c -[__NSCFString appendFormat:] + 308
13 Foundation 0x18e78733c -[NSNotification description] + 256
14 Foundation 0x18e790bec _NS_os_log_callback + 140
15 libsystem_trace.dylib 0x18cd57954 <redacted> + 112
16 libsystem_trace.dylib 0x18cd57564 <redacted> + 736
17 libsystem_trace.dylib 0x18cd56004 _os_log_impl + 792
18 MediaPlayer 0x19871bc50 <redacted> + 228
19 CoreFoundation 0x18dc36b10 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
20 CoreFoundation 0x18dc36214 _CFXRegistrationPost + 400
21 CoreFoundation 0x18dc35f90 ___CFXNotificationPost_block_invoke + 60
22 CoreFoundation 0x18dca5b8c -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1504
23 CoreFoundation 0x18db77e64 _CFXNotificationPost + 376
24 Foundation 0x18e6ace0c -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
25 Celestial 0x1951115e4 <redacted> + 108
26 Celestial 0x195111540 <redacted> + 372
27 CoreFoundation 0x18dc36b10 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
28 CoreFoundation 0x18dc36214 _CFXRegistrationPost + 400
29 CoreFoundation 0x18dc35f90 ___CFXNotificationPost_block_invoke + 60
30 CoreFoundation 0x18dca5b8c -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1504
31 CoreFoundation 0x18db77e64 _CFXNotificationPost + 376
32 CoreFoundation 0x18db9aca0 CFNotificationCenterPostNotification + 120
33 CoreMedia 0x1905ca8c4 CMNotificationCenterPostNotification + 124
34 CoreMedia 0x1905cab0c fncCallOriginalCallbackAndReleaseWeakListener + 80
35 CoreMedia 0x1905ca5cc fncHandleWeakNotification + 204
36 CoreFoundation 0x18dc36b10 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
37 CoreFoundation 0x18dc36214 _CFXRegistrationPost + 400
38 CoreFoundation 0x18dc35f90 ___CFXNotificationPost_block_invoke + 60
39 CoreFoundation 0x18dca5b8c -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1504
40 CoreFoundation 0x18db77e64 _CFXNotificationPost + 376
41 CoreFoundation 0x18db9aca0 CFNotificationCenterPostNotification + 120
42 CoreMedia 0x1905ca8c4 CMNotificationCenterPostNotification + 124
43 MediaToolbox 0x194b7b5d0 <redacted> + 616
44 MediaToolbox 0x194c9ab88 <redacted> + 1248
45 MediaToolbox 0x194b7ad08 <redacted> + 132
46 MediaToolbox 0x194b7ac58 <redacted> + 56
47 MediaToolbox 0x194b76a60 <redacted> + 104
48 MediaToolbox 0x194c9a4cc <redacted> + 16
49 libdispatch.dylib 0x18cb2b9f0 dispatch_mig_server + 576
50 libdispatch.dylib 0x18cb261bc _dispatch_client_callout + 16
51 libdispatch.dylib 0x18cb32f94 _dispatch_continuation_pop + 576
52 libdispatch.dylib 0x18cb3f634 _dispatch_source_latch_and_call + 204
53 libdispatch.dylib 0x18cb28160 _dispatch_source_invoke + 820
54 libdispatch.dylib 0x18cb2abbc _dispatch_main_queue_callback_4CF + 572
55 CoreFoundation 0x18dc4a810 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
56 CoreFoundation 0x18dc483fc __CFRunLoopRun + 1660
57 CoreFoundation 0x18db762b8 CFRunLoopRunSpecific + 444
58 GraphicsServices 0x18f62a198 GSEventRunModal + 180
59 UIKit 0x193bbd7fc -[UIApplication _run] + 684
60 UIKit 0x193bb8534 UIApplicationMain + 208
61 appname 0x1000a7470 main (main.m:16)
62 libdispatch.dylib 0x18cb595b8 (Missing)
--
#0. Crashed: com.apple.main-thread
0 libsystem_kernel.dylib 0x18cc6b014 __pthread_kill + 8
1 libsystem_pthread.dylib 0x18cd33450 pthread_kill + 112
2 libsystem_c.dylib 0x18cbdf400 abort + 140
3 libsystem_malloc.dylib 0x18ccafa5c _nano_vet_and_size_of_live + 330
4 libsystem_malloc.dylib 0x18ccb0f18 nano_realloc + 376
5 libsystem_malloc.dylib 0x18cca3240 malloc_zone_realloc + 180
6 Foundation 0x18e6ee628 -[NSString quotedStringRepresentation] + 732
7 Foundation 0x18e6ce44c -[NSString _stringRepresentation] + 376
8 CoreFoundation 0x18dbc4eec -[NSDictionary descriptionWithLocale:indent:] + 996
9 CoreFoundation 0x18dbc84d4 _DescriptionWithLocaleFunc + 76
10 CoreFoundation 0x18dc5e23c __CFStringAppendFormatCore + 7996
11 CoreFoundation 0x18dc659b0 _CFStringAppendFormatAndArgumentsAux2 + 36
12 CoreFoundation 0x18dbc842c -[__NSCFString appendFormat:] + 308
13 Foundation 0x18e78733c -[NSNotification description] + 256
14 Foundation 0x18e790bec _NS_os_log_callback + 140
15 libsystem_trace.dylib 0x18cd57954 <redacted> + 112
16 libsystem_trace.dylib 0x18cd57564 <redacted> + 736
17 libsystem_trace.dylib 0x18cd56004 _os_log_impl + 792
18 MediaPlayer 0x19871bc50 <redacted> + 228
19 CoreFoundation 0x18dc36b10 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
20 CoreFoundation 0x18dc36214 _CFXRegistrationPost + 400
21 CoreFoundation 0x18dc35f90 ___CFXNotificationPost_block_invoke + 60
22 CoreFoundation 0x18dca5b8c -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1504
23 CoreFoundation 0x18db77e64 _CFXNotificationPost + 376
24 Foundation 0x18e6ace0c -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
25 Celestial 0x1951115e4 <redacted> + 108
26 Celestial 0x195111540 <redacted> + 372
27 CoreFoundation 0x18dc36b10 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
28 CoreFoundation 0x18dc36214 _CFXRegistrationPost + 400
29 CoreFoundation 0x18dc35f90 ___CFXNotificationPost_block_invoke + 60
30 CoreFoundation 0x18dca5b8c -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1504
31 CoreFoundation 0x18db77e64 _CFXNotificationPost + 376
32 CoreFoundation 0x18db9aca0 CFNotificationCenterPostNotification + 120
33 CoreMedia 0x1905ca8c4 CMNotificationCenterPostNotification + 124
34 CoreMedia 0x1905cab0c fncCallOriginalCallbackAndReleaseWeakListener + 80
35 CoreMedia 0x1905ca5cc fncHandleWeakNotification + 204
36 CoreFoundation 0x18dc36b10 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
37 CoreFoundation 0x18dc36214 _CFXRegistrationPost + 400
38 CoreFoundation 0x18dc35f90 ___CFXNotificationPost_block_invoke + 60
39 CoreFoundation 0x18dca5b8c -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1504
40 CoreFoundation 0x18db77e64 _CFXNotificationPost + 376
41 CoreFoundation 0x18db9aca0 CFNotificationCenterPostNotification + 120
42 CoreMedia 0x1905ca8c4 CMNotificationCenterPostNotification + 124
43 MediaToolbox 0x194b7b5d0 <redacted> + 616
44 MediaToolbox 0x194c9ab88 <redacted> + 1248
45 MediaToolbox 0x194b7ad08 <redacted> + 132
46 MediaToolbox 0x194b7ac58 <redacted> + 56
47 MediaToolbox 0x194b76a60 <redacted> + 104
48 MediaToolbox 0x194c9a4cc <redacted> + 16
49 libdispatch.dylib 0x18cb2b9f0 dispatch_mig_server + 576
50 libdispatch.dylib 0x18cb261bc _dispatch_client_callout + 16
51 libdispatch.dylib 0x18cb32f94 _dispatch_continuation_pop + 576
52 libdispatch.dylib 0x18cb3f634 _dispatch_source_latch_and_call + 204
53 libdispatch.dylib 0x18cb28160 _dispatch_source_invoke + 820
54 libdispatch.dylib 0x18cb2abbc _dispatch_main_queue_callback_4CF + 572
55 CoreFoundation 0x18dc4a810 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
56 CoreFoundation 0x18dc483fc __CFRunLoopRun + 1660
57 CoreFoundation 0x18db762b8 CFRunLoopRunSpecific + 444
58 GraphicsServices 0x18f62a198 GSEventRunModal + 180
59 UIKit 0x193bbd7fc -[UIApplication _run] + 684
60 UIKit 0x193bb8534 UIApplicationMain + 208
61 appname 0x1000a7470 main (main.m:16)
62 libdispatch.dylib 0x18cb595b8 (Missing)
#1. com.apple.uikit.eventfetch-thread
0 libsystem_kernel.dylib 0x18cc4d188 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x18cc4cff8 mach_msg + 72
2 CoreFoundation 0x18dc4a5d0 __CFRunLoopServiceMachPort + 192
3 CoreFoundation 0x18dc481ec __CFRunLoopRun + 1132
4 CoreFoundation 0x18db762b8 CFRunLoopRunSpecific + 444
5 Foundation 0x18e6b326c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304
6 Foundation 0x18e6d3dd0 -[NSRunLoop(NSRunLoop) runUntilDate:] + 96
7 UIKit 0x194531c38 -[UIEventFetcher threadMain] + 136
8 Foundation 0x18e7b0e68 __NSThread__start__ + 1024
9 libsystem_pthread.dylib 0x18cd31850 <redacted> + 240
10 libsystem_pthread.dylib 0x18cd31760 _pthread_start + 282
11 libsystem_pthread.dylib 0x18cd2ed94 thread_start + 4
#2. AVAudioSession Notify Thread
0 libsystem_kernel.dylib 0x18cc4d188 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x18cc4cff8 mach_msg + 72
2 CoreFoundation 0x18dc4a5d0 __CFRunLoopServiceMachPort + 192
3 CoreFoundation 0x18dc481ec __CFRunLoopRun + 1132
4 CoreFoundation 0x18db762b8 CFRunLoopRunSpecific + 444
5 AVFAudio 0x1a767bd24 GenericRunLoopThread::Entry(void*) + 164
6 AVFAudio 0x1a76a1d9c CAPThread::Entry(CAPThread*) + 84
7 libsystem_pthread.dylib 0x18cd31850 <redacted> + 240
8 libsystem_pthread.dylib 0x18cd31760 _pthread_start + 282
9 libsystem_pthread.dylib 0x18cd2ed94 thread_start + 4
#3. com.apple.coreaudio.AQClient
0 libsystem_kernel.dylib 0x18cc4d188 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x18cc4cff8 mach_msg + 72
2 CoreFoundation 0x18dc4a5d0 __CFRunLoopServiceMachPort + 192
3 CoreFoundation 0x18dc481ec __CFRunLoopRun + 1132
4 CoreFoundation 0x18db762b8 CFRunLoopRunSpecific + 444
5 AudioToolbox 0x190c440cc GenericRunLoopThread::Entry(void*) + 164
6 AudioToolbox 0x190e1c230 CAPThread::Entry(CAPThread*) + 84
7 libsystem_pthread.dylib 0x18cd31850 <redacted> + 240
8 libsystem_pthread.dylib 0x18cd31760 _pthread_start + 282
9 libsystem_pthread.dylib 0x18cd2ed94 thread_start + 4
#4. com.twitter.crashlytics.ios.MachExceptionServer
0 libsystem_kernel.dylib 0x18cc4d188 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x18cc4cff8 mach_msg + 72
2 appname 0x1002dc570 CLSMachExceptionServer + 4297590128
3 libsystem_pthread.dylib 0x18cd31850 <redacted> + 240
4 libsystem_pthread.dylib 0x18cd31760 _pthread_start + 282
5 libsystem_pthread.dylib 0x18cd2ed94 thread_start + 4
#5. com.apple.NSURLConnectionLoader
0 libsystem_c.dylib 0x18cb7d5d4 strlen + 52
1 libc++.1.dylib 0x18c69137c std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::compare(char const*) const + 28
2 libc++.1.dylib 0x18c69137c std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::compare(char const*) const + 28
3 CFNetwork 0x18e2bceec <redacted> + 236
4 CFNetwork 0x18e48eb6c <redacted> + 76
5 libdispatch.dylib 0x18cb261bc _dispatch_client_callout + 16
6 libdispatch.dylib 0x18cb337f0 _dispatch_barrier_sync_f_invoke + 84
7 CFNetwork 0x18e48eaf8 <redacted> + 96
8 CFNetwork 0x18e2b36a4 <redacted> + 228
9 CFNetwork 0x18e2b3858 <redacted> + 152
10 CFNetwork 0x18e4085e0 <redacted> + 40
11 CFNetwork 0x18e3d1c80 <redacted> + 136
12 CFNetwork 0x18e3d2388 <redacted> + 248
13 CFNetwork 0x18e425794 <redacted> + 88
14 CFNetwork 0x18e423328 <redacted> + 32
15 libdispatch.dylib 0x18cb261bc _dispatch_client_callout + 16
16 libdispatch.dylib 0x18cb31ab0 _dispatch_block_invoke_direct + 376
17 CFNetwork 0x18e4d6598 <redacted> + 36
18 CoreFoundation 0x18db75c18 CFArrayApplyFunction + 68
19 CFNetwork 0x18e4d647c <redacted> + 136
20 CFNetwork 0x18e4d77a4 <redacted> + 312
21 CFNetwork 0x18e4d7510 <redacted> + 64
22 CoreFoundation 0x18dc4ab5c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
23 CoreFoundation 0x18dc4a4a4 __CFRunLoopDoSources0 + 524
24 CoreFoundation 0x18dc480a4 __CFRunLoopRun + 804
25 CoreFoundation 0x18db762b8 CFRunLoopRunSpecific + 444
26 CFNetwork 0x18e37ba70 <redacted> + 336
27 Foundation 0x18e7b0e68 __NSThread__start__ + 1024
28 libsystem_pthread.dylib 0x18cd31850 <redacted> + 240
29 libsystem_pthread.dylib 0x18cd31760 _pthread_start + 282
30 libsystem_pthread.dylib 0x18cd2ed94 thread_start + 4
#6. Thread
0 libsystem_kernel.dylib 0x18cc6ae1c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x18cd309c0 <redacted> + 640
2 libc++.1.dylib 0x18c6593ec std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 56
3 JavaScriptCore 0x19247a5d0 <redacted> + 112
4 JavaScriptCore 0x19247a544 <redacted> + 168
5 JavaScriptCore 0x19247a424 <redacted> + 10
6 JavaScriptCore 0x19247a6d4 <redacted> + 92
7 libsystem_pthread.dylib 0x18cd31850 <redacted> + 240
8 libsystem_pthread.dylib 0x18cd31760 _pthread_start + 282
9 libsystem_pthread.dylib 0x18cd2ed94 thread_start + 4
#7. WebThread
0 libsystem_kernel.dylib 0x18cc4d188 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x18cc4cff8 mach_msg + 72
2 CoreFoundation 0x18dc4a5d0 __CFRunLoopServiceMachPort + 192
3 CoreFoundation 0x18dc481ec __CFRunLoopRun + 1132
4 CoreFoundation 0x18db762b8 CFRunLoopRunSpecific + 444
5 WebCore 0x19277c490 <redacted> + 456
6 libsystem_pthread.dylib 0x18cd31850 <redacted> + 240
7 libsystem_pthread.dylib 0x18cd31760 _pthread_start + 282
8 libsystem_pthread.dylib 0x18cd2ed94 thread_start + 4
#8. JIT Worklist Worker Thread
0 libsystem_kernel.dylib 0x18cc6ae1c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x18cd309c0 <redacted> + 640
2 libc++.1.dylib 0x18c6593ec std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 56
3 JavaScriptCore 0x192462d64 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, std::__1::chrono::time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 2132
4 JavaScriptCore 0x19223aa5c <redacted> + 192
5 JavaScriptCore 0x19223aeac <redacted> + 14
6 JavaScriptCore 0x191bab00c <redacted> + 212
7 JavaScriptCore 0x191baaf1c <redacted> + 24
8 libsystem_pthread.dylib 0x18cd31850 <redacted> + 240
9 libsystem_pthread.dylib 0x18cd31760 _pthread_start + 282
10 libsystem_pthread.dylib 0x18cd2ed94 thread_start + 4
#9. WTF Parallel Helper Thread
0 libsystem_kernel.dylib 0x18cc6ae1c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x18cd309c0 <redacted> + 640
2 libc++.1.dylib 0x18c6593ec std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 56
3 JavaScriptCore 0x192462d64 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, std::__1::chrono::time_point<std::__1::chrono::steady_clock, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > >) + 2132
4 JavaScriptCore 0x1924622e8 <redacted> + 288
5 JavaScriptCore 0x192462088 <redacted> + 76
6 JavaScriptCore 0x191bab00c <redacted> + 212
7 JavaScriptCore 0x191baaf1c <redacted> + 24
8 libsystem_pthread.dylib 0x18cd31850 <redacted> + 240
9 libsystem_pthread.dylib 0x18cd31760 _pthread_start + 282
10 libsystem_pthread.dylib 0x18cd2ed94 thread_start + 4
#10. Thread
0 CoreFoundation 0x18dc3c680 __CFTSDFinalize + 40
1 libsystem_pthread.dylib 0x18cd2ffbc <redacted> + 572
2 libsystem_pthread.dylib 0x18cd2fce4 <redacted> + 200
3 libsystem_pthread.dylib 0x18cd2f378 _pthread_wqthread + 1502
4 libsystem_pthread.dylib 0x18cd2ed8c start_wqthread + 4
#11. Thread
0 libsystem_pthread.dylib 0x18cd2ed88 pthread_workqueue_addthreads_np + 126
#12. Thread
0 libsystem_malloc.dylib 0x18cca1a04 szone_size + 192
1 libsystem_malloc.dylib 0x18cca171c free + 108
2 libdispatch.dylib 0x18cb2eb1c _dispatch_cache_cleanup + 24
3 libsystem_pthread.dylib 0x18cd2ffbc <redacted> + 572
4 libsystem_pthread.dylib 0x18cd2fce4 <redacted> + 200
5 libsystem_pthread.dylib 0x18cd2f378 _pthread_wqthread + 1502
6 libsystem_pthread.dylib 0x18cd2ed8c start_wqthread + 4
#13. Thread
0 libsystem_malloc.dylib 0x18ccafbb4 _nano_vet_and_size_of_live + 344
1 libsystem_malloc.dylib 0x18cca171c free + 108
2 libsystem_malloc.dylib 0x18cca171c free + 108
3 libdispatch.dylib 0x18cb2eb1c _dispatch_cache_cleanup + 24
4 libsystem_pthread.dylib 0x18cd2ffbc <redacted> + 572
5 libsystem_pthread.dylib 0x18cd2fce4 <redacted> + 200
6 libsystem_pthread.dylib 0x18cd2f378 _pthread_wqthread + 1502
7 libsystem_pthread.dylib 0x18cd2ed8c start_wqthread + 4
#14. Thread
0 libsystem_malloc.dylib 0x18ccafbb4 _nano_vet_and_size_of_live + 344
1 libsystem_malloc.dylib 0x18cca171c free + 108
2 libsystem_malloc.dylib 0x18cca171c free + 108
3 libsystem_c.dylib 0x18cb7d490 gdtoa_freelist_free + 48
4 libsystem_pthread.dylib 0x18cd2ffbc <redacted> + 572
5 libsystem_pthread.dylib 0x18cd2fce4 <redacted> + 200
6 libsystem_pthread.dylib 0x18cd2f378 _pthread_wqthread + 1502
7 libsystem_pthread.dylib 0x18cd2ed8c start_wqthread + 4
#15. Thread
0 libsystem_pthread.dylib 0x18cd2ed88 pthread_workqueue_addthreads_np + 126
#16. Thread
0 libsystem_kernel.dylib 0x18cc6ba88 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x18cd2f160 _pthread_wqthread + 968
2 libsystem_pthread.dylib 0x18cd2ed8c start_wqthread + 4
#17. Thread
0 libsystem_pthread.dylib 0x18cd2ed88 pthread_workqueue_addthreads_np + 126
Based on trace I am assuming it may crash because of Bad value in the dictionary key.
How can i get more information and what can be solution for this?
I'm seeing crashlogs being generated containing the following call stack
Thread : Crashed: com.apple.main-thread
0 libsystem_kernel.dylib 0x38a0a1f0 __pthread_kill + 8
1 libsystem_pthread.dylib 0x38a74797 pthread_kill + 58
2 libsystem_c.dylib 0x389bafdd abort + 76
3 libsystem_malloc.dylib 0x38a32d67 free + 382
4 libobjc.A.dylib 0x3844e3ad object_dispose + 20
5 UIKit 0x305511ef -[UIViewAnimationState dealloc] + 174
6 libobjc.A.dylib 0x38456b6b objc_object::sidetable_release(bool) + 174
7 CoreFoundation 0x2dc2d93d CFRelease + 556
8 QuartzCore 0x30195635 CA::release_objects(X::List<void const*>*) + 16
9 QuartzCore 0x3019aad7 -[CAAnimation dealloc] + 54
10 libobjc.A.dylib 0x38456b6b objc_object::sidetable_release(bool) + 174
11 CoreFoundation 0x2dc2d93d CFRelease + 556
12 QuartzCore 0x3019d117 CA::Layer::run_animation_callbacks(void*) + 238
13 libdispatch.dylib 0x3892f81f _dispatch_client_callout + 22
14 libdispatch.dylib 0x3893649f _dispatch_main_queue_callback_4CF$VARIANT$mp + 278
15 CoreFoundation 0x2dcc78f1 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 8
16 CoreFoundation 0x2dcc61c5 __CFRunLoopRun + 1300
17 CoreFoundation 0x2dc30f0f CFRunLoopRunSpecific + 522
18 CoreFoundation 0x2dc30cf3 CFRunLoopRunInMode + 106
19 GraphicsServices 0x32b52663 GSEventRunModal + 138
20 UIKit 0x3057c16d UIApplicationMain + 1136
21 Domino M 0x000c125f main (main.m:14)
Other threads only show the AFNetworking library doing something.
How can I find and fix issues like this (the ones that don't seem to have anything to do with self written code)?
Im using SDImage in my project, when checking the crash log, this SDImage crashed at
[SDWebImageDownloaderOperation start] func, here are logs, pls help, it wastes my 2 days.
Thread 12:
0 libsystem_kernel.dylib 0x3c383eb4 mach_msg_trap + 20
1 CoreFoundation 0x34143045 __CFRunLoopServiceMachPort + 129
2 CoreFoundation 0x34141da3 __CFRunLoopRun + 883
3 CoreFoundation 0x340b4ebd CFRunLoopRunSpecific + 357
4 CoreFoundation 0x340b4d49 CFRunLoopRunInMode + 105
5 demo 0x0022a683 -[SDWebImageDownloaderOperation start] + 471
6 Foundation 0x34a73be3 __block_global_6 + 103
7 libdispatch.dylib 0x3c2ae11f _dispatch_call_block_and_release + 11
8 libdispatch.dylib 0x3c2b2961 _dispatch_root_queue_drain + 253
9 libdispatch.dylib 0x3c2b2ac1 _dispatch_worker_thread2 + 85
10 libsystem_c.dylib 0x3c2e2a11 _pthread_wqthread + 361
another log
Thread 9 Crashed:
0 CoreFoundation 0x35418b9c CFEqual + 24
1 CFNetwork 0x34d60469 URLConnectionClient::getRequestForTransmission(unsigned char, CFURLResponse*, _CFURLRequest const*, __CFError**) + 205
2 CFNetwork 0x34cc666d URLConnectionClient::_clientWillSendRequest(_CFURLRequest const*, _CFURLResponse*, URLConnectionClient::ClientConnectionEventQueue*) + 157
3 CFNetwork 0x34cc64c5 URLConnectionClient::ClientConnectionEventQueue::processAllEventsAndConsumePayload(XConnectionEventInfo*, long) + 457
4 CFNetwork 0x34cc61a3 URLConnectionClient::processEvents() + 107
5 CFNetwork 0x34cc60d9 MultiplexerSource::perform() + 157
6 CoreFoundation 0x354a3ad3 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION_ + 15
7 CoreFoundation 0x354a329f __CFRunLoopDoSources0 + 215
8 CoreFoundation 0x354a2045 __CFRunLoopRun + 653
9 CoreFoundation 0x354254a5 CFRunLoopRunSpecific + 301
10 CoreFoundation 0x3542536d CFRunLoopRunInMode + 105
11 demo 0x001d1683 -[SDWebImageDownloaderOperation start] + 471
12 Foundation 0x34fe2793 __block_global_6 + 103
13 libdispatch.dylib 0x3435cc59 _dispatch_call_block_and_release + 13
14 libdispatch.dylib 0x3435f817 _dispatch_worker_thread2 + 259
15 libsystem_c.dylib 0x3288cdfb _pthread_wqthread + 295
another crash on cancel
Thread 0 Crashed:
0 demo 0x001a58f2 -[SDWebImageDownloaderOperation cancel] + 130
1 demo 0x001a88df -[SDWebImageCombinedOperation cancel] + 179
2 demo 0x001aaf71 -[UIImageView(WebCache) cancelCurrentImageLoad] + 49
my log help~
I have an app of sending free text MSG ..
While i select a contact i got my application crash and from crash log i didn't get solution of it ..
Can any one tell me how to solve crash log with proper stapes ..
Here is my Crash Log :
Incident Identifier: A8E3BBD6-CD0D-45C8-8134-65EF03CBFF5E
CrashReporter Key: 64c47e02a46dcc17a25718b8b3d9f579f535b545
Hardware Model: iPhone2,1
Process: [6703]
Path: /var/mobile/Applications/9055F800-A876-4D5E-B1CD-202BC6F80BDB/.app/
Identifier:
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2011-11-24 13:27:16.113 +0530
OS Version: iPhone OS 4.1 (8B117)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x656a6277
Crashed Thread: 0
Thread 0 Crashed:
0 libobjc.A.dylib 0x000027d8 objc_msgSend + 16
1 CoreFoundation 0x000042ae CFRetain + 62
2 CoreFoundation 0x0002832a +[__NSArrayI __new::] + 54
3 CoreFoundation 0x00028152 -[__NSPlaceholderArray initWithObjects:count:] + 122
4 CoreFoundation 0x00027ef4 +[NSArray arrayWithObjects:] + 356
5 0x00033fcc 0x1000 + 208844
6 0x00033f46 0x1000 + 208710
7 UIKit 0x0022fb26 -[UISearchDisplayController searchBar:textDidChange:] + 78
8 UIKit 0x001f48aa -[UISearchBar(UISearchBarStatic) _searchFieldEditingChanged] + 106
9 CoreFoundation 0x00047712 -[NSObject(NSObject) performSelector:withObject:withObject:] + 18
10 UIKit 0x0010dfa0 -[UIApplication sendAction:fromSender:toTarget:forEvent:] + 76
11 UIKit 0x00137c00 -[UIControl(Deprecated) sendAction:toTarget:forEvent:] + 28
12 UIKit 0x000ab930 -[UIControl(Internal) _sendActionsForEventMask:withEvent:] + 352
13 UIKit 0x000dd888 -[UITextField fieldEditorDidChange:] + 188
14 UIKit 0x000dd6c0 -[UIFieldEditor webViewDidChange:] + 48
15 Foundation 0x000146ac _nsnote_callback + 136
16 CoreFoundation 0x0002670c __CFXNotificationPost_old + 396
17 CoreFoundation 0x000263ac _CFXNotificationPostNotification + 112
18 Foundation 0x00003db0 -[NSNotificationCenter postNotificationName:object:userInfo:] + 64
19 CoreFoundation 0x0004b42c __invoking___ + 60
20 CoreFoundation 0x0004b2fe -[NSInvocation invoke] + 102
21 WebCore 0x00049816 SendMessage(NSInvocation*) + 10
22 WebCore 0x00057dc0 SendDelegateMessage(NSInvocation*) + 700
23 WebCore 0x000617f4 WebThreadPostNotification + 88
24 WebKit 0x0001347c WebEditorClient::respondToChangedContents() + 24
25 WebCore 0x0026d8ce WebCore::Editor::respondToChangedContents(WebCore::VisibleSelection const&) + 98
26 WebCore 0x0026db34 WebCore::Editor::appliedEditing(WTF::PassRefPtr<WebCore::EditCommand>) + 204
27 WebCore 0x004e852a WebCore::TypingCommand::insertTextRunWithoutNewlines(WebCore::String const&, bool) + 258
28 WebCore 0x004e8606 WebCore::TypingCommand::insertText(WebCore::String const&, bool) + 134
29 WebCore 0x004e6c7a WebCore::TypingCommand::doApply() + 126
30 WebCore 0x0026af2e WebCore::EditCommand::apply() + 86
31 WebCore 0x0026af8c WebCore::applyCommand(WTF::PassRefPtr<WebCore::EditCommand>) + 4
32 WebCore 0x004e8ba6 WebCore::TypingCommand::insertText(WebCore::Document*, WebCore::String const&, WebCore::VisibleSelection const&, bool, bool) + 526
33 WebCore 0x0027020a WebCore::Editor::insertTextWithoutSendingTextEvent(WebCore::String const&, bool, WebCore::Event*) + 210
34 WebCore 0x002751e0 WebCore::EventHandler::defaultTextInputEventHandler(WebCore::TextEvent*) + 76
35 WebCore 0x00066a86 WebCore::Node::defaultEventHandler(WebCore::Event*) + 342
36 WebCore 0x000666e2 WebCore::Node::dispatchGenericEvent(WTF::PassRefPtr<WebCore::Event>) + 578
37 WebCore 0x00066440 WebCore::Node::dispatchEvent(WTF::PassRefPtr<WebCore::Event>) + 144
38 WebCore 0x00164232 WebCore::EventTarget::dispatchEvent(WTF::PassRefPtr<WebCore::Event>, int&) + 54
39 WebCore 0x0027535c WebCore::EventHandler::handleTextInputEvent(WebCore::String const&, WebCore::Event*, bool, bool) + 43 WebCore 0x004ee42c -[WAKResponder tryToPerform:with:] + 40
44 WebKit 0x000122ac -[WebView(WebViewEditingActions) _performResponderOperation:with:] + 76
45 WebKit 0x00012254 -[WebView(WebViewEditingActions) insertText:] + 16
46 UIKit 0x00100f46 -[UIWebDocumentView insertText:] + 26
47 UIKit 0x0010076c -[UIKeyboardImpl addInputString:fromVariantK
ey:] + 2504
48 UIKit 0x000ffd80 -[UIKeyboardImpl handleStringInput:fromVariantKey:] + 128
49 UIKit 0x000fec0c -[UIKeyboardImpl handleKeyEvent:] + 1292
50 UIKit 0x000fe6ec -[UIApplication _handleKeyEvent:] + 28
51 UIKit 0x000fe6be -[UIResponder(Internal) _handleKeyEvent:] + 22
52 UIKit 0x000fe6be -[UIResponder(Internal) _handleKeyEvent:] + 22
53 UIKit 0x000fe6be -[UIResponder(Internal) _handleKeyEvent:] + 22
54 UIKit 0x000fe6be -[UIResponder(Internal) _handleKeyEvent:] + 22
55 UIKit 0x000fe6be -[UIResponder(Internal) _handleKeyEvent:] + 22
56 UIKit 0x000fe6be -[UIResponder(Internal) _handleKeyEvent:] + 22
57 UIKit 0x000fe694 -[UIApplication handleKeyEvent:] + 40
58 UIKit 0x000fe5ae -[UIKeyboardLayoutStar sendStringAction:forKey:] + 394
59 UIKit 0x000fc2e4 -[UIKeyboardLayoutStar touchUp:] + 1656
60 UIKit 0x000fbbe0 -[UIKeyboardLayout touchesEnded:withEvent:] + 296
61 UIKit 0x00062dd6 -[UIWindow _sendTouchesForEvent:] + 362
62 UIKit 0x00062750 -[UIWindow sendEvent:] + 256
63 UIKit 0x0005d9f8 -[UIApplication sendEvent:] + 292
64 UIKit 0x0005d330 _UIApplicationHandleEvent + 5104
65 GraphicsServices 0x00005044 PurpleEventCallback + 660
66 CoreFoundation 0x00034cdc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 20
67 CoreFoundation 0x00034ca0 __CFRunLoopDoSource1 + 160
68 CoreFoundation 0x00027566 __CFRunLoopRun + 514
69 CoreFoundation 0x00027270 CFRunLoopRunSpecific + 224
70 CoreFoundation 0x00027178 CFRunLoopRunInMode + 52
71 GraphicsServices 0x000045ec GSEventRunModal + 108
72 GraphicsServices 0x00004698 GSEventRun + 56
73 UIKit 0x0000411c -[UIApplication _run] + 396
74 UIKit 0x00002128 UIApplicationMain + 664
75 0x0000265a 0x1000 + 5722
76 0x1000 + 5668
Thread 1:
0 libSystem.B.dylib 0x0002d330 kevent + 24
1 libSystem.B.dylib 0x000d6b6c _dispatch_mgr_invoke + 88
2 libSystem.B.dylib 0x000d65bc _dispatch_queue_invoke + 96
3 libSystem.B.dylib 0x000d675c _dispatch_worker_thread2 + 120
4 libSystem.B.dylib 0x0007a67a _pthread_wqthread + 258
5 libSystem.B.dylib 0x00073190 start_wqthread + 0
Thread 2:
0 libSystem.B.dylib 0x0007b19c __workq_kernreturn + 8
1 libSystem.B.dylib 0x0007a790 _pthread_wqthread + 536
2 libSystem.B.dylib 0x00073190 start_wqthread + 0
Thread 3:
0 libSystem.B.dylib 0x00000cf4 semaphore_wait_signal_trap + 8
1 libSystem.B.dylib 0x0002e4ee semaphore_wait_signal + 2
2 libSystem.B.dylib 0x00002ae4 pthread_mutex_lock + 248
3 WebCore 0x00002620 _WebTryThreadLock(bool) + 140
4 WebCore 0x00002566 WebRunLoopLock(__CFRunLoopObserver*, unsigned long, void*) + 18
5 CoreFoundation 0x00030236 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 10
6 CoreFoundation 0x000300aa __CFRunLoopDoObservers + 406
7 CoreFoundation 0x000276c0 __CFRunLoopRun + 860
8 CoreFoundation 0x00027270 CFRunLoopRunSpecific + 224
9 CoreFoundation 0x00027178 CFRunLoopRunInMode + 52
10 WebCore 0x000024e2 RunWebThread(void*) + 362
11 libSystem.B.dylib 0x0007a27e _pthread_start + 242
12 libSystem.B.dylib 0x0006f2a8 thread_start + 0
Thread 4:
0 libSystem.B.dylib 0x00000c98 mach_msg_trap + 20
1 libSystem.B.dylib 0x00002d64 mach_msg + 44
2 CoreFoundation 0x00027c38 __CFRunLoopServiceMachPort + 88
3 CoreFoundation 0x000274c2 __CFRunLoopRun + 350
4 CoreFoundation 0x00027270 CFRunLoopRunSpecific + 224
5 CoreFoundation 0x00027178 CFRunLoopRunInMode + 52
6 CFNetwork 0x00069074 CFURLConnectionSendSynchronousRequest + 244
7 Foundation 0x000aed8c +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 76
8 0x00025ea4 0x1000 + 151204
9 0x000296c8 0x1000 + 165576
10 Foundation 0x0000b222 -[NSThread main] + 38
11 Foundation 0x000042d6 __NSThread__main__ + 966
12 libSystem.B.dylib 0x0007a27e _pthread_start + 242
13 libSystem.B.dylib 0x0006f2a8 thread_start + 0
Thread 5:
0 libSystem.B.dylib 0x00000c98 mach_msg_trap + 20
1 libSystem.B.dylib 0x00002d64 mach_msg + 44
2 CoreFoundation 0x00027c38 __CFRunLoopServiceMachPort + 88
3 CoreFoundation 0x000274c2 __CFRunLoopRun + 350
4 CoreFoundation 0x00027270 CFRunLoopRunSpecific + 224
5 CoreFoundation 0x00027178 CFRunLoopRunInMode + 52
6 Foundation 0x0002d686 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 206
7 Foundation 0x0000b222 -[NSThread main] + 38
8 Foundation 0x000042d6 __NSThread__main__ + 966
9 libSystem.B.dylib 0x0007a27e _pthread_start + 242
10 libSystem.B.dylib 0x0006f2a8 thread_start + 0
Thread 6:
0 libSystem.B.dylib 0x00025060 select$DARWIN_EXTSN + 20
1 CoreFoundation 0x0005edfc __CFSocketManager + 540
2 libSystem.B.dylib 0x0007a27e _pthread_start + 242
3 libSystem.B.dylib 0x0006f2a8 thread_start + 0
Thread 7:
0 libSystem.B.dylib 0x0007b19c __workq_kernreturn + 8
1 libSystem.B.dylib 0x0007a790 _pthread_wqthread + 536
2 libSystem.B.dylib 0x00073190 start_wqthread + 0
Thread 8:
0 libSystem.B.dylib 0x00000c98 mach_msg_trap + 20
1 libSystem.B.dylib 0x00002d64 mach_msg + 44
2 libSystem.B.dylib 0x0002591e thread_policy + 118
3 libSystem.B.dylib 0x00025896 pthread_setschedparam_internal + 62
4 libSystem.B.dylib 0x000257d0 pthread_setschedparam + 68
5 UIKit 0x00100ea2 InitTextChecker + 22
6 libSystem.B.dylib 0x0007a27e _pthread_start + 242
7 libSystem.B.dylib 0x0006f2a8 thread_start + 0
Thread 0 crashed with ARM Thread State:
r0: 0x32ca2efa r1: 0x32ca3270 r2: 0x656a626f r3: 0x339737c9
r4: 0x656a626f r5: 0x3e8055e4 r6: 0x00000005 r7: 0x2fffd824
r8: 0x06417f18 r9: 0x2fffd7c0 r10: 0x06417f10 r11: 0x2fffd870
ip: 0x3e7f23e4 sp: 0x2fffd80c lr: 0x3440f2b5 pc: 0x339737d8
cpsr: 0x20010030
Thanks in Advance ....
arrayWithObjects: takes a nil terminated list of object ids. You might have forget the nil
myArray = [NSArray arrayWithObjects:aDate, aValue, aString, nil];
Check reference
Without any details (like a completely symbolicated crash log and the corresponding code) this is like looking into a crystal ball: we have to guess.
From the crash log I'd say you create an array (via [NSArray arrayWithObjects:]) and feed it something that is not an Objective-C object. Maybe you forgot to add nil as the last object in the list? It's necessary so Objective-C knows where your list of objects ends.
You are getting EXC_BAD_ACCESS that means you are trying to reach a released object. Best practice is to put some break points and go step by step. I also recommend you to turn the zombies on. Product->Edit Scheme->Diagnostics and check Enable Zombie Objects.
after you do this when you crash you can see the point you crash and which method is trying to reach the released object.
The crash log gives you some information, which is not much, but better than nothing if you are not able to reproduce the crash yourself.
As you can see from these lines:
4 CoreFoundation 0x00027ef4 +[NSArray arrayWithObjects:] + 356
5 - 0x00033fcc 0x1000 + 208844
6 - 0x00033f46 0x1000 + 208710
7 UIKit 0x0022fb26 -[UISearchDisplayController searchBar:textDidChange:] + 78
the crash happens after a change in your searchBar, which triggers the corresponding action in your code. The action then tries to create an array and it crashes.
So, I would start checking the action that you associated to the search bar and see what happens there. You could also post it here, so that we can have a look.