flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
165.49k stars 27.32k forks source link

Unexpected/surprising behavior due to metrics updates. #124172

Open matthew-carroll opened 1 year ago

matthew-carroll commented 1 year ago

EDIT: I'm updating this ticket after further investigation. I believe I've root caused the issue. I'm leaving my original post down below for reference.

I believe the root cause of this issue is a crossover between two unexpected Flutter behaviors:

  1. The first frame in release mode doesn't know the app's screen size, and therefore builds the widget tree with a size of zero.
  2. ListViews will attempt to build children even when the list has no size.

In the demo code that I linked, the UI happens to start with a ListView that can have infinite children. That ListView is supposed to stop building as soon as it fills the viewport.

The ListView children happen to use AspectRatios, which set the height based on the width. The constraints passed to each list item are (0, 0 < h < infinity), i.e., forcing a width of zero. That zero width, combined with the AspectRatio, forces an overall child size of zero. As a result, the ListView builds children infinitely, because the children have zero size, and they never fill the viewport.

Technically, this could be described as user error. However, this situation is so unexpected, and difficult to track down, that I'm tempted to call this a bug. We spent days trying to figure out what was going on here. I'm not sure what the best alteration would be, but I think something should be done to remove the Flutter footgun in this scenario.


I'm seeing a couple variations of an issue where Flutter UIs never appear. In my team's primary app, we get a white screen that never goes away. In a minimal repro app, we get the Flutter splash screen that never goes away.

Repro steps:

  1. Uninstall any previous version of the given app
  2. flutter clean
  3. flutter pub get
  4. Build and run in RELEASE mode

Flutter version:

Flutter 3.7.9 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 62bd79521d (5 days ago) • 2023-03-30 10:59:36 -0700
Engine • revision ec975089ac
Tools • Dart 2.19.6 • DevTools 2.20.1

For the white screen problem in our main app, we've gotten the problem to repro all the way back into the previous major stable release. But we can't share that code, so we're limited to what's in this ticket.

Test device: Samsung Tab S6

Here's a repository with a minimal Flutter project where this problem happens. There's some Dart code in there that I copied and tore apart from another project. My intuition is that the Dart code isn't relevant.

https://github.com/matthew-carroll/flutter_bug_repro

https://user-images.githubusercontent.com/7259036/229954117-b69d9b8d-4e8a-4fe0-a266-40338a6e4b32.MOV

xvrh commented 1 year ago

It's been reported several times that having the Size(0, 0) behaviour only in release mode is a huge footgun:

https://github.com/flutter/flutter/issues/14113 https://github.com/flutter/flutter/issues/101478 https://github.com/flutter/flutter/issues/102963

Juliotati commented 1 year ago

@matthew-carroll 🤔 This sound like the same issue i've been having recently, but in my case it's on iOS simulator debug mode.

Not sure it's quite the same but this is what happens on my side:

Here's the report i got from "Problem Report for runner":

Incident Identifier: EC7BDDED-0D16-4C6A-8EC3-1E5ED4E0D5E8
CrashReporter Key:   76820792-D041-21D4-E3E6-843330DEC992
Hardware Model:      MacBookPro18,3
Process:             Runner [72044]
Path:                /Users/USER/Library/Developer/CoreSimulator/Devices/23514999-5C83-4E98-BCA8-EC20F4FDDD8A/data/Containers/Bundle/Application/4212085C-66BC-4AE3-A3EF-FE05FDC2D8B9/Runner.app/Runner
Identifier:          MY_BUNDLE_ID
Version:             0.16.5 (77)
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd_sim [70569]
Coalition:           com.apple.CoreSimulator.SimDevice.23514999-5C83-4E98-BCA8-EC20F4FDDD8A [16465]
Responsible Process: SimulatorTrampoline [1544]

Date/Time:           2023-04-07 20:36:21.1114 +0100
Launch Time:         2023-04-07 18:08:44.3045 +0100
OS Version:          macOS 13.3 (22E252)
Release Type:        User
Report Version:      104

Exception Type:  EXC_CRASH (SIGKILL)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: FRONTBOARD 2343432205 
<RBSTerminateContext| domain:10 code:0x8BADF00D explanation:[application<MY_BUNDLE_ID>:72044] failed to terminate gracefully after 5.0s
ProcessVisibility: Unknown
ProcessState: Running
WatchdogEvent: process-exit
WatchdogVisibility: Background
WatchdogCPUStatistics: (
"Elapsed total CPU time (seconds): 577.920 (user 470.690, system 107.230), 93% CPU",
"Elapsed application CPU time (seconds): 1.753, 0% CPU"
) reportType:CrashLog maxTerminationResistance:Interactive>

Additional details from the one above is much Longer:

Problem Details

