Skip to content

NSInternalInconsistencyException Sending a message before the FlutterEngine has been run. #117523

Open

Description

@tatraef

The crash was received in the Firebase console. Occurs in the background.

Our app only works with push notification in the background (firebase messaging + flutter_local_notifications, push notification with action buttons).

Actual results:

Logs
Fatal Exception: NSInternalInconsistencyException
0  CoreFoundation                 0x9a84 __exceptionPreprocess
1  libobjc.A.dylib                0x15958 objc_exception_throw
2  Foundation                     0x4bf130 _userInfoForFileAndLine
3  Flutter                        0x12bac (Missing UUID 3adbf2891ee63561a26df1652313df7e)
4  sensors_plus                   0x692c (Missing UUID 3aefceb28c3a34baba95bffdbed20516)
5  Foundation                     0x9d3c4 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__
6  Foundation                     0x740fc -[NSBlockOperation main]
7  Foundation                     0x74090 __NSOPERATION_IS_INVOKING_MAIN__
8  Foundation                     0x38ef4 -[NSOperation start]
9  Foundation                     0x38c40 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__
10 Foundation                     0x3dd60 __NSOQSchedule_f
11 libdispatch.dylib              0x46738 _dispatch_block_async_invoke2
12 libdispatch.dylib              0x647c8 _dispatch_client_callout
13 libdispatch.dylib              0x3be7c _dispatch_continuation_pop$VARIANT$armv81
14 libdispatch.dylib              0x3b5b4 _dispatch_async_redirect_invoke
15 libdispatch.dylib              0x48d48 _dispatch_root_queue_drain
16 libdispatch.dylib              0x49514 _dispatch_worker_thread2
17 libsystem_pthread.dylib        0x1b14 _pthread_wqthread
18 libsystem_pthread.dylib        0x167c start_wqthread
Crashed: com.google.firebase.crashlytics.ios.exception
0  FirebaseCrashlytics            0x1eea8 FIRCLSProcessRecordAllThreads + 184
1  FirebaseCrashlytics            0x1f288 FIRCLSProcessRecordAllThreads + 1176
2  FirebaseCrashlytics            0x164d4 FIRCLSHandler + 48
3  FirebaseCrashlytics            0x111a8 __FIRCLSExceptionRecord_block_invoke + 92
4  libdispatch.dylib              0x647c8 _dispatch_client_callout + 16
5  libdispatch.dylib              0x46b54 _dispatch_lane_barrier_sync_invoke_and_complete + 52
6  FirebaseCrashlytics            0x101b4 FIRCLSExceptionRecord + 204
7  FirebaseCrashlytics            0x10cc8 FIRCLSExceptionRecordNSException + 452
8  FirebaseCrashlytics            0xfe0c FIRCLSTerminateHandler() + 404
9  Runner                         0x1ef590 CPPExceptionTerminate() + 528
10 libc++abi.dylib                0x10288 std::__terminate(void (*)()) + 16
11 libc++abi.dylib                0x10230 std::terminate() + 52
12 libobjc.A.dylib                0x2b000 objc_terminate + 12
13 libdispatch.dylib              0x647dc _dispatch_client_callout + 36
14 libdispatch.dylib              0x3be7c _dispatch_continuation_pop$VARIANT$armv81 + 436
15 libdispatch.dylib              0x3b5b4 _dispatch_async_redirect_invoke + 580
16 libdispatch.dylib              0x48d48 _dispatch_root_queue_drain + 328
17 libdispatch.dylib              0x49514 _dispatch_worker_thread2 + 160
18 libsystem_pthread.dylib        0x1b14 _pthread_wqthread + 224
19 libsystem_pthread.dylib        0x167c start_wqthread + 8
com.apple.main-thread
0  libsystem_kernel.dylib         0x19e0 __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x2584 _pthread_cond_wait$VARIANT$armv81 + 1220
2  libc++.1.dylib                 0xc8b4 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 24
3  Flutter                        0x2f7768 (Missing UUID 3adbf2891ee63561a26df1652313df7e)
4  Flutter                        0x3da0f0 (Missing UUID 3adbf2891ee63561a26df1652313df7e)
5  Flutter                        0x14424 (Missing UUID 3adbf2891ee63561a26df1652313df7e)
6  Flutter                        0xff90 (Missing UUID 3adbf2891ee63561a26df1652313df7e)
7  CoreFoundation                 0x34b44 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 140
8  CoreFoundation                 0xd40d0 ___CFXRegistrationPost_block_invoke + 84
9  CoreFoundation                 0xb8b78 _CFXRegistrationPost + 404
10 CoreFoundation                 0x48308 _CFXNotificationPost + 684
11 Foundation                     0x574ec -[NSNotificationCenter postNotificationName:object:userInfo:] + 88
12 UIKitCore                      0xc6ac48 -[UIApplication _terminateWithStatus:] + 228
13 UIKitCore                      0x270adc -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 108
14 UIKitCore                      0x64b9e8 -[_UISceneLifecycleMultiplexer forceExitWithTransitionContext:scene:] + 160
15 UIKitCore                      0xc67364 -[UIApplication workspaceShouldExit:withTransitionContext:] + 172
16 FrontBoardServices             0x3b388 __63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke_2 + 68
17 FrontBoardServices             0x5f70 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 160
18 FrontBoardServices             0x3b32c __63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke + 96
19 libdispatch.dylib              0x647c8 _dispatch_client_callout + 16
20 libdispatch.dylib              0x3c408 _dispatch_block_invoke_direct$VARIANT$armv81 + 212
21 FrontBoardServices             0xf474 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 44
22 FrontBoardServices             0xf0b0 -[FBSSerialQueue _targetQueue_performNextIfPossible] + 176
23 FrontBoardServices             0x11574 -[FBSSerialQueue _performNextFromRunLoopSource] + 24
24 CoreFoundation                 0xcc2b8 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
25 CoreFoundation                 0xd7c18 __CFRunLoopDoSource0 + 172
26 CoreFoundation                 0x61fa8 __CFRunLoopDoSources0 + 232
27 CoreFoundation                 0x76fb0 __CFRunLoopRun + 780
28 CoreFoundation                 0x7bb7c CFRunLoopRunSpecific + 584
29 GraphicsServices               0x1984 GSEventRunModal + 160
30 UIKitCore                      0x3753c8 -[UIApplication _run] + 868
31 UIKitCore                      0x375040 UIApplicationMain + 312
32 Runner                         0x5654 main + 9 (AppDelegate.swift:9)
33 ???                            0x1a67dcdf0 (Missing)
com.apple.uikit.eventfetch-thread
0  libsystem_kernel.dylib         0x1194 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0x12a08 mach_msg2_internal + 76
2  libsystem_kernel.dylib         0x12c44 mach_msg_overwrite + 384
3  libsystem_kernel.dylib         0x1688 mach_msg + 20
4  CoreFoundation                 0x75fc4 __CFRunLoopServiceMachPort + 156
5  CoreFoundation                 0x77174 __CFRunLoopRun + 1232
6  CoreFoundation                 0x7bb7c CFRunLoopRunSpecific + 584
7  Foundation                     0x3e428 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 208
8  Foundation                     0x3e324 -[NSRunLoop(NSRunLoop) runUntilDate:] + 60
9  UIKitCore                      0x49a0e0 -[UIEventFetcher threadMain] + 424
10 Foundation                     0x55f74 __NSThread__start__ + 704
11 libsystem_pthread.dylib        0x3060 _pthread_start + 116
12 libsystem_pthread.dylib        0x1688 thread_start + 8
io.flutter.1.ui
0  libsystem_kernel.dylib         0x19b8 posix_madvise + 8
1  libsystem_kernel.dylib         0x19b8 madvise + 8
2  libsystem_malloc.dylib         0x574c mvm_madvise_free + 132
3  libsystem_malloc.dylib         0x6168 small_madvise_free_range_no_lock + 488
4  libsystem_malloc.dylib         0x70e0 free_small + 816
5  Flutter                        0x477024 (Missing UUID 3adbf2891ee63561a26df1652313df7e)
6  Flutter                        0x47dc98 (Missing UUID 3adbf2891ee63561a26df1652313df7e)
7  Flutter                        0x4796d4 (Missing UUID 3adbf2891ee63561a26df1652313df7e)
8  Flutter                        0x41991c (Missing UUID 3adbf2891ee63561a26df1652313df7e)
9  Flutter                        0x418764 (Missing UUID 3adbf2891ee63561a26df1652313df7e)
10 Flutter                        0x4d821c (Missing UUID 3adbf2891ee63561a26df1652313df7e)
11 Flutter                        0x5c7fa4 (Missing UUID 3adbf2891ee63561a26df1652313df7e)
12 Flutter                        0x5c7d18 (Missing UUID 3adbf2891ee63561a26df1652313df7e)
13 Flutter                        0x5c88dc (Missing UUID 3adbf2891ee63561a26df1652313df7e)
14 Flutter                        0x6aa658 (Missing UUID 3adbf2891ee63561a26df1652313df7e)
15 Flutter                        0x573890 (Missing UUID 3adbf2891ee63561a26df1652313df7e)
16 Flutter                        0x5732fc (Missing UUID 3adbf2891ee63561a26df1652313df7e)
17 Flutter                        0x3cc4a4 (Missing UUID 3adbf2891ee63561a26df1652313df7e)
18 Flutter                        0x3da7a0 (Missing UUID 3adbf2891ee63561a26df1652313df7e)
19 Flutter                        0x3dafcc (Missing UUID 3adbf2891ee63561a26df1652313df7e)
20 Flutter                        0x2f5ec4 (Missing UUID 3adbf2891ee63561a26df1652313df7e)
21 Flutter                        0x2f91fc (Missing UUID 3adbf2891ee63561a26df1652313df7e)
22 CoreFoundation                 0xc4c9c __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28
23 CoreFoundation                 0x84c2c __CFRunLoopDoTimer + 884
24 CoreFoundation                 0x2c450 __CFRunLoopDoTimers + 284
25 CoreFoundation                 0x77444 __CFRunLoopRun + 1952
26 CoreFoundation                 0x7bb7c CFRunLoopRunSpecific + 584
27 Flutter                        0x2f90cc (Missing UUID 3adbf2891ee63561a26df1652313df7e)
28 Flutter                        0x2f8acc (Missing UUID 3adbf2891ee63561a26df1652313df7e)
29 libsystem_pthread.dylib        0x3060 _pthread_start + 116
30 libsystem_pthread.dylib        0x1688 thread_start + 8
[✓] Flutter (Channel stable, 3.3.10, on macOS 13.0 22A380 darwin-arm, locale ru-RU)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] VS Code (version 1.74.1)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

