Hello,
Since the first iOS 15 beta and even with all the next public releases, we have a very weird crash each time our app enters background.
The crash logs don't help at all unfortunately
Each time we see:
Exception Type: EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000 , 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
and
Thread 0 name:
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001b7a08564 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001b7a08bfc mach_msg + 76 (mach_msg.c:119 )
2 CoreFoundation 0x0000000181089698 __CFRunLoopServiceMachPort + 372 (CFRunLoop .c:2646 )
3 CoreFoundation 0x000000018108d98c __CFRunLoopRun + 1212 (CFRunLoop .c:3000 )
4 CoreFoundation 0x00000001810a13c8 CFRunLoopRunSpecific + 600 (CFRunLoop .c:3268 )
5 GraphicsServices 0x000000019c8b238c GSEventRunModal + 164 (GSEvent.c:2200 )
6 UIKitCore 0x0000000183a47060 -[UIApplication _run] + 1100 (UIApplication .m:3457 )
7 UIKitCore 0x00000001837c4b8c UIApplicationMain + 2124 (UIApplication .m:5013 )
And sometimes we have:
Kernel Triage :
VM - Compressor failed a blocking pager_get
or
Kernel Triage:
VM - pmap_enter failed with resource shortage
VM - Compressor failed a blocking pager_get
But no other info.
We can't reproduce it on simulators or on real devices with non-production release (linked to Xcode).
But the crashes are here each time we build a release version.
Any help would be appreciated!
NB: it seems similar to this one but we are not even sure
2021-11-01_00-13-03.9761_+0100-a5388bfdcea65316d79dc2c3a4ac95ad146c2cb3.crash
Incident Identifier: 511E0E2B-B026-4239-B644-7FC0726B1F09
Hardware Model: iPhone11,8
Process: our app
Path: our app
Identifier: our app
Version: 2.4.5 (551)
AppStoreTools: 13A227
AppVariant: 1:iPhone11,8:13
Code Type: ARM-64 (Native)
Role: unknown
Parent Process: launchd [1]
Coalition: our app
Date/Time: 2021-11-01 00:13:03.9761 +0100
Launch Time: 2021-10-24 16:38:46.9486 +0200
OS Version: iPhone OS 15.0.2 (19A404)
Release Type: User
Baseband Version: 4.00.00
Report Version: 104
Exception Type: EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Kernel Triage:
VM - Compressor failed a blocking pager_get
VM - Compressor failed a blocking pager_get
VM - Compressor failed a blocking pager_get
VM - Compressor failed a blocking pager_get
VM - Compressor failed a blocking pager_get
Thread 0 name:
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001b7a08564 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001b7a08bfc mach_msg + 76 (mach_msg.c:119)
2 CoreFoundation 0x0000000181089698 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2646)
3 CoreFoundation 0x000000018108d98c __CFRunLoopRun + 1212 (CFRunLoop.c:3000)
4 CoreFoundation 0x00000001810a13c8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
5 GraphicsServices 0x000000019c8b238c GSEventRunModal + 164 (GSEvent.c:2200)
6 UIKitCore 0x0000000183a47060 -[UIApplication _run] + 1100 (UIApplication.m:3457)
7 UIKitCore 0x00000001837c4b8c UIApplicationMain + 2124 (UIApplication.m:5013)
8 ourapp 0x0000000100d77a9c main + 68 (PresentPopInAnimationController.swift:23)
9 dyld 0x0000000101925a24 start + 520 (dyldMain.cpp:876)
Thread 1 name:
Thread 1:
0 libsystem_kernel.dylib 0x00000001b7a08564 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001b7a08bfc mach_msg + 76 (mach_msg.c:119)
2 CoreFoundation 0x0000000181089698 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2646)
3 CoreFoundation 0x000000018108d98c __CFRunLoopRun + 1212 (CFRunLoop.c:3000)
4 CoreFoundation 0x00000001810a13c8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
5 Foundation 0x00000001828c4d54 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 236 (NSRunLoop.m:373)
6 Foundation 0x00000001829066a8 -[NSRunLoop(NSRunLoop) runUntilDate:] + 92 (NSRunLoop.m:420)
7 UIKitCore 0x00000001839c0020 -[UIEventFetcher threadMain] + 524 (UIEventFetcher.m:1167)
8 Foundation 0x000000018291495c __NSThread__start__ + 792 (NSThread.m:915)
9 libsystem_pthread.dylib 0x00000001f0c5da60 _pthread_start + 148 (pthread.c:890)
10 libsystem_pthread.dylib 0x00000001f0c5cf5c thread_start + 8
Thread 2 name:
Thread 2:
0 libsystem_kernel.dylib 0x00000001b7a08564 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001b7a08bfc mach_msg + 76 (mach_msg.c:119)
2 ourapp 0x00000001011612b0 FIRCLSMachExceptionReadMessage + 56 (FIRCLSMachException.c:194)
3 ourapp 0x00000001011612b0 FIRCLSMachExceptionServer + 104 (FIRCLSMachException.c:170)
4 libsystem_pthread.dylib 0x00000001f0c5da60 _pthread_start + 148 (pthread.c:890)
5 libsystem_pthread.dylib 0x00000001f0c5cf5c thread_start + 8
Thread 3 name:
Thread 3:
0 libsystem_kernel.dylib 0x00000001b7a08564 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x00000001b7a08bfc mach_msg + 76 (mach_msg.c:119)
2 CoreFoundation 0x0000000181089698 __CFRunLoopServiceMachPort + 372 (CFRunLoop.c:2646)
3 CoreFoundation 0x000000018108d98c __CFRunLoopRun + 1212 (CFRunLoop.c:3000)
4 CoreFoundation 0x00000001810a13c8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
5 CFNetwork 0x0000000181b128d0 +[__CFN_CoreSchedulingSetRunnable _run:] + 464 (CoreSchedulingSet.mm:1372)
6 Foundation 0x000000018291495c __NSThread__start__ + 792 (NSThread.m:915)
7 libsystem_pthread.dylib 0x00000001f0c5da60 _pthread_start + 148 (pthread.c:890)
8 libsystem_pthread.dylib 0x00000001f0c5cf5c thread_start + 8
Thread 4:
0 libsystem_pthread.dylib 0x00000001f0c5cf48 start_wqthread + 0
Thread 5:
0 libsystem_pthread.dylib 0x00000001f0c5cf48 start_wqthread + 0
Thread 6:
0 libsystem_pthread.dylib 0x00000001f0c5cf48 start_wqthread + 0
Thread 7:
0 libsystem_pthread.dylib 0x00000001f0c5cf48 start_wqthread + 0
Thread 8:
0 libsystem_pthread.dylib 0x00000001f0c5cf48 start_wqthread + 0
Thread 9:
0 libsystem_pthread.dylib 0x00000001f0c5cf48 start_wqthread + 0
Thread 10 name:
Thread 10:
0 CoreFoundation 0x00000001811086ac __CFFromUTF8 + 152 (CFBuiltinConverters.c:0)
1 CoreFoundation 0x00000001810b9744 __CFStringDecodeByteStream3 + 1740 (CFStringEncodings.c:506)
2 CoreFoundation 0x00000001810a9918 __CFStringCreateImmutableFunnel3 + 264 (CFString.c:1582)
3 CoreFoundation 0x00000001810f7d34 CFStringCreateFromExternalRepresentation + 108 (CFString.c:1910)
4 Parse 0x0000000101c6e290 +[PFJSONSerialization stringFromJSONObject:] + 68 (PFJSONSerialization.m:27)
5 DataStore 0x0000000101e8fca4 specialized RealmObject.init(_:) + 1132 (RealmObject.swift:31)
6 DataStore 0x0000000101dc8e14 init + 8 (ManagedObject.swift:0)
7 DataStore 0x0000000101dc8e14 specialized ManagedObject.init(_:) + 312
8 DataStore 0x0000000101e98d40 init + 12 (ManagedObject.swift:35)
9 DataStore 0x0000000101e98d40 init + 12 (ManagedObjectOther.swift:0)
10 DataStore 0x0000000101e98d40 specialized ManagedObjectOther.__allocating_init(with:) + 1792
11 DataStore 0x0000000101e54378 closure #1 in OurController.save(map:completion:) + 4744 (OurController.swift:0)
12 DataStore 0x0000000101d7b8d0 thunk for @escaping @callee_guaranteed () -> () + 20 (<compiler-generated>:0)
13 libdispatch.dylib 0x0000000180d8bc04 _dispatch_call_block_and_release + 32 (init.c:1516)
14 libdispatch.dylib 0x0000000180d8d950 _dispatch_client_callout + 20 (object.m:560)
15 libdispatch.dylib 0x0000000180d950ac _dispatch_lane_serial_drain + 664 (inline_internal.h:2597)
16 libdispatch.dylib 0x0000000180d95c10 _dispatch_lane_invoke + 392 (queue.c:3937)
17 libdispatch.dylib 0x0000000180da0318 _dispatch_workloop_worker_thread + 656 (queue.c:6732)
18 libsystem_pthread.dylib 0x00000001f0c5d1b0 _pthread_wqthread + 288 (pthread.c:2495)
19 libsystem_pthread.dylib 0x00000001f0c5cf50 start_wqthread + 8
Thread 11 name:
Thread 11:
0 libsystem_kernel.dylib 0x00000001b7a09edc kevent + 8
1 DataStore 0x0000000102253388 realm::_impl::ExternalCommitHelper::listen() + 160 (external_commit_helper.cpp:220)
2 DataStore 0x0000000102253d50 operator() + 4 (external_commit_helper.cpp:176)
3 DataStore 0x0000000102253d50 __invoke<(lambda at /Users/me/Library/Developer/Xcode/DerivedData/ourapp-dapszbtdsohymohefhupgceyaiev/SourcePackages/checkouts/realm-core/src/realm/object-store/impl/apple/external_commit_helper... + 4 (type_traits:3694)
4 DataStore 0x0000000102253d50 __thread_execute<std::unique_ptr<std::__thread_struct>, (lambda at /Users/me/Library/Developer/Xcode/DerivedData/ourapp-dapszbtdsohymohefhupgceyaiev/SourcePackages/checkouts/realm-core/src/realm... + 4 (thread:286)
5 DataStore 0x0000000102253d50 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, realm::_impl::ExternalCommitHelper::ExternalCom... + 52 (thread:297)
6 libsystem_pthread.dylib 0x00000001f0c5da60 _pthread_start + 148 (pthread.c:890)
7 libsystem_pthread.dylib 0x00000001f0c5cf5c thread_start + 8
Thread 12:
0 libsystem_pthread.dylib 0x00000001f0c5cf48 start_wqthread + 0
Thread 13:
0 libsystem_pthread.dylib 0x00000001f0c5cf48 start_wqthread + 0
Thread 14:
0 libsystem_pthread.dylib 0x00000001f0c5cf48 start_wqthread + 0
Thread 15:
0 libsystem_pthread.dylib 0x00000001f0c5cf48 start_wqthread + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000010004005 x1: 0x0000000007000806 x2: 0x0000000000000000 x3: 0x0000000000000c00
x4: 0x0000000000002a03 x5: 0x00000000ffffffff x6: 0x0000000000000000 x7: 0x0000000280f70000
x8: 0x00000000fffffbbf x9: 0x0000000007000906 x10: 0xfb1a27a0accd00e7 x11: 0x000000b2f3882b36
x12: 0x00000000016e3600 x13: 0x00000000003aef83 x14: 0x0000000000000001 x15: 0x00008b0000008b02
x16: 0xffffffffffffffe1 x17: 0x0000000000008b00 x18: 0x000000010ebb92bc x19: 0x0000000000000000
x20: 0x00000000ffffffff x21: 0x0000000000002a03 x22: 0x0000000000000c00 x23: 0x000000016f08ea80
x24: 0x0000000007000806 x25: 0x0000000000000000 x26: 0x0000000007000806 x27: 0x0000000000002a03
x28: 0x0000000000002a03 fp: 0x000000016f08e900 lr: 0x00000001b7a08bfc
sp: 0x000000016f08e8b0 pc: 0x00000001b7a08564 cpsr: 0x60000000
esr: 0x56000080 Address size fault
Binary Images:
0x100d70000 - 0x101463fff ourapp arm64 <ab2bf43ce97c31a6859346e0cded46d9> /private/var/containers/Bundle/Application/2041BAF6-7BAB-4CD6-A734-C1C773D6AB7E/ourapp.app/ourapp
0x10190c000 - 0x101963fff dyld arm64e <d48c31ee061f370ba6f78391a1b53ed8> /usr/lib/dyld
0x101c34000 - 0x101cf3fff Parse arm64 <a300c40c705e36e594fcc2f5fc779b37> /private/var/containers/Bundle/Application/2041BAF6-7BAB-4CD6-A734-C1C773D6AB7E/ourapp.app/Frameworks/Parse.framework/Parse
0x101d6c000 - 0x10265ffff DataStore arm64 <db62fea80b8d3d77885810a5971b9a72> /private/var/containers/Bundle/Application/2041BAF6-7BAB-4CD6-A734-C1C773D6AB7E/ourapp.app/Frameworks/DataStore.framework/DataStore
0x180d8a000 - 0x180dcffff libdispatch.dylib arm64e <959cd6e40ce73022b73c8b36f79f4745> /usr/lib/system/libdispatch.dylib
0x181082000 - 0x1814d5fff CoreFoundation arm64e <6174789ae88c3f5cba39de2e9edc0750> /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x181898000 - 0x181d5cfff CFNetwork arm64e <570aad29ce5c3cd9ab01ad21e1440ddb> /System/Library/Frameworks/CFNetwork.framework/CFNetwork
0x1828ac000 - 0x182bb0fff Foundation arm64e <efbca2ff8b8c3227abbc154ba851d23c> /System/Library/Frameworks/Foundation.framework/Foundation
0x18352c000 - 0x184daefff UIKitCore arm64e <c46a087ae13a3aeda8a1d4cc4ac9948a> /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
0x19c8b1000 - 0x19c8b9fff GraphicsServices arm64e <0f7424f6bde5311aa3fac0e0c4c28d72> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x1b7a07000 - 0x1b7a3afff libsystem_kernel.dylib arm64e <d2476f74d204348d8d386165d0485c7c> /usr/lib/system/libsystem_kernel.dylib
0x1f0c5c000 - 0x1f0c67fff libsystem_pthread.dylib arm64e <bc1ce0c6a9f2396b9afb623d3acd5881> /usr/lib/system/libsystem_pthread.dylib
EOF
Many of you in this thread have opened bug reports in Feedback Assistant — thank you for filing those to help us address this! We have deployed a fix to the backend services that provide crashes for your app into the Xcode Organizer, so if you receive EXC_CRASH (SIGKILL)
crash reports from now on through the Organizer, those reports should be attributed with an exception code to explain why the system terminated your app.
If you still see any reports without the exception code, please post the complete crash report to this thread using the attachment feature so we can verify that the code is still missing.