How can I symbolicate libGDX iOS crash logs? - ios

I am debugging my libGDX game on a iPhone. Sometimes the app crashes and I get reports such as shown below. The reports are from xCode > Window > Devices and Simulators > View Device Logs. How can I symbolicate them? IntelliJ does not show any error at the console (I run the game from IntelliJ and I usually would see Exceptions such as Null Pointer Exceptions there).
Incident Identifier: xxx
CrashReporter Key: xxx
Hardware Model: iPhone11,8
Process: IOSLauncher [1859]
Path: /private/var/containers/Bundle/Application/xxx/IOSLauncher.app/IOSLauncher
Identifier: com.myorg.mygame
Version: 1.0 (1)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: Exited process [1858]
Coalition: com.myorg.mygame [498]
Date/Time: 2022-12-01 17:44:35.8509 +0000
Launch Time: 2022-12-01 17:35:51.9248 +0000
OS Version: iPhone OS 16.1.1 (20B101)
Release Type: User
Baseband Version: 5.01.01
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x000000033603d2c0
Exception Codes: 0x0000000000000001, 0x000000033603d2c0
VM Region Info: 0x33603d2c0 is not in any region. Bytes after previous region: 2516832961 Bytes before following region: 53854612800
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
MALLOC_NANO 280000000-2a0000000 [512.0M] rw-/rwx SM=COW
---> GAP OF 0xd20000000 BYTES
commpage (reserved) fc0000000-1000000000 [ 1.0G] ---/--- SM=NUL ...(unallocated)
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [1859]
Triggered by Thread: 0
Kernel Triage:
VM - pmap_enter retried due to resource shortage
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 IOSLauncher 0x10030db90 0x1000e0000 + 2284432
1 IOSLauncher 0x10031a5bc 0x1000e0000 + 2336188
2 IOSLauncher 0x10031a5bc 0x1000e0000 + 2336188
3 IOSLauncher 0x10031e1a0 0x1000e0000 + 2351520
4 IOSLauncher 0x1005f8814 0x1000e0000 + 5343252
5 IOSLauncher 0x1005f8748 0x1000e0000 + 5343048
6 IOSLauncher 0x100735280 0x1000e0000 + 6640256
7 IOSLauncher 0x100734e98 0x1000e0000 + 6639256
... truncated ...
21 IOSLauncher 0x1004ff7a4 0x1000e0000 + 4323236
22 IOSLauncher 0x1004ff820 0x1000e0000 + 4323360
23 GLKit 0x1fd4d20f4 -[GLKView _display:] + 220
24 GLKit 0x1fd4ed2c8 -[GLKViewController _updateAndDraw] + 432
25 QuartzCore 0x19a51ef9c CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 756
26 QuartzCore 0x19a5308a4 display_timer_callback(__CFMachPort*, void*, long, void*) + 372
27 CoreFoundation 0x198ee3820 __CFMachPortPerform + 176
28 CoreFoundation 0x198f00d00 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 60
29 CoreFoundation 0x198f02908 __CFRunLoopDoSource1 + 520
30 CoreFoundation 0x198ee413c __CFRunLoopRun + 2264
31 CoreFoundation 0x198ee8ed4 CFRunLoopRunSpecific + 612
32 GraphicsServices 0x1d21e6368 GSEventRunModal + 164
33 UIKitCore 0x19b3c73d0 -[UIApplication _run] + 888
34 UIKitCore 0x19b3c7034 UIApplicationMain + 340
35 IOSLauncher 0x100bb1f10 0x1000e0000 + 11345680
36 IOSLauncher 0x100bb12e0 0x1000e0000 + 11342560
37 IOSLauncher 0x100bb045c 0x1000e0000 + 11338844
38 IOSLauncher 0x1006b7e6c 0x1000e0000 + 6127212
39 IOSLauncher 0x100ebf268 catch_exception_raise + 95556
40 IOSLauncher 0x100eb53c8 catch_exception_raise + 54948
41 IOSLauncher 0x100eb7bdc catch_exception_raise + 65208
42 IOSLauncher 0x100eb7c70 catch_exception_raise + 65356
43 IOSLauncher 0x100eafd9c catch_exception_raise + 32888
44 IOSLauncher 0x100ea55cc 0x1000e0000 + 14439884
45 dyld 0x1b7550960 start + 2528
Any hint would be appreciated.

Related

Xamarin.Forms iOS application crash on release after SplashScreen

I have a very bad issue right now:
Behavior:
Application work when debug, but in release exit when app start.
The debugg information is not clear for the reason the application fail only in release mode.
Visual Studio 2019
Xamarin Forms 4.8.0.1821
ZxIng.Net.Mobile 2.4.1
ZxIng.Net.Mobile.Forms 2.4.1
Newtonsoft.Json 12.0.3
Xamarin.Essentials 1.6.1
SDK 14.4
Simulator log file:
Process: myapp-ui.iOS [19566]
Path: /Users/USER/Library/Developer/CoreSimulator/Devices/2C19C42D-564E-42CB-B805-C9C49BB1E8FD/data/Containers/Bundle/Application/1F644647-27DB-48EF-96D6-75A169AE4E9D/myapp-ui.iOS.app/myapp-ui.iOS
Identifier: myapp-ui.iOS
Version: 2.0.3 (1610484945)
Code Type: X86-64 (Native)
Parent Process: launchd_sim [17405]
Responsible: SimulatorTrampoline [1267]
User ID: 501
Date/Time: 2021-02-16 12:29:44.629 -0600
OS Version: macOS 11.2.1 (20D74)
Report Version: 12
Anonymous UUID: E13D7872-1C1C-3306-5557-E45B4D68317D
Time Awake Since Boot: 350000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 tid_307 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
abort() called
CoreSimulator 732.18.6 - Device: iPhone 12 Pro (2C19C42D-564E-42CB-B805-C9C49BB1E8FD) - Runtime: iOS 14.4 (18D46) - DeviceType: iPhone 12 Pro
Thread 0 Crashed:: tid_307 Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff61131462 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff6116a610 pthread_kill + 263
2 libsystem_c.dylib 0x00007fff200fac2e __abort + 139
3 libsystem_c.dylib 0x00007fff200faba3 abort + 135
4 io.myapp.myapp-easyapp 0x00000001045caa6f xamarin_unhandled_exception_handler + 31 (runtime.m:1151)
5 io.myapp.myapp-easyapp 0x000000010445f415 mono_invoke_unhandled_exception_hook + 133 (exception.c:1265)
6 io.myapp.myapp-easyapp 0x000000010439ce2a mono_handle_exception_internal + 6986 (mini-exceptions.c:2782)
7 io.myapp.myapp-easyapp 0x000000010439b2d9 mono_handle_exception + 25 (mini-exceptions.c:3107)
8 io.myapp.myapp-easyapp 0x000000010431b969 mono_amd64_throw_exception + 169 (exceptions-amd64.c:409)
9 ??? 0x0000000104f6a5b0 0 + 4378240432
10 io.myapp.myapp-easyapp 0x00000001045ca7ed xamarin_process_managed_exception + 301 (runtime.m:2356)
11 io.myapp.myapp-easyapp 0x00000001045d1482 xamarin_invoke_trampoline + 1250 (trampolines-invoke.m:686)
12 io.myapp.myapp-easyapp 0x00000001045d3642 xamarin_arch_trampoline + 82 (trampolines-x86_64.m:491)
13 io.myapp.myapp-easyapp 0x00000001045d400a xamarin_x86_64_common_trampoline + 118 (trampolines-x86_64-asm.s:51)
14 com.apple.Foundation 0x00007fff208592ba __NSThreadPerformPerform + 204
15 com.apple.CoreFoundation 0x00007fff2039038a __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
16 com.apple.CoreFoundation 0x00007fff20390282 __CFRunLoopDoSource0 + 180
17 com.apple.CoreFoundation 0x00007fff2038f7c6 __CFRunLoopDoSources0 + 346
18 com.apple.CoreFoundation 0x00007fff20389f2f __CFRunLoopRun + 878
19 com.apple.CoreFoundation 0x00007fff203896d6 CFRunLoopRunSpecific + 567
20 com.apple.GraphicsServices 0x00007fff2c257db3 GSEventRunModal + 139
21 com.apple.UIKitCore 0x00007fff24696cf7 -[UIApplication _run] + 912
22 com.apple.UIKitCore 0x00007fff2469bba8 UIApplicationMain + 101
23 ??? 0x00000001065cb0a4 0 + 4401705124
24 ??? 0x00000001065caf13 0 + 4401704723
25 ??? 0x00000001065c7313 0 + 4401689363
26 io.myapp.myapp-easyapp 0x00000001043b36d1 mono_jit_runtime_invoke + 1569 (mini-runtime.c:3191)
27 io.myapp.myapp-easyapp 0x00000001044d9c08 do_runtime_invoke + 54 (object.c:3052) [inlined]
28 io.myapp.myapp-easyapp 0x00000001044d9c08 mono_runtime_invoke_checked + 136 (object.c:3220)
29 io.myapp.myapp-easyapp 0x00000001044dff75 do_exec_main_checked + 60 [inlined]
30 io.myapp.myapp-easyapp 0x00000001044dff75 mono_runtime_exec_main_checked + 117 (object.c:5284)
31 io.myapp.myapp-easyapp 0x00000001043124ec mono_jit_exec_internal + 14 (driver.c:1383) [inlined]
32 io.myapp.myapp-easyapp 0x00000001043124ec mono_jit_exec + 364 (driver.c:1328)
33 io.myapp.myapp-easyapp 0x00000001045d3196 xamarin_main + 1686 (monotouch-main.m:493)
34 io.myapp.myapp-easyapp 0x00000001042cc857 main + 55 (main.m:55)
35 libdyld.dylib 0x00007fff2025a3e9 start + 1
Fortunately the problem is Entitlement.plist, for some reason when use SecureStorage from Xamarin.Essentials, the application crash in release Testflight on shop, so I remove SecureStorage and problem solved.
Thanks all for all the answers.

View inside ViewController not updating (IB Designables Error)

