My app use uiwebview load web pages, it randomly crash , we can't reproduce it,
the register lr is the same as pc,is it stack was destroy ?
crash stack looks like this:
0 libsystem_platform.dylib 0x000000019557845c __os_lock_corruption_abort
1 CFNetwork 0x0000000182f4c890 URLConnectionLoader::_loaderEvent_AckBytes(long long)
2 CFNetwork 0x0000000182e791b4 URLConnectionClient::_internal_captureDataArray()
3 CFNetwork 0x0000000182e78f24 invocation function for block in URLConnectionClient_Classic::_delegate_didReceiveDataArray()
4 CFNetwork 0x0000000182f4550c invocation function for block in URLConnectionClient_Classic::_withDelegateAsync(char const*, void (_CFURLConnection*, CFURLConnectionClientCurrent_VMax const*) block_pointer)
5 CFNetwork 0x0000000182e67ac8 RunloopBlockContext::_invoke_block(void const*, void*)
6 CoreFoundation 0x0000000183408cdc CFArrayApplyFunction + 68
7 CFNetwork 0x0000000182e67974 RunloopBlockContext::perform()
8 CFNetwork 0x0000000182e67828 MultiplexerSource::perform()
9 CFNetwork 0x0000000182e67654 MultiplexerSource::_perform(void*)
10 CoreFoundation 0x00000001834e0240 ___CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
11 CoreFoundation 0x00000001834df4e4 ___CFRunLoopDoSources0
12 CoreFoundation 0x00000001834dd594 ___CFRunLoopRun
13 CoreFoundation 0x00000001834092d4 CFRunLoopRunSpecific + 396
14 WebCore 0x0000000191e04894 RunWebThread(void*)
15 libsystem_pthread.dylib 0x000000019557fdc8 __pthread_body
16 libsystem_pthread.dylib 0x000000019557fd24 __pthread_body
17 libsystem_pthread.dylib 0x000000019557cef8 thread_start + 4
x0: 0x0000000170154214 x1: 0x0000000170154208 x2: 0x0000000170184030 x3: 000000000000000000
x4: 000000000000000000 x5: 000000000000000000 x6: 0x00000001704882c0 x7: 0x0000000000000fd0
x8: 0x0000000000019000 x9: 0x0000000026303831 x10: 0x0000000195f0b000 x11: 0x0000000300000003
x12: 0x00000001700768f0 x13: 0x000001a595f0df89 x14: 0x68a34dca3dfae422 x15: 0x00000000000000c8
x16: 0x00000001957d83b4 x17: 0x00000001840ba268 x18: 000000000000000000 x19: 0x0000000170154214
x20: 0x0000000000000001 x21: 0x0000000000000001 x22: 0x0000000000000002 x23: 0x00000001740afb40
x24: 0x0000000000000001 x25: 0x0000000000000001 x26: 0x0000000195c50e52 x27: 0x0000000195c5d13c
x28: 000000000000000000 fp: 0x0000000105ebaa80 lr: 0x00000001957d845c
sp: 0x0000000105ebaa50 pc: 0x00000001957d845c
Related
I collected some user crash logs from the Xcode > Window > Organizer > crashes.
it is very strange.
It shows a "Unexpectedly found nil while unwrapping an Optional value" error on line 3 below, but this line code already uses an if to check.
And I don't think line number is wrong after log be parsed, any suggestions? Thanks a lot.
model.weekday = workout.startDate.dayOfWeek()
model.shortDate = workout.startDate.toString(format: "MM/dd")
if let totalEnergyBurned = workout.totalEnergyBurned { // Unexpectedly found nil while unwrapping
model.kilocalorie = (Int)(round(totalEnergyBurned.doubleValue(for: HKUnit.kilocalorie())))
}
The crash log:
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000100cdaaa4
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [21903]
Triggered by Thread: 17
Thread 17 name:
Thread 17 Crashed:
0 DunDun 0x0000000100cdaaa4 Swift runtime failure: Unexpectedly found nil while unwrapping an Optional value + 0 (DDWorkout.swift:0)
1 DunDun 0x0000000100cdaaa4 specialized static DDWorkout.convert(_:) + 1936 (DDWorkout.swift:59)
2 DunDun 0x0000000100cda868 specialized static DDWorkout.convert(_:) + 1364 (DDWorkout.swift:59)
3 DunDun 0x0000000100cb0a90 static DDWorkout.convert(_:) + 8 (<compiler-generated>:0)
4 DunDun 0x0000000100cb0a90 completion #1 (_:error:) in HealthKitStorage.getTotalWorkout(callback:) + 752
5 DunDun 0x0000000100cb0ecc closure #1 in HealthKitStorage.getTotalWorkout(callback:) + 496 (HealthKitStorage.swift:55)
6 DunDun 0x0000000100cb1590 thunk for #escaping #callee_guaranteed (#guaranteed HKSampleQuery, #guaranteed [HKSample]?, #guaranteed Error?) -> () + 132 (<compiler-generated>:0)
7 libdispatch.dylib 0x0000000193359a84 _dispatch_call_block_and_release + 32 (init.c:1466)
8 libdispatch.dylib 0x000000019335b81c _dispatch_client_callout + 20 (object.m:559)
9 libdispatch.dylib 0x0000000193363004 _dispatch_lane_serial_drain + 620 (inline_internal.h:2557)
10 libdispatch.dylib 0x0000000193363c34 _dispatch_lane_invoke + 456 (queue.c:3862)
11 libdispatch.dylib 0x000000019336e4bc _dispatch_workloop_worker_thread + 764 (queue.c:6589)
12 libsystem_pthread.dylib 0x00000001df2d27a4 _pthread_wqthread + 276 (pthread.c:2437)
13 libsystem_pthread.dylib 0x00000001df2d974c start_wqthread + 8 (:-1)
Thread 17 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x00000001e2b66eb7 x2: 0x0000000000000002 x3: 0x00000001a2d8e1b0
x4: 0x00000000000062dc x5: 0x00000001012329c0 x6: 0x0000000000000142 x7: 0x0000000000000000
x8: 0x000000016facf0e0 x9: 0x0000000000000000 x10: 0x0000000297a6fa57 x11: 0x000f000280cf4a00
x12: 0x000000000000000a x13: 0x0000000280cf4a90 x14: 0x000000009f285800 x15: 0x00000001f5dfdee0
x16: 0x00000001a823473c x17: 0xe52c29819e292a34 x18: 0x0000000000000000 x19: 0x0000000197650b94
x20: 0x00000035312f3131 x21: 0x00000002802ee2e0 x22: 0x0000000197650b40 x23: 0x00000001f64c5848
x24: 0x0000000101210d70 x25: 0x000000016face650 x26: 0x00000002805ed140 x27: 0xa119cee65a67aed3
x28: 0xe500000000000000 fp: 0x000000016face740 lr: 0x0000000100cda868
sp: 0x000000016face650 pc: 0x0000000100cdaaa4 cpsr: 0x80000000
esr: 0xf2000001 Address size fault
Currently experiencing a problem where the app sometime crashes only in release mode. Any ideas on how to decode the IOS Crash log, i've attached a small section of the crash log below.
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x000000004111401c
VM Region Info: 0x4111401c is not in any region. Bytes before following region: 3209592804
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 00000001005fc000-0000000100600000 [ 16K] r-x/r-x SM=COW ...er.app/Runner
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [1113]
Triggered by Thread: 0
Thread 0 name:
Thread 0 Crashed:
0 libobjc.A.dylib 0x000000019c3c74ac object_isClass + 16 (objc-runtime-new.h:340)
1 Foundation 0x000000019ca551a8 KVO_IS_RETAINING_ALL_OBSERVERS_OF_THIS_OBJECT_IF_IT_CRASHES_AN_OBSERVER_WAS_OVERRELEASED_OR_SMASHED + 44 (NSKeyValueObserving.m:1120)
2 Foundation 0x000000019ca52cd0 NSKeyValueWillChangeWithPerThreadPendingNotifications + 272 (NSKeyValueObserving.m:1151)
3 AVFoundation 0x00000001a6896348 -[AVPlayerItem _informObserversAboutAvailabilityOfTracks] + 56 (AVPlayerItem.m:3722)
4 AVFoundation 0x00000001a6899374 -[AVPlayerItem _respondToBecomingReadyForBasicInspectionWithDuration:] + 296 (AVPlayerItem.m:4358)
5 AVFoundation 0x00000001a68ae580 __avplayeritem_fpItemNotificationCallback_block_invoke + 2080 (AVPlayerItem.m:8874)
6 libdispatch.dylib 0x000000019c36b9a8 _dispatch_call_block_and_release + 24 (init.c:1408)
7 libdispatch.dylib 0x000000019c36c524 _dispatch_client_callout + 16 (object.m:495)
8 libdispatch.dylib 0x000000019c31e5b4 _dispatch_main_queue_callback_4CF$VARIANT$mp + 904 (inline_internal.h:2484)
9 CoreFoundation 0x000000019c624748 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12 (CFRunLoop.c:1749)
10 CoreFoundation 0x000000019c61f61c __CFRunLoopRun + 1724 (CFRunLoop.c:3069)
11 CoreFoundation 0x000000019c61ec34 CFRunLoopRunSpecific + 424 (CFRunLoop.c:3192)
12 GraphicsServices 0x00000001a676838c GSEventRunModal + 160 (GSEvent.c:2246)
13 UIKitCore 0x00000001a075122c UIApplicationMain + 1932 (UIApplication.m:4820)
14 Runner 0x0000000100603380 main + 88 (main.m:7)
15 libdyld.dylib 0x000000019c4a6800 start + 4
....
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x00000002809c1740 x1: 0x000000016f802310 x2: 0xfffffffffffffff0 x3: 0x000000016f802310
x4: 0x0000000000000008 x5: 0x0000000000000010 x6: 0x0000000000000000 x7: 0x00000000000002d0
x8: 0x0000000041114000 x9: 0x00000002809c2df0 x10: 0x00000002809cd4a0 x11: 0x00000002809cf780
x12: 0x00000002809cd4a0 x13: 0x00000002809cf780 x14: 0x00000002809cfb40 x15: 0x00000002809ce4c0
x16: 0x000000019c3ae8f0 x17: 0x000000019c58f928 x18: 0x0000000000000000 x19: 0x000000016f802310
x20: 0x0000000000000008 x21: 0x00000002809c1740 x22: 0x000000028055e940 x23: 0x00000002807350c0
x24: 0x0000000000000008 x25: 0x0000000000000000 x26: 0x0000000000000008 x27: 0x000000016f802310
x28: 0x0000000000000000 fp: 0x000000016f802300 lr: 0x000000019ca551a8
sp: 0x000000016f8022e0 pc: 0x000000019c3c74ac cpsr: 0x20000000
esr: 0x92000005 (Data Abort) byte read Translation fault
I have an app that is using the Portable razor library to build out a few webviews in Xamarin. It works fine in the simulator and when debugging on a physical device, but as soon as I deploy to itunesconnect and install via testflight, it crashes immediately on startup. I've updated to the most recent versions of Xcode and Visual studio, but no luck. Below is the crash log, but it provides no clues that I can see. Any ideas on what is going on?
Date/Time: 2018-02-28 07:22:49.5734 -0600
Launch Time: 2018-02-28 07:22:49.3343 -0600
OS Version: iPhone OS 11.2.6 (15D100)
Baseband Version: 3.42.00
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Thread 0 name:
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001841942e8 __pthread_kill + 8
1 libsystem_pthread.dylib 0x00000001842a92f8 pthread_kill$VARIANT$mp + 396 (pthread.c:1484)
2 libsystem_c.dylib 0x0000000184103060 __abort + 152 (abort.c:128)
3 libsystem_c.dylib 0x0000000184102fc8 abort + 152 (abort.c:99)
4 GlenroyCalculatorAppiOS 0x0000000104dc3e40 xamarin_get_block_descriptor + 4496
5 GlenroyCalculatorAppiOS 0x0000000104dbedfc 0x104a90000 + 3337724
6 GlenroyCalculatorAppiOS 0x0000000104c9e684 0x104a90000 + 2156164
7 GlenroyCalculatorAppiOS 0x0000000104ceaa34 0x104a90000 + 2468404
8 GlenroyCalculatorAppiOS 0x0000000104cea5a4 0x104a90000 + 2467236
9 GlenroyCalculatorAppiOS 0x0000000104dc3744 xamarin_get_block_descriptor + 2708
10 GlenroyCalculatorAppiOS 0x0000000104dc9a20 xamarin_get_block_descriptor + 28016
11 GlenroyCalculatorAppiOS 0x0000000104a98188 0x104a90000 + 33160
12 libdyld.dylib 0x000000018406456c start + 4
Thread 1:
0 libsystem_pthread.dylib 0x00000001842a6b68 start_wqthread + 0
Thread 2:
0 libsystem_pthread.dylib 0x00000001842a6b68 start_wqthread + 0
Thread 3 name:
Thread 3:
0 libsystem_kernel.dylib 0x00000001841940f0 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x00000001842aace4 _pthread_cond_wait$VARIANT$mp + 640 (pthread_cond.c:579)
2 GlenroyCalculatorAppiOS 0x0000000104da4e50 0x104a90000 + 3231312
3 libsystem_pthread.dylib 0x00000001842a82b4 _pthread_body + 308 (pthread.c:740)
4 libsystem_pthread.dylib 0x00000001842a8180 _pthread_start + 312 (pthread.c:799)
5 libsystem_pthread.dylib 0x00000001842a6b74 thread_start + 4
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000001
x4: 0x0000000000000000 x5: 0x0000000000989680 x6: 0x0000000000000031 x7: 0xffffffffffffffec
x8: 0x0000000008000000 x9: 0x0000000004000000 x10: 0x00000000000003e8 x11: 0x00000001b7d1a004
x12: 0x00000001b7d1a004 x13: 0x0000000000000018 x14: 0x0000000000000001 x15: 0x0000000000000881
x16: 0x0000000000000148 x17: 0x0000000000000000 x18: 0xfffffff013edd260 x19: 0x0000000000000006
x20: 0x00000001b59edb80 x21: 0x0000000104ed1000 x22: 0x0000000000000303 x23: 0x00000001b59edc60
x24: 0x0000000105564e2a x25: 0x0000000104de16e1 x26: 0x0000000000000000 x27: 0x0000000104e654f0
x28: 0x0000000104e654d0 fp: 0x000000016b36e9a0 lr: 0x00000001842a92f8
sp: 0x000000016b36e970 pc: 0x00000001841942e8 cpsr: 0x00000000
EDIT: I think this is a better crash log that I recently got. Points to the print_callback function as causing the crash, which I can't find in my project anywhere.
Thread 0 name:
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x0000000184bd42e8 __pthread_kill + 8
1 libsystem_pthread.dylib 0x0000000184ce92f8 pthread_kill$VARIANT$mp + 396 (pthread.c:1484)
2 libsystem_c.dylib 0x0000000184b43060 __abort + 152 (abort.c:128)
3 libsystem_c.dylib 0x0000000184b42fc8 abort + 152 (abort.c:99)
4 GlenroyCalculatorAppiOS 0x0000000100e460d4 print_callback(char const*, int) + 3383508 (runtime.m:1211)
5 GlenroyCalculatorAppiOS 0x0000000100e40ff0 monoeg_g_log + 3362800 (goutput.c:125)
6 GlenroyCalculatorAppiOS 0x0000000100d1ad58 load_aot_module + 2157912 (aot-runtime.c:2071)
7 GlenroyCalculatorAppiOS 0x0000000100d67474 mono_assembly_load_from_predicate + 2471028 (assembly.c:2316)
8 GlenroyCalculatorAppiOS 0x0000000100d66fdc mono_assembly_open_predicate + 2469852 (assembly.c:1973)
9 GlenroyCalculatorAppiOS 0x0000000100e459d8 xamarin_open_and_register + 3381720 (runtime.m:943)
10 GlenroyCalculatorAppiOS 0x0000000100e4bcb4 xamarin_main + 3407028 (monotouch-main.m:434)
11 GlenroyCalculatorAppiOS 0x0000000100b12ddc main + 28124 (main.m:49)
12 libdyld.dylib 0x0000000184aa456c start + 4
It was a permission problem, but didn't show up until xcode 9.3 when I used that to build my app for release. If you don't specify certain Info.plist keys, your app will crash as soon as it requests them. This was especially confusing because I wasn't using any of the permissions it was telling me I was. Hope this helps someone else.
I have an App that doesn't use internet connexion, but apple send me a message where says that I have a crash in my first view controller for problem with the IPv6. Apple send me a report for the crash but i'm not able to learn it, i need your help. Or maybe if u had the same problem with this conexión(IPv6) and you were find the error.
pleas help me!!
Heres one file from the crash, that apple send me but i don't understand, pleas help me to know what they say.
{"app_name":"idWallet","timestamp":"2017-03-03 19:35:40.34 -0800","app_version":"1.1","slice_uuid":"7670eb49-b5ca-3334-b398-6cdb6982530e","adam_id":0,"build_version":"3","bundleID":"fernandorey.idWallet","share_with_app_devs":false,"is_first_party":false,"bug_type":"109","os_version":"iPhone OS 10.2.1 (14D27)","incident_id":"195A9217-8AF8-47BA-A8C2-4FC808AF587F","name":"idWallet"}
Incident Identifier: 195A9217-8AF8-47BA-A8C2-4FC808AF587F
CrashReporter Key: 0ec021c8a7f1efb30dfc7eceb07eaa3fd8f82c46
Hardware Model: xxx
Process: idWallet [8539]
Path: /private/var/containers/Bundle/Application/E974F007-2A8F-4724-A766-6E542BCDD035/idWallet.app/idWallet
Identifier: fernandorey.idWallet
Version: 3 (1.1)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: fernandorey.idWallet [4123]
Date/Time: 2017-03-03 19:35:40.1752 -0800
Launch Time: 2017-03-03 19:26:24.4423 -0800
OS Version: iPhone OS 10.2.1 (14D27)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Application Specific Information:
abort() called
Filtered syslog:
None found
Last Exception Backtrace:
(0x18e1a91b8 0x18cbe055c 0x1904c0b90 0x10005f17c 0x10005e8c8 0x194057924 0x1940574ec 0x194a19cf0 0x1943a24ac 0x1943c3a54 0x1943c6920 0x19414a154 0x1943ca0e4 0x194706808 0x194814854 0x19481465c 0x1943ba9b8 0x100067b98 0x100068804 0x10006841c 0x100068218 0x19408cd30 0x19408ccb0 0x194077128 0x19408c59c 0x19408c0c4 0x194087328 0x194057da0 0x19484175c 0x19483b130 0x18e156b5c 0x18e1564a4 0x18e1540a4 0x18e0822b8 0x18fb36198 0x1940c27fc 0x1940bd534 0x10005d3b4 0x18d0655b8)
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x000000018d177014 0x18d158000 + 126996
1 libsystem_pthread.dylib 0x000000018d23f450 0x18d23a000 + 21584
2 libsystem_c.dylib 0x000000018d0eb400 0x18d088000 + 406528
3 libc++abi.dylib 0x000000018cbb52d4 0x18cbb4000 + 4820
4 libc++abi.dylib 0x000000018cbd2cc0 0x18cbb4000 + 126144
5 libobjc.A.dylib 0x000000018cbe0844 0x18cbd8000 + 34884
6 libc++abi.dylib 0x000000018cbcf66c 0x18cbb4000 + 112236
7 libc++abi.dylib 0x000000018cbcf234 0x18cbb4000 + 111156
8 libobjc.A.dylib 0x000000018cbe071c 0x18cbd8000 + 34588
9 CoreFoundation 0x000000018e08232c 0x18e079000 + 37676
10 GraphicsServices 0x000000018fb36198 0x18fb2a000 + 49560
11 UIKit 0x00000001940c27fc 0x194048000 + 501756
12 UIKit 0x00000001940bd534 0x194048000 + 480564
13 idWallet 0x000000010005d3b4 0x100054000 + 37812
14 libdyld.dylib 0x000000018d0655b8 0x18d061000 + 17848
Thread 1 name: com.apple.uikit.eventfetch-thread
Thread 1:
0 libsystem_kernel.dylib 0x000000018d159188 0x18d158000 + 4488
1 libsystem_kernel.dylib 0x000000018d158ff8 0x18d158000 + 4088
2 CoreFoundation 0x000000018e1565d0 0x18e079000 + 906704
3 CoreFoundation 0x000000018e1541ec 0x18e079000 + 897516
4 CoreFoundation 0x000000018e0822b8 0x18e079000 + 37560
5 Foundation 0x000000018ebbf26c 0x18ebb3000 + 49772
6 Foundation 0x000000018ebdfdd0 0x18ebb3000 + 183760
7 UIKit 0x0000000194a36c38 0x194048000 + 10415160
8 Foundation 0x000000018ecbce68 0x18ebb3000 + 1089128
9 libsystem_pthread.dylib 0x000000018d23d850 0x18d23a000 + 14416
10 libsystem_pthread.dylib 0x000000018d23d760 0x18d23a000 + 14176
11 libsystem_pthread.dylib 0x000000018d23ad94 0x18d23a000 + 3476
Thread 2:
0 libsystem_pthread.dylib 0x000000018d23ad88 0x18d23a000 + 3464
Thread 3:
0 libsystem_pthread.dylib 0x000000018d23ad88 0x18d23a000 + 3464
Thread 4:
0 libsystem_pthread.dylib 0x000000018d23ad88 0x18d23a000 + 3464
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x00000001780e8437
x4: 0x000000018cbd3bc3 x5: 0x000000016fdab520 x6: 0x000000000000006e x7: 0xffffffffffffffec
x8: 0x0000000008000000 x9: 0x0000000004000000 x10: 0x000000000000000b x11: 0x0000000000000010
x12: 0x000000018d102772 x13: 0x0000000000000000 x14: 0x0000040000000400 x15: 0x0000000000000000
x16: 0x0000000000000148 x17: 0x0000000000000000 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x00000001b3219c40 x21: 0x000000016fdab520 x22: 0x00000001b3220bb8 x23: 0x0000000000000001
x24: 0x0000000178018be0 x25: 0x0000000000000000 x26: 0x0000000000000001 x27: 0x0000000000000000
x28: 0x000000016fdabbc0 fp: 0x000000016fdab480 lr: 0x000000018d23f450
sp: 0x000000016fdab460 pc: 0x000000018d177014 cpsr: 0x00000000
.
.
.
i can't add all the message for question of limit characters.
As #dan mentioned, try to symbolicate your crash report.
The following link will help you.
https://developer.apple.com/library/content/technotes/tn2151/_index.html#//apple_ref/doc/uid/DTS40008184-CH1-SYMBOLICATEWITHXCODE
Our iOS app got rejected stating that the app got crashed at launch. However we never experienced the crash in any of our devices.
Phonegap version used - 3.5.0-0.21.14
Apple has attached 2 .crash files. In both the files the app got crashed in thread, "Thread 5 name: Dispatch queue: com.apple.root.default-qos"
after the thread, "Thread 12 name: WebCore: LocalStorage" is executed.
Thanks in advance for the help.
Here is the part of the crash report from .crash file.
Thread 5 name: Dispatch queue: com.apple.root.default-qos
Thread 5 Crashed:
0 libicucore.A.dylib 0x00000001967516dc 0x1965c8000 + 1611484
1 libicucore.A.dylib 0x00000001967516d0 0x1965c8000 + 1611472
2 Foundation 0x000000018638a3dc 0x186320000 + 435164
3 Foundation 0x0000000186389c38 0x186320000 + 433208
4 PAYBACK 0x00000001000b28bc 0x10009c000 + 92348
5 PAYBACK 0x00000001000b2974 0x10009c000 + 92532
6 PAYBACK 0x00000001000ea2d4 0x10009c000 + 320212
7 libdispatch.dylib 0x0000000197285990 0x197284000 + 6544
8 libdispatch.dylib 0x0000000197285950 0x197284000 + 6480
9 libdispatch.dylib 0x000000019729277c 0x197284000 + 59260
10 libdispatch.dylib 0x0000000197293c48 0x197284000 + 64584
11 libsystem_pthread.dylib 0x0000000197465228 0x197464000 + 4648
12 libsystem_pthread.dylib
Thread 12 name: WebCore: LocalStorage
Thread 12:
0 libsystem_kernel.dylib 0x00000001973cb078 0x1973b0000 + 110712
1 libsystem_pthread.dylib 0x0000000197466f28 0x197464000 + 12072
2 JavaScriptCore 0x00000001869e97bc 0x1869d0000 + 104380
3 WebCore 0x000000019466e32c 0x193a34000 + 12821292
4 WebCore 0x0000000193be0ff8 0x193a34000 + 1757176
5 JavaScriptCore 0x00000001869e4b9c 0x1869d0000 + 84892
6 libsystem_pthread.dylib 0x0000000197467dc4 0x197464000 + 15812
7 libsystem_pthread.dylib 0x0000000197467d20 0x197464000 + 15648
8 libsystem_pthread.dylib 0x0000000197464ef4 0x197464000 + 3828
Thread 5 crashed with ARM Thread State (64-bit):
x0: 0x000000015d51db40 x1: 0x0000000000000000 x2: 0xffffffffffffffe0 x3: 0x0000000101cef8a0
x4: 0x0000000101cef900 x5: 0x0000000196710450 x6: 0x0000000101cefce8 x7: 0x0000000000000000
x8: 0x4000000000000000 x9: 0x0000000000000006 x10: 0x0000000000000000 x11: 0x0000000000000000
x12: 0x0000000000000592 x13: 0x0000000000000000 x14: 0x0000000000000000 x15: 0x0000000000000000
x16: 0x000000019745d580 x17: 0x00000001853fdd64 x18: 0x0000000000000000 x19: 0x0000000101cefc08
x20: 0x0000000170266fc0 x21: 0x0000000101cefa08 x22: 0x0000000000000000 x23: 0x0000000101cef850
x24: 0x0000000101cef9fc x25: 0x0000000000000000 x26: 0x000000018a77ff43 x27: 0x000000018a72d172
x28: 0x0000000170057eb0 fp: 0x0000000101cef910 lr: 0x00000001967516d4
sp: 0x0000000101cef850 pc: 0x00000001967516dc cpsr: 0x60000000
For us the issue was with the phonegap version(3.5.0-0.21.14). We updated to version 5.1.1-0.29.0, and gave another build, the app got accepted.