Crash on Open in iOS 10.2.1 - Where to start?

Hi Ionic Fans,

I’m getting a ‘crash’ that appeared gradually on an app (that has about 50 corporate users) as the phones caught up to the latest iOS. Oddly enough, the crash doesn’t happen on any of our test phones (even on the latest iOS) and only happens on around 10% to 20% of the user’s phones.

We upgraded the app to the latest ionic version last week.

The problem seems to happen overnight or if the app has been installed for longer than a few days. The symptom is that when you open the app in the morning, it will immediately quit (abort) even though you could use it properly the day before. I’ve been able to extract the crash log on the phone, however I have been unable to successfully symbolicate the crash log.

Although it’s most likely a cordova problem I thought I would ask as some of you may know at least who I could escalate it to or perhaps point to some tooling? Perhaps there is some other work around?

Thanks in advance! Crash log follows:

{"app_name":"Webfleet",
"timestamp":"2017-02-14 09:06:53.53 +1100",
"app_version":"1.0.7-RELEASE1",
"slice_uuid":"50adbfa1-6770-3ae0-87ee-4b367f26d4a5",
"adam_id":0,"build_version":"1.0.7",
"bundleID":"au.com.gwagroup.wfm",
"share_with_app_devs":false,"is_first_party":false,"bug_type":"109",
"os_version":"iPhone OS 10.2.1 (14D27)",
"incident_id":"6C644593-B54D-4120-9021-CA2DC07B7C53",
"name":"Webfleet"}

Incident Identifier: 6C644593-B54D-4120-9021-CA2DC07B7C53
CrashReporter Key:  5c37f64417bff9ddf15dd8bed9ca21523a61e375
Hardware Model:      iPhone8,4
Process:            Webfleet [2996]
Path:                /private/var/containers/Bundle/Application/56A273B5-2890-40EC-B3E3-758FB731859D/Webfleet.app/Webfleet
Identifier:          au.com.gwagroup.wfm
Version:            1.0.7 (1.0.7-RELEASE1)
Code Type:          ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:          au.com.gwagroup.wfm [960]

Date/Time:          2017-02-14 09:06:53.3074 +1100
Launch Time:        2017-02-14 09:03:53.3991 +1100
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:
0   CoreFoundation                	0x189b811b8 0x189a51000 + 1245624
1   libobjc.A.dylib               	0x1885b855c 0x1885b0000 + 34140
2   CoreFoundation                	0x189b88268 0x189a51000 + 1274472
3   CoreFoundation                	0x189b85270 0x189a51000 + 1262192
4   CoreFoundation                	0x189a7e80c 0x189a51000 + 186380
5   CoreFoundation                	0x189b1ab10 0x189a51000 + 826128
6   CoreFoundation                	0x189b1a214 0x189a51000 + 823828
7   CoreFoundation                	0x189b19f90 0x189a51000 + 823184
8   CoreFoundation                	0x189b89b8c 0x189a51000 + 1280908
9   CoreFoundation                	0x189a5be64 0x189a51000 + 44644
10  Foundation                    	0x18a590e0c 0x18a58b000 + 24076
11  UIKit                         	0x18fcc39d8 0x18fa27000 + 2738648
12  UIKit                         	0x18fd9f638 0x18fa27000 + 3638840
13  UIKit                         	0x18fcc3878 0x18fa27000 + 2738296
14  UIKit                         	0x18fcc3e00 0x18fa27000 + 2739712
15  UIKit                         	0x18fcd2280 0x18fa27000 + 2798208
16  UIKit                         	0x18fcbd820 0x18fa27000 + 2713632
17  UIKit                         	0x18fcbd4a4 0x18fa27000 + 2712740
18  UIKit                         	0x18ffe953c 0x18fa27000 + 6038844
19  FrontBoardServices            	0x18b729dd4 0x18b71d000 + 52692
20  FrontBoardServices            	0x18b75792c 0x18b71d000 + 239916
21  FrontBoardServices            	0x18b757798 0x18b71d000 + 239512
22  FrontBoardServices            	0x18b757b40 0x18b71d000 + 240448
23  CoreFoundation                	0x189b2eb5c 0x189a51000 + 908124
24  CoreFoundation                	0x189b2e4a4 0x189a51000 + 906404
25  CoreFoundation                	0x189b2c0a4 0x189a51000 + 897188
26  CoreFoundation                	0x189a5a2b8 0x189a51000 + 37560
27  GraphicsServices              	0x18b50e198 0x18b502000 + 49560
28  UIKit                         	0x18faa17fc 0x18fa27000 + 501756
29  UIKit                         	0x18fa9c534 0x18fa27000 + 480564
30  Webfleet                      	0x1000f560c main (main.m:32)
31  libdyld.dylib                 	0x188a3d5b8 0x188a39000 + 17848


Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0  libsystem_kernel.dylib        0x0000000188b4f014 0x188b30000 + 126996
1  libsystem_pthread.dylib      0x0000000188c17450 0x188c12000 + 21584
2  libsystem_c.dylib            0x0000000188ac3400 0x188a60000 + 406528
3  libc++abi.dylib              0x000000018858d2d4 0x18858c000 + 4820
4  libc++abi.dylib              0x00000001885aacc0 0x18858c000 + 126144
5  libobjc.A.dylib              0x00000001885b8844 0x1885b0000 + 34884
6  libc++abi.dylib              0x00000001885a766c 0x18858c000 + 112236
7  libc++abi.dylib              0x00000001885a7234 0x18858c000 + 111156
8  libobjc.A.dylib              0x00000001885b871c 0x1885b0000 + 34588
9  CoreFoundation                0x0000000189a5a32c 0x189a51000 + 37676
10  GraphicsServices              0x000000018b50e198 0x18b502000 + 49560
11  UIKit                        0x000000018faa17fc 0x18fa27000 + 501756
12  UIKit                        0x000000018fa9c534 0x18fa27000 + 480564
13  Webfleet                      0x00000001000f560c main (main.m:32)
14  libdyld.dylib                0x0000000188a3d5b8 0x188a39000 + 17848

I am also facing the same problem.
Have you able to solve this?

I might be experiencing the same problem. Please update if you find a solution. Thanks.

I’am also facing the same problem. Any update? Please update if someone found a solutions. Thanks!

Hello,

We found that the cause was not anything to do with Ionic or Cordova, but
was the MDM software on the phone terminating the application as it was not
approved.

Hope this helps!

1 Like