Activity

  1. added
    in triage
    on Dec 22, 2022
  2. darshankawar commented on Dec 22, 2022

    @darshankawar
    Member

    @flutter-symbolizer-bot ios force flutter#v3.3.10 release arm64 #117523 (comment)

  3. flutter-symbolizer-bot commented on Dec 22, 2022

    @flutter-symbolizer-bot

    crash from #117523 (comment) symbolized using symbols for 3316dd8728419ad3534e3f6112aa6291f587078a ios-arm64-release

    #00 0000000000012bac Flutter (Missing)
    
    

    crash from #117523 (comment) symbolized using symbols for 3316dd8728419ad3534e3f6112aa6291f587078a ios-arm64-release

    #00 000000000001eea8 FirebaseCrashlytics FIRCLSProcessRecordAllThreads + 184
    #01 000000000001f288 FirebaseCrashlytics FIRCLSProcessRecordAllThreads + 1176
    #02 00000000000164d4 FirebaseCrashlytics FIRCLSHandler + 48
    #03 00000000000111a8 FirebaseCrashlytics __FIRCLSExceptionRecord_block_invoke + 92
    #04 00000000000647c8 libdispatch.dylib _dispatch_client_callout + 16
    #05 0000000000046b54 libdispatch.dylib _dispatch_lane_barrier_sync_invoke_and_complete + 52
    #06 00000000000101b4 FirebaseCrashlytics FIRCLSExceptionRecord + 204
    #07 0000000000010cc8 FirebaseCrashlytics FIRCLSExceptionRecordNSException + 452
    #08 000000000000fe0c FirebaseCrashlytics FIRCLSTerminateHandler() + 404
    #09 00000000001ef590 Runner CPPExceptionTerminate() + 528
    #10 0000000000010288 libc++abi.dylib std::__terminate(void (*)()) + 16
    #11 0000000000010230 libc++abi.dylib std::terminate() + 52
    #12 000000000002b000 libobjc.A.dylib objc_terminate + 12
    #13 00000000000647dc libdispatch.dylib _dispatch_client_callout + 36
    #14 000000000003be7c libdispatch.dylib _dispatch_continuation_pop$VARIANT$armv81 + 436
    #15 000000000003b5b4 libdispatch.dylib _dispatch_async_redirect_invoke + 580
    #16 0000000000048d48 libdispatch.dylib _dispatch_root_queue_drain + 328
    #17 0000000000049514 libdispatch.dylib _dispatch_worker_thread2 + 160
    #18 0000000000001b14 libsystem_pthread.dylib _pthread_wqthread + 224
    #19 000000000000167c libsystem_pthread.dylib start_wqthread + 8
    
    

    crash from #117523 (comment) symbolized using symbols for 3316dd8728419ad3534e3f6112aa6291f587078a ios-arm64-release

    #00 00000000000019e0 libsystem_kernel.dylib __psynch_cvwait + 8
    #01 0000000000002584 libsystem_pthread.dylib _pthread_cond_wait$VARIANT$armv81 + 1220
    #02 000000000000c8b4 libc++.1.dylib std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 24
    #03 00000000002f7768 Flutter Flutter + 3110760
                                 fml::AutoResetWaitableEvent::Wait()
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../flutter/fml/synchronization/waitable_event.cc:75:9
    #04 00000000003da0f0 Flutter Flutter + 4038896
                                 flutter::Shell::~Shell()
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../flutter/shell/common/shell.cc:473:12
    #05 0000000000014424 Flutter Flutter + 82980
                                 flutter::Shell::~Shell()
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../flutter/shell/common/shell.cc:459:17
                                 std::__1::default_delete<flutter::Shell>::operator()(flutter::Shell*) const
                                 /Volumes/Work/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:2267:5
                                 std::__1::unique_ptr<flutter::Shell, std::__1::default_delete<flutter::Shell> >::reset(flutter::Shell*)
                                 /Volumes/Work/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:2522:7
    #06 000000000000ff90 Flutter Flutter + 65424
                                 -[FlutterEngine destroyContext]
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../flutter/shell/platform/darwin/ios/framework/Source/FlutterEngine.mm:426:10
    #07 0000000000034b44 CoreFoundation __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 140
    #08 00000000000d40d0 CoreFoundation ___CFXRegistrationPost_block_invoke + 84
    #09 00000000000b8b78 CoreFoundation _CFXRegistrationPost + 404
    #10 0000000000048308 CoreFoundation _CFXNotificationPost + 684
    #11 00000000000574ec Foundation -[NSNotificationCenter postNotificationName:object:userInfo:] + 88
    #12 0000000000c6ac48 UIKitCore -[UIApplication _terminateWithStatus:] + 228
    #13 0000000000270adc UIKitCore -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 108
    #14 000000000064b9e8 UIKitCore -[_UISceneLifecycleMultiplexer forceExitWithTransitionContext:scene:] + 160
    #15 0000000000c67364 UIKitCore -[UIApplication workspaceShouldExit:withTransitionContext:] + 172
    #16 000000000003b388 FrontBoardServices __63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke_2 + 68
    #17 0000000000005f70 FrontBoardServices -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 160
    #18 000000000003b32c FrontBoardServices __63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke + 96
    #19 00000000000647c8 libdispatch.dylib _dispatch_client_callout + 16
    #20 000000000003c408 libdispatch.dylib _dispatch_block_invoke_direct$VARIANT$armv81 + 212
    #21 000000000000f474 FrontBoardServices __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 44
    #22 000000000000f0b0 FrontBoardServices -[FBSSerialQueue _targetQueue_performNextIfPossible] + 176
    #23 0000000000011574 FrontBoardServices -[FBSSerialQueue _performNextFromRunLoopSource] + 24
    #24 00000000000cc2b8 CoreFoundation __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
    #25 00000000000d7c18 CoreFoundation __CFRunLoopDoSource0 + 172
    #26 0000000000061fa8 CoreFoundation __CFRunLoopDoSources0 + 232
    #27 0000000000076fb0 CoreFoundation __CFRunLoopRun + 780
    #28 000000000007bb7c CoreFoundation CFRunLoopRunSpecific + 584
    #29 0000000000001984 GraphicsServices GSEventRunModal + 160
    #30 00000000003753c8 UIKitCore -[UIApplication _run] + 868
    #31 0000000000375040 UIKitCore UIApplicationMain + 312
    #32 0000000000005654 Runner main + 9 (AppDelegate.swift:)
    #33 00000001a67dcdf0 ??? (Missing)
    
    

    (Load address missing from the report, detected heuristically: 0000000000000000)
    crash from #117523 (comment) symbolized using symbols for 3316dd8728419ad3534e3f6112aa6291f587078a ios-arm64-release

    #00 0000000000001194 libsystem_kernel.dylib mach_msg2_trap + 8
    #01 0000000000012a08 libsystem_kernel.dylib mach_msg2_internal + 76
    #02 0000000000012c44 libsystem_kernel.dylib mach_msg_overwrite + 384
    #03 0000000000001688 libsystem_kernel.dylib mach_msg + 20
    #04 0000000000075fc4 CoreFoundation __CFRunLoopServiceMachPort + 156
    #05 0000000000077174 CoreFoundation __CFRunLoopRun + 1232
    #06 000000000007bb7c CoreFoundation CFRunLoopRunSpecific + 584
    #07 000000000003e428 Foundation -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 208
    #08 000000000003e324 Foundation -[NSRunLoop(NSRunLoop) runUntilDate:] + 60
    #09 000000000049a0e0 UIKitCore -[UIEventFetcher threadMain] + 424
    #10 0000000000055f74 Foundation __NSThread__start__ + 704
    #11 0000000000003060 libsystem_pthread.dylib _pthread_start + 116
    #12 0000000000001688 libsystem_pthread.dylib thread_start + 8
    
    

    crash from #117523 (comment) symbolized using symbols for 3316dd8728419ad3534e3f6112aa6291f587078a ios-arm64-release

    #00 00000000000019b8 libsystem_kernel.dylib posix_madvise + 8
    #01 00000000000019b8 libsystem_kernel.dylib madvise + 8
    #02 000000000000574c libsystem_malloc.dylib mvm_madvise_free + 132
    #03 0000000000006168 libsystem_malloc.dylib small_madvise_free_range_no_lock + 488
    #04 00000000000070e0 libsystem_malloc.dylib free_small + 816
    #05 0000000000477024 Flutter Flutter + 4681764
                                 sk_free(void*)
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../third_party/skia/src/ports/SkMemory_malloc.cpp:70:9
                                 SkTArray<skia::textlayout::Run, false>::~SkTArray()
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../third_party/skia/include/private/SkTArray.h:128:13
    #06 000000000047dc98 Flutter Flutter + 4709528
                                 SkTArray<skia::textlayout::Run, false>::~SkTArray()
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../third_party/skia/include/private/SkTArray.h:123:17
                                 skia::textlayout::ParagraphImpl::~ParagraphImpl()
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../third_party/skia/modules/skparagraph/src/ParagraphImpl.cpp:105:31
    #07 00000000004796d4 Flutter Flutter + 4691668
                                 skia::textlayout::ParagraphImpl::~ParagraphImpl()
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../third_party/skia/modules/skparagraph/src/ParagraphImpl.cpp:105:31
                                 skia::textlayout::ParagraphImpl::~ParagraphImpl()
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../third_party/skia/modules/skparagraph/src/ParagraphImpl.cpp:105:31
    #08 000000000041991c Flutter Flutter + 4299036
                                 std::__1::default_delete<skia::textlayout::Paragraph>::operator()(skia::textlayout::Paragraph*) const
                                 /Volumes/Work/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:2267:5
                                 std::__1::unique_ptr<skia::textlayout::Paragraph, std::__1::default_delete<skia::textlayout::Paragraph> >::reset(skia::textlayout::Paragraph*)
                                 /Volumes/Work/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:2522:7
                                 std::__1::unique_ptr<skia::textlayout::Paragraph, std::__1::default_delete<skia::textlayout::Paragraph> >::~unique_ptr()
                                 /Volumes/Work/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:2476:19
                                 std::__1::unique_ptr<skia::textlayout::Paragraph, std::__1::default_delete<skia::textlayout::Paragraph> >::~unique_ptr()
                                 /Volumes/Work/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:2476:17
                                 txt::ParagraphSkia::~ParagraphSkia()
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../flutter/third_party/txt/src/skia/paragraph_skia.h:33:36
    #09 0000000000418764 Flutter Flutter + 4294500
                                 txt::ParagraphSkia::~ParagraphSkia()
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../flutter/third_party/txt/src/skia/paragraph_skia.h:33:36
                                 txt::ParagraphSkia::~ParagraphSkia()
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../flutter/third_party/txt/src/skia/paragraph_skia.h:33:36
    #10 00000000004d821c Flutter Flutter + 5079580
                                 std::__1::default_delete<txt::Paragraph>::operator()(txt::Paragraph*) const
                                 /Volumes/Work/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:2267:5
                                 std::__1::unique_ptr<txt::Paragraph, std::__1::default_delete<txt::Paragraph> >::reset(txt::Paragraph*)
                                 /Volumes/Work/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:2522:7
                                 std::__1::unique_ptr<txt::Paragraph, std::__1::default_delete<txt::Paragraph> >::~unique_ptr()
                                 /Volumes/Work/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:2476:19
                                 std::__1::unique_ptr<txt::Paragraph, std::__1::default_delete<txt::Paragraph> >::~unique_ptr()
                                 /Volumes/Work/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:2476:17
                                 flutter::Paragraph::~Paragraph()
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../flutter/lib/ui/text/paragraph.cc:45:23
                                 flutter::Paragraph::~Paragraph()
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../flutter/lib/ui/text/paragraph.cc:45:23
                                 flutter::Paragraph::~Paragraph()
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../flutter/lib/ui/text/paragraph.cc:45:23
    #11 00000000005c7fa4 Flutter Flutter + 6061988
                                 dart::FinalizablePersistentHandle::Finalize(dart::IsolateGroup*, dart::FinalizablePersistentHandle*)
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../third_party/dart/runtime/vm/dart_api_impl.cc:739:3
                                 dart::FinalizablePersistentHandle::UpdateUnreachable(dart::IsolateGroup*)
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../third_party/dart/runtime/vm/dart_api_state.h:250:5
                                 dart::FinalizeWeakPersistentHandlesVisitor::VisitHandle(unsigned long)
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../third_party/dart/runtime/vm/isolate.cc:275:13
    #12 00000000005c7d18 Flutter Flutter + 6061336
                                 dart::Handles<5, 64, 0>::HandlesBlock::Visit(dart::HandleVisitor*)
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../third_party/dart/runtime/vm/handles_impl.h:295:14
                                 dart::Handles<5, 64, 0>::Visit(dart::HandleVisitor*)
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../third_party/dart/runtime/vm/handles_impl.h:55:12
                                 dart::FinalizablePersistentHandles::VisitHandles(dart::HandleVisitor*)
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../third_party/dart/runtime/vm/dart_api_state.h:545:60
                                 dart::ApiState::VisitWeakHandlesUnlocked(dart::HandleVisitor*)
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../third_party/dart/runtime/vm/dart_api_state.h:717:30
                                 dart::Isolate::LowLevelCleanup(dart::Isolate*)
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../third_party/dart/runtime/vm/isolate.cc:2724:35
    #13 00000000005c88dc Flutter Flutter + 6064348
                                 dart::Isolate::Shutdown()
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../third_party/dart/runtime/vm/isolate.cc:2671:3
    #14 00000000006aa658 Flutter Flutter + 6989400
                                 dart::Dart::ShutdownIsolate()
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../third_party/dart/runtime/vm/dart.cc:1223:23
                                 Dart_ShutdownIsolate
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../third_party/dart/runtime/vm/dart_api_impl.cc:1497:3
    #15 0000000000573890 Flutter Flutter + 5716112
                                 flutter::RuntimeController::~RuntimeController()
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../flutter/runtime/runtime_controller.cc:81:33
    #16 00000000005732fc Flutter Flutter + 5714684
                                 flutter::RuntimeController::~RuntimeController()
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../flutter/runtime/runtime_controller.cc:76:41
                                 flutter::RuntimeController::~RuntimeController()
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../flutter/runtime/runtime_controller.cc:76:41
    #17 00000000003cc4a4 Flutter Flutter + 3982500
                                 std::__1::default_delete<flutter::RuntimeController>::operator()(flutter::RuntimeController*) const
                                 /Volumes/Work/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:2267:5
                                 std::__1::unique_ptr<flutter::RuntimeController, std::__1::default_delete<flutter::RuntimeController> >::reset(flutter::RuntimeController*)
                                 /Volumes/Work/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:2522:7
                                 std::__1::unique_ptr<flutter::RuntimeController, std::__1::default_delete<flutter::RuntimeController> >::~unique_ptr()
                                 /Volumes/Work/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:2476:19
                                 std::__1::unique_ptr<flutter::RuntimeController, std::__1::default_delete<flutter::RuntimeController> >::~unique_ptr()
                                 /Volumes/Work/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:2476:17
                                 flutter::Engine::~Engine()
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../flutter/shell/common/engine.cc:139:17
    #18 00000000003da7a0 Flutter Flutter + 4040608
                                 flutter::Engine::~Engine()
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../flutter/shell/common/engine.cc:139:17
                                 std::__1::default_delete<flutter::Engine>::operator()(flutter::Engine*) const
                                 /Volumes/Work/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:2267:5
                                 std::__1::unique_ptr<flutter::Engine, std::__1::default_delete<flutter::Engine> >::reset(flutter::Engine*)
                                 /Volumes/Work/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:2522:7
    #19 00000000003dafcc Flutter Flutter + 4042700
                                 flutter::Shell::~Shell()::$_3::operator()()
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../flutter/shell/common/shell.cc:470:17
                                 auto fml::internal::CopyableLambda<flutter::Shell::~Shell()::$_3>::operator()<>() const
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../flutter/fml/make_copyable.h:24:12
                                 decltype(std::__1::forward<fml::internal::CopyableLambda<flutter::Shell::~Shell()::$_3>&>(fp)()) std::__1::__invoke<fml::internal::CopyableLambda<flutter::Shell::~Shell()::$_3>&>(fml::internal::CopyableLambda<flutter::Shell::~Shell()::$_3>&)
                                 /Volumes/Work/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/type_traits:3899:1
                                 void std::__1::__invoke_void_return_wrapper<void>::__call<fml::internal::CopyableLambda<flutter::Shell::~Shell()::$_3>&>(fml::internal::CopyableLambda<flutter::Shell::~Shell()::$_3>&)
                                 /Volumes/Work/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__functional_base:348:9
                                 std::__1::__function::__alloc_func<fml::internal::CopyableLambda<flutter::Shell::~Shell()::$_3>, std::__1::allocator<fml::internal::CopyableLambda<flutter::Shell::~Shell()::$_3> >, void ()>::operator()()
                                 /Volumes/Work/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/functional:1553:16
                                 std::__1::__function::__func<fml::internal::CopyableLambda<flutter::Shell::~Shell()::$_3>, std::__1::allocator<fml::internal::CopyableLambda<flutter::Shell::~Shell()::$_3> >, void ()>::operator()()
                                 /Volumes/Work/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/functional:1727:12
    #20 00000000002f5ec4 Flutter Flutter + 3104452
                                 std::__1::__function::__value_func<void ()>::operator()() const
                                 /Volumes/Work/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/functional:1880:16
                                 std::__1::function<void ()>::operator()() const
                                 /Volumes/Work/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/functional:2555:12
                                 fml::MessageLoopImpl::FlushTasks(fml::FlushType)
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../flutter/fml/message_loop_impl.cc:126:5
    #21 00000000002f91fc Flutter Flutter + 3117564
                                 fml::MessageLoopImpl::RunExpiredTasksNow()
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../flutter/fml/message_loop_impl.cc:139:3
                                 fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*)
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../flutter/fml/platform/darwin/message_loop_darwin.mm:80:11
    #22 00000000000c4c9c CoreFoundation __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28
    #23 0000000000084c2c CoreFoundation __CFRunLoopDoTimer + 884
    #24 000000000002c450 CoreFoundation __CFRunLoopDoTimers + 284
    #25 0000000000077444 CoreFoundation __CFRunLoopRun + 1952
    #26 000000000007bb7c CoreFoundation CFRunLoopRunSpecific + 584
    #27 00000000002f90cc Flutter Flutter + 3117260
                                 fml::MessageLoopDarwin::Run()
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../flutter/fml/platform/darwin/message_loop_darwin.mm:51:20
    #28 00000000002f8acc Flutter Flutter + 3115724
                                 fml::MessageLoopImpl::DoRun()
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../flutter/fml/message_loop_impl.cc:94:3
                                 fml::MessageLoop::Run()
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../flutter/fml/message_loop.cc:49:10
                                 fml::Thread::Thread(std::__1::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0::operator()() const
                                 /Volumes/Work/s/w/ir/cache/builder/src/out/ios_release/../../flutter/fml/thread.cc:85:14
                                 decltype(std::__1::forward<fml::Thread::Thread(std::__1::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>(fp)()) std::__1::__invoke<fml::Thread::Thread(std::__1::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>(fml::Thread::Thread(std::__1::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0&&)
                                 /Volumes/Work/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/type_traits:3899:1
                                 void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>(std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>&, std::__1::__tuple_indices<>)
                                 /Volumes/Work/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/thread:280:5
                                 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0> >(void*)
                                 /Volumes/Work/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/thread:291:5
    #29 0000000000003060 libsystem_pthread.dylib _pthread_start + 116
    #30 0000000000001688 libsystem_pthread.dylib thread_start + 8
    
    

    (Load address missing from the report, detected heuristically: 0000000000000000)

  4. darshankawar commented on Dec 22, 2022

    @darshankawar
    Member

    Keeping this issue open for team's attention and insights.

  5. added
    c: crash
    engine
    a: production
    needs repro info
    platform-ios
    and removed
    in triage
    on Dec 22, 2022
  6. chinmaygarde commented on Jan 9, 2023

    @chinmaygarde
    Contributor

    The exception being thrown is this one here. The issues on other threads are from sudden process termination. @jmagman Perhaps we can reduce the severity of such cases and not throw an ObjC exception?

  7. chinmaygarde commented on Jan 9, 2023

    @chinmaygarde
    Contributor

    We found another instance of such a crash in #96901.

  8. added
    P2
    on Jan 9, 2023
  9. jmagman commented on Jan 9, 2023

    @jmagman
    Member

    The exception being thrown is this one here. The issues on other threads are from sudden process termination. @jmagman Perhaps we can reduce the severity of such cases and not throw an ObjC exception?

    flutter-team-archive/engine#12469 didn't introduce the exception but says it provides "meaningful data to clients incorrectly using the engine in an add-to-app situations" though I'm not sure what those situations were or if it should warrant an exception or maybe just an error log.

    @gaaclarke does that ring any bells? Do you remember?

  10. added
    team-ios
    triaged-ios
    on Jul 8, 2023
  11. ggirotto commented on Nov 30, 2023

    @ggirotto

    Contributing with this issue investigation, I have the following stacktrace captured in production:

    Stacktrace
    OS Version: iOS 17.0.3 (21A360)
    Report Version: 104
    
    Exception Type: EXC_CRASH (SIGABRT)
    Crashed Thread: 27
    
    Application Specific Information:
    Sending a message before the FlutterEngine has been run.
    
    Thread 27 Crashed:
    0   CoreFoundation                  0x33ddd75e0         __exceptionPreprocess
    1   libobjc.A.dylib                 0x32e4cbbfc         objc_exception_throw
    2   Foundation                      0x33c2dc394         -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:]
    3   Flutter                         0x105cf7a68         -[FlutterEngine sendOnChannel:message:binaryReply:] (FlutterEngine.mm:1197)
    4   Flutter                         0x1062b35f0         SetStreamHandlerMessageHandlerOnChannel (FlutterChannels.mm:353)
    5   live_activities                 0x104bf0c58         thunk for closure
    6   live_activities                 0x104bf6f74         SwiftLiveActivitiesPlugin.monitorLiveActivity<T> (SwiftLiveActivitiesPlugin.swift:358)
    7   live_activities                 0x104c00788         SwiftLiveActivitiesPlugin.getPushToken
    8   live_activities                 0x104bf84c8         [inlined] thunk for closure
    9   live_activities                 0x104bf84c8         thunk for closure
    10  live_activities                 0x104c007b8         SwiftLiveActivitiesPlugin.monitorLiveActivity<T>
    11  libswift_Concurrency.dylib      0x353f23ac0         completeTask
    
    Thread 0
    0   libsystem_kernel.dylib          0x3cb4a7b7c         __psynch_cvwait
    1   libsystem_pthread.dylib         0x4100c2fd0         _pthread_cond_wait
    2   Flutter                         0x105d317b0         [inlined] std::_LIBCPP_ABI_NAMESPACE::__libcpp_condvar_wait[abi:v15000] (__threading_support:335)
    3   Flutter                         0x105d317b0         std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait (condition_variable.cpp:46)
    4   Flutter                         0x105fbbfd0         fml::AutoResetWaitableEvent::Wait (waitable_event.cc:75)
    5   Flutter                         0x1060b8230         flutter::Shell::~Shell (shell.cc:502)
    6   Flutter                         0x105cf97ec         [inlined] flutter::Shell::~Shell (shell.cc:488)
    7   Flutter                         0x105cf97ec         [inlined] std::_LIBCPP_ABI_NAMESPACE::default_delete<T>::operator()[abi:v15000] (unique_ptr.h:48)
    8   Flutter                         0x105cf97ec         std::_LIBCPP_ABI_NAMESPACE::unique_ptr<T>::reset[abi:v15000] (unique_ptr.h:305)
    9   Flutter                         0x105cf4bb4         -[FlutterEngine destroyContext] (FlutterEngine.mm:456)
    10  CoreFoundation                  0x33dd19c74         __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__
    11  CoreFoundation                  0x33dd1963c         ___CFXRegistrationPost_block_invoke
    12  CoreFoundation                  0x33dd19584         _CFXRegistrationPost
    13  CoreFoundation                  0x33dd18ad4         _CFXNotificationPost
    14  Foundation                      0x33bc4b7e0         -[NSNotificationCenter postNotificationName:object:userInfo:]
    15  UIKitCore                       0x342f0e698         -[UIApplication _terminateWithStatus:]
    16  UIKitCore                       0x342249600         -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]
    17  UIKitCore                       0x342704580         -[_UISceneLifecycleMultiplexer forceExitWithTransitionContext:scene:]
    18  UIKitCore                       0x342f092dc         -[UIApplication workspaceShouldExit:withTransitionContext:]
    19  FrontBoardServices              0x36df3c880         __63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke_2
    20  FrontBoardServices              0x36df035a4         -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:]
    21  FrontBoardServices              0x36df3c820         __63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke
    22  libdispatch.dylib               0x34db422fc         _dispatch_client_callout
    23  libdispatch.dylib               0x34db45d44         _dispatch_block_invoke_direct
    24  FrontBoardServices              0x36deff9e8         __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__
    25  FrontBoardServices              0x36deff968         -[FBSMainRunLoopSerialQueue _targetQueue_performNextIfPossible]
    26  FrontBoardServices              0x36deff840         -[FBSMainRunLoopSerialQueue _performNextFromRunLoopSource]
    27  CoreFoundation                  0x33dd21ac8         __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
    28  CoreFoundation                  0x33dd20d44         __CFRunLoopDoSource0
    29  CoreFoundation                  0x33dd1f558         __CFRunLoopDoSources0
    30  CoreFoundation                  0x33dd1e234         __CFRunLoopRun
    31  CoreFoundation                  0x33dd1de14         CFRunLoopRunSpecific
    32  GraphicsServices                0x3c32d75e8         GSEventRunModal
    33  UIKitCore                       0x34233f2f8         -[UIApplication _run]
    34  UIKitCore                       0x34233e934         UIApplicationMain
    35  Runner                          0x202a2779c         main (AppDelegate.swift:8)
    36  <unknown>                       0x1d87ffd44         <redacted>
    
    Thread 1 name: com.apple.uikit.eventfetch-thread
    0   libsystem_kernel.dylib          0x3cb4a71d8         mach_msg2_trap
    1   libsystem_kernel.dylib          0x3cb4a6f6c         mach_msg2_internal
    2   libsystem_kernel.dylib          0x3cb4a6e84         mach_msg_overwrite
    3   libsystem_kernel.dylib          0x3cb4a6cc4         mach_msg
    4   CoreFoundation                  0x33dd204b8         __CFRunLoopServiceMachPort
    5   CoreFoundation                  0x33dd1e3b0         __CFRunLoopRun
    6   CoreFoundation                  0x33dd1de14         CFRunLoopRunSpecific
    7   Foundation                      0x33bc4d4c8         -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
    8   Foundation                      0x33bc7c230         -[NSRunLoop(NSRunLoop) runUntilDate:]
    9   UIKitCore                       0x3422a11b4         -[UIEventFetcher threadMain]
    10  Foundation                      0x33bcd3150         __NSThread__start__
    11  libsystem_pthread.dylib         0x4100c44d0         _pthread_start
    
    Thread 2
    0   libsystem_kernel.dylib          0x3cb4af730         __workq_kernreturn
    1   libsystem_pthread.dylib         0x4100c39ac         _pthread_wqthread
    
    Thread 3 name: io.flutter.1.ui
    0   IOKit                           0x34f01940c         iokit_user_client_trap
    1   IOGPU                           0x428c661d4         ioGPUResourceFinalize
    2   CoreFoundation                  0x33dcf6abc         _CFRelease
    3   IOGPU                           0x428c52534         -[IOGPUMetalResource dealloc]
    4   IOGPU                           0x428c52454         -[IOGPUMetalTexture dealloc]
    5   AGXMetalG15                     0x46db22948         <redacted>
    6   AGXMetalG15                     0x46db0745c         <redacted>
    7   Flutter                         0x105d4ed8c         [inlined] std::_LIBCPP_ABI_NAMESPACE::__shared_count::__release_shared[abi:v15000] (shared_ptr.h:174)
    8   Flutter                         0x105d4ed8c         [inlined] std::_LIBCPP_ABI_NAMESPACE::__shared_weak_count::__release_shared[abi:v15000] (shared_ptr.h:215)
    9   Flutter                         0x105d4ed8c         std::_LIBCPP_ABI_NAMESPACE::shared_ptr<T>::~shared_ptr[abi:v15000] (shared_ptr.h:702)
    10  Flutter                         0x106221a5c         [inlined] std::_LIBCPP_ABI_NAMESPACE::shared_ptr<T>::~shared_ptr[abi:v15000] (shared_ptr.h:700)
    11  Flutter                         0x106221a5c         [inlined] impeller::DlImageImpeller::~DlImageImpeller (dl_image_impeller.cc:51)
    12  Flutter                         0x106221a5c         [inlined] impeller::DlImageImpeller::~DlImageImpeller (dl_image_impeller.cc:51)
    13  Flutter                         0x106221a5c         impeller::DlImageImpeller::~DlImageImpeller (dl_image_impeller.cc:51)
    14  Flutter                         0x1062534e4         [inlined] SkRefCntBase::unref (SkRefCnt.h:78)
    15  Flutter                         0x1062534e4         [inlined] SkSafeUnref<T> (SkRefCnt.h:151)
    16  Flutter                         0x1062534e4         [inlined] sk_sp<T>::~sk_sp (SkRefCnt.h:256)
    17  Flutter                         0x1062534e4         [inlined] sk_sp<T>::~sk_sp (SkRefCnt.h:255)
    18  Flutter                         0x1062534e4         flutter::CanvasImage::~CanvasImage (image.cc:30)
    19  Flutter                         0x106235120         [inlined] flutter::CanvasImage::~CanvasImage (image.cc:30)
    20  Flutter                         0x106235120         fml::RefCountedThreadSafe<T>::Release (ref_counted.h:73)
    21  Flutter                         0x1063025cc         [inlined] dart::FinalizablePersistentHandle::Finalize (dart_api_impl.cc:741)
    22  Flutter                         0x1063025cc         [inlined] dart::FinalizablePersistentHandle::UpdateUnreachable (dart_api_state.h:253)
    23  Flutter                         0x1063025cc         dart::FinalizeWeakPersistentHandlesVisitor::VisitHandle (isolate.cc:268)
    24  Flutter                         0x1063022d4         [inlined] dart::Handles<T>::HandlesBlock::Visit (handles_impl.h:271)
    25  Flutter                         0x1063022d4         [inlined] dart::Handles<T>::Visit (handles_impl.h:55)
    26  Flutter                         0x1063022d4         [inlined] dart::FinalizablePersistentHandles::VisitHandles (dart_api_state.h:548)
    27  Flutter                         0x1063022d4         [inlined] dart::ApiState::VisitWeakHandlesUnlocked (dart_api_state.h:720)
    28  Flutter                         0x1063022d4         dart::Isolate::LowLevelCleanup (isolate.cc:2486)
    29  Flutter                         0x106304e18         dart::Isolate::Shutdown (isolate.cc:2433)
    30  Flutter                         0x1063f8cf0         [inlined] dart::Dart::ShutdownIsolate (dart.cc:1168)
    31  Flutter                         0x1063f8cf0         Dart_ShutdownIsolate (dart_api_impl.cc:1501)
    32  Flutter                         0x1062af214         flutter::RuntimeController::~RuntimeController (runtime_controller.cc:88)
    33  Flutter                         0x1062aded0         [inlined] flutter::RuntimeController::~RuntimeController (runtime_controller.cc:83)
    34  Flutter                         0x1062aded0         flutter::RuntimeController::~RuntimeController (runtime_controller.cc:83)
    35  Flutter                         0x1060a7788         [inlined] std::_LIBCPP_ABI_NAMESPACE::default_delete<T>::operator()[abi:v15000] (unique_ptr.h:48)
    36  Flutter                         0x1060a7788         [inlined] std::_LIBCPP_ABI_NAMESPACE::unique_ptr<T>::reset[abi:v15000] (unique_ptr.h:305)
    37  Flutter                         0x1060a7788         [inlined] std::_LIBCPP_ABI_NAMESPACE::unique_ptr<T>::~unique_ptr[abi:v15000] (unique_ptr.h:259)
    38  Flutter                         0x1060a7788         [inlined] std::_LIBCPP_ABI_NAMESPACE::unique_ptr<T>::~unique_ptr[abi:v15000] (unique_ptr.h:259)
    39  Flutter                         0x1060a7788         flutter::Engine::~Engine (engine.cc:149)
    40  Flutter                         0x1060b89b0         [inlined] flutter::Engine::~Engine (engine.cc:149)
    41  Flutter                         0x1060b89b0         [inlined] std::_LIBCPP_ABI_NAMESPACE::default_delete<T>::operator()[abi:v15000] (unique_ptr.h:48)
    42  Flutter                         0x1060b89b0         std::_LIBCPP_ABI_NAMESPACE::unique_ptr<T>::reset[abi:v15000] (unique_ptr.h:305)
    43  Flutter                         0x1060b923c         [inlined] flutter::Shell::~Shell::lambda::operator() (shell.cc:499)
    44  Flutter                         0x1060b923c         [inlined] fml::internal::CopyableLambda<T>::operator()<T> (make_copyable.h:24)
    45  Flutter                         0x1060b923c         [inlined] std::_LIBCPP_ABI_NAMESPACE::__invoke[abi:v15000]<T> (invoke.h:403)
    46  Flutter                         0x1060b923c         [inlined] std::_LIBCPP_ABI_NAMESPACE::__invoke_void_return_wrapper<T>::__call<T> (invoke.h:488)
    47  Flutter                         0x1060b923c         [inlined] std::_LIBCPP_ABI_NAMESPACE::__function::__alloc_func<T>::operator()[abi:v15000] (function.h:185)
    48  Flutter                         0x1060b923c         std::_LIBCPP_ABI_NAMESPACE::__function::__func<T>::operator() (function.h:359)
    49  Flutter                         0x105fba70c         [inlined] std::_LIBCPP_ABI_NAMESPACE::__function::__value_func<T>::operator()[abi:v15000] (function.h:512)
    50  Flutter                         0x105fba70c         [inlined] std::_LIBCPP_ABI_NAMESPACE::function<T>::operator() (function.h:1187)
    51  Flutter                         0x105fba70c         fml::MessageLoopImpl::FlushTasks (message_loop_impl.cc:126)
    52  Flutter                         0x105fbdcfc         [inlined] fml::MessageLoopImpl::RunExpiredTasksNow (message_loop_impl.cc:139)
    53  Flutter                         0x105fbdcfc         fml::MessageLoopDarwin::OnTimerFire (message_loop_darwin.mm:85)
    54  CoreFoundation                  0x33dd982ac         __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
    55  CoreFoundation                  0x33dd97f54         __CFRunLoopDoTimer
    56  CoreFoundation                  0x33dd21620         __CFRunLoopDoTimers
    57  CoreFoundation                  0x33dd1e638         __CFRunLoopRun
    58  CoreFoundation                  0x33dd1de14         CFRunLoopRunSpecific
    59  Flutter                         0x105fbdde8         fml::MessageLoopDarwin::Run (message_loop_darwin.mm:51)
    60  Flutter                         0x105fbd45c         [inlined] fml::MessageLoopImpl::DoRun (message_loop_impl.cc:94)
    61  Flutter                         0x105fbd45c         [inlined] fml::MessageLoop::Run (message_loop.cc:49)
    62  Flutter                         0x105fbd45c         [inlined] fml::Thread::Thread::lambda::operator() (thread.cc:85)
    63  Flutter                         0x105fbd45c         [inlined] std::_LIBCPP_ABI_NAMESPACE::__invoke[abi:v15000]<T> (invoke.h:403)
    64  Flutter                         0x105fbd45c         [inlined] std::_LIBCPP_ABI_NAMESPACE::__thread_execute[abi:v15000]<T> (thread:284)
    65  Flutter                         0x105fbd45c         std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<T> (thread:295)
    66  libsystem_pthread.dylib         0x4100c44d0         _pthread_start
    
    Thread 4 name: io.flutter.1.raster
    0   libsystem_kernel.dylib          0x3cb4a71d8         mach_msg2_trap
    1   libsystem_kernel.dylib          0x3cb4a6f6c         mach_msg2_internal
    2   libsystem_kernel.dylib          0x3cb4a6e84         mach_msg_overwrite
    3   libsystem_kernel.dylib          0x3cb4a6cc4         mach_msg
    4   CoreFoundation                  0x33dd204b8         __CFRunLoopServiceMachPort
    5   CoreFoundation                  0x33dd1e3b0         __CFRunLoopRun
    6   CoreFoundation                  0x33dd1de14         CFRunLoopRunSpecific
    7   Flutter                         0x105fbdde8         fml::MessageLoopDarwin::Run (message_loop_darwin.mm:51)
    8   Flutter                         0x105fbd45c         [inlined] fml::MessageLoopImpl::DoRun (message_loop_impl.cc:94)
    9   Flutter                         0x105fbd45c         [inlined] fml::MessageLoop::Run (message_loop.cc:49)
    10  Flutter                         0x105fbd45c         [inlined] fml::Thread::Thread::lambda::operator() (thread.cc:85)
    11  Flutter                         0x105fbd45c         [inlined] std::_LIBCPP_ABI_NAMESPACE::__invoke[abi:v15000]<T> (invoke.h:403)
    12  Flutter                         0x105fbd45c         [inlined] std::_LIBCPP_ABI_NAMESPACE::__thread_execute[abi:v15000]<T> (thread:284)
    13  Flutter                         0x105fbd45c         std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<T> (thread:295)
    14  libsystem_pthread.dylib         0x4100c44d0         _pthread_start
    
    Thread 5 name: io.flutter.1.io
    0   libsystem_kernel.dylib          0x3cb4a71d8         mach_msg2_trap
    1   libsystem_kernel.dylib          0x3cb4a6f6c         mach_msg2_internal
    2   libsystem_kernel.dylib          0x3cb4a6e84         mach_msg_overwrite
    3   libsystem_kernel.dylib          0x3cb4a6cc4         mach_msg
    4   CoreFoundation                  0x33dd204b8         __CFRunLoopServiceMachPort
    5   CoreFoundation                  0x33dd1e3b0         __CFRunLoopRun
    6   CoreFoundation                  0x33dd1de14         CFRunLoopRunSpecific
    7   Flutter                         0x105fbdde8         fml::MessageLoopDarwin::Run (message_loop_darwin.mm:51)
    8   Flutter                         0x105fbd45c         [inlined] fml::MessageLoopImpl::DoRun (message_loop_impl.cc:94)
    9   Flutter                         0x105fbd45c         [inlined] fml::MessageLoop::Run (message_loop.cc:49)
    10  Flutter                         0x105fbd45c         [inlined] fml::Thread::Thread::lambda::operator() (thread.cc:85)
    11  Flutter                         0x105fbd45c         [inlined] std::_LIBCPP_ABI_NAMESPACE::__invoke[abi:v15000]<T> (invoke.h:403)
    12  Flutter                         0x105fbd45c         [inlined] std::_LIBCPP_ABI_NAMESPACE::__thread_execute[abi:v15000]<T> (thread:284)
    13  Flutter                         0x105fbd45c         std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<T> (thread:295)
    14  libsystem_pthread.dylib         0x4100c44d0         _pthread_start
    
    Thread 6 name: io.worker.1
    0   libsystem_kernel.dylib          0x3cb4a7b7c         __psynch_cvwait
    1   libsystem_pthread.dylib         0x4100c2fd0         _pthread_cond_wait
    2   Flutter                         0x105d317b0         [inlined] std::_LIBCPP_ABI_NAMESPACE::__libcpp_condvar_wait[abi:v15000] (__threading_support:335)
    3   Flutter                         0x105d317b0         std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait (condition_variable.cpp:46)
    4   Flutter                         0x105fb7154         [inlined] std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait<T> (__mutex_base:398)
    5   Flutter                         0x105fb7154         [inlined] fml::ConcurrentMessageLoop::WorkerMain (concurrent_message_loop.cc:75)
    6   Flutter                         0x105fb7154         [inlined] fml::ConcurrentMessageLoop::ConcurrentMessageLoop::lambda::operator() (concurrent_message_loop.cc:20)
    7   Flutter                         0x105fb7154         [inlined] std::_LIBCPP_ABI_NAMESPACE::__invoke[abi:v15000]<T> (invoke.h:403)
    8   Flutter                         0x105fb7154         [inlined] std::_LIBCPP_ABI_NAMESPACE::__thread_execute[abi:v15000]<T> (thread:284)
    9   Flutter                         0x105fb7154         std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<T> (thread:295)
    10  libsystem_pthread.dylib         0x4100c44d0         _pthread_start
    
    Thread 7 name: io.worker.2
    0   libsystem_kernel.dylib          0x3cb4a7b7c         __psynch_cvwait
    1   libsystem_pthread.dylib         0x4100c2fd0         _pthread_cond_wait
    2   Flutter                         0x105d317b0         [inlined] std::_LIBCPP_ABI_NAMESPACE::__libcpp_condvar_wait[abi:v15000] (__threading_support:335)
    3   Flutter                         0x105d317b0         std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait (condition_variable.cpp:46)
    4   Flutter                         0x105fb7154         [inlined] std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait<T> (__mutex_base:398)
    5   Flutter                         0x105fb7154         [inlined] fml::ConcurrentMessageLoop::WorkerMain (concurrent_message_loop.cc:75)
    6   Flutter                         0x105fb7154         [inlined] fml::ConcurrentMessageLoop::ConcurrentMessageLoop::lambda::operator() (concurrent_message_loop.cc:20)
    7   Flutter                         0x105fb7154         [inlined] std::_LIBCPP_ABI_NAMESPACE::__invoke[abi:v15000]<T> (invoke.h:403)
    8   Flutter                         0x105fb7154         [inlined] std::_LIBCPP_ABI_NAMESPACE::__thread_execute[abi:v15000]<T> (thread:284)
    9   Flutter                         0x105fb7154         std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<T> (thread:295)
    10  libsystem_pthread.dylib         0x4100c44d0         _pthread_start
    
    Thread 8 name: io.worker.3
    0   libsystem_kernel.dylib          0x3cb4a7b7c         __psynch_cvwait
    1   libsystem_pthread.dylib         0x4100c2fd0         _pthread_cond_wait
    2   Flutter                         0x105d317b0         [inlined] std::_LIBCPP_ABI_NAMESPACE::__libcpp_condvar_wait[abi:v15000] (__threading_support:335)
    3   Flutter                         0x105d317b0         std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait (condition_variable.cpp:46)
    4   Flutter                         0x105fb7154         [inlined] std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait<T> (__mutex_base:398)
    5   Flutter                         0x105fb7154         [inlined] fml::ConcurrentMessageLoop::WorkerMain (concurrent_message_loop.cc:75)
    6   Flutter                         0x105fb7154         [inlined] fml::ConcurrentMessageLoop::ConcurrentMessageLoop::lambda::operator() (concurrent_message_loop.cc:20)
    7   Flutter                         0x105fb7154         [inlined] std::_LIBCPP_ABI_NAMESPACE::__invoke[abi:v15000]<T> (invoke.h:403)
    8   Flutter                         0x105fb7154         [inlined] std::_LIBCPP_ABI_NAMESPACE::__thread_execute[abi:v15000]<T> (thread:284)
    9   Flutter                         0x105fb7154         std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<T> (thread:295)
    10  libsystem_pthread.dylib         0x4100c44d0         _pthread_start
    
    Thread 9 name: io.worker.4
    0   libsystem_kernel.dylib          0x3cb4a7b7c         __psynch_cvwait
    1   libsystem_pthread.dylib         0x4100c2fd0         _pthread_cond_wait
    2   Flutter                         0x105d317b0         [inlined] std::_LIBCPP_ABI_NAMESPACE::__libcpp_condvar_wait[abi:v15000] (__threading_support:335)
    3   Flutter                         0x105d317b0         std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait (condition_variable.cpp:46)
    4   Flutter                         0x105fb7154         [inlined] std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait<T> (__mutex_base:398)
    5   Flutter                         0x105fb7154         [inlined] fml::ConcurrentMessageLoop::WorkerMain (concurrent_message_loop.cc:75)
    6   Flutter                         0x105fb7154         [inlined] fml::ConcurrentMessageLoop::ConcurrentMessageLoop::lambda::operator() (concurrent_message_loop.cc:20)
    7   Flutter                         0x105fb7154         [inlined] std::_LIBCPP_ABI_NAMESPACE::__invoke[abi:v15000]<T> (invoke.h:403)
    8   Flutter                         0x105fb7154         [inlined] std::_LIBCPP_ABI_NAMESPACE::__thread_execute[abi:v15000]<T> (thread:284)
    9   Flutter                         0x105fb7154         std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<T> (thread:295)
    10  libsystem_pthread.dylib         0x4100c44d0         _pthread_start
    
    Thread 10 name: io.worker.5
    0   libsystem_kernel.dylib          0x3cb4a7b7c         __psynch_cvwait
    1   libsystem_pthread.dylib         0x4100c2fd0         _pthread_cond_wait
    2   Flutter                         0x105d317b0         [inlined] std::_LIBCPP_ABI_NAMESPACE::__libcpp_condvar_wait[abi:v15000] (__threading_support:335)
    3   Flutter                         0x105d317b0         std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait (condition_variable.cpp:46)
    4   Flutter                         0x105fb7154         [inlined] std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait<T> (__mutex_base:398)
    5   Flutter                         0x105fb7154         [inlined] fml::ConcurrentMessageLoop::WorkerMain (concurrent_message_loop.cc:75)
    6   Flutter                         0x105fb7154         [inlined] fml::ConcurrentMessageLoop::ConcurrentMessageLoop::lambda::operator() (concurrent_message_loop.cc:20)
    7   Flutter                         0x105fb7154         [inlined] std::_LIBCPP_ABI_NAMESPACE::__invoke[abi:v15000]<T> (invoke.h:403)
    8   Flutter                         0x105fb7154         [inlined] std::_LIBCPP_ABI_NAMESPACE::__thread_execute[abi:v15000]<T> (thread:284)
    9   Flutter                         0x105fb7154         std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<T> (thread:295)
    10  libsystem_pthread.dylib         0x4100c44d0         _pthread_start
    
    Thread 11 name: io.worker.6
    0   libsystem_kernel.dylib          0x3cb4a7b7c         __psynch_cvwait
    1   libsystem_pthread.dylib         0x4100c2fd0         _pthread_cond_wait
    2   Flutter                         0x105d317b0         [inlined] std::_LIBCPP_ABI_NAMESPACE::__libcpp_condvar_wait[abi:v15000] (__threading_support:335)
    3   Flutter                         0x105d317b0         std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait (condition_variable.cpp:46)
    4   Flutter                         0x105fb7154         [inlined] std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait<T> (__mutex_base:398)
    5   Flutter                         0x105fb7154         [inlined] fml::ConcurrentMessageLoop::WorkerMain (concurrent_message_loop.cc:75)
    6   Flutter                         0x105fb7154         [inlined] fml::ConcurrentMessageLoop::ConcurrentMessageLoop::lambda::operator() (concurrent_message_loop.cc:20)
    7   Flutter                         0x105fb7154         [inlined] std::_LIBCPP_ABI_NAMESPACE::__invoke[abi:v15000]<T> (invoke.h:403)
    8   Flutter                         0x105fb7154         [inlined] std::_LIBCPP_ABI_NAMESPACE::__thread_execute[abi:v15000]<T> (thread:284)
    9   Flutter                         0x105fb7154         std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<T> (thread:295)
    10  libsystem_pthread.dylib         0x4100c44d0         _pthread_start
    
    Thread 12 name: dart:io EventHandler
    0   libsystem_kernel.dylib          0x3cb4b4f6c         kevent
    1   Flutter                         0x1062738e8         dart::bin::EventHandlerImplementation::EventHandlerEntry (eventhandler_macos.cc:459)
    2   Flutter                         0x1062a1844         dart::bin::ThreadStart (thread_macos.cc:91)
    3   libsystem_pthread.dylib         0x4100c44d0         _pthread_start
    
    Thread 13 name: io.worker.1
    0   libsystem_kernel.dylib          0x3cb4a7b7c         __psynch_cvwait
    1   libsystem_pthread.dylib         0x4100c2fd0         _pthread_cond_wait
    2   Flutter                         0x105d317b0         [inlined] std::_LIBCPP_ABI_NAMESPACE::__libcpp_condvar_wait[abi:v15000] (__threading_support:335)
    3   Flutter                         0x105d317b0         std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait (condition_variable.cpp:46)
    4   Flutter                         0x105fb7154         [inlined] std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait<T> (__mutex_base:398)
    5   Flutter                         0x105fb7154         [inlined] fml::ConcurrentMessageLoop::WorkerMain (concurrent_message_loop.cc:75)
    6   Flutter                         0x105fb7154         [inlined] fml::ConcurrentMessageLoop::ConcurrentMessageLoop::lambda::operator() (concurrent_message_loop.cc:20)
    7   Flutter                         0x105fb7154         [inlined] std::_LIBCPP_ABI_NAMESPACE::__invoke[abi:v15000]<T> (invoke.h:403)
    8   Flutter                         0x105fb7154         [inlined] std::_LIBCPP_ABI_NAMESPACE::__thread_execute[abi:v15000]<T> (thread:284)
    9   Flutter                         0x105fb7154         std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<T> (thread:295)
    10  libsystem_pthread.dylib         0x4100c44d0         _pthread_start
    
    Thread 14 name: io.worker.2
    0   libsystem_kernel.dylib          0x3cb4a7b7c         __psynch_cvwait
    1   libsystem_pthread.dylib         0x4100c2fd0         _pthread_cond_wait
    2   Flutter                         0x105d317b0         [inlined] std::_LIBCPP_ABI_NAMESPACE::__libcpp_condvar_wait[abi:v15000] (__threading_support:335)
    3   Flutter                         0x105d317b0         std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait (condition_variable.cpp:46)
    4   Flutter                         0x105fb7154         [inlined] std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait<T> (__mutex_base:398)
    5   Flutter                         0x105fb7154         [inlined] fml::ConcurrentMessageLoop::WorkerMain (concurrent_message_loop.cc:75)
    6   Flutter                         0x105fb7154         [inlined] fml::ConcurrentMessageLoop::ConcurrentMessageLoop::lambda::operator() (concurrent_message_loop.cc:20)
    7   Flutter                         0x105fb7154         [inlined] std::_LIBCPP_ABI_NAMESPACE::__invoke[abi:v15000]<T> (invoke.h:403)
    8   Flutter                         0x105fb7154         [inlined] std::_LIBCPP_ABI_NAMESPACE::__thread_execute[abi:v15000]<T> (thread:284)
    9   Flutter                         0x105fb7154         std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<T> (thread:295)
    10  libsystem_pthread.dylib         0x4100c44d0         _pthread_start
    
    Thread 15 name: io.worker.3
    0   libsystem_kernel.dylib          0x3cb4a7b7c         __psynch_cvwait
    1   libsystem_pthread.dylib         0x4100c2fd0         _pthread_cond_wait
    2   Flutter                         0x105d317b0         [inlined] std::_LIBCPP_ABI_NAMESPACE::__libcpp_condvar_wait[abi:v15000] (__threading_support:335)
    3   Flutter                         0x105d317b0         std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait (condition_variable.cpp:46)
    4   Flutter                         0x105fb7154         [inlined] std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait<T> (__mutex_base:398)
    5   Flutter                         0x105fb7154         [inlined] fml::ConcurrentMessageLoop::WorkerMain (concurrent_message_loop.cc:75)
    6   Flutter                         0x105fb7154         [inlined] fml::ConcurrentMessageLoop::ConcurrentMessageLoop::lambda::operator() (concurrent_message_loop.cc:20)
    7   Flutter                         0x105fb7154         [inlined] std::_LIBCPP_ABI_NAMESPACE::__invoke[abi:v15000]<T> (invoke.h:403)
    8   Flutter                         0x105fb7154         [inlined] std::_LIBCPP_ABI_NAMESPACE::__thread_execute[abi:v15000]<T> (thread:284)
    9   Flutter                         0x105fb7154         std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<T> (thread:295)
    10  libsystem_pthread.dylib         0x4100c44d0         _pthread_start
    
    Thread 16 name: io.worker.4
    0   libsystem_kernel.dylib          0x3cb4a7b7c         __psynch_cvwait
    1   libsystem_pthread.dylib         0x4100c2fd0         _pthread_cond_wait
    2   Flutter                         0x105d317b0         [inlined] std::_LIBCPP_ABI_NAMESPACE::__libcpp_condvar_wait[abi:v15000] (__threading_support:335)
    3   Flutter                         0x105d317b0         std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait (condition_variable.cpp:46)
    4   Flutter                         0x105fb7154         [inlined] std::_LIBCPP_ABI_NAMESPACE::condition_variable::wait<T> (__mutex_base:398)
    5   Flutter                         0x105fb7154         [inlined] fml::ConcurrentMessageLoop::WorkerMain (concurrent_message_loop.cc:75)
    6   Flutter                         0x105fb7154         [inlined] fml::ConcurrentMessageLoop::ConcurrentMessageLoop::lambda::operator() (concurrent_message_loop.cc:20)
    7   Flutter                         0x105fb7154         [inlined] std::_LIBCPP_ABI_NAMESPACE::__invoke[abi:v15000]<T> (invoke.h:403)
    8   Flutter                         0x105fb7154         [inlined] std::_LIBCPP_ABI_NAMESPACE::__thread_execute[abi:v15000]<T> (thread:284)
    9   Flutter                         0x105fb7154         std::_LIBCPP_ABI_NAMESPACE::__thread_proxy[abi:v15000]<T> (thread:295)
    10  libsystem_pthread.dylib         0x4100c44d0         _pthread_start
    
    Thread 17 name: com.apple.NSURLConnectionLoader
    0   libsystem_kernel.dylib          0x3cb4a71d8         mach_msg2_trap
    1   libsystem_kernel.dylib          0x3cb4a6f6c         mach_msg2_internal
    2   libsystem_kernel.dylib          0x3cb4a6e84         mach_msg_overwrite
    3   libsystem_kernel.dylib          0x3cb4a6cc4         mach_msg
    4   CoreFoundation                  0x33dd204b8         __CFRunLoopServiceMachPort
    5   CoreFoundation                  0x33dd1e3b0         __CFRunLoopRun
    6   CoreFoundation                  0x33dd1de14         CFRunLoopRunSpecific
    7   CFNetwork                       0x3400cc794         _CFURLStorageSessionCopyIdentifier
    8   Foundation                      0x33bcd3150         __NSThread__start__
    9   libsystem_pthread.dylib         0x4100c44d0         _pthread_start
    
    Thread 18
    0   libsystem_kernel.dylib          0x3cb4a79d8         __semwait_signal
    1   libsystem_c.dylib               0x34dbd60f8         nanosleep
    2   libsystem_c.dylib               0x34dbe4394         sleep
    3   Sentry                          0x104c66f80         monitorCachedData (SentryCrashCachedData.c:145)
    4   libsystem_pthread.dylib         0x4100c44d0         _pthread_start
    
    Thread 19 name: SentryCrash Exception Handler (Secondary)
    0   libsystem_kernel.dylib          0x3cb4a71d8         mach_msg2_trap
    1   libsystem_kernel.dylib          0x3cb4a6f6c         mach_msg2_internal
    2   libsystem_kernel.dylib          0x3cb4ab774         thread_suspend
    3   Sentry                          0x104c731e8         handleExceptions (SentryCrashMonitor_MachException.c:306)
    4   libsystem_pthread.dylib         0x4100c44d0         _pthread_start
    
    Thread 20 name: SentryCrash Exception Handler (Primary)
    0   libsystem_kernel.dylib          0x3cb4a71d8         mach_msg2_trap
    1   libsystem_kernel.dylib          0x3cb4a6f6c         mach_msg2_internal
    2   libsystem_kernel.dylib          0x3cb4a6e84         mach_msg_overwrite
    3   libsystem_kernel.dylib          0x3cb4a6cc4         mach_msg
    4   Sentry                          0x104c73214         handleExceptions (SentryCrashMonitor_MachException.c:314)
    5   libsystem_pthread.dylib         0x4100c44d0         _pthread_start
    
    Thread 21
    0   libsystem_pthread.dylib         0x4100c39fc         start_wqthread
    
    Thread 22
    0   libsystem_kernel.dylib          0x3cb4af730         __workq_kernreturn
    1   libsystem_pthread.dylib         0x4100c39ac         _pthread_wqthread
    
    Thread 23
    0   libsystem_kernel.dylib          0x3cb4af730         __workq_kernreturn
    1   libsystem_pthread.dylib         0x4100c39ac         _pthread_wqthread
    
    Thread 24
    0   libsystem_kernel.dylib          0x3cb4af730         __workq_kernreturn
    1   libsystem_pthread.dylib         0x4100c39ac         _pthread_wqthread
    
    Thread 25
    0   libsystem_kernel.dylib          0x3cb4a79d8         __semwait_signal
    1   libsystem_c.dylib               0x34dbd60f8         nanosleep
    2   Foundation                      0x33c371c14         +[NSThread sleepForTimeInterval:]
    3   screen_brightness_ios           0x104ef046c         SwiftScreenBrightnessIosPlugin.setScreenBrightness (SwiftScreenBrightnessIosPlugin.swift:94)
    4   screen_brightness_ios           0x104ef05a8         thunk for closure
    5   Foundation                      0x33bc69bfc         __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__
    6   Foundation                      0x33bc9b0e8         -[NSBlockOperation main]
    7   Foundation                      0x33bc98970         __NSOPERATION_IS_INVOKING_MAIN__
    8   Foundation                      0x33bc97a60         -[NSOperation start]
    9   Foundation                      0x33bc9a578         __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__
    10  Foundation                      0x33bc9a2e4         __NSOQSchedule_f
    11  libdispatch.dylib               0x34db5124c         _dispatch_block_async_invoke2
    12  libdispatch.dylib               0x34db422fc         _dispatch_client_callout
    13  libdispatch.dylib               0x34db457b4         _dispatch_continuation_pop
    14  libdispatch.dylib               0x34db44dd0         _dispatch_async_redirect_invoke
    15  libdispatch.dylib               0x34db53be0         _dispatch_root_queue_drain
    16  libdispatch.dylib               0x34db543e8         _dispatch_worker_thread2
    17  libsystem_pthread.dylib         0x4100c3924         _pthread_wqthread
    

    In my case this is related with a plugin I'm using (live_activities) and it seems that its detachFromEngine function is never being executed.

    Another interesting aspect is that all events that I captured with this exception happened after the app went to background from longer than an hour. See this example:

    CleanShot 2023-11-30 at 17 53 19

    So what seems it's happening is that the app is in fact being killed by the OS (there's no way the app remains in background for longer than an hour) but the detachFromEngine is not being called, because after an hour the app is awaken by a received silent push notification and the sinks - that were supposed to be cleaned in the detach function - are still alive.

    It's very tricky because I can't think in an way of reproducing this issue, but that's what may be happening in my case. There's no other explanation.

  12. mratanpara commented on Jan 3, 2024

    @mratanpara

    Could someone assist me in locating the specific code block causing the actual error?

    Stack Trace

    Fatal Exception: NSInternalInconsistencyException
    0 CoreFoundation 0xec870 __exceptionPreprocess
    1 libobjc.A.dylib 0x2bc00 objc_exception_throw
    2 Foundation 0x6b6d18 _userInfoForFileAndLine
    3 Flutter 0x12bac (Missing UUID 4aeaca1fde2f3daeb5830cf99fcf86e3)
    4 Flutter 0x577b90 (Missing UUID 4aeaca1fde2f3daeb5830cf99fcf86e3)
    5 flutter_smartlook 0x69c8 (Missing UUID 66c4d7e960fc35268a55c8c621cf12af)
    6 flutter_smartlook 0x6e60 (Missing UUID 66c4d7e960fc35268a55c8c621cf12af)
    7 SmartlookAnalytics 0x14bd20 (Missing UUID 4e4b2413c69e39e1880607d30fefbf46)
    8 SmartlookAnalytics 0x16eb88 (Missing UUID 4e4b2413c69e39e1880607d30fefbf46)
    9 SmartlookAnalytics 0x16ec08 (Missing UUID 4e4b2413c69e39e1880607d30fefbf46)
    10 Foundation 0x785cc NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION
    11 Foundation 0x78338 __NSOQSchedule_f
    12 libdispatch.dylib 0x26a8 _dispatch_call_block_and_release
    13 libdispatch.dylib 0x4300 _dispatch_client_callout
    14 libdispatch.dylib 0x77b8 _dispatch_continuation_pop
    15 libdispatch.dylib 0x6dd4 _dispatch_async_redirect_invoke
    16 libdispatch.dylib 0x15be4 _dispatch_root_queue_drain
    17 libdispatch.dylib 0x163ec _dispatch_worker_thread2
    18 libsystem_pthread.dylib 0x1928 _pthread_wqthread
    19 libsystem_pthread.dylib 0x1a04 start_wqthread

    com.apple.main-thread
    0 libsystem_kernel.dylib 0x1b7c __psynch_cvwait + 8
    1 libsystem_pthread.dylib 0xfd4 _pthread_cond_wait + 1228
    2 libc++.1.dylib 0x12ecc std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 28
    3 Flutter 0x2f7768 (Missing UUID 4aeaca1fde2f3daeb5830cf99fcf86e3)
    4 Flutter 0x3da298 (Missing UUID 4aeaca1fde2f3daeb5830cf99fcf86e3)
    5 Flutter 0x14424 (Missing UUID 4aeaca1fde2f3daeb5830cf99fcf86e3)
    6 Flutter 0xff90 (Missing UUID 4aeaca1fde2f3daeb5830cf99fcf86e3)
    7 CoreFoundation 0x2f4c8 CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER + 148
    8 CoreFoundation 0x2ee90 ___CFXRegistrationPost_block_invoke + 88
    9 CoreFoundation 0x2edd8 _CFXRegistrationPost + 440
    10 CoreFoundation 0x2e328 _CFXNotificationPost + 724
    11 Foundation 0x2a864 -[NSNotificationCenter postNotificationName:object:userInfo:] + 92
    12 UIKitCore 0xe10260 -[UIApplication _terminateWithStatus:] + 232
    13 UIKitCore 0x139000 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 112
    14 UIKitCore 0x5f9d6c -[_UISceneLifecycleMultiplexer forceExitWithTransitionContext:scene:] + 164
    15 UIKitCore 0xe0aea4 -[UIApplication workspaceShouldExit:withTransitionContext:] + 164
    16 FrontBoardServices 0x47fc4 __63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke_2 + 72
    17 FrontBoardServices 0xe19c -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 168
    18 FrontBoardServices 0x47f64 __63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke + 128
    19 libdispatch.dylib 0x4300 _dispatch_client_callout + 20
    20 libdispatch.dylib 0x7d48 _dispatch_block_invoke_direct + 284
    21 FrontBoardServices 0xa520 FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK + 52
    22 FrontBoardServices 0xa4a0 -[FBSMainRunLoopSerialQueue _targetQueue_performNextIfPossible] + 240
    23 FrontBoardServices 0xa378 -[FBSMainRunLoopSerialQueue _performNextFromRunLoopSource] + 28
    24 CoreFoundation 0x3731c CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 28
    25 CoreFoundation 0x36598 __CFRunLoopDoSource0 + 176
    26 CoreFoundation 0x34dac __CFRunLoopDoSources0 + 340
    27 CoreFoundation 0x33a88 __CFRunLoopRun + 828
    28 CoreFoundation 0x33668 CFRunLoopRunSpecific + 608
    29 GraphicsServices 0x35ec GSEventRunModal + 164
    30 UIKitCore 0x22c2b4 -[UIApplication _run] + 888
    31 UIKitCore 0x22b8f0 UIApplicationMain + 340
    32 Runner 0x6074 main + 7 (AppDelegate.swift:7)
    33 ??? 0x1bbd8edcc (Missing)

    com.apple.uikit.eventfetch-thread
    0 libsystem_kernel.dylib 0x11d8 mach_msg2_trap + 8
    1 libsystem_kernel.dylib 0xf70 mach_msg2_internal + 80
    2 libsystem_kernel.dylib 0xe88 mach_msg_overwrite + 436
    3 libsystem_kernel.dylib 0xcc8 mach_msg + 24
    4 CoreFoundation 0x35d0c __CFRunLoopServiceMachPort + 160
    5 CoreFoundation 0x33c04 __CFRunLoopRun + 1208
    6 CoreFoundation 0x33668 CFRunLoopRunSpecific + 608
    7 Foundation 0x2c54c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
    8 Foundation 0x5a27c -[NSRunLoop(NSRunLoop) runUntilDate:] + 64
    9 UIKitCore 0x18dfc8 -[UIEventFetcher threadMain] + 420
    10 Foundation 0xb1184 NSThread__start + 732
    11 libsystem_pthread.dylib 0x24d4 _pthread_start + 136
    12 libsystem_pthread.dylib 0x1a10 thread_start + 8

    io.flutter.1.ui
    0 libsystem_kernel.dylib 0x11d8 mach_msg2_trap + 8
    1 libsystem_kernel.dylib 0xf70 mach_msg2_internal + 80
    2 libsystem_kernel.dylib 0xe88 mach_msg_overwrite + 436
    3 libsystem_kernel.dylib 0xcc8 mach_msg + 24
    4 CoreFoundation 0x35d0c __CFRunLoopServiceMachPort + 160
    5 CoreFoundation 0x33c04 __CFRunLoopRun + 1208
    6 CoreFoundation 0x33668 CFRunLoopRunSpecific + 608
    7 Flutter 0x2f90cc (Missing UUID 4aeaca1fde2f3daeb5830cf99fcf86e3)
    8 Flutter 0x2f8acc (Missing UUID 4aeaca1fde2f3daeb5830cf99fcf86e3)
    9 libsystem_pthread.dylib 0x24d4 _pthread_start + 136
    10 libsystem_pthread.dylib 0x1a10 thread_start + 8

    io.flutter.1.raster
    0 libsystem_kernel.dylib 0x11d8 mach_msg2_trap + 8
    1 libsystem_kernel.dylib 0xf70 mach_msg2_internal + 80
    2 libsystem_kernel.dylib 0xe88 mach_msg_overwrite + 436
    3 libsystem_kernel.dylib 0xcc8 mach_msg + 24
    4 CoreFoundation 0x35d0c __CFRunLoopServiceMachPort + 160
    5 CoreFoundation 0x33c04 __CFRunLoopRun + 1208
    6 CoreFoundation 0x33668 CFRunLoopRunSpecific + 608
    7 Flutter 0x2f90cc (Missing UUID 4aeaca1fde2f3daeb5830cf99fcf86e3)
    8 Flutter 0x2f8acc (Missing UUID 4aeaca1fde2f3daeb5830cf99fcf86e3)
    9 libsystem_pthread.dylib 0x24d4 _pthread_start + 136
    10 libsystem_pthread.dylib 0x1a10 thread_start + 8

    io.flutter.1.io
    0 libsystem_kernel.dylib 0x11d8 mach_msg2_trap + 8
    1 libsystem_kernel.dylib 0xf70 mach_msg2_internal + 80
    2 libsystem_kernel.dylib 0xe88 mach_msg_overwrite + 436
    3 libsystem_kernel.dylib 0xcc8 mach_msg + 24
    4 CoreFoundation 0x35d0c __CFRunLoopServiceMachPort + 160
    5 CoreFoundation 0x33c04 __CFRunLoopRun + 1208
    6 CoreFoundation 0x33668 CFRunLoopRunSpecific + 608
    7 Flutter 0x2f90cc (Missing UUID 4aeaca1fde2f3daeb5830cf99fcf86e3)
    8 Flutter 0x2f8acc (Missing UUID 4aeaca1fde2f3daeb5830cf99fcf86e3)
    9 libsystem_pthread.dylib 0x24d4 _pthread_start + 136
    10 libsystem_pthread.dylib 0x1a10 thread_start + 8

    io.worker.1
    0 libsystem_kernel.dylib 0x1b7c __psynch_cvwait + 8
    1 libsystem_pthread.dylib 0xfd4 _pthread_cond_wait + 1228
    2 libc++.1.dylib 0x12ecc std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 28
    3 Flutter 0x2f3840 (Missing UUID 4aeaca1fde2f3daeb5830cf99fcf86e3)
    4 libsystem_pthread.dylib 0x24d4 _pthread_start + 136
    5 libsystem_pthread.dylib 0x1a10 thread_start + 8

    io.worker.2
    0 libsystem_kernel.dylib 0x1b7c __psynch_cvwait + 8
    1 libsystem_pthread.dylib 0xfd4 _pthread_cond_wait + 1228
    2 libc++.1.dylib 0x12ecc std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 28
    3 Flutter 0x2f3840 (Missing UUID 4aeaca1fde2f3daeb5830cf99fcf86e3)
    4 libsystem_pthread.dylib 0x24d4 _pthread_start + 136
    5 libsystem_pthread.dylib 0x1a10 thread_start + 8

    io.worker.3
    0 libsystem_kernel.dylib 0x1b7c __psynch_cvwait + 8
    1 libsystem_pthread.dylib 0xfd4 _pthread_cond_wait + 1228
    2 libc++.1.dylib 0x12ecc std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 28
    3 Flutter 0x2f3840 (Missing UUID 4aeaca1fde2f3daeb5830cf99fcf86e3)
    4 libsystem_pthread.dylib 0x24d4 _pthread_start + 136
    5 libsystem_pthread.dylib 0x1a10 thread_start + 8

    io.worker.4
    0 libsystem_kernel.dylib 0x1b7c __psynch_cvwait + 8
    1 libsystem_pthread.dylib 0xfd4 _pthread_cond_wait + 1228
    2 libc++.1.dylib 0x12ecc std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 28
    3 Flutter 0x2f3840 (Missing UUID 4aeaca1fde2f3daeb5830cf99fcf86e3)
    4 libsystem_pthread.dylib 0x24d4 _pthread_start + 136
    5 libsystem_pthread.dylib 0x1a10 thread_start + 8

    io.worker.5
    0 libsystem_kernel.dylib 0x1b7c __psynch_cvwait + 8
    1 libsystem_pthread.dylib 0xfd4 _pthread_cond_wait + 1228
    2 libc++.1.dylib 0x12ecc std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 28
    3 Flutter 0x2f3840 (Missing UUID 4aeaca1fde2f3daeb5830cf99fcf86e3)
    4 libsystem_pthread.dylib 0x24d4 _pthread_start + 136
    5 libsystem_pthread.dylib 0x1a10 thread_start + 8

    io.worker.6
    0 libsystem_kernel.dylib 0x1b7c __psynch_cvwait + 8
    1 libsystem_pthread.dylib 0xfd4 _pthread_cond_wait + 1228
    2 libc++.1.dylib 0x12ecc std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 28
    3 Flutter 0x2f3840 (Missing UUID 4aeaca1fde2f3daeb5830cf99fcf86e3)
    4 libsystem_pthread.dylib 0x24d4 _pthread_start + 136
    5 libsystem_pthread.dylib 0x1a10 thread_start + 8

    dart:io EventHandler
    0 libsystem_kernel.dylib 0xef6c kevent + 8
    1 Flutter 0x4e432c (Missing UUID 4aeaca1fde2f3daeb5830cf99fcf86e3)
    2 Flutter 0x513414 (Missing UUID 4aeaca1fde2f3daeb5830cf99fcf86e3)
    3 libsystem_pthread.dylib 0x24d4 _pthread_start + 136
    4 libsystem_pthread.dylib 0x1a10 thread_start + 8

    Thread
    0 libsystem_kernel.dylib 0x9730 __workq_kernreturn + 8
    1 libsystem_pthread.dylib 0x19b0 _pthread_wqthread + 364
    2 libsystem_pthread.dylib 0x1a04 start_wqthread + 8

    com.google.firebase.crashlytics.MachExceptionServer
    0 libsystem_kernel.dylib 0x11d8 mach_msg2_trap + 8
    1 libsystem_kernel.dylib 0xf70 mach_msg2_internal + 80
    2 libsystem_kernel.dylib 0xe88 mach_msg_overwrite + 436
    3 libsystem_kernel.dylib 0xcc8 mach_msg + 24
    4 FirebaseCrashlytics 0x17d38 FIRCLSMachExceptionServer + 104
    5 libsystem_pthread.dylib 0x24d4 _pthread_start + 136
    6 libsystem_pthread.dylib 0x1a10 thread_start + 8

    JavaScriptCore libpas scavenger
    0 libsystem_kernel.dylib 0x1b7c __psynch_cvwait + 8
    1 libsystem_pthread.dylib 0xfd4 _pthread_cond_wait + 1228
    2 JavaScriptCore 0x15a4b10 scavenger_thread_main + 1316
    3 libsystem_pthread.dylib 0x24d4 _pthread_start + 136
    4 libsystem_pthread.dylib 0x1a10 thread_start + 8

    com.apple.NSURLConnectionLoader
    0 libsystem_kernel.dylib 0x11d8 mach_msg2_trap + 8
    1 libsystem_kernel.dylib 0xf70 mach_msg2_internal + 80
    2 libsystem_kernel.dylib 0xe88 mach_msg_overwrite + 436
    3 libsystem_kernel.dylib 0xcc8 mach_msg + 24
    4 CoreFoundation 0x35d0c __CFRunLoopServiceMachPort + 160
    5 CoreFoundation 0x33c04 __CFRunLoopRun + 1208
    6 CoreFoundation 0x33668 CFRunLoopRunSpecific + 608
    7 CFNetwork 0x258780 _CFURLStorageSessionCopyIdentifier + 69132
    8 Foundation 0xb1184 NSThread__start + 732
    9 libsystem_pthread.dylib 0x24d4 _pthread_start + 136
    10 libsystem_pthread.dylib 0x1a10 thread_start + 8

    com.squareup.SocketRocket.NetworkThread
    0 libsystem_kernel.dylib 0x11d8 mach_msg2_trap + 8
    1 libsystem_kernel.dylib 0xf70 mach_msg2_internal + 80
    2 libsystem_kernel.dylib 0xe88 mach_msg_overwrite + 436
    3 libsystem_kernel.dylib 0xcc8 mach_msg + 24
    4 CoreFoundation 0x35d0c __CFRunLoopServiceMachPort + 160
    5 CoreFoundation 0x33c04 __CFRunLoopRun + 1208
    6 CoreFoundation 0x33668 CFRunLoopRunSpecific + 608
    7 Foundation 0x2c54c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
    8 Mobilisten 0x1356c -[_LDSRRunLoopThread main] + 252
    9 Foundation 0xb1184 NSThread__start + 732
    10 libsystem_pthread.dylib 0x24d4 _pthread_start + 136
    11 libsystem_pthread.dylib 0x1a10 thread_start + 8

    com.apple.CFSocket.private
    0 libsystem_kernel.dylib 0xd8c0 __select + 8
    1 libsystem_kernel.dylib 0xd8c0 select$DARWIN_EXTSN + 8
    2 CoreFoundation 0xdf970 __CFSocketManager + 636
    3 libsystem_pthread.dylib 0x24d4 _pthread_start + 136
    4 libsystem_pthread.dylib 0x1a10 thread_start + 8

    Thread
    0 libsystem_kernel.dylib 0x9730 __workq_kernreturn + 8
    1 libsystem_pthread.dylib 0x19b0 _pthread_wqthread + 364
    2 libsystem_pthread.dylib 0x1a04 start_wqthread + 8

    Thread
    0 libsystem_kernel.dylib 0x9730 __workq_kernreturn + 8
    1 libsystem_pthread.dylib 0x19b0 _pthread_wqthread + 364
    2 libsystem_pthread.dylib 0x1a04 start_wqthread + 8

    Thread
    0 libsystem_pthread.dylib 0x19fc start_wqthread + 438

    com.apple.coremedia.sharedRootQueue.47
    0 libsystem_kernel.dylib 0x116c semaphore_timedwait_trap + 8
    1 libdispatch.dylib 0x4918 _dispatch_sema4_timedwait + 64
    2 libdispatch.dylib 0x4f14 _dispatch_semaphore_wait_slow + 76
    3 libdispatch.dylib 0x159b8 _dispatch_worker_thread + 328
    4 libsystem_pthread.dylib 0x24d4 _pthread_start + 136
    5 libsystem_pthread.dylib 0x1a10 thread_start + 8

    Thread
    0 libsystem_pthread.dylib 0x19fc start_wqthread + 438

    com.apple.coremedia.sharedRootQueue.47
    0 libsystem_kernel.dylib 0x116c semaphore_timedwait_trap + 8
    1 libdispatch.dylib 0x4918 _dispatch_sema4_timedwait + 64
    2 libdispatch.dylib 0x4f14 _dispatch_semaphore_wait_slow + 76
    3 libdispatch.dylib 0x159b8 _dispatch_worker_thread + 328
    4 libsystem_pthread.dylib 0x24d4 _pthread_start + 136
    5 libsystem_pthread.dylib 0x1a10 thread_start + 8

    Crashed: com.google.firebase.crashlytics.ios.exception
    0 FirebaseCrashlytics 0x1e2ac FIRCLSProcessRecordAllThreads + 184
    1 FirebaseCrashlytics 0x1e68c FIRCLSProcessRecordAllThreads + 1176
    2 FirebaseCrashlytics 0x15724 FIRCLSHandler + 48
    3 FirebaseCrashlytics 0x10430 __FIRCLSExceptionRecord_block_invoke + 92
    4 libdispatch.dylib 0x4300 _dispatch_client_callout + 20
    5 libdispatch.dylib 0x136b4 _dispatch_lane_barrier_sync_invoke_and_complete + 56
    6 FirebaseCrashlytics 0xf43c FIRCLSExceptionRecord + 204
    7 FirebaseCrashlytics 0xff50 FIRCLSExceptionRecordNSException + 452
    8 FirebaseCrashlytics 0xf094 FIRCLSTerminateHandler() + 404
    9 libc++abi.dylib 0x10a24 std::__terminate(void (*)()) + 16
    10 libc++abi.dylib 0x109c8 std::terminate() + 56
    11 libobjc.A.dylib 0x3cc64 objc_terminate + 16
    12 libdispatch.dylib 0x4314 _dispatch_client_callout + 40
    13 libdispatch.dylib 0x77b8 _dispatch_continuation_pop + 600
    14 libdispatch.dylib 0x6dd4 _dispatch_async_redirect_invoke + 584
    15 libdispatch.dylib 0x15be4 _dispatch_root_queue_drain + 392
    16 libdispatch.dylib 0x163ec _dispatch_worker_thread2 + 156
    17 libsystem_pthread.dylib 0x1928 _pthread_wqthread + 228
    18 libsystem_pthread.dylib 0x1a04 start_wqthread + 8

    Thread
    0 libsystem_kernel.dylib 0x9730 __workq_kernreturn + 8
    1 libsystem_pthread.dylib 0x19b0 _pthread_wqthread + 364
    2 libsystem_pthread.dylib 0x1a04 start_wqthread + 8

    DartWorker
    0 libsystem_kernel.dylib 0x1b7c __psynch_cvwait + 8
    1 libsystem_pthread.dylib 0x1000 _pthread_cond_wait + 1272
    2 Flutter 0x62a8fc (Missing UUID 4aeaca1fde2f3daeb5830cf99fcf86e3)
    3 Flutter 0x66b9a0 (Missing UUID 4aeaca1fde2f3daeb5830cf99fcf86e3)
    4 Flutter 0x62a224 (Missing UUID 4aeaca1fde2f3daeb5830cf99fcf86e3)
    5 libsystem_pthread.dylib 0x24d4 _pthread_start + 136
    6 libsystem_pthread.dylib 0x1a10 thread_start + 8

    DartWorker
    0 libsystem_kernel.dylib 0x1b7c __psynch_cvwait + 8
    1 libsystem_pthread.dylib 0x1000 _pthread_cond_wait + 1272
    2 Flutter 0x62a8fc (Missing UUID 4aeaca1fde2f3daeb5830cf99fcf86e3)
    3 Flutter 0x66b9a0 (Missing UUID 4aeaca1fde2f3daeb5830cf99fcf86e3)
    4 Flutter 0x62a224 (Missing UUID 4aeaca1fde2f3daeb5830cf99fcf86e3)
    5 libsystem_pthread.dylib 0x24d4 _pthread_start + 136
    6 libsystem_pthread.dylib 0x1a10 thread_start + 8

    JSC Heap Collector Thread
    0 libsystem_kernel.dylib 0x1b7c __psynch_cvwait + 8
    1 libsystem_pthread.dylib 0xfd4 _pthread_cond_wait + 1228
    2 JavaScriptCore 0x70674 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 264
    3 JavaScriptCore 0x49e30 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2008
    4 JavaScriptCore 0xa540 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 460
    5 JavaScriptCore 0x6d2a4 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352
    6 JavaScriptCore 0x6fdf8 WTF::wtfThreadEntryPoint(void*) + 16
    7 libsystem_pthread.dylib 0x24d4 _pthread_start + 136
    8 libsystem_pthread.dylib 0x1a10 thread_start + 8

    Heap Helper Thread
    0 libsystem_kernel.dylib 0x1b7c __psynch_cvwait + 8
    1 libsystem_pthread.dylib 0xfd4 _pthread_cond_wait + 1228
    2 JavaScriptCore 0x70674 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 264
    3 JavaScriptCore 0x49e30 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2008
    4 JavaScriptCore 0xa540 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 460
    5 JavaScriptCore 0x6d2a4 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352
    6 JavaScriptCore 0x6fdf8 WTF::wtfThreadEntryPoint(void*) + 16
    7 libsystem_pthread.dylib 0x24d4 _pthread_start + 136
    8 libsystem_pthread.dylib 0x1a10 thread_start + 8

    Heap Helper Thread
    0 libsystem_kernel.dylib 0x1b7c __psynch_cvwait + 8
    1 libsystem_pthread.dylib 0xfd4 _pthread_cond_wait + 1228
    2 JavaScriptCore 0x70674 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 264
    3 JavaScriptCore 0x49e30 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2008
    4 JavaScriptCore 0xa540 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 460
    5 JavaScriptCore 0x6d2a4 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352
    6 JavaScriptCore 0x6fdf8 WTF::wtfThreadEntryPoint(void*) + 16
    7 libsystem_pthread.dylib 0x24d4 _pthread_start + 136
    8 libsystem_pthread.dylib 0x1a10 thread_start + 8

    Heap Helper Thread
    0 libsystem_kernel.dylib 0x1b7c __psynch_cvwait + 8
    1 libsystem_pthread.dylib 0xfd4 _pthread_cond_wait + 1228
    2 JavaScriptCore 0x70674 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 264
    3 JavaScriptCore 0x49e30 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2008
    4 JavaScriptCore 0xa540 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 460
    5 JavaScriptCore 0x6d2a4 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352
    6 JavaScriptCore 0x6fdf8 WTF::wtfThreadEntryPoint(void*) + 16
    7 libsystem_pthread.dylib 0x24d4 _pthread_start + 136
    8 libsystem_pthread.dylib 0x1a10 thread_start + 8

    Heap Helper Thread
    0 libsystem_kernel.dylib 0x1b7c __psynch_cvwait + 8
    1 libsystem_pthread.dylib 0xfd4 _pthread_cond_wait + 1228
    2 JavaScriptCore 0x70674 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 264
    3 JavaScriptCore 0x49e30 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2008
    4 JavaScriptCore 0xa540 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 460
    5 JavaScriptCore 0x6d2a4 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352
    6 JavaScriptCore 0x6fdf8 WTF::wtfThreadEntryPoint(void*) + 16
    7 libsystem_pthread.dylib 0x24d4 _pthread_start + 136
    8 libsystem_pthread.dylib 0x1a10 thread_start + 8

    Heap Helper Thread
    0 libsystem_kernel.dylib 0x1b7c __psynch_cvwait + 8
    1 libsystem_pthread.dylib 0xfd4 _pthread_cond_wait + 1228
    2 JavaScriptCore 0x70674 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 264
    3 JavaScriptCore 0x49e30 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 2008
    4 JavaScriptCore 0xa540 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 460
    5 JavaScriptCore 0x6d2a4 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 352
    6 JavaScriptCore 0x6fdf8 WTF::wtfThreadEntryPoint(void*) + 16
    7 libsystem_pthread.dylib 0x24d4 _pthread_start + 136
    8 libsystem_pthread.dylib 0x1a10 thread_start + 8

    Thread
    0 libsystem_pthread.dylib 0x19fc start_wqthread + 438

    Thread
    0 libsystem_kernel.dylib 0x9730 __workq_kernreturn + 8
    1 libsystem_pthread.dylib 0x19b0 _pthread_wqthread + 364
    2 libsystem_pthread.dylib 0x1a04 start_wqthread + 8

    Thread
    0 libsystem_kernel.dylib 0x9730 __workq_kernreturn + 8
    1 libsystem_pthread.dylib 0x19b0 _pthread_wqthread + 364
    2 libsystem_pthread.dylib 0x1a04 start_wqthread + 8

    com.apple.coremedia.rootQueue.fP-45.mP-47
    0 libsystem_kernel.dylib 0x116c semaphore_timedwait_trap + 8
    1 libdispatch.dylib 0x4918 _dispatch_sema4_timedwait + 64
    2 libdispatch.dylib 0x4f14 _dispatch_semaphore_wait_slow + 76
    3 libdispatch.dylib 0x159b8 _dispatch_worker_thread + 328
    4 libsystem_pthread.dylib 0x24d4 _pthread_start + 136
    5 libsystem_pthread.dylib 0x1a10 thread_start + 8

    com.apple.coremedia.sharedRootQueue.47
    0 libsystem_kernel.dylib 0x116c semaphore_timedwait_trap + 8
    1 libdispatch.dylib 0x4918 _dispatch_sema4_timedwait + 64
    2 libdispatch.dylib 0x4f14 _dispatch_semaphore_wait_slow + 76
    3 libdispatch.dylib 0x159b8 _dispatch_worker_thread + 328
    4 libsystem_pthread.dylib 0x24d4 _pthread_start + 136
    5 libsystem_pthread.dylib 0x1a10 thread_start + 8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2a: productionc: crashengineneeds repro infoplatform-iosteam-iostriaged-ios

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions