Random app crash on iOS with "bug_type":"109


#1

Hello I have random app crash on loading.

App deployed on device via ionic run iOS command. Also now this version awaiting for approvment to AppStore

Here is an iPhone 6s log

{"is_simulated":true,"app_name":"Jammy","timestamp":"2016-03-20 17:30:09.09 +0200","app_version":"2.0.1","slice_uuid":"d3e50f49-9e8b-3957-bcfd-c63742aec700","adam_id":0,"build_version":"2.0.1","bundleID":"com.provecta.jammy","share_with_app_devs":false,"is_first_party":false,"bug_type":"109","os_version":"iPhone OS 9.2.1 (13D15)","name":"Jammy"}
Incident Identifier: 40D4D362-2988-47F3-93E7-2F11FABDCCF3
CrashReporter Key:   1cf422faaf02d92467fc85608c9e0b2aac310510
Hardware Model:      iPhone8,1
Process:             Jammy [925]
Path:                /var/mobile/Containers/Bundle/Application/74DA67B3-C6B2-47B1-8C96-717EB799F685/Jammy.app/Jammy
Identifier:          com.provecta.jammy
Version:             2.0.1 (2.0.1)
Code Type:           ARM-64 (Native)
Parent Process:      launchd [1]

Date/Time:           2016-03-20 17:30:09.09 +0200
Launch Time:         2016-03-20 17:29:42.42 +0200
OS Version:          iOS 9.2.1 (13D15)
Report Version:      105

Exception Type:  00000020
Exception Codes: 0x000000008badf00d
Exception Note:  SIMULATED (this is NOT a crash)
Highlighted by Thread:  0

Application Specific Information:
com.provecta.jammy failed to scene-update after 10.00s

Elapsed total CPU time (seconds): 10.310 (user 10.310, system 0.000), 59% CPU 
Elapsed application CPU time (seconds): 8.798, 51% CPU

Filtered syslog:
None found

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0:
0   libsystem_kernel.dylib        	0x0000000180ecff90 0x180eb4000 + 114576
1   libsystem_pthread.dylib       	0x0000000180f9a39c 0x180f94000 + 25500
2   libsystem_pthread.dylib       	0x0000000180f9a57c 0x180f94000 + 25980
3   WebCore                       	0x0000000184dc3c40 0x184d4c000 + 490560
4   WebCore                       	0x0000000184dc4364 0x184d4c000 + 492388
5   UIKit                         	0x000000018649a9f0 0x18600c000 + 4778480
6   Jammy                         	0x00000001000cac80 0x100080000 + 306304
7   Jammy                         	0x00000001000bdc24 0x100080000 + 252964
8   Jammy                         	0x00000001000be5c8 0x100080000 + 255432
9   Jammy                         	0x00000001000b9e80 0x100080000 + 237184
10  CoreFoundation                	0x00000001812d2fc4 0x181208000 + 831428
11  CoreFoundation                	0x00000001812d27e4 0x181208000 + 829412
12  CoreFoundation                	0x00000001812d2564 0x181208000 + 828772
13  CoreFoundation                	0x0000000181337de4 0x181208000 + 1244644
14  CoreFoundation                	0x00000001812130f4 0x181208000 + 45300
15  Foundation                    	0x0000000181c02d2c 0x181bfc000 + 27948
16  UIKit                         	0x000000018608adec 0x18600c000 + 519660
17  UIKit                         	0x00000001862c614c 0x18600c000 + 2859340
18  FrontBoardServices            	0x00000001828d4b34 0x1828bc000 + 101172
19  Foundation                    	0x0000000181cb2018 0x181bfc000 + 745496
20  BaseBoard                     	0x000000018285f704 0x18283c000 + 145156
21  FrontBoardServices            	0x00000001828cfb84 0x1828bc000 + 80772
22  FrontBoardServices            	0x00000001828d490c 0x1828bc000 + 100620
23  UIKit                         	0x00000001862c7568 0x18600c000 + 2864488
24  UIKit                         	0x00000001862c7210 0x18600c000 + 2863632
25  FrontBoardServices            	0x00000001828e3790 0x1828bc000 + 161680
26  FrontBoardServices            	0x00000001828e3b10 0x1828bc000 + 162576
27  CoreFoundation                	0x00000001812e4efc 0x181208000 + 904956
28  CoreFoundation                	0x00000001812e4990 0x181208000 + 903568
29  CoreFoundation                	0x00000001812e2690 0x181208000 + 894608
30  CoreFoundation                	0x0000000181211680 0x181208000 + 38528
31  GraphicsServices              	0x0000000182720088 0x182714000 + 49288
32  UIKit                         	0x0000000186088d90 0x18600c000 + 511376
33  Jammy                         	0x0000000100084194 0x100080000 + 16788
34  libdyld.dylib                 	0x0000000180db28b8 0x180db0000 + 10424