``` Triggered by Thread: 0 Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x1b17e10dc __psynch_rw_wrlock + 8 1 libsystem_pthread.dylib 0x1b1836bd4 _pthread_rwlock_lock_wait + 80 2 libsystem_pthread.dylib 0x1b1834e70 _pthread_rwlock_lock_slow + 704 3 Flutter 0x112de8cac fml::SyncSwitch::SetSwitch(bool) + 44 4 Flutter 0x112edcf8c flutter::Shell::SetGpuAvailability(flutter::GpuAvailability) + 336 5 Flutter 0x112ac040c -[FlutterEngine setIsGpuDisabled:] + 44 6 Flutter 0x112ac03bc -[FlutterEngine applicationDidEnterBackground:] + 32 7 CoreFoundation 0x10f316ff8 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 140 8 CoreFoundation 0x10f316f1c ___CFXRegistrationPost_block_invoke + 84 9 CoreFoundation 0x10f316424 _CFXRegistrationPost + 404 10 CoreFoundation 0x10f315e10 _CFXNotificationPost + 664 11 Foundation 0x10603109c -[NSNotificationCenter postNotificationName:object:userInfo:] + 88 12 UIKitCore 0x11ce00954 __47-[UIApplication _applicationDidEnterBackground]_block_invoke + 192 13 UIKitCore 0x11c76b36c +[UIViewController _performWithoutDeferringTransitionsAllowingAnimation:actions:] + 132 14 UIKitCore 0x11ce0082c -[UIApplication _applicationDidEnterBackground] + 92 15 UIKitCore 0x11c54edfc __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke_2 + 584 16 UIKitCore 0x11ca1b44c _UIScenePerformActionsWithLifecycleActionMask + 96 17 UIKitCore 0x11c54eb24 __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 188 18 UIKitCore 0x11c54e68c -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 212 19 UIKitCore 0x11c54e97c -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 588 20 UIKitCore 0x11c54e374 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 248 21 UIKitCore 0x11c3c13f4 -[UIScene _invalidate] + 632 22 UIKitCore 0x11d025eac -[UIWindowScene _invalidate] + 144 23 UIKitCore 0x11cdf8b44 -[UIApplication workspace:willDestroyScene:withTransitionContext:completion:] + 176 24 UIKitCore 0x11c957424 -[UIApplicationSceneClientAgent scene:willInvalidateWithEvent:completion:] + 260 25 FrontBoardServices 0x112166e18 -[FBSScene _callOutQueue_agent_willDestroyWithTransitionContext:completion:] + 208 26 FrontBoardServices 0x11218f538 __84-[FBSWorkspaceScenesClient _queue_invalidateScene:withTransitionContext:completion:]_block_invoke_2 + 92 27 FrontBoardServices 0x112172704 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 160 28 FrontBoardServices 0x11218f3d0 __84-[FBSWorkspaceScenesClient _queue_invalidateScene:withTransitionContext:completion:]_block_invoke + 244 29 libdispatch.dylib 0x10acb3708 _dispatch_client_callout + 16 30 libdispatch.dylib 0x10acb7644 _dispatch_block_invoke_direct + 376 31 FrontBoardServices 0x1121acf14 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 44 32 FrontBoardServices 0x1121ace08 -[FBSSerialQueue _targetQueue_performNextIfPossible] + 176 33 FrontBoardServices 0x1121acf48 -[FBSSerialQueue _performNextFromRunLoopSource] + 24 34 CoreFoundation 0x10f345c6c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24 35 CoreFoundation 0x10f345bb4 __CFRunLoopDoSource0 + 172 36 CoreFoundation 0x10f345324 __CFRunLoopDoSources0 + 232 37 CoreFoundation 0x10f33f958 __CFRunLoopRun + 748 38 CoreFoundation 0x10f33f254 CFRunLoopRunSpecific + 584 39 GraphicsServices 0x1113bfc9c GSEventRunModal + 160 40 UIKitCore 0x11cdf6ff0 -[UIApplication _run] + 868 41 UIKitCore 0x11cdfaf3c UIApplicationMain + 124 42 Runner 0x104cc43d0 main + 64 43 dyld_sim 0x10504d514 start_sim + 20 44 dyld 0x105215f28 start + 2236 Thread 1:: com.apple.uikit.eventfetch-thread 0 libsystem_kernel.dylib 0x1b17dc190 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x1b17ed258 mach_msg2_internal + 76 2 libsystem_kernel.dylib 0x1b17e4398 mach_msg_overwrite + 540 3 libsystem_kernel.dylib 0x1b17dc500 mach_msg + 20 4 CoreFoundation 0x10f3454a8 __CFRunLoopServiceMachPort + 156 5 CoreFoundation 0x10f33fad4 __CFRunLoopRun + 1128 6 CoreFoundation 0x10f33f254 CFRunLoopRunSpecific + 584 7 Foundation 0x1060774bc -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 208 8 Foundation 0x1060776e0 -[NSRunLoop(NSRunLoop) runUntilDate:] + 60 9 UIKitCore 0x11ce96714 -[UIEventFetcher threadMain] + 404 10 Foundation 0x10609cde0 __NSThread__start__ + 704 11 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 12 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 2:: io.flutter.1.ui 0 libsystem_kernel.dylib 0x1b17dc190 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x1b17ed258 mach_msg2_internal + 76 2 libsystem_kernel.dylib 0x1b17e4398 mach_msg_overwrite + 540 3 libsystem_kernel.dylib 0x1b17dc500 mach_msg + 20 4 CoreFoundation 0x10f3454a8 __CFRunLoopServiceMachPort + 156 5 CoreFoundation 0x10f33fad4 __CFRunLoopRun + 1128 6 CoreFoundation 0x10f33f254 CFRunLoopRunSpecific + 584 7 Flutter 0x112dec260 fml::MessageLoopDarwin::Run() + 88 8 Flutter 0x112de5790 fml::MessageLoopImpl::DoRun() + 40 9 Flutter 0x112deaf3c void* std::__1::__thread_proxy>, fml::Thread::Thread(std::__1::function const&, fml::Thread::ThreadConfig const&)::$_0>>(void*) + 208 10 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 11 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 3:: io.flutter.1.raster 0 libsystem_kernel.dylib 0x1b17e112c __psynch_rw_rdlock + 8 1 libsystem_pthread.dylib 0x1b1836bcc _pthread_rwlock_lock_wait + 72 2 libsystem_pthread.dylib 0x1b1834e70 _pthread_rwlock_lock_slow + 704 3 Flutter 0x112de8c3c fml::SyncSwitch::Execute(fml::SyncSwitch::Handlers const&) const + 44 4 Flutter 0x112eceaec flutter::Rasterizer::DrawToSurface(flutter::FrameTimingsRecorder&, flutter::LayerTree&) + 264 5 Flutter 0x112ecfe78 flutter::Rasterizer::DoDraw(std::__1::unique_ptr>, std::__1::unique_ptr>) + 120 6 Flutter 0x112ed1290 std::__1::__function::__func>, std::__1::function)::$_2, std::__1::allocator>, std::__1::function)::$_2>, void (std::__1::unique_ptr>)>::operator()(std::__1::unique_ptr>&&) + 180 7 Flutter 0x112ecf278 flutter::Pipeline::Consume(std::__1::function>)> const&) + 176 8 Flutter 0x112ecec9c flutter::Rasterizer::Draw(std::__1::shared_ptr>, std::__1::function) + 152 9 Flutter 0x112ee4fb4 std::__1::__function::__func>)::$_13>, std::__1::allocator>)::$_13>>, void ()>::operator()() + 152 10 Flutter 0x112de5878 fml::MessageLoopImpl::FlushTasks(fml::FlushType) + 152 11 Flutter 0x112dec130 fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*) + 32 12 CoreFoundation 0x10f34631c __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28 13 CoreFoundation 0x10f345fd8 __CFRunLoopDoTimer + 868 14 CoreFoundation 0x10f3456c4 __CFRunLoopDoTimers + 284 15 CoreFoundation 0x10f33fd58 __CFRunLoopRun + 1772 16 CoreFoundation 0x10f33f254 CFRunLoopRunSpecific + 584 17 Flutter 0x112dec260 fml::MessageLoopDarwin::Run() + 88 18 Flutter 0x112de5790 fml::MessageLoopImpl::DoRun() + 40 19 Flutter 0x112deaf3c void* std::__1::__thread_proxy>, fml::Thread::Thread(std::__1::function const&, fml::Thread::ThreadConfig const&)::$_0>>(void*) + 208 20 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 21 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 4:: io.flutter.1.io 0 Flutter 0x112b3fe98 SkMipmap::Build(SkPixmap const&, SkDiscardableMemory* (*)(unsigned long), bool) + 1880 1 Flutter 0x112c6abb0 GrProxyProvider::createMippedProxyFromBitmap(SkBitmap const&, SkBudgeted) + 140 2 Flutter 0x112c6a8fc GrProxyProvider::createProxyFromBitmap(SkBitmap const&, GrMipmapped, SkBackingFit, SkBudgeted) + 480 3 Flutter 0x112cbac84 make_bmp_proxy(GrProxyProvider*, SkBitmap const&, GrColorType, GrMipmapped, SkBackingFit, SkBudgeted) + 248 4 Flutter 0x112cbad70 GrMakeUncachedBitmapProxyView(GrRecordingContext*, SkBitmap const&, GrMipmapped, SkBackingFit, SkBudgeted) + 176 5 Flutter 0x112cbde08 SkImage::MakeCrossContextFromPixmap(GrDirectContext*, SkPixmap const&, bool, bool) + 372 6 Flutter 0x112fd6824 std::__1::__function::__func, std::__1::shared_ptr const&)::$_4, std::__1::allocator, std::__1::shared_ptr const&)::$_4>, void ()>::operator()() + 300 7 Flutter 0x112de8c58 fml::SyncSwitch::Execute(fml::SyncSwitch::Handlers const&) const + 72 8 Flutter 0x112fd5ce4 flutter::MultiFrameCodec::State::GetNextFrameImage(fml::WeakPtr, std::__1::shared_ptr const&) + 828 9 Flutter 0x112fd5eb4 flutter::MultiFrameCodec::State::GetNextFrameAndInvokeCallback(std::__1::unique_ptr>, fml::RefPtr, fml::WeakPtr, fml::RefPtr>, std::__1::shared_ptr const&, unsigned long) + 120 10 Flutter 0x112fd70e4 std::__1::__function::__func, std::__1::allocator>, void ()>::operator()() + 200 11 Flutter 0x112de5878 fml::MessageLoopImpl::FlushTasks(fml::FlushType) + 152 12 Flutter 0x112dec130 fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*) + 32 13 CoreFoundation 0x10f34631c __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28 14 CoreFoundation 0x10f345fd8 __CFRunLoopDoTimer + 868 15 CoreFoundation 0x10f3456c4 __CFRunLoopDoTimers + 284 16 CoreFoundation 0x10f33fd58 __CFRunLoopRun + 1772 17 CoreFoundation 0x10f33f254 CFRunLoopRunSpecific + 584 18 Flutter 0x112dec260 fml::MessageLoopDarwin::Run() + 88 19 Flutter 0x112de5790 fml::MessageLoopImpl::DoRun() + 40 20 Flutter 0x112deaf3c void* std::__1::__thread_proxy>, fml::Thread::Thread(std::__1::function const&, fml::Thread::ThreadConfig const&)::$_0>>(void*) + 208 21 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 22 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 5:: io.flutter.1.profiler 0 libsystem_kernel.dylib 0x1b17dc190 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x1b17ed258 mach_msg2_internal + 76 2 libsystem_kernel.dylib 0x1b17e4398 mach_msg_overwrite + 540 3 libsystem_kernel.dylib 0x1b17dc500 mach_msg + 20 4 CoreFoundation 0x10f3454a8 __CFRunLoopServiceMachPort + 156 5 CoreFoundation 0x10f33fad4 __CFRunLoopRun + 1128 6 CoreFoundation 0x10f33f254 CFRunLoopRunSpecific + 584 7 Flutter 0x112dec260 fml::MessageLoopDarwin::Run() + 88 8 Flutter 0x112de5790 fml::MessageLoopImpl::DoRun() + 40 9 Flutter 0x112deaf3c void* std::__1::__thread_proxy>, fml::Thread::Thread(std::__1::function const&, fml::Thread::ThreadConfig const&)::$_0>>(void*) + 208 10 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 11 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 6:: io.worker.1 0 libsystem_kernel.dylib 0x1b17df694 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1b18389e4 _pthread_cond_wait + 1220 2 libc++.1.dylib 0x1050f29f4 std::__1::condition_variable::wait(std::__1::unique_lock&) + 24 3 Flutter 0x112de25ec fml::ConcurrentMessageLoop::WorkerMain() + 144 4 Flutter 0x112de2e10 void* std::__1::__thread_proxy>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 184 5 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 6 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 7:: io.worker.2 0 libsystem_kernel.dylib 0x1b17df694 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1b18389e4 _pthread_cond_wait + 1220 2 libc++.1.dylib 0x1050f29f4 std::__1::condition_variable::wait(std::__1::unique_lock&) + 24 3 Flutter 0x112de25ec fml::ConcurrentMessageLoop::WorkerMain() + 144 4 Flutter 0x112de2e10 void* std::__1::__thread_proxy>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 184 5 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 6 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 8:: io.worker.3 0 libsystem_kernel.dylib 0x1b17df694 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1b18389e4 _pthread_cond_wait + 1220 2 libc++.1.dylib 0x1050f29f4 std::__1::condition_variable::wait(std::__1::unique_lock&) + 24 3 Flutter 0x112de25ec fml::ConcurrentMessageLoop::WorkerMain() + 144 4 Flutter 0x112de2e10 void* std::__1::__thread_proxy>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 184 5 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 6 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 9:: io.worker.4 0 libsystem_kernel.dylib 0x1b17df694 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1b18389e4 _pthread_cond_wait + 1220 2 libc++.1.dylib 0x1050f29f4 std::__1::condition_variable::wait(std::__1::unique_lock&) + 24 3 Flutter 0x112de25ec fml::ConcurrentMessageLoop::WorkerMain() + 144 4 Flutter 0x112de2e10 void* std::__1::__thread_proxy>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 184 5 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 6 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 10:: io.worker.5 0 libsystem_kernel.dylib 0x1b17df694 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1b18389e4 _pthread_cond_wait + 1220 2 libc++.1.dylib 0x1050f29f4 std::__1::condition_variable::wait(std::__1::unique_lock&) + 24 3 Flutter 0x112de25ec fml::ConcurrentMessageLoop::WorkerMain() + 144 4 Flutter 0x112de2e10 void* std::__1::__thread_proxy>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 184 5 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 6 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 11:: io.worker.6 0 libsystem_kernel.dylib 0x1b17df694 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1b18389e4 _pthread_cond_wait + 1220 2 libc++.1.dylib 0x1050f29f4 std::__1::condition_variable::wait(std::__1::unique_lock&) + 24 3 Flutter 0x112de25ec fml::ConcurrentMessageLoop::WorkerMain() + 144 4 Flutter 0x112de2e10 void* std::__1::__thread_proxy>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 184 5 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 6 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 12:: io.worker.7 0 libsystem_kernel.dylib 0x1b17df694 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1b18389e4 _pthread_cond_wait + 1220 2 libc++.1.dylib 0x1050f29f4 std::__1::condition_variable::wait(std::__1::unique_lock&) + 24 3 Flutter 0x112de25ec fml::ConcurrentMessageLoop::WorkerMain() + 144 4 Flutter 0x112de2e10 void* std::__1::__thread_proxy>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 184 5 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 6 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 13:: io.worker.8 0 libsystem_kernel.dylib 0x1b17df694 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1b18389e4 _pthread_cond_wait + 1220 2 libc++.1.dylib 0x1050f29f4 std::__1::condition_variable::wait(std::__1::unique_lock&) + 24 3 Flutter 0x112de25ec fml::ConcurrentMessageLoop::WorkerMain() + 144 4 Flutter 0x112de2e10 void* std::__1::__thread_proxy>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 184 5 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 6 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 14:: io.worker.9 0 libsystem_kernel.dylib 0x1b17df694 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1b18389e4 _pthread_cond_wait + 1220 2 libc++.1.dylib 0x1050f29f4 std::__1::condition_variable::wait(std::__1::unique_lock&) + 24 3 Flutter 0x112de25ec fml::ConcurrentMessageLoop::WorkerMain() + 144 4 Flutter 0x112de2e10 void* std::__1::__thread_proxy>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 184 5 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 6 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 15:: io.worker.10 0 libsystem_kernel.dylib 0x1b17df694 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1b18389e4 _pthread_cond_wait + 1220 2 libc++.1.dylib 0x1050f29f4 std::__1::condition_variable::wait(std::__1::unique_lock&) + 24 3 Flutter 0x112de25ec fml::ConcurrentMessageLoop::WorkerMain() + 144 4 Flutter 0x112de2e10 void* std::__1::__thread_proxy>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 184 5 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 6 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 16:: dart:io EventHandler 0 libsystem_kernel.dylib 0x1b17e1d0c kevent + 8 1 Flutter 0x112ff4560 dart::bin::EventHandlerImplementation::EventHandlerEntry(unsigned long) + 328 2 Flutter 0x113013380 dart::bin::ThreadStart(void*) + 44 3 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 4 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 17:: Dart Profiler ThreadInterrupter 0 libsystem_kernel.dylib 0x1b17df694 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1b1838a10 _pthread_cond_wait + 1264 2 Flutter 0x11319cb80 dart::Monitor::WaitMicros(long long) + 128 3 Flutter 0x113214a50 dart::ThreadInterrupter::ThreadMain(unsigned long) + 404 4 Flutter 0x11319c248 dart::ThreadStart(void*) + 164 5 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 6 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 18:: Dart Profiler SampleBlockProcessor 0 libsystem_kernel.dylib 0x1b17df694 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1b1838a10 _pthread_cond_wait + 1264 2 Flutter 0x11319cb80 dart::Monitor::WaitMicros(long long) + 128 3 Flutter 0x1131a1efc dart::SampleBlockProcessor::ThreadMain(unsigned long) + 188 4 Flutter 0x11319c248 dart::ThreadStart(void*) + 164 5 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 6 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 19:: com.apple.NSURLConnectionLoader 0 libsystem_kernel.dylib 0x1b17dc190 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x1b17ed258 mach_msg2_internal + 76 2 libsystem_kernel.dylib 0x1b17e4398 mach_msg_overwrite + 540 3 libsystem_kernel.dylib 0x1b17dc500 mach_msg + 20 4 CoreFoundation 0x10f3454a8 __CFRunLoopServiceMachPort + 156 5 CoreFoundation 0x10f33fad4 __CFRunLoopRun + 1128 6 CoreFoundation 0x10f33f254 CFRunLoopRunSpecific + 584 7 CFNetwork 0x11048420c 0x110278000 + 2146828 8 Foundation 0x10609cde0 __NSThread__start__ + 704 9 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 10 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 20:: Dispatch queue: com.google.firebase.firestore.rpc 0 libsystem_kernel.dylib 0x1b17e40a4 poll + 8 1 grpc 0x10cff6db4 pollset_work(grpc_pollset*, grpc_pollset_worker**, long long) + 1444 (ev_poll_posix.cc:1026) 2 grpc 0x10cffa908 pollset_work(grpc_pollset*, grpc_pollset_worker**, long long) + 124 (ev_posix.cc:323) 3 grpc 0x10d152a64 grpc_pollset_work(grpc_pollset*, grpc_pollset_worker**, long long) + 52 (pollset.cc:48) 4 grpc 0x10cfa925c cq_next(grpc_completion_queue*, gpr_timespec, void*) + 876 (completion_queue.cc:1047) 5 grpc 0x10cfa85f4 grpc_completion_queue_next + 68 (completion_queue.cc:1126) 6 grpcpp 0x10b38af0c grpc::CompletionQueue::AsyncNextInternal(void**, bool*, gpr_timespec) + 76 (completion_queue_cc.cc:146) 7 FirebaseFirestore 0x107a04764 grpc::CompletionQueue::Next(void**, bool*) + 116 (completion_queue.h:185) 8 FirebaseFirestore 0x107a04644 firebase::firestore::remote::Datastore::PollGrpcQueue() + 184 (datastore.cc:145) 9 FirebaseFirestore 0x107a0b134 firebase::firestore::remote::Datastore::Start()::$_0::operator()() const + 28 (datastore.cc:118) 10 FirebaseFirestore 0x107a0b10c decltype(std::declval()()) std::__1::__invoke[abi:v15006](firebase::firestore::remote::Datastore::Start()::$_0&) + 24 (invoke.h:394) 11 FirebaseFirestore 0x107a0b0c4 void std::__1::__invoke_void_return_wrapper::__call(firebase::firestore::remote::Datastore::Start()::$_0&) + 24 (invoke.h:479) 12 FirebaseFirestore 0x107a0b0a0 std::__1::__function::__alloc_func, void ()>::operator()[abi:v15006]() + 28 (function.h:185) 13 FirebaseFirestore 0x107a09f14 std::__1::__function::__func, void ()>::operator()() + 28 (function.h:359) 14 FirebaseFirestore 0x107992f24 std::__1::__function::__value_func::operator()[abi:v15006]() const + 68 (function.h:512) 15 FirebaseFirestore 0x1079905bc std::__1::function::operator()() const + 24 (function.h:1197) 16 FirebaseFirestore 0x107d980a4 firebase::firestore::util::Task::ExecuteAndRelease() + 180 (task.cc:102) 17 FirebaseFirestore 0x107a6f8b8 firebase::firestore::util::ExecutorLibdispatch::InvokeAsync(void*) + 32 (executor_libdispatch.mm:237) 18 libdispatch.dylib 0x10acb3708 _dispatch_client_callout + 16 19 libdispatch.dylib 0x10acbb77c _dispatch_lane_serial_drain + 776 20 libdispatch.dylib 0x10acbc3dc _dispatch_lane_invoke + 392 21 libdispatch.dylib 0x10acc8608 _dispatch_workloop_worker_thread + 768 22 libsystem_pthread.dylib 0x1b1834878 _pthread_wqthread + 284 23 libsystem_pthread.dylib 0x1b183363c start_wqthread + 8 Thread 21:: com.apple.coreaudio.AQClient 0 libsystem_kernel.dylib 0x1b17dc190 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x1b17ed258 mach_msg2_internal + 76 2 libsystem_kernel.dylib 0x1b17e4398 mach_msg_overwrite + 540 3 libsystem_kernel.dylib 0x1b17dc500 mach_msg + 20 4 CoreFoundation 0x10f3454a8 __CFRunLoopServiceMachPort + 156 5 CoreFoundation 0x10f33fad4 __CFRunLoopRun + 1128 6 CoreFoundation 0x10f33f254 CFRunLoopRunSpecific + 584 7 AudioToolbox 0x12102b538 CADeprecated::GenericRunLoopThread::Entry(void*) + 156 8 libAudioToolboxUtility.dylib 0x11a383fd0 CADeprecated::CAPThread::Entry(CADeprecated::CAPThread*) + 88 9 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 10 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 22:: caulk.messenger.shared:high 0 libsystem_kernel.dylib 0x1b17dc10c semaphore_wait_trap + 8 1 caulk 0x11a655874 caulk::semaphore::timed_wait(double) + 208 2 caulk 0x11a65be58 caulk::concurrent::details::worker_thread::run() + 32 3 caulk 0x11a65becc void* caulk::thread_proxy>>(void*) + 48 4 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 5 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 23:: com.apple.audio.IOThread.client 0 libsystem_kernel.dylib 0x1b17dc190 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x1b17ed258 mach_msg2_internal + 76 2 libsystem_kernel.dylib 0x1b17e4398 mach_msg_overwrite + 540 3 libsystem_kernel.dylib 0x1b17dc500 mach_msg + 20 4 CoreAudio 0x121a05964 HALC_ProxyIOContext::IOWorkLoop() + 4172 5 CoreAudio 0x121a0428c invocation function for block in HALC_ProxyIOContext::HALC_ProxyIOContext(unsigned int, unsigned int) + 112 6 CoreAudio 0x121acf6f8 HALB_IOThread::Entry(void*) + 80 7 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 8 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 24: 0 libsystem_kernel.dylib 0x1b17df694 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1b18389e4 _pthread_cond_wait + 1220 2 grpc 0x10d2b0ab4 gpr_cv_wait + 104 (sync_posix.cc:126) 3 grpc 0x10cfff178 grpc_core::Executor::ThreadMain(void*) + 424 (executor.cc:238) 4 grpc 0x10d2c6024 grpc_core::(anonymous namespace)::ThreadInternalsPosix::ThreadInternalsPosix(char const*, void (*)(void*), void*, bool*, grpc_core::Thread::Options const&)::'lambda'(void*)::operator()(void*) const + 256 (thd_posix.cc:140) 5 grpc 0x10d2c5f18 grpc_core::(anonymous namespace)::ThreadInternalsPosix::ThreadInternalsPosix(char const*, void (*)(void*), void*, bool*, grpc_core::Thread::Options const&)::'lambda'(void*)::__invoke(void*) + 28 (thd_posix.cc:110) 6 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 7 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 25: 0 libsystem_kernel.dylib 0x1b17df694 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1b18389e4 _pthread_cond_wait + 1220 2 grpc 0x10d2b0ab4 gpr_cv_wait + 104 (sync_posix.cc:126) 3 grpc 0x10cfff178 grpc_core::Executor::ThreadMain(void*) + 424 (executor.cc:238) 4 grpc 0x10d2c6024 grpc_core::(anonymous namespace)::ThreadInternalsPosix::ThreadInternalsPosix(char const*, void (*)(void*), void*, bool*, grpc_core::Thread::Options const&)::'lambda'(void*)::operator()(void*) const + 256 (thd_posix.cc:140) 5 grpc 0x10d2c5f18 grpc_core::(anonymous namespace)::ThreadInternalsPosix::ThreadInternalsPosix(char const*, void (*)(void*), void*, bool*, grpc_core::Thread::Options const&)::'lambda'(void*)::__invoke(void*) + 28 (thd_posix.cc:110) 6 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 7 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 26: 0 libsystem_kernel.dylib 0x1b17df694 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1b18389e4 _pthread_cond_wait + 1220 2 grpc 0x10d2b0ab4 gpr_cv_wait + 104 (sync_posix.cc:126) 3 grpc 0x10d2cdae4 wait_until(long long) + 460 (timer_manager.cc:200) 4 grpc 0x10d2cd6ac timer_main_loop() + 188 (timer_manager.cc:255) 5 grpc 0x10d2cd5ac timer_thread(void*) + 32 (timer_manager.cc:284) 6 grpc 0x10d2c6024 grpc_core::(anonymous namespace)::ThreadInternalsPosix::ThreadInternalsPosix(char const*, void (*)(void*), void*, bool*, grpc_core::Thread::Options const&)::'lambda'(void*)::operator()(void*) const + 256 (thd_posix.cc:140) 7 grpc 0x10d2c5f18 grpc_core::(anonymous namespace)::ThreadInternalsPosix::ThreadInternalsPosix(char const*, void (*)(void*), void*, bool*, grpc_core::Thread::Options const&)::'lambda'(void*)::__invoke(void*) + 28 (thd_posix.cc:110) 8 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 9 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 27:: com.apple.coremedia.imagequeue.coreanimation.common 0 libsystem_kernel.dylib 0x1b17df694 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1b18389e4 _pthread_cond_wait + 1220 2 CoreMedia 0x11b93cb0c WaitOnCondition + 16 3 CoreMedia 0x11b93c7b0 FigSemaphoreWaitRelative + 160 4 MediaToolbox 0x1193c6d08 piqca_SharedPollingThread + 216 5 CoreMedia 0x11b93d448 figThreadMain + 244 6 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 7 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 28: 0 libsystem_kernel.dylib 0x1b17df694 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1b18389e4 _pthread_cond_wait + 1220 2 grpc 0x10d2b0b04 gpr_cv_wait + 184 (sync_posix.cc:140) 3 grpc 0x10d2cdae4 wait_until(long long) + 460 (timer_manager.cc:200) 4 grpc 0x10d2cd6ac timer_main_loop() + 188 (timer_manager.cc:255) 5 grpc 0x10d2cd5ac timer_thread(void*) + 32 (timer_manager.cc:284) 6 grpc 0x10d2c6024 grpc_core::(anonymous namespace)::ThreadInternalsPosix::ThreadInternalsPosix(char const*, void (*)(void*), void*, bool*, grpc_core::Thread::Options const&)::'lambda'(void*)::operator()(void*) const + 256 (thd_posix.cc:140) 7 grpc 0x10d2c5f18 grpc_core::(anonymous namespace)::ThreadInternalsPosix::ThreadInternalsPosix(char const*, void (*)(void*), void*, bool*, grpc_core::Thread::Options const&)::'lambda'(void*)::__invoke(void*) + 28 (thd_posix.cc:110) 8 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 9 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 29:: com.apple.coremedia.audioqueue.source 0 libsystem_kernel.dylib 0x1b17df694 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1b18389e4 _pthread_cond_wait + 1220 2 CoreMedia 0x11b93cb0c WaitOnCondition + 16 3 CoreMedia 0x11b93c7b0 FigSemaphoreWaitRelative + 160 4 MediaToolbox 0x119218ed4 faq_enqueueSourceDataThread + 28 5 CoreMedia 0x11b93d448 figThreadMain + 244 6 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 7 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 30:: com.apple.coremedia.audioqueue.source 0 libsystem_kernel.dylib 0x1b17df694 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1b18389e4 _pthread_cond_wait + 1220 2 CoreMedia 0x11b93cb0c WaitOnCondition + 16 3 CoreMedia 0x11b93c7b0 FigSemaphoreWaitRelative + 160 4 MediaToolbox 0x119218ed4 faq_enqueueSourceDataThread + 28 5 CoreMedia 0x11b93d448 figThreadMain + 244 6 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 7 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 31:: com.apple.coremedia.audiomentor 0 libsystem_kernel.dylib 0x1b17df694 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1b18389e4 _pthread_cond_wait + 1220 2 CoreMedia 0x11b93cb0c WaitOnCondition + 16 3 CoreMedia 0x11b93c7b0 FigSemaphoreWaitRelative + 160 4 MediaToolbox 0x1192f6194 audioMentorThread + 7384 5 CoreMedia 0x11b93d448 figThreadMain + 244 6 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 7 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 32:: com.apple.coremedia.audiomentor 0 libsystem_kernel.dylib 0x1b17df694 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1b18389e4 _pthread_cond_wait + 1220 2 CoreMedia 0x11b93cb0c WaitOnCondition + 16 3 CoreMedia 0x11b93c7b0 FigSemaphoreWaitRelative + 160 4 MediaToolbox 0x1192f6194 audioMentorThread + 7384 5 CoreMedia 0x11b93d448 figThreadMain + 244 6 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 7 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 33:: com.apple.coremedia.audioqueue.source 0 libsystem_kernel.dylib 0x1b17df694 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1b18389e4 _pthread_cond_wait + 1220 2 CoreMedia 0x11b93cb0c WaitOnCondition + 16 3 CoreMedia 0x11b93c7b0 FigSemaphoreWaitRelative + 160 4 MediaToolbox 0x119218ed4 faq_enqueueSourceDataThread + 28 5 CoreMedia 0x11b93d448 figThreadMain + 244 6 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 7 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 34:: com.apple.coremedia.audiomentor 0 libsystem_kernel.dylib 0x1b17df694 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1b18389e4 _pthread_cond_wait + 1220 2 CoreMedia 0x11b93cb0c WaitOnCondition + 16 3 CoreMedia 0x11b93c7b0 FigSemaphoreWaitRelative + 160 4 MediaToolbox 0x1192f560c audioMentorThread + 4432 5 CoreMedia 0x11b93d448 figThreadMain + 244 6 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 7 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 35:: AQConverterThread 0 libsystem_kernel.dylib 0x1b17df694 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1b18389e4 _pthread_cond_wait + 1220 2 libAudioToolboxUtility.dylib 0x11a3a1c8c CADeprecated::CAGuard::Wait() + 56 3 AudioToolbox 0x120fff9fc AQConverterManager::AQConverterThread::ConverterThreadEntry(void*) + 696 4 libAudioToolboxUtility.dylib 0x11a383fd0 CADeprecated::CAPThread::Entry(CADeprecated::CAPThread*) + 88 5 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 6 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 36:: com.apple.coremedia.audioqueue.source 0 libsystem_kernel.dylib 0x1b17df694 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1b18389e4 _pthread_cond_wait + 1220 2 CoreMedia 0x11b93cb0c WaitOnCondition + 16 3 CoreMedia 0x11b93c7b0 FigSemaphoreWaitRelative + 160 4 MediaToolbox 0x119218ed4 faq_enqueueSourceDataThread + 28 5 CoreMedia 0x11b93d448 figThreadMain + 244 6 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 7 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 37:: com.apple.coremedia.audiomentor 0 libsystem_kernel.dylib 0x1b17df694 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1b18389e4 _pthread_cond_wait + 1220 2 CoreMedia 0x11b93cb0c WaitOnCondition + 16 3 CoreMedia 0x11b93c7b0 FigSemaphoreWaitRelative + 160 4 MediaToolbox 0x1192f6194 audioMentorThread + 7384 5 CoreMedia 0x11b93d448 figThreadMain + 244 6 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 7 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 38:: com.apple.coremedia.audioqueue.source 0 libsystem_kernel.dylib 0x1b17df694 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1b18389e4 _pthread_cond_wait + 1220 2 CoreMedia 0x11b93cb0c WaitOnCondition + 16 3 CoreMedia 0x11b93c7b0 FigSemaphoreWaitRelative + 160 4 MediaToolbox 0x119218ed4 faq_enqueueSourceDataThread + 28 5 CoreMedia 0x11b93d448 figThreadMain + 244 6 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 7 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 39:: com.apple.coremedia.audiomentor 0 libsystem_kernel.dylib 0x1b17df694 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1b18389e4 _pthread_cond_wait + 1220 2 CoreMedia 0x11b93cb0c WaitOnCondition + 16 3 CoreMedia 0x11b93c7b0 FigSemaphoreWaitRelative + 160 4 MediaToolbox 0x1192f6194 audioMentorThread + 7384 5 CoreMedia 0x11b93d448 figThreadMain + 244 6 libsystem_pthread.dylib 0x1b1838428 _pthread_start + 116 7 libsystem_pthread.dylib 0x1b1833648 thread_start + 8 Thread 40:: Dispatch queue: com.google.fira.worker 0 libsystem_kernel.dylib 0x1b17ddd48 kevent_id + 8 1 libdispatch.dylib 0x10acd8a94 _dispatch_kq_poll + 216 2 libdispatch.dylib 0x10acd9580 _dispatch_event_loop_wait_for_ownership + 540 3 libdispatch.dylib 0x10acc41bc __DISPATCH_WAIT_FOR_QUEUE__ + 364 4 libdispatch.dylib 0x10acc3cd8 _dispatch_sync_f_slow + 160 5 Runner 0x104d008e8 -[APMIdentity appleConsentStatus] + 112 6 Runner 0x104d1a234 APMUpdateConsentSignalsAndIdentifiers + 264 7 Runner 0x104d20388 -[APMMeasurement(Event) createRawEventMetadataWithUserAttributes:] + 1596 8 Runner 0x104d225b4 -[APMMeasurement(Event) writeEvent:isPublicEvent:isRealtime:] + 768 9 Runner 0x104d1fd08 __57-[APMMeasurement(Event) writeFilteredEventOnWorkerQueue:]_block_invoke + 604 10 Runner 0x104d72a80 -[APMSqliteStore performTransactionWithError:block:] + 176 11 Runner 0x104cde850 -[APMDatabase performTransaction:] + 48 12 Runner 0x104d1fa80 -[APMMeasurement(Event) writeFilteredEventOnWorkerQueue:] + 264 13 Runner 0x104d1f6c8 -[APMMeasurement(Event) writeEventOnWorkerQueue:] + 1444 14 Runner 0x104d1efb4 -[APMMeasurement(Event) handleEventOnWorkerQueue:] + 540 15 Runner 0x104d130a8 -[APMMeasurement logEventOnWorkerQueue:notifyEventListeners:] + 76 16 Runner 0x104d13058 -[APMMeasurement logEventOnWorkerQueueWithOrigin:isPublicEvent:name:parameters:timestamp:enabled:ignoreEnabled:ignoreInterceptor:interceptor:addedScreenParameters:] + 708 17 Runner 0x104d12cec __151-[APMMeasurement logEventWithOrigin:isPublicEvent:name:parameters:timestamp:enabled:ignoreEnabled:ignoreInterceptor:interceptor:addedScreenParameters:]_block_invoke + 68 18 Runner 0x104d67ec8 __51-[APMScheduler scheduleOnWorkerQueueBlockID:block:]_block_invoke + 44 19 libdispatch.dylib 0x10acb1ee4 _dispatch_call_block_and_release + 24 20 libdispatch.dylib 0x10acb3708 _dispatch_client_callout + 16 21 libdispatch.dylib 0x10acbb77c _dispatch_lane_serial_drain + 776 22 libdispatch.dylib 0x10acbc3dc _dispatch_lane_invoke + 392 23 libdispatch.dylib 0x10acc8608 _dispatch_workloop_worker_thread + 768 24 libsystem_pthread.dylib 0x1b1834878 _pthread_wqthread + 284 25 libsystem_pthread.dylib 0x1b183363c start_wqthread + 8 Thread 41: 0 libsystem_pthread.dylib 0x1b1833634 start_wqthread + 0 Thread 42: 0 libsystem_pthread.dylib 0x1b1833634 start_wqthread + 0 Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000004 x1: 0x0000000000000000 x2: 0xffffffff06bc5900 x3: 0x0000000006bc5b00 x4: 0x0000000000000020 x5: 0x0000000000041c00 x6: 0x0000000000000000 x7: 0x0000000000000000 x8: 0x0000000000000000 x9: 0x06bc5b0106bc5b80 x10: 0x0000000006bc5b01 x11: 0x0000000006bc5b00 x12: 0x0000000006bc5b00 x13: 0x0000000000000000 x14: 0x0000000000000000 x15: 0xffffffffffffffff x16: 0x0000000000000133 x17: 0x0000000112ac03e0 x18: 0x0000000000000000 x19: 0x00006000016c0278 x20: 0xffffffff06bc5900 x21: 0x06bc5b0006bc5c85 x22: 0x0000000000000000 x23: 0x0000000006bc5b00 x24: 0x00000001052ac320 x25: 0x0000000000000001 x26: 0x0000000000000000 x27: 0x0000000000000000 x28: 0x06bc5b0106bc5b80 fp: 0x000000016b13b790 lr: 0x00000001b1836bd4 sp: 0x000000016b13b760 pc: 0x00000001b17e10dc cpsr: 0x60001000 far: 0x00000001078dd3d0 esr: 0x56000080 Address size fault ```