Recently I got this error:
Failed to render and update auto layout status for YourViewController (GwR-7s-08s): The agent crashed
I've tried:
Editor > Refresh all views
Delete Derived Data
Delete and Undo my view controller
Restart My Pc
I'm really lost now.
This is what i found from console (~/Library/Logs/DiagnosticReports) IBDesignablesAgent-IOS.crash.
Process: IBDesignablesAgent-iOS [8917]
Path: /Users/USER/Desktop/Xcode (Vers 10.1).app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Overlays/IBDesignablesAgent-iOS
Identifier: IBDesignablesAgent-iOS
Version: 10.1 (14460.20)
Code Type: X86-64 (Native)
Parent Process: launchd_sim [696]
Responsible: IBDesignablesAgent-iOS [8917]
User ID: 501
Date/Time: 2020-04-15 18:02:05.468 +0800
OS Version: Mac OS X 10.14.6 (18G103)
Report Version: 12
Bridge OS Version: 4.1 (17P1081)
Anonymous UUID: CBF175F5-90A8-CA46-157A-EAC22B0E9C53
Time Awake Since Boot: 7000 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Illegal instruction: 4
Termination Reason: Namespace SIGNAL, Code 0x4
Terminating Process: exc handler [8917]
Application Specific Information:
CoreSimulator 681.15 - Device: iPhone 8 (B66229B4-2385-44FD-B679-B71B2306DF10) - Runtime: iOS 12.1 (16B91) - DeviceType: iPhone 8
Fatal error: Unexpectedly found nil while unwrapping an Optional value
Thread 0 Crashed:
0 libswiftCore.dylib 0x0000000226d276f1 specialized _fatalErrorMessage(_:_:file:line:flags:) + 113
1 libswiftCore.dylib 0x0000000226b5d053 _fatalErrorMessage(_:_:file:line:flags:) + 19
2 com.MiCaresvc.MyMed 0x0000000225e03dac UsefulLinksTableViewCell.layoutSubviews() + 268
3 com.MiCaresvc.MyMed 0x0000000225e041f4 #objc UsefulLinksTableViewCell.layoutSubviews() + 36
4 com.apple.UIKitCore 0x000000011d38d795 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1441
5 com.apple.QuartzCore 0x000000010e885b19 -[CALayer layoutSublayers] + 175
6 com.apple.QuartzCore 0x000000010e88a9d3 CA::Layer::layout_if_needed(CA::Transaction*) + 395
7 com.apple.UIKitCore 0x000000011d378077 -[UIView(Hierarchy) layoutBelowIfNeeded] + 1429
8 com.apple.IBCocoaTouchToolFoundation 0x000000010d33d267 -[UITableViewCell(IBCocoaTouchToolIntegration) awakeAfterMarshallerDidEstablishAttributesWithContext:] + 58
9 com.apple.IBCocoaTouchToolFoundation 0x000000010d332248 -[IBCocoaTouchToolObjectPackage initWithRequest:globalMarshallingContext:] + 3391
10 com.apple.IBCocoaTouchToolFoundation 0x000000010d330d91 +[IBCocoaTouchToolObjectPackage objectPackageFromRequest:] + 67
11 com.apple.IBCocoaTouchToolFoundation 0x000000010d333f1e +[IBCocoaTouchToolObjectPackage decodeWithBinaryUnarchiver:] + 106
12 com.apple.dt.IBFoundation 0x000000010e54241c -[IBBinaryUnarchiver decodeObject] + 109
13 com.apple.dt.IBFoundation 0x000000010e5e2e4f -[IBObjectBasedMarshallingRequest initWithBinaryUnarchiver:] + 135
14 com.apple.dt.IBAutolayoutFoundation 0x000000010e4b2f63 -[IBFullSceneUpdateRequest initWithBinaryUnarchiver:] + 65
15 com.apple.dt.IBFoundation 0x000000010e538f05 +[NSObject(IBBinaryArchivingAdditions) decodeWithBinaryUnarchiver:] + 65
16 com.apple.dt.IBFoundation 0x000000010e54241c -[IBBinaryUnarchiver decodeObject] + 109
17 com.apple.dt.IBFoundation 0x000000010e54281d -[IBBinaryUnarchiver decodeObjectReferenceIfPossible] + 74
18 com.apple.dt.IBFoundation 0x000000010e539486 -[NSArray(IBBinaryArchivingAdditions) initWithBinaryUnarchiver:] + 180
19 com.apple.dt.IBFoundation 0x000000010e538f05 +[NSObject(IBBinaryArchivingAdditions) decodeWithBinaryUnarchiver:] + 65
20 com.apple.dt.IBFoundation 0x000000010e54241c -[IBBinaryUnarchiver decodeObject] + 109
21 com.apple.dt.IBFoundation 0x000000010e62e745 -[IBMessageReceiveChannel deliverMessage:toTarget:withArguments:context:result:] + 424
22 com.apple.dt.IBFoundation 0x000000010e62e152 __88-[IBMessageReceiveChannel runBlockingReceiveLoopNotifyingQueue:notifyingTarget:context:]_block_invoke + 143
23 libdispatch.dylib 0x00000001167f954b _dispatch_client_callout + 8
24 libdispatch.dylib 0x0000000116806036 _dispatch_async_and_wait_invoke + 109
25 libdispatch.dylib 0x00000001167f954b _dispatch_client_callout + 8
26 libdispatch.dylib 0x0000000116805380 _dispatch_main_queue_callback_4CF + 1290
27 com.apple.CoreFoundation 0x00000001105183e9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
28 com.apple.CoreFoundation 0x0000000110512a76 __CFRunLoopRun + 2342
29 com.apple.CoreFoundation 0x0000000110511e11 CFRunLoopRunSpecific + 625
30 com.apple.Foundation 0x000000010eaea322 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 277
31 com.apple.dt.IBFoundation 0x000000010e5e9c36 -[IBAbstractPlatformTool startServingReceiveChannel:] + 447
32 com.apple.dt.IBFoundation 0x000000010e5e9ef2 -[IBAbstractPlatformTool startServingWriteDescriptor:readDescriptor:] + 119
33 com.apple.dt.IBFoundation 0x000000010e5ead9a +[IBAbstractPlatformTool main] + 1211
34 IBDesignablesAgent-iOS 0x000000010d253957 main + 34
35 libdyld.dylib 0x0000000116869575 start + 1

Multiple binary rejection by AppStoreConnect due to launch crash

The build has been rejected multiple times from AppStoreConnect with always exactly the same reason
"The app crash on launch"
I've never reproduced the error. I've executed it in every available device and iOS version without success.
In addition, the crash logs that they provided me don't provide too much information.
I've tried to request more information about the environment in which they reproduced the error without success. One time, they said that the crash was in an iPad emulator, but the app works perfectly in every iPad version
Crashlogs unsymbolicated:
{"app_name":"xxxx","timestamp":"2019-06-20 09:30:05.87 -0700","app_version":"1.4.0","slice_uuid":"d381ff29-a1ec-32a6-af7d-6517137e579f","adam_id":1461455633,"build_version":"1.4.0","bundleID":"xxxx","share_with_app_devs":false,"is_first_party":false,"bug_type":"109","os_version":"iPhone OS 12.2 (16E227)","incident_id":"A985F59F-C669-4A87-9857-4421D1CC164B","name":"xxxx"}
Incident Identifier: A985F59F-C669-4A87-9857-4421D1CC164B
CrashReporter Key: c71c23eb1e0011687094492985fef3cac2098667
Hardware Model: xxx
Process: xxxx [672]
Path: /private/var/containers/Bundle/Application/0D0670FD-B198-44C2-B537-88709A420EF6/xxxx.app/xxxx
Identifier: xxxx
Version: 1.4.0 (1.4.0)
AppStoreTools: 10G3
Code Type: ARM-64 (Native)
Role: Non UI
Parent Process: launchd [1]
Coalition: xxxx [627]
Date/Time: 2019-06-20 09:30:05.4321 -0700
Launch Time: 2019-06-20 09:30:03.6198 -0700
OS Version: iPhone OS 12.2 (16E227)
Baseband Version: n/a
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
Last Exception Backtrace:
(0x236e2f518 0x23600a9f8 0x236d4cec0 0x237817a38 0x23778bf3c 0x100bde604 0x100be1054 0x100bddbb0 0x100bdd7fc 0x100bdd644 0x100c2d370 0x100c627b0 0x262f74020 0x262f75784 0x262f7af10 0x26283f104 0x26284769c 0x26283ed88 0x26283f678 0x26283d9c4 0x26283d68c 0x2628421cc 0x262842fb0 0x262842084 0x262846d84 0x262f79518 0x262b75f0c 0x2397a9d44 0x2397b3754 0x2397b2f5c 0x2368707d4 0x2368155d8 0x2397e40bc 0x2397e3d58 0x2397e4310 0x236dc12bc 0x236dc123c 0x236dc0b24 0x236dbba60 0x236dbb354 0x238fbb79c 0x262f7cb68 0x100ba15ac 0x2368818e0)
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000002369cd0dc 0x2369aa000 + 143580
1 libsystem_pthread.dylib 0x0000000236a46094 0x236a44000 + 8340
2 libsystem_c.dylib 0x0000000236926ea8 0x2368cc000 + 372392
3 libc++abi.dylib 0x0000000235ff3788 0x235ff2000 + 6024
4 libc++abi.dylib 0x0000000235ff3934 0x235ff2000 + 6452
5 libobjc.A.dylib 0x000000023600ae00 0x236005000 + 24064
6 libc++abi.dylib 0x0000000235fff838 0x235ff2000 + 55352
7 libc++abi.dylib 0x0000000235fff8c4 0x235ff2000 + 55492
8 libdispatch.dylib 0x00000002368707e8 0x236810000 + 395240
9 libdispatch.dylib 0x00000002368155d8 0x236810000 + 21976
10 FrontBoardServices 0x00000002397e40bc 0x23979e000 + 286908
11 FrontBoardServices 0x00000002397e3d58 0x23979e000 + 286040
12 FrontBoardServices 0x00000002397e4310 0x23979e000 + 287504
13 CoreFoundation 0x0000000236dc12bc 0x236d17000 + 697020
14 CoreFoundation 0x0000000236dc123c 0x236d17000 + 696892
15 CoreFoundation 0x0000000236dc0b24 0x236d17000 + 695076
16 CoreFoundation 0x0000000236dbba60 0x236d17000 + 674400
17 CoreFoundation 0x0000000236dbb354 0x236d17000 + 672596
18 GraphicsServices 0x0000000238fbb79c 0x238fb1000 + 42908
19 UIKitCore 0x0000000262f7cb68 0x2626c2000 + 9153384
20 xxxx 0x0000000100ba15ac 0x100b58000 + 300460
21 libdyld.dylib 0x00000002368818e0 0x236880000 + 6368
Crashlogs Symbolicated:
{\rtf1\ansi\ansicpg1251\deff0\nouicompat\deflang1058{\fonttbl{\f0\fnil\fcharset0 Calibri;}}
{\*\generator Riched20 10.0.14393}\viewkind4\uc1
\pard\sa200\sl276\slmult1\f0\fs22\lang9\{"app_name":"xxx","timestamp":"2019-06-14 18:12:40.57 -0700","app_version":"1.4.0","slice_uuid":"01ea8f0b-edba-3564-9913-ea253053aa82","adam_id":1461455633,"build_version":"1.3.0","bundleID":"xxx","share_with_app_devs":false,"is_first_party":false,"bug_type":"109","os_version":"iPhone OS 12.2 (16E227)","incident_id":"D2C5D5A1-CE8E-4084-95D6-D9C238F08302","name":"xxx"\}\par
Incident Identifier: D2C5D5A1-CE8E-4084-95D6-D9C238F08302\par
CrashReporter Key: c71c23eb1e0011687094492985fef3cac2098667\par
Hardware Model: xxx\par
Process: xxx [19133]\par
Path: /private/var/containers/Bundle/Application/E8FEC5B1-B7BB-4927-A6EB-ECF1F4DC137C/xxx.app/xxx\par
Identifier: xxx\par
Version: 1.4.0 (1.4.0)\par
AppStoreTools: 10G3\par
Code Type: ARM-64 (Native)\par
Role: Non UI\par
Parent Process: launchd [1]\par
Coalition: xxx [7574]\par
\par
\par
Date/Time: 2019-06-14 18:12:39.9920 -0700\par
Launch Time: 2019-06-14 18:12:35.7129 -0700\par
OS Version: iPhone OS 12.2 (16E227)\par
Baseband Version: n/a\par
Report Version: 104\par
\par
Exception Type: EXC_CRASH (SIGABRT)\par
Exception Codes: 0x0000000000000000, 0x0000000000000000\par
Exception Note: EXC_CORPSE_NOTIFY\par
Triggered by Thread: 0\par
\par
Application Specific Information:\par
abort() called\par
\par
Last Exception Backtrace:\par
0 CoreFoundation 0x20cd5f518 0x20cc47000 + 1148184
1 libobjc.A.dylib 0x20bf3a9f8 0x20bf35000 + 23032
2 CoreFoundation 0x20cc7cec0 0x20cc47000 + 220864
3 Foundation 0x20d747a38 0x20d6b1000 + 617016
4 Foundation 0x20d6bbf3c 0x20d6b1000 + 44860
5 xxx 0x1002b50e8 -[DataCollector refreshSignal:] + 561384 (DataCollector.m:358)
6 xxx 0x1002b7b38 -[DataCollector backgroundListenerDataStateChanged:] + 572216 (DataCollector.m:800)
7 xxx 0x1002b4694 -[DataCollector updateReachability:] + 558740 (DataCollector.m:207)
8 xxx 0x1002b42e0 -[DataCollector refreshReachability] + 557792 (DataCollector.m:131)
9 xxx 0x1002b4128 -[DataCollector startCollector] + 557352 (DataCollector.m:108)
10 xxx 0x100308964 -[MccApi startBackgroundListener] + 903524 (MccApi.m:565)
11 xxx 0x10033fb24 -[AppDelegate application:didFinishLaunchingWithOptions:] + 1129252 (AppDelegate.m:392)
12 UIKitCore 0x238ea4020 0x2385f2000 + 9117728
13 UIKitCore 0x238ea5784 0x2385f2000 + 9123716
14 UIKitCore 0x238eaaf10 0x2385f2000 + 9146128
15 UIKitCore 0x23876f104 0x2385f2000 + 1560836
16 UIKitCore 0x23877769c 0x2385f2000 + 1595036
17 UIKitCore 0x23876ed88 0x2385f2000 + 1559944
18 UIKitCore 0x23876f678 0x2385f2000 + 1562232
19 UIKitCore 0x23876d9c4 0x2385f2000 + 1554884
20 UIKitCore 0x23876d68c 0x2385f2000 + 1554060
21 UIKitCore 0x2387721cc 0x2385f2000 + 1573324
22 UIKitCore 0x238772fb0 0x2385f2000 + 1576880
23 UIKitCore 0x238772084 0x2385f2000 + 1572996
24 UIKitCore 0x238776d84 0x2385f2000 + 1592708
25 UIKitCore 0x238ea9518 0x2385f2000 + 9139480
26 UIKitCore 0x238aa5f0c 0x2385f2000 + 4931340
27 FrontBoardServices 0x20f6d9d44 0x20f6ce000 + 48452
28 FrontBoardServices 0x20f6e3754 0x20f6ce000 + 87892
29 FrontBoardServices 0x20f6e2f5c 0x20f6ce000 + 85852
30 libdispatch.dylib 0x20c7a07d4 0x20c740000 + 395220
31 libdispatch.dylib 0x20c7455d8 0x20c740000 + 21976
32 FrontBoardServices 0x20f7140bc 0x20f6ce000 + 286908
33 FrontBoardServices 0x20f713d58 0x20f6ce000 + 286040
34 FrontBoardServices 0x20f714310 0x20f6ce000 + 287504
35 CoreFoundation 0x20ccf12bc 0x20cc47000 + 697020
36 CoreFoundation 0x20ccf123c 0x20cc47000 + 696892
37 CoreFoundation 0x20ccf0b24 0x20cc47000 + 695076
38 CoreFoundation 0x20cceba60 0x20cc47000 + 674400
39 CoreFoundation 0x20cceb354 0x20cc47000 + 672596
40 GraphicsServices 0x20eeeb79c 0x20eee1000 + 42908
41 UIKitCore 0x238eacb68 0x2385f2000 + 9153384
42 xxx 0x1002779f4 main + 309748 (main.m:15)
43 libdyld.dylib 0x20c7b18e0 0x20c7b0000 + 6368
I would like some feedback from you due to I literally don't have more ideas to resolve this situation.
It would be helpful if you would know the solution of the crash having in mind the logs but if you didn't I'm also listening to your next steps suggestions.

Xamarin Forms: sporadic crashes since porting to WkWebView

We ported our app from UIWebView to WkWebView.
Since then the app crashes sporadically (sometimes after minutes, sometimes after hours, sometimes not at all) while being in background.
Looking at the termination reason 0x8badf00d (see crash report below) and Apple's developer documentation (Understanding and Analyzing Application Crash Reports) the crash seems to be related to a watchdog timeout.
The only task we start in our code while the app moves to background is embedded in appropriate calls to UIApplication.SharedApplication.BeginBackgroundTask and UIApplication.SharedApplication.EndBackgroundTask. That task is a network request that does not run on the main UI thread and it completes within a second.
That said I assume the crash to be related to a WebKit / JavaScriptCore issue.
Did anyone else experience such crashes (exception type EXC_BAD_ACCESS (SIGKILL) & termination reason Namespace ASSERTIOND, Code 0x8badf00d) and can provide any specific hint about how to avoid them?
Many thanks in advance & best regards!
Mario.
Incident Identifier: 2084FF7B-EDFB-41D4-849F-E03F75335214
CrashReporter Key: 0af317c4eee2f011df0e1a9fc253199241998699
Hardware Model: iPhone10,6
Process: App [1798]
Path: /private/var/containers/Bundle/Application/A4FF0F47-4ED6-4A97-8F15-E6AC432FC62D/App.app/App
Identifier: com.abc.app
Version: 7000025 (7.0.25)
Code Type: ARM-64 (Native)
Role: Non UI
Parent Process: launchd [1]
Coalition: com.abc.app [792]
Date/Time: 2019-03-20 10:15:43.9491 +0100
Launch Time: 2019-03-20 09:55:44.7537 +0100
OS Version: iPhone OS 12.1.4 (16D57)
Baseband Version: 2.02.51
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGKILL)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
VM Region Info: 0 is not in any region. Bytes before following region: 4370874368
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 0000000104864000-0000000105bdc000 [ 19.5M] r-x/r-x SM=COW ...honeMobileiOS
Termination Reason: Namespace ASSERTIOND, Code 0x8badf00d
Triggered by Thread: 0
Thread 0 name: tid_303 Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001841bef0c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x0000000184241410 _pthread_cond_wait$VARIANT$armv81 + 620
2 JavaScriptCore 0x000000018b95b7d8 WTF::ThreadCondition::timedWait+ 305112 (WTF::Mutex&, WTF::WallTime) + 148
3 JavaScriptCore 0x000000018b9429a0 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void + 203168 ()> const&, WTF::TimeWithDynamicClockType const&) + 2004
4 JavaScriptCore 0x000000018b91c2e4 bool WTF::Condition::waitUntil<WTF::Lock>+ 45796 (WTF::Lock&, WTF::TimeWithDynamicClockType const&) + 184
5 JavaScriptCore 0x000000018b920010 WTF::BinarySemaphore::wait+ 61456 (WTF::TimeWithDynamicClockType) + 112
6 WebKit 0x000000019400a2b0 IPC::Connection::waitForSyncReply+ 455344 (unsigned long long, WTF::Seconds, WTF::OptionSet<IPC::SendSyncOption>) + 276
7 WebKit 0x0000000194009af8 IPC::Connection::sendSyncMessage+ 453368 (unsigned long long, std::__1::unique_ptr<IPC::Encoder, std::__1::default_delete<IPC::Encoder> >, WTF::Seconds, WTF::OptionSet<IPC::SendSyncOption>) + 416
8 WebKit 0x00000001942cac3c bool IPC::Connection::sendSync<Messages::WebProcess::ProcessWillSuspendImminently>+ 3341372 (Messages::WebProcess::ProcessWillSuspendImminently&&, Messages::WebProcess::ProcessWillSuspendImminently::Reply&&, unsigned long long, WTF::Seconds, WTF::OptionSet<IPC::SendSyncOption>) + 176
9 WebKit 0x00000001942c5a70 bool WebKit::ChildProcessProxy::sendSync<Messages::WebProcess::ProcessWillSuspendImminently>+ 3320432 (Messages::WebProcess::ProcessWillSuspendImminently&&, Messages::WebProcess::ProcessWillSuspendImminently::Reply&&, unsigned long long, WTF::Seconds, WTF::OptionSet<IPC::SendSyncOption>) + 120
10 WebKit 0x00000001942c59e8 WebKit::WebProcessProxy::sendProcessWillSuspendImminently+ 3320296 () + 76
11 WebKit 0x0000000193fafabc -[WKProcessAssertionBackgroundTaskManager _notifyClientsOfImminentSuspension] + 72
12 WebKit 0x00000001940ea7fc __64-[WKProcessAssertionBackgroundTaskManager _updateBackgroundTask]_block_invoke + 168
13 UIKitCore 0x00000001b1801a8c _fireBackgroundExpirationHandlers + 300
14 FrontBoardServices 0x0000000187057504 __69-[FBSUIApplicationWorkspace clientHandleAssertionExpirationImminent:]_block_invoke + 76
15 FrontBoardServices 0x000000018706ae94 __40-[FBSWorkspace _performDelegateCallOut:]_block_invoke + 64
16 libdispatch.dylib 0x0000000184062484 _dispatch_client_callout + 16
17 libdispatch.dylib 0x00000001840393e0 _dispatch_block_invoke_direct$VARIANT$armv81 + 216
18 FrontBoardServices 0x000000018709fa9c __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 40
19 FrontBoardServices 0x000000018709f728 -[FBSSerialQueue _performNext] + 416
20 FrontBoardServices 0x000000018709fd44 -[FBSSerialQueue _performNextFromRunLoopSource] + 56
21 CoreFoundation 0x00000001845ba0e0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
22 CoreFoundation 0x00000001845ba060 __CFRunLoopDoSource0 + 88
23 CoreFoundation 0x00000001845b9944 __CFRunLoopDoSources0 + 176
24 CoreFoundation 0x00000001845b4810 __CFRunLoopRun + 1040
25 CoreFoundation 0x00000001845b40e0 CFRunLoopRunSpecific + 436
26 GraphicsServices 0x000000018682d584 GSEventRunModal + 100
27 UIKitCore 0x00000001b1804c00 UIApplicationMain + 212
28 Xamarin.Sdk 0x0000000106da9518 0x106224000 + 12080408
29 Xamarin.Sdk 0x0000000106cfac8c 0x106224000 + 11365516
30 Xamarin.Sdk 0x0000000106cfac4c 0x106224000 + 11365452
31 App 0x00000001049cf7fc App_Application_Main_string__ + 1488892 (/<unknown>:1)
32 Xamarin.Sdk 0x0000000106526bb8 0x106224000 + 3156920
33 Mono 0x0000000105fd7374 mono_jit_runtime_invoke + 904
34 Mono 0x000000010605d1a0 mono_runtime_invoke_checked + 148
35 Mono 0x0000000106063084 mono_runtime_exec_main_checked + 120
36 Mono 0x0000000105fb6c1c mono_jit_exec + 268
37 Xamarin 0x0000000105d76cc8 xamarin_main + 1132
38 App 0x00000001049c8e4c main + 1461836 (main.m:155)
39 libdyld.dylib 0x0000000184072bb4 start + 4