Thread 1:
0   libsystem_kernel.dylib        	0x0000000180ed0b6c 0x180eb4000 + 117612
1   libsystem_pthread.dylib       	0x0000000180f95530 0x180f94000 + 5424
2   libsystem_pthread.dylib       	0x0000000180f95020 0x180f94000 + 4128

Thread 2 name:  Dispatch queue: com.apple.libdispatch-manager
Thread 2:
0   libsystem_kernel.dylib        	0x0000000180ed14fc 0x180eb4000 + 120060
1   libdispatch.dylib             	0x0000000180d9494c 0x180d80000 + 84300
2   libdispatch.dylib             	0x0000000180d837bc 0x180d80000 + 14268

Thread 3 name:  com.apple.NSURLConnectionLoader
Thread 3:
0   libsystem_kernel.dylib        	0x0000000180eb54bc 0x180eb4000 + 5308
1   libsystem_kernel.dylib        	0x0000000180eb5338 0x180eb4000 + 4920
2   CoreFoundation                	0x00000001812e4ac0 0x181208000 + 903872
3   CoreFoundation                	0x00000001812e27c4 0x181208000 + 894916
4   CoreFoundation                	0x0000000181211680 0x181208000 + 38528
5   CFNetwork                     	0x0000000181981434 0x1818d4000 + 709684
6   Foundation                    	0x0000000181cefc40 0x181bfc000 + 998464
7   libsystem_pthread.dylib       	0x0000000180f97b28 0x180f94000 + 15144
8   libsystem_pthread.dylib       	0x0000000180f97a8c 0x180f94000 + 14988
9   libsystem_pthread.dylib       	0x0000000180f95028 0x180f94000 + 4136

Thread 4:
0   libsystem_kernel.dylib        	0x0000000180ed0440 0x180eb4000 + 115776
1   libsystem_c.dylib             	0x0000000180ded22c 0x180de0000 + 53804
2   libc++.1.dylib                	0x0000000180966314 0x180920000 + 287508
3   JavaScriptCore                	0x0000000184b01b74 0x18457c000 + 5790580
4   JavaScriptCore                	0x0000000184b01824 0x18457c000 + 5789732
5   JavaScriptCore                	0x0000000184b03d64 0x18457c000 + 5799268
6   JavaScriptCore                	0x0000000184b03cf4 0x18457c000 + 5799156
7   libsystem_pthread.dylib       	0x0000000180f97b28 0x180f94000 + 15144
8   libsystem_pthread.dylib       	0x0000000180f97a8c 0x180f94000 + 14988
9   libsystem_pthread.dylib       	0x0000000180f95028 0x180f94000 + 4136