matthew-carroll commented 1 year ago

@Juliotati if you think it's the same issue that I described, you can confirm that by checking your layout size in your top level build() method. If it's zero, return a const SizedBox() for that frame. The frame after that will have non-zero size.

If that fixes your issue, then it's the same as mine. If it doesn't fix your issue, then you're probably dealing with something else.

flutter-triage-bot[bot] commented 1 year ago

This issue is marked P1 but has had no recent status updates.

The P1 label indicates high-priority issues that are at the top of the work list. This is the highest priority level a bug can have if it isn't affecting a top-tier customer or breaking the build. Bugs marked P1 are generally actively being worked on unless the assignee is dealing with a P0 bug (or another P1 bug). Issues at this level should be resolved in a matter of months and should have monthly updates on GitHub.

Please consider where this bug really falls in our current priorities, and label it or assign it accordingly. This allows people to have a clearer picture of what work is actually planned. Thanks!

flutter-triage-bot[bot] commented 1 year ago

The triaged-android label is irrelevant if there is no team-android label or fyi-android label.

chinmaygarde commented 1 year ago

Triage: Tried to take a quick stab at rewording the issue title. Following up with the framework folks to get some meaningful logging/error handling.

dnfield commented 1 year ago

See discussion at https://github.com/flutter/flutter/issues/70147