Xcode 7.1 crashing- libSwiftCore.dylib

Updated to Xcode 7.1 today. Cannot open, due to a crash that says "Xcode quit unexpectedly while using the libswiftCore.dylib plug-in.
Stack trace:
Process: Xcode [610]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 7.1 (9079)
Build Info: IDEFrameworks-9079000000000000~8
App Item ID: 497799835
App External ID: 813804225
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [610]
User ID: 502
PlugIn Path: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/libswiftCore.dylib
PlugIn Identifier: libswiftCore.dylib
PlugIn Version: 2.1 (700.1.101.6)
Date/Time: 2015-10-23 17:33:26.756 +0100
OS Version: Mac OS X 10.11.1 (15B42)
Report Version: 11
Anonymous UUID: 92906A5F-963D-4D90-6510-F624BB6F0130
Time Awake Since Boot: 350 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: EXC_I386_GPFLT
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
ProductBuildVersion: 7B91b
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_c.dylib 0x00007fff9a2fed32 strlen + 18
1 libswiftCore.dylib 0x00000001124f7aac _buildDemanglingForNominalType(swift::Demangle::Node::Kind, swift::Metadata const*, swift::NominalTypeDescriptor const*) + 44
2 libswiftCore.dylib 0x00000001124f5cc5 _buildDemanglingForMetadata(swift::Metadata const*) + 133
3 libswiftCore.dylib 0x00000001124f7b7c _buildDemanglingForNominalType(swift::Demangle::Node::Kind, swift::Metadata const*, swift::NominalTypeDescriptor const*) + 252
4 libswiftCore.dylib 0x00000001124f5cc5 _buildDemanglingForMetadata(swift::Metadata const*) + 133
5 libswiftCore.dylib 0x00000001124f59bc swift_getGenericClassObjCName + 28
6 libswiftCore.dylib 0x00000001124475dd 0x1122ae000 + 1676765
7 libswiftCore.dylib 0x00000001124ebdd8 (anonymous namespace)::GenericCacheEntry* llvm::function_ref<(anonymous namespace)::GenericCacheEntry* ()>::callback_fn<swift::swift_getGenericMetadata::$_0>(long) + 24
8 libswiftCore.dylib 0x00000001124ebce0 swift::MetadataCache<(anonymous namespace)::GenericCacheEntry>::addMetadataEntry(swift::EntryRef<(anonymous namespace)::GenericCacheEntry>, ConcurrentList<swift::MetadataCache<(anonymous namespace)::GenericCacheEntry>::EntryPair>&, llvm::function_ref<(anonymous namespace)::GenericCacheEntry* ()>) + 128
9 libswiftCore.dylib 0x00000001124e8488 swift_getGenericMetadata + 504
10 libswiftCore.dylib 0x00000001124e851d swift_getGenericMetadata3 + 29
11 libswiftFoundation.dylib 0x00000001127c9226 _TZFe0_Rq_Ss8Hashable_10FoundationVSs10Dictionary26_forceBridgeFromObjectiveCu0_Rq_S__fMGS1_q_q0__FTCSo12NSDictionary6resultRGSqGS1_q_q0____T_ + 54
12 libswiftFoundation.dylib 0x00000001127c90ed _TF10Foundation32_convertNSDictionaryToDictionaryu0_Rq_Ss8Hashable_FGSqCSo12NSDictionary_GVSs10Dictionaryq_q0__ + 61
13 ca.nri.ColorSenseRainbow 0x000000011207e1ad _TTSf4g_n___TZFC17ColorSenseRainbow17ColorSenseRainbow13pluginDidLoadfMS0_FCSo8NSBundleT_ + 189 (ColorSenseRainbow.swift:33)
14 ca.nri.ColorSenseRainbow 0x000000011207c6f5 _TToZFC17ColorSenseRainbow17ColorSenseRainbow13pluginDidLoadfMS0_FCSo8NSBundleT_ + 37
15 com.apple.Xcode.DevToolsCore 0x000000010ded1658 __46-[XCPluginManager loadPluginBundle:forDomain:]_block_invoke + 143
16 com.apple.dt.DVTFoundation 0x00000001058ba9bc DVTInvokeWithFailureHint + 83
17 com.apple.Xcode.DevToolsCore 0x000000010ded13c8 -[XCPluginManager loadPluginBundle:forDomain:] + 1054
18 com.apple.Xcode.DevToolsCore 0x000000010ded0e5b __46-[XCPluginManager findAndLoadPluginsInDomain:]_block_invoke + 621
19 com.apple.dt.DVTFoundation 0x00000001058a02c5 -[DVTPlugInManager _allowNonApplePlugInsFromDescriptors:error:] + 470
20 com.apple.dt.DVTFoundation 0x00000001058a054d -[DVTPlugInManager _checkNonApplePlugIns] + 239
21 com.apple.dt.DVTFoundation 0x00000001058a062e -[DVTPlugInManager initializePlugIns:] + 27
22 com.apple.dt.IDEFoundation 0x00000001063f1724 _IDEInitializeOtherPlugInStuff + 175
23 com.apple.dt.IDEFoundation 0x00000001063f2814 IDEInitialize + 3725
24 com.apple.dt.IDEKit 0x0000000106aee2fc -[IDEApplicationController applicationWillFinishLaunching:] + 708
25 com.apple.CoreFoundation 0x00007fff9d30cc9c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
26 com.apple.CoreFoundation 0x00007fff9d30cc2f ___CFXRegistrationPost_block_invoke + 63
27 com.apple.CoreFoundation 0x00007fff9d30cba7 _CFXRegistrationPost + 407
28 com.apple.CoreFoundation 0x00007fff9d30c912 ___CFXNotificationPost_block_invoke + 50
29 com.apple.CoreFoundation 0x00007fff9d2c96d2 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1922
30 com.apple.CoreFoundation 0x00007fff9d2c8925 _CFXNotificationPost + 693
31 com.apple.Foundation 0x00007fff97dc40fa -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
32 com.apple.dt.DVTFoundation 0x0000000105892d45 -[NSNotificationCenter(DVTNSNotificationCenterAdditions) _dvt_postNotificationName:object:userInfo:] + 698
33 com.apple.AppKit 0x00007fff91657022 -[NSApplication finishLaunching] + 354
34 com.apple.dt.DVTKit 0x0000000105e9349c -[DVTApplication finishLaunching] + 149
35 com.apple.AppKit 0x00007fff91656b65 -[NSApplication run] + 231
36 com.apple.AppKit 0x00007fff9161ffbe NSApplicationMain + 1176
37 libdyld.dylib 0x00007fff938e75ad start + 1
Please help. Anyone else get this? I did have to update this again after the update bombed in the middle of the download, and I had to manually download the .dmg file from the dev portal. After wiping the machine clean of anything related to Xcode, I reinstalled from the App Store. Giving me this every time, even after a restart.
Take out the ColorSenseRainbow plugin from:
~/Library/Application Support/Developer/Shared/Xcode/Plugin-ins
I'm looking into why it's causing Xcode to crash.
When it's fixed I'll post a note up at the GitHub site at https://github.com/NorthernRealities/ColorSenseRainbow

Resources