Thread 5 name:  WebThread
Thread 5:
0   JavaScriptCore                	0x00000001847ca010 0x18457c000 + 2416656
1   JavaScriptCore                	0x00000001849fd39c 0x18457c000 + 4723612
2   JavaScriptCore                	0x00000001849fd39c 0x18457c000 + 4723612
3   JavaScriptCore                	0x0000000184a00e94 0x18457c000 + 4738708
4   JavaScriptCore                	0x0000000184a05e14 0x18457c000 + 4759060
5   JavaScriptCore                	0x0000000184a05be0 0x18457c000 + 4758496
6   JavaScriptCore                	0x0000000184a05be0 0x18457c000 + 4758496
7   JavaScriptCore                	0x0000000184a05e14 0x18457c000 + 4759060
8   JavaScriptCore                	0x0000000184a05be0 0x18457c000 + 4758496
9   JavaScriptCore                	0x0000000184a05c44 0x18457c000 + 4758596
10  JavaScriptCore                	0x0000000184a05e14 0x18457c000 + 4759060
11  JavaScriptCore                	0x0000000184a05e14 0x18457c000 + 4759060
12  JavaScriptCore                	0x0000000184a05c44 0x18457c000 + 4758596
13  JavaScriptCore                	0x00000001849ffdd8 0x18457c000 + 4734424
14  JavaScriptCore                	0x000000018492cbb8 0x18457c000 + 3869624
15  JavaScriptCore                	0x00000001845c5e90 0x18457c000 + 302736
16  JavaScriptCore                	0x00000001846d553c 0x18457c000 + 1414460
17  WebCore                       	0x0000000185939218 0x184d4c000 + 12505624
18  WebCore                       	0x0000000185938e94 0x184d4c000 + 12504724
19  WebCore                       	0x0000000184d62a00 0x184d4c000 + 92672
20  WebCore                       	0x0000000184d625ec 0x184d4c000 + 91628
21  WebCore                       	0x0000000184d6252c 0x184d4c000 + 91436
22  CoreFoundation                	0x00000001812e55f4 0x181208000 + 906740
23  CoreFoundation                	0x00000001812e5298 0x181208000 + 905880
24  CoreFoundation                	0x00000001812e29ac 0x181208000 + 895404
25  CoreFoundation                	0x0000000181211680 0x181208000 + 38528
26  WebCore                       	0x0000000184dc1998 0x184d4c000 + 481688
27  libsystem_pthread.dylib       	0x0000000180f97b28 0x180f94000 + 15144
28  libsystem_pthread.dylib       	0x0000000180f97a8c 0x180f94000 + 14988
29  libsystem_pthread.dylib       	0x0000000180f95028 0x180f94000 + 4136

Thread 6:
0   libsystem_kernel.dylib        	0x0000000180ed0b6c 0x180eb4000 + 117612
1   libsystem_pthread.dylib       	0x0000000180f95530 0x180f94000 + 5424
2   libsystem_pthread.dylib       	0x0000000180f95020 0x180f94000 + 4128

Thread 7:

Thread 8 name:  JavaScriptCore::Marking
Thread 8:
0   libsystem_kernel.dylib        	0x0000000180ecff48 0x180eb4000 + 114504
1   libsystem_pthread.dylib       	0x0000000180f96ce8 0x180f94000 + 11496
2   libc++.1.dylib                	0x0000000180928074 0x180920000 + 32884
3   JavaScriptCore                	0x00000001848b0a10 0x18457c000 + 3361296
4   JavaScriptCore                	0x00000001848b0aa8 0x18457c000 + 3361448
5   JavaScriptCore                	0x00000001845865b4 0x18457c000 + 42420
6   JavaScriptCore                	0x00000001845864c4 0x18457c000 + 42180
7   libsystem_pthread.dylib       	0x0000000180f97b28 0x180f94000 + 15144
8   libsystem_pthread.dylib       	0x0000000180f97a8c 0x180f94000 + 14988
9   libsystem_pthread.dylib       	0x0000000180f95028 0x180f94000 + 4136

Thread 9 name:  WebCore: CFNetwork Loader
Thread 9:
0   libsystem_kernel.dylib        	0x0000000180eb54bc 0x180eb4000 + 5308
1   libsystem_kernel.dylib        	0x0000000180eb5338 0x180eb4000 + 4920
2   CoreFoundation                	0x00000001812e4ac0 0x181208000 + 903872
3   CoreFoundation                	0x00000001812e27c4 0x181208000 + 894916
4   CoreFoundation                	0x0000000181211680 0x181208000 + 38528
5   WebCore                       	0x0000000184def1ec 0x184d4c000 + 668140
6   JavaScriptCore                	0x00000001845865b4 0x18457c000 + 42420
7   JavaScriptCore                	0x00000001845864c4 0x18457c000 + 42180
8   libsystem_pthread.dylib       	0x0000000180f97b28 0x180f94000 + 15144
9   libsystem_pthread.dylib       	0x0000000180f97a8c 0x180f94000 + 14988
10  libsystem_pthread.dylib       	0x0000000180f95028 0x180f94000 + 4136

Thread 10 name:  com.apple.CFSocket.private
Thread 10:
0   libsystem_kernel.dylib        	0x0000000180ed0368 0x180eb4000 + 115560
1   CoreFoundation                	0x00000001812eb028 0x181208000 + 929832
2   libsystem_pthread.dylib       	0x0000000180f97b28 0x180f94000 + 15144
3   libsystem_pthread.dylib       	0x0000000180f97a8c 0x180f94000 + 14988
4   libsystem_pthread.dylib       	0x0000000180f95028 0x180f94000 + 4136

Thread 11 name:  AVAudioSession Notify Thread
Thread 11:
0   libsystem_kernel.dylib        	0x0000000180eb54bc 0x180eb4000 + 5308
1   libsystem_kernel.dylib        	0x0000000180eb5338 0x180eb4000 + 4920
2   CoreFoundation                	0x00000001812e4ac0 0x181208000 + 903872
3   CoreFoundation                	0x00000001812e27c4 0x181208000 + 894916
4   CoreFoundation                	0x0000000181211680 0x181208000 + 38528
5   libAVFAudio.dylib             	0x00000001874d9834 0x187494000 + 284724
6   libAVFAudio.dylib             	0x00000001874ae3a8 0x187494000 + 107432
7   libsystem_pthread.dylib       	0x0000000180f97b28 0x180f94000 + 15144
8   libsystem_pthread.dylib       	0x0000000180f97a8c 0x180f94000 + 14988
9   libsystem_pthread.dylib       	0x0000000180f95028 0x180f94000 + 4136

Thread 12 name:  com.apple.coremedia.player.async
Thread 12:
0   libsystem_kernel.dylib        	0x0000000180eb54f8 0x180eb4000 + 5368
1   libdispatch.dylib             	0x0000000180d9255c 0x180d80000 + 75100
2   MediaToolbox                  	0x0000000186e19454 0x186e14000 + 21588
3   CoreMedia                     	0x00000001832ea980 0x1832a8000 + 272768
4   libsystem_pthread.dylib       	0x0000000180f97b28 0x180f94000 + 15144
5   libsystem_pthread.dylib       	0x0000000180f97a8c 0x180f94000 + 14988
6   libsystem_pthread.dylib       	0x0000000180f95028 0x180f94000 + 4136

No thread state (register information) available

Binary Images:
0x100080000 - 0x100193fff Jammy arm64

#2

Hmm, not too sure on this one.

Could you provide the following info.

iphone version

ios version

cordova-ios version -ionic platform ls


#3

Hi. Sure.

Installed platforms: android 5.1.1, ios 4.1.0

i just updated my iPhone 6s to latest iOS version 9.3 but was previous .
Also i have enabled prodMode: true.

Will test on device and report later.

Interesting i doesn’t see splashscreen on android device, only on iOS device
I have HTC One M8

Thx, Mike!