Repository navigation
iOS 27 app occasionally crashes on launch #190307
Description
Activity
- moved this to Not started in Apple release: Xcode, iOS, macOS
on Jul 30, 2026 Possibly a bug in the JIT (or GC) given that it SIGBUSes with a stack trace like this - which means JIT compiled code.
Thread 18 name: DartWorker Thread 18 Crashed: 0 ??? 0x1178000c4 ??? 1 ??? 0x116e7fb04 ??? 2 ??? 0x116e7f698 ??? 3 ??? 0x116e7e848 ??? 4 ??? 0x116e76020 ??? 5 ??? 0x116e75ccc ??? 6 ??? 0x10caa75f4 ??? 7 ??? 0x10caf484c ??? 8 ??? 0x10caf43f0 ??? 9 ??? 0x10caf3e78 ??? 10 ??? 0x10caf37e8 ??? 11 ??? 0x10caf32a0 ??? 12 ??? 0x10caf2e48 ???@mraleph "Possibly a bug in the JIT (or GC)" - does that mean you think it's an iOS issue rather than something on either Flutter or Dart's side of things? Do you think there's any way to fix / investigate further?
@vashworth no, I mean it's a possible bug in Dart VMs JIT or GC. Though hard to say without debugging further.
I have been trying to repro it today using my iPhone 16e (2025), running iOS 27, XCode 27 and flutter HEAD of main branch. Unfortunately, it did not crash a single time after 72 iterations.
We'll need some way to reproduce this to debug :-/
Actually looking at the stack - it is extremely similar to #184254 (comment) so I am wondering if it is the same type of issue (e.g. JIT workaround did not trigger properly for some reason, for example because of some other race in LLDB).
Can you try to repro the bug - but modify LLDB script and Dart sources (will require engine rebuild):
diff --git a/packages/flutter_tools/lib/src/ios/lldb.dart b/packages/flutter_tools/lib/src/ios/lldb.dart index 31f24abbdff..31aa2d1ed49 100644 --- a/packages/flutter_tools/lib/src/ios/lldb.dart +++ b/packages/flutter_tools/lib/src/ios/lldb.dart @@ -100,6 +100,8 @@ if not error.Success(): print(f'Failed to write into {base}[+{page_len}]', error) return +print(f'!!! NOTIFY_DEBUGGER_ABOUT_RX_PAGES({base:#x}..{base+page_len:#x})') + # If the returned value is False, that tells LLDB not to stop at the breakpoint return False ''';
diff --git a/runtime/vm/virtual_memory_posix.cc b/runtime/vm/virtual_memory_posix.cc index b1c70854873..8caf1bd915b 100644 --- a/runtime/vm/virtual_memory_posix.cc +++ b/runtime/vm/virtual_memory_posix.cc @@ -681,6 +681,9 @@ VirtualMemory* VirtualMemory::AllocateAligned(intptr_t size, } NOTIFY_DEBUGGER_ABOUT_RX_PAGES(reinterpret_cast<void*>(address), size); + if (memcmp(reinterpret_cast<void*>(address), "IHELPED!", 8) != 0) { + FATAL("LLDB script did not intercept NOTIFY_DEBUGGER_ABOUT_RX_PAGES(%p, ...)", reinterpret_cast<void*>(address)); + } Protect(reinterpret_cast<void*>(writable_address), size, kReadWrite);
This should reveal if there is again some issue with the debugger.
- addeddependency: dartDart team may need to help usDart team may need to help usP2Important issues not at the top of the work listImportant issues not at the top of the work listtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team
on Jul 31, 2026 I built the Dart SDK and got this:
... Running Xcode build... Xcode build done. 10.2s Installing and launching... !!! NOTIFY_DEBUGGER_ABOUT_RX_PAGES(0x100dac000..0x100db0000) !!! NOTIFY_DEBUGGER_ABOUT_RX_PAGES(0x103000000..0x103080000) 2026-08-11 15:58:17.063222-0500 Flutter Gallery[9074:833848] [IMPORTANT:flutter/shell/platform/darwin/graphics/FlutterDarwinContextMetalImpeller.mm(45)] Using the Impeller rendering backend (Metal). !!! NOTIFY_DEBUGGER_ABOUT_RX_PAGES(0x10d980000..0x10da00000) !!! NOTIFY_DEBUGGER_ABOUT_RX_PAGES(0x111300000..0x111380000) !!! NOTIFY_DEBUGGER_ABOUT_RX_PAGES(0x111b00000..0x111b80000) 2026-08-11 15:58:17.625836-0500 Flutter Gallery[9074:833848] [UIFocus] FlutterView implements focusItemsInRect: - caching for linear focus movement is limited as long as this view is on screen. 2026-08-11 15:58:17.626049-0500 Flutter Gallery[9074:833848] This FlutterEngine was already invoked. 2026-08-11 15:58:17.654202-0500 Flutter Gallery[9074:833848] [XPCErrors] non-launching port is incompatible with service identifier "com.apple.PointerUI.pointeruid.default-service" Installing and launching... 22.4s !!! NOTIFY_DEBUGGER_ABOUT_RX_PAGES(0x117c80000..0x117d00000) -- Thread 1 * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 * frame #0: 0x0000000103ec7f80 Flutter`NOTIFY_DEBUGGER_ABOUT_RX_PAGES frame #1: 0x0000000103ec80c0 Flutter`dart::VirtualMemory::AllocateAligned(long, long, bool, char const*) + 316 frame #2: 0x0000000103eeb898 Flutter`dart::Page::Allocate(dart::Cage*, long, unsigned long) + 40 frame #3: 0x0000000103eec2d0 Flutter`dart::PageSpace::AllocatePage(bool, bool) + 160 frame #4: 0x0000000103eec070 Flutter`dart::PageSpace::TryAllocateInFreshPage(long, dart::FreeList*, bool, dart::PageSpace::GrowthPolicy, bool) + 276 frame #5: 0x0000000103ee2228 Flutter`dart::Heap::AllocateOld(dart::Thread*, long, bool) + 1300 frame #6: 0x0000000103db1db8 Flutter`dart::Object::Allocate(long, long, dart::Heap::Space, bool, unsigned long, unsigned long) + 484 frame #7: 0x0000000103e00614 Flutter`dart::Code::FinalizeCode(dart::FlowGraphCompiler*, dart::compiler::Assembler*, dart::Code::PoolAttachment, bool, dart::CodeStatistics*) + 632 frame #8: 0x0000000103eca7bc Flutter`dart::CompileParsedFunctionHelper::FinalizeCompilation(dart::compiler::Assembler*, dart::FlowGraphCompiler*, dart::FlowGraph*) + 4820 frame #9: 0x0000000103ecd64c Flutter`dart::LambdaCallable<dart::CompileParsedFunctionHelper::Compile()::$_0>::Call() + 72 frame #10: 0x0000000103d6fba8 Flutter`dart::IsolateGroup::RunWithStoppedMutatorsCallable(dart::Callable*) + 404 frame #11: 0x0000000103ecd264 Flutter`dart::CompileParsedFunctionHelper::Compile() + 6100 frame #12: 0x0000000103ece624 Flutter`dart::CompileFunctionHelper(dart::Function const&, bool, long) + 1640 frame #13: 0x0000000103ecde88 Flutter`dart::Compiler::CompileFunction(dart::Thread*, dart::Function const&) + 340 frame #14: 0x0000000103df73e4 Flutter`dart::Function::EnsureHasCodeNoThrow() const + 100 frame #15: 0x0000000103df7300 Flutter`dart::Function::EnsureHasCode() const + 92 frame #16: 0x0000000103e5ecf0 Flutter`DRT_CompileFunction + 472 frame #17: 0x000000011130348c frame #18: 0x0000000111303510 frame #19: 0x0000000111b7fd68 frame #20: 0x0000000111b4f1f0 frame #21: 0x0000000111b4ed44 frame #22: 0x0000000111b4e7fc frame #23: 0x0000000111b4e0f0 frame #24: 0x0000000111b4bae4 frame #25: 0x0000000111b4b134 frame #26: 0x0000000111b48e30 frame #27: 0x0000000111b45c54 frame #28: 0x0000000111b4532c frame #29: 0x0000000111b44eb0 frame #30: 0x0000000111b44bf8 frame #31: 0x0000000111b440e8 frame #32: 0x0000000111b43a98 frame #33: 0x0000000111b4398c frame #34: 0x0000000111b437c8 frame #35: 0x0000000111b436e0 frame #36: 0x0000000111b43608 frame #37: 0x0000000111b43298 frame #38: 0x0000000111b434f4 frame #39: 0x0000000111b43298 frame #40: 0x0000000111b416c0 frame #41: 0x0000000111b412d0 frame #42: 0x0000000111b404e4 frame #43: 0x0000000111303a84 frame #44: 0x0000000103d49508 Flutter`dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&) + 612 frame #45: 0x0000000103d6a704 Flutter`dart::IsolateMessageHandler::HandleMessage(std::__fl::unique_ptr<dart::Message, std::__fl::default_delete<dart::Message>>) + 1468 frame #46: 0x0000000103d9acfc Flutter`dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool) + 328 frame #47: 0x0000000104172084 Flutter`Dart_HandleMessage + 308 frame #48: 0x00000001038cb084 Flutter`std::__fl::__function::__func<tonic::DartMessageHandler::OnMessage(tonic::DartState*)::$_0, std::__fl::allocator<tonic::DartMessageHandler::OnMessage(tonic::DartState*)::$_0>, void ()>::operator()() + 404 frame #49: 0x0000000103cab1ec Flutter`std::__fl::__function::__func<flutter::DartIsolate::SetMessageHandlingTaskRunner(fml::RefPtr<fml::TaskRunner> const&, bool)::$_1::operator()(std::__fl::function<void ()>) const::'lambda'(), std::__fl::allocator<flutter::DartIsolate::SetMessageHandlingTaskRunner(fml::RefPtr<fml::TaskRunner> const&, bool)::$_1::operator()(std::__fl::function<void ()>) const::'lambda'()>, void ()>::operator()() + 56 frame #50: 0x0000000103831684 Flutter`fml::MessageLoopImpl::FlushTasks(fml::FlushType) + 336 frame #51: 0x00000001038368d8 Flutter`fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*) + 32 frame #52: 0x000000018159b8d0 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 32 frame #53: 0x000000018159b180 CoreFoundation`__CFRunLoopDoTimer + 624 frame #54: 0x000000018159ae5c CoreFoundation`__CFRunLoopDoTimers + 284 frame #55: 0x0000000181555874 CoreFoundation`__CFRunLoopRun + 1924 frame #56: 0x0000000181556700 CoreFoundation`_CFRunLoopRunSpecificWithOptions + 344 frame #57: 0x000000022b90cf24 GraphicsServices`GSEventRunModal + 120 frame #58: 0x00000001857f8860 UIKitCore`UIApplicationMain + 336 frame #59: 0x0000000100c7811c Flutter Gallery`main(argc=4, argv=0x000000016f18b990) at main.m:11:16 frame #60: 0x00000001813a7630 dyld`start + 6616 thread #2 frame #0: 0x0000000238de1a80 libsystem_kernel.dylib`__workq_kernreturn + 8 thread #3 frame #0: 0x0000000238de1a80 libsystem_kernel.dylib`__workq_kernreturn + 8 thread #4 frame #0: 0x0000000238de1a80 libsystem_kernel.dylib`__workq_kernreturn + 8 thread #5 frame #0: 0x0000000238de1a80 libsystem_kernel.dylib`__workq_kernreturn + 8 thread #6 frame #0: 0x0000000238de1a80 libsystem_kernel.dylib`__workq_kernreturn + 8 thread #7 frame #0: 0x0000000238de1a80 libsystem_kernel.dylib`__workq_kernreturn + 8 thread #8, queue = 'AXBundleLoadQueue', stop reason = shared-library-event frame #0: 0x00000001813bf550 dyld`lldb_image_notifier frame #1: 0x00000001813bf2fc dyld`dyld4::ExternallyViewableState::triggerNotifications(dyld_image_mode, unsigned int, dyld_image_info const*) + 160 frame #2: 0x00000001813c8ca4 dyld`dyld4::ExternallyViewableState::addImages(lsl::Allocator&, lsl::Allocator&, std::__1::span<dyld4::ExternallyViewableState::ImageInfo, 18446744073709551615ul> const&) + 1184 frame #3: 0x00000001813c8760 dyld`dyld4::RuntimeState::notifyDebuggerLoad(std::__1::span<dyld4::Loader const*, 18446744073709551615ul> const&) + 596 frame #4: 0x00000001813db6c0 dyld`dyld4::APIs::dlopen_from(char const*, int, void*)::$_0::operator()() const::'lambda'()::operator()() const + 2132 frame #5: 0x00000001813b50b0 dyld`void dyld4::RuntimeLocks::withLoadersWriteLockAndProtectedStack<dyld4::APIs::dlopen_from(char const*, int, void*)::$_0::operator()() const::'lambda'()>(dyld4::APIs::dlopen_from(char const*, int, void*)::$_0::operator()() const::'lambda'())::'lambda'()::operator()() const + 184 frame #6: 0x00000001813edd4c dyld`dyld4::APIs::dlopen_from(char const*, int, void*)::$_0::operator()() const (.cold.3) + 364 frame #7: 0x00000001813dcc2c dyld`dyld4::APIs::dlopen_from(char const*, int, void*)::$_0::operator()() const + 2380 frame #8: 0x00000001813ee344 dyld`dyld4::APIs::dlopen_from(char const*, int, void*) (.cold.4) + 364 frame #9: 0x00000001813d4c4c dyld`dyld4::APIs::dlopen_from(char const*, int, void*) + 816 frame #10: 0x00000001815f181c CoreFoundation`_CFBundleDlfcnLoadBundle + 164 frame #11: 0x00000001815e19e0 CoreFoundation`_CFBundleLoadExecutableAndReturnError + 612 frame #12: 0x0000000181b9ee20 Foundation`-[NSBundle loadAndReturnError:] + 248 frame #13: 0x00000001bcfd7b6c UIAccessibility`-[NSBundleAccessibility loadAndReturnError:] + 56 frame #14: 0x000000018a994080 AXCoreUtilities`__50-[AXCodeItem loadWithStrategy:onQueue:completion:]_block_invoke_2 + 204 frame #15: 0x00000001b0168ccc libdispatch.dylib`_dispatch_call_block_and_release + 32 frame #16: 0x00000001b0182fd4 libdispatch.dylib`_dispatch_client_callout + 16 frame #17: 0x00000001b017187c libdispatch.dylib`_dispatch_lane_serial_drain + 644 frame #18: 0x00000001b0172470 libdispatch.dylib`_dispatch_lane_invoke + 312 frame #19: 0x00000001b017cc98 libdispatch.dylib`_dispatch_root_queue_drain_deferred_wlh + 248 frame #20: 0x00000001b017c6bc libdispatch.dylib`_dispatch_workloop_worker_thread + 640 frame #21: 0x000000018145b238 libsystem_pthread.dylib`_pthread_wqthread + 292 thread #9, name = 'io.flutter.1.raster' frame #0: 0x0000000238de1cd4 libsystem_kernel.dylib`mach_msg2_trap + 8 frame #1: 0x0000000238de5308 libsystem_kernel.dylib`mach_msg2_internal + 76 frame #2: 0x0000000238de5228 libsystem_kernel.dylib`mach_msg_overwrite + 424 frame #3: 0x0000000238de5074 libsystem_kernel.dylib`mach_msg + 24 frame #4: 0x0000000181556378 CoreFoundation`__CFRunLoopServiceMachPort + 136 frame #5: 0x0000000181555344 CoreFoundation`__CFRunLoopRun + 596 frame #6: 0x0000000181556700 CoreFoundation`_CFRunLoopRunSpecificWithOptions + 344 frame #7: 0x00000001038369c8 Flutter`fml::MessageLoopDarwin::Run() + 92 frame #8: 0x0000000103835434 Flutter`std::__fl::__function::__func<fml::Thread::Thread(std::__fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::__fl::allocator<fml::Thread::Thread(std::__fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()() + 196 frame #9: 0x00000001038350c0 Flutter`fml::ThreadHandle::ThreadHandle(std::__fl::function<void ()>&&)::$_0::__invoke(void*) + 36 frame #10: 0x000000018145e03c libsystem_pthread.dylib`_pthread_start + 136 thread #10, name = 'io.flutter.1.io' frame #0: 0x0000000238de1cd4 libsystem_kernel.dylib`mach_msg2_trap + 8 frame #1: 0x0000000238de5308 libsystem_kernel.dylib`mach_msg2_internal + 76 frame #2: 0x0000000238de5228 libsystem_kernel.dylib`mach_msg_overwrite + 424 frame #3: 0x0000000238de5074 libsystem_kernel.dylib`mach_msg + 24 frame #4: 0x0000000181556378 CoreFoundation`__CFRunLoopServiceMachPort + 136 frame #5: 0x0000000181555344 CoreFoundation`__CFRunLoopRun + 596 frame #6: 0x0000000181556700 CoreFoundation`_CFRunLoopRunSpecificWithOptions + 344 frame #7: 0x00000001038369c8 Flutter`fml::MessageLoopDarwin::Run() + 92 frame #8: 0x0000000103835434 Flutter`std::__fl::__function::__func<fml::Thread::Thread(std::__fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::__fl::allocator<fml::Thread::Thread(std::__fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()() + 196 frame #9: 0x00000001038350c0 Flutter`fml::ThreadHandle::ThreadHandle(std::__fl::function<void ()>&&)::$_0::__invoke(void*) + 36 frame #10: 0x000000018145e03c libsystem_pthread.dylib`_pthread_start + 136 thread #11, name = 'io.flutter.1.profiler' frame #0: 0x0000000238de1cd4 libsystem_kernel.dylib`mach_msg2_trap + 8 frame #1: 0x0000000238de5308 libsystem_kernel.dylib`mach_msg2_internal + 76 frame #2: 0x0000000238de5228 libsystem_kernel.dylib`mach_msg_overwrite + 424 frame #3: 0x0000000238de5074 libsystem_kernel.dylib`mach_msg + 24 frame #4: 0x0000000181556378 CoreFoundation`__CFRunLoopServiceMachPort + 136 frame #5: 0x0000000181555344 CoreFoundation`__CFRunLoopRun + 596 frame #6: 0x0000000181556700 CoreFoundation`_CFRunLoopRunSpecificWithOptions + 344 frame #7: 0x00000001038369c8 Flutter`fml::MessageLoopDarwin::Run() + 92 frame #8: 0x0000000103835434 Flutter`std::__fl::__function::__func<fml::Thread::Thread(std::__fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::__fl::allocator<fml::Thread::Thread(std::__fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()() + 196 frame #9: 0x00000001038350c0 Flutter`fml::ThreadHandle::ThreadHandle(std::__fl::function<void ()>&&)::$_0::__invoke(void*) + 36 frame #10: 0x000000018145e03c libsystem_pthread.dylib`_pthread_start + 136 thread #12, name = 'io.worker.1' frame #0: 0x0000000238de75f8 libsystem_kernel.dylib`__psynch_cvwait + 8 frame #1: 0x000000018145bda4 libsystem_pthread.dylib`_pthread_cond_wait + 980 frame #2: 0x000000010382e710 Flutter`void* std::__fl::__thread_proxy[abi:nn210000]<std::__fl::tuple<std::__fl::unique_ptr<std::__fl::__thread_struct, std::__fl::default_delete<std::__fl::__thread_struct>>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 336 frame #3: 0x000000018145e03c libsystem_pthread.dylib`_pthread_start + 136 thread #13, name = 'io.worker.2' frame #0: 0x0000000238de75f8 libsystem_kernel.dylib`__psynch_cvwait + 8 frame #1: 0x000000018145bda4 libsystem_pthread.dylib`_pthread_cond_wait + 980 frame #2: 0x000000010382e710 Flutter`void* std::__fl::__thread_proxy[abi:nn210000]<std::__fl::tuple<std::__fl::unique_ptr<std::__fl::__thread_struct, std::__fl::default_delete<std::__fl::__thread_struct>>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 336 frame #3: 0x000000018145e03c libsystem_pthread.dylib`_pthread_start + 136 thread #14, name = 'io.worker.3' frame #0: 0x0000000238de75f8 libsystem_kernel.dylib`__psynch_cvwait + 8 frame #1: 0x000000018145bda4 libsystem_pthread.dylib`_pthread_cond_wait + 980 frame #2: 0x000000010382e710 Flutter`void* std::__fl::__thread_proxy[abi:nn210000]<std::__fl::tuple<std::__fl::unique_ptr<std::__fl::__thread_struct, std::__fl::default_delete<std::__fl::__thread_struct>>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 336 frame #3: 0x000000018145e03c libsystem_pthread.dylib`_pthread_start + 136 thread #15, name = 'io.worker.4' frame #0: 0x0000000238de75f8 libsystem_kernel.dylib`__psynch_cvwait + 8 frame #1: 0x000000018145bda4 libsystem_pthread.dylib`_pthread_cond_wait + 980 frame #2: 0x000000010382e710 Flutter`void* std::__fl::__thread_proxy[abi:nn210000]<std::__fl::tuple<std::__fl::unique_ptr<std::__fl::__thread_struct, std::__fl::default_delete<std::__fl::__thread_struct>>, fml::ConcurrentMessageLoop::ConcurrentMessageLoop(unsigned long)::$_0>>(void*) + 336 frame #3: 0x000000018145e03c libsystem_pthread.dylib`_pthread_start + 136 thread #16, name = 'dart:io EventHandler' frame #0: 0x0000000238de88f4 libsystem_kernel.dylib`kevent + 8 frame #1: 0x0000000103c6dd00 Flutter`dart::bin::EventHandlerImplementation::EventHandlerEntry(unsigned long) + 368 frame #2: 0x0000000103ca6458 Flutter`dart::bin::ThreadStart(void*) + 88 frame #3: 0x000000018145e03c libsystem_pthread.dylib`_pthread_start + 136 thread #17, name = 'Dart Profiler ThreadInterrupter' frame #0: 0x0000000238de75f8 libsystem_kernel.dylib`__psynch_cvwait + 8 frame #1: 0x000000018145bdd0 libsystem_pthread.dylib`_pthread_cond_wait + 1024 frame #2: 0x0000000103cf6814 Flutter`dart::ConditionVariable::WaitMicros(dart::Mutex*, long long) + 116 frame #3: 0x0000000103eb2990 Flutter`dart::ThreadInterrupter::ThreadMain(unsigned long) + 432 frame #4: 0x0000000103e3d45c Flutter`dart::ThreadStart(void*) + 272 frame #5: 0x000000018145e03c libsystem_pthread.dylib`_pthread_start + 136 thread #18, name = 'DartWorker' frame #0: 0x0000000238de75f8 libsystem_kernel.dylib`__psynch_cvwait + 8 frame #1: 0x000000018145bdd0 libsystem_pthread.dylib`_pthread_cond_wait + 1024 frame #2: 0x0000000103cf6814 Flutter`dart::ConditionVariable::WaitMicros(dart::Mutex*, long long) + 116 frame #3: 0x0000000103eb3984 Flutter`dart::ThreadPool::Worker::Main(unsigned long) + 712 frame #4: 0x0000000103e3d45c Flutter`dart::ThreadStart(void*) + 272 frame #5: 0x000000018145e03c libsystem_pthread.dylib`_pthread_start + 136 thread #19, name = 'DartWorker' frame #0: 0x0000000238de75f8 libsystem_kernel.dylib`__psynch_cvwait + 8 frame #1: 0x000000018145bdd0 libsystem_pthread.dylib`_pthread_cond_wait + 1024 frame #2: 0x0000000103cf6814 Flutter`dart::ConditionVariable::WaitMicros(dart::Mutex*, long long) + 116 frame #3: 0x0000000103d66240 Flutter`dart::MutatorThreadPool::OnEnterIdleLocked(dart::MutexLocker*, dart::ThreadPool::Worker*) + 212 frame #4: 0x0000000103eb37c4 Flutter`dart::ThreadPool::Worker::Main(unsigned long) + 264 frame #5: 0x0000000103e3d45c Flutter`dart::ThreadStart(void*) + 272 frame #6: 0x000000018145e03c libsystem_pthread.dylib`_pthread_start + 136 thread #20, name = 'DartWorker' frame #0: 0x0000000238de75f8 libsystem_kernel.dylib`__psynch_cvwait + 8 frame #1: 0x000000018145bdd0 libsystem_pthread.dylib`_pthread_cond_wait + 1024 frame #2: 0x0000000103cf6814 Flutter`dart::ConditionVariable::WaitMicros(dart::Mutex*, long long) + 116 frame #3: 0x0000000103eb3984 Flutter`dart::ThreadPool::Worker::Main(unsigned long) + 712 frame #4: 0x0000000103e3d45c Flutter`dart::ThreadStart(void*) + 272 frame #5: 0x000000018145e03c libsystem_pthread.dylib`_pthread_start + 136 thread #21, name = 'DartWorker' frame #0: 0x0000000238de75f8 libsystem_kernel.dylib`__psynch_cvwait + 8 frame #1: 0x000000018145bdd0 libsystem_pthread.dylib`_pthread_cond_wait + 1024 frame #2: 0x0000000103cf6814 Flutter`dart::ConditionVariable::WaitMicros(dart::Mutex*, long long) + 116 frame #3: 0x0000000103eb3984 Flutter`dart::ThreadPool::Worker::Main(unsigned long) + 712 frame #4: 0x0000000103e3d45c Flutter`dart::ThreadStart(void*) + 272 frame #5: 0x000000018145e03c libsystem_pthread.dylib`_pthread_start + 136 -- Thread 8 Process 9074 resuming Process 9074 is running. * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 frame #0: 0x0000000103ec7f80 Flutter`NOTIFY_DEBUGGER_ABOUT_RX_PAGES error: error reading data from section __text Target 0: (Flutter Gallery) stopped. App terminated due to signal 10. Script started, output file is /dev/null Script done, output file is /dev/null Error connecting to the service protocol: failed to connect to http://127.0.0.1:54746/7fMVwNPKBfg=/ HttpException: Connection closed before full header was received, uri = http://127.0.0.1:54746/7fMVwNPKBfg=/wsI do not see a
LLDB script did not intercept NOTIFY_DEBUGGER_ABOUT_RX_PAGESlogI'm not 100 certain I hooked up Flutter correctly to the custom build dart sdk. @mraleph How do you usually do it? I symlinked the version I built into
flutter/bin/cache/dart-sdkI think it's using the right version because when I do
flutter --versionI getTools • Dart 3.14.0 (build 3.14.0-edge) • DevTools 2.61.0-dev.0. Is there a way to verify?I'm not 100 certain I hooked up Flutter correctly to the custom build dart sdk. How do you usually do it? I symlinked the version I built into
flutter/bin/cache/dart-sdkThese parts don't come from dart-sdk, they are linked into engine framework. This means you have to rebuild engine and use it via
--local-engine. I usually do this:- Edit whatever I want in
engine/src/flutter/third_party/dart. et build -c host_debug && et build -c ios_debugflutter clean, sometimes newly build engine is not picked up correctly byflutter run --local-engine ...for some reason, so I am forced to clean before trying to use it.flutter-dev run -d ... -v -t lib/main.dart --local-engine ios_debug --local-engine-host host_debug- Go to 1. If I don't edit anything related to host tools (e.g. I only edit runtime bits relevant for target device), then after the first build I stop rebuilding
host_debugconfiguration and only build target engine (e.g.ios_debugin this case) for my subsequent changes.
- Edit whatever I want in
Okay I got it working properly this time:
[ ] * thread #19, name = 'DartWorker', stop reason = breakpoint 1.1 [ ] frame #0: 0x00000001057b6aec Flutter`NOTIFY_DEBUGGER_ABOUT_RX_PAGES(base=0x0000000119a00000, size=524288) at virtual_memory_posix.cc:210:1 [ ] 207 // Note: need this to prevent LLVM from optimizing it away even with [ ] 208 // noinline. [ ] 209 asm volatile("" ::"r"(base), "r"(size) : "memory"); [ ] -> 210 } [ ] ^ [ ] 211 [ ] 212 namespace { [ ] 213 [ ] Target 0: (Flutter Gallery) stopped. [ +6 ms] ../../flutter/third_party/dart/runtime/vm/virtual_memory_posix.cc: 685: error: LLDB script did not intercept NOTIFY_DEBUGGER_ABOUT_RX_PAGES(0x119f80000, ...) [ ] 2026-08-12 12:36:19.052991-0500 Flutter Gallery[9651:1006622] version=3.14.0-111.0.dev (dev) (Mon Aug 10 13:05:33 2026 -0700) on "ios_simarm64" [ ] 2026-08-12 12:36:19.053020-0500 Flutter Gallery[9651:1006622] pid=9651, thread=259, isolate_group=main(0x103d28000), isolate=(nil)(0x0) [ ] 2026-08-12 12:36:19.053035-0500 Flutter Gallery[9651:1006622] os=ios, arch=arm64, comp=no, sim=yes [ ] 2026-08-12 12:36:19.053047-0500 Flutter Gallery[9651:1006622] isolate_instructions=105984580, vm_instructions=0 [ ] 2026-08-12 12:36:19.053055-0500 Flutter Gallery[9651:1006622] fp=16dab6c70, sp=16dab6c50, pc=105747c54 [ +1 ms] 2026-08-12 12:36:19.053688-0500 Flutter Gallery[9651:1006622] pc 0x0000000105747c54 fp 0x000000016dab6c70 dart::Profiler::DumpStackTrace(bool)+0x20 [ ] 2026-08-12 12:36:19.054212-0500 Flutter Gallery[9651:1006622] pc 0x0000000105617fa4 fp 0x000000016dab6c90 dart::Assert::Fail(char const*, ...) const+0x24 [ ] 2026-08-12 12:36:19.054683-0500 Flutter Gallery[9651:1006622] pc 0x00000001057b71bc fp 0x000000016dab7120 dart::VirtualMemory::AllocateAligned(long, long, bool, char const*)+0x204 [ ] 2026-08-12 12:36:19.055122-0500 Flutter Gallery[9651:1006622] pc 0x00000001057d305c fp 0x000000016dab7150 dart::Page::Allocate(dart::Cage*, long, unsigned long)+0x48 [ ] 2026-08-12 12:36:19.055553-0500 Flutter Gallery[9651:1006622] pc 0x00000001057d3bd8 fp 0x000000016dab71b0 dart::PageSpace::AllocatePage(bool, bool)+0x8c [ ] 2026-08-12 12:36:19.056005-0500 Flutter Gallery[9651:1006622] pc 0x00000001057d425c fp 0x000000016dab7230 dart::PageSpace::TryAllocateInFreshPage(long, dart::FreeList*, bool, dart::PageSpace::GrowthPolicy, bool)+0x11c [ ] 2026-08-12 12:36:19.056435-0500 Flutter Gallery[9651:1006622] pc 0x00000001057ca378 fp 0x000000016dab7370 dart::Heap::AllocateOld(dart::Thread*, long, bool)+0x290 [ ] 2026-08-12 12:36:19.056862-0500 Flutter Gallery[9651:1006622] pc 0x00000001056ce878 fp 0x000000016dab73d0 dart::Object::Allocate(long, long, dart::Heap::Space, bool, unsigned long, unsigned long)+0x60 [ ] 2026-08-12 12:36:19.057309-0500 Flutter Gallery[9651:1006622] pc 0x00000001056f4524 fp 0x000000016dab7430 dart::Instructions::New(long, bool, bool)+0x5c [ ] 2026-08-12 12:36:19.057739-0500 Flutter Gallery[9651:1006622] pc 0x00000001056f99dc fp 0x000000016dab74b0 dart::Code::FinalizeCode(dart::FlowGraphCompiler*, dart::compiler::Assembler*, dart::Code::PoolAttachment, bool, dart::CodeStatistics*)+0xa0 [ ] 2026-08-12 12:36:19.058166-0500 Flutter Gallery[9651:1006622] pc 0x00000001057b87dc fp 0x000000016dab7520 dart::CompileParsedFunctionHelper::FinalizeCompilation(dart::compiler::Assembler*, dart::FlowGraphCompiler*, dart::FlowGraph*)+0xf0 [ +1 ms] 2026-08-12 12:36:19.058618-0500 Flutter Gallery[9651:1006622] pc 0x00000001057baf44 fp 0x000000016dab7540 dart::LambdaCallable<dart::CompileParsedFunctionHelper::Compile()::$_0>::Call()+0x24 [ ] 2026-08-12 12:36:19.059042-0500 Flutter Gallery[9651:1006622] pc 0x0000000105686e34 fp 0x000000016dab75f0 dart::IsolateGroup::RunWithStoppedMutatorsCallable(dart::Callable*)+0x168 [ ] 2026-08-12 12:36:19.059466-0500 Flutter Gallery[9651:1006622] pc 0x00000001057b9478 fp 0x000000016dab7db0 dart::CompileParsedFunctionHelper::Compile()+0x85c [ ] 2026-08-12 12:36:19.059915-0500 Flutter Gallery[9651:1006622] pc 0x00000001057b9a54 fp 0x000000016dab8500 dart::CompileFunctionHelper(dart::Function const&, bool, long)+0x340 [ ] 2026-08-12 12:36:19.060343-0500 Flutter Gallery[9651:1006622] pc 0x00000001057b96e4 fp 0x000000016dab85a0 dart::Compiler::CompileFunction(dart::Thread*, dart::Function const&)+0xd0 [ ] 2026-08-12 12:36:19.060768-0500 Flutter Gallery[9651:1006622] pc 0x00000001056e9228 fp 0x000000016dab85f0 dart::Function::EnsureHasCodeNoThrow() const+0x64 [ ] 2026-08-12 12:36:19.061210-0500 Flutter Gallery[9651:1006622] pc 0x00000001056e9144 fp 0x000000016dab8610 dart::Function::EnsureHasCode() const+0x5c [ +1 ms] 2026-08-12 12:36:19.061633-0500 Flutter Gallery[9651:1006622] pc 0x0000000105765ae0 fp 0x000000016dab8b90 DRT_CompileFunction+0x174 [ ] 2026-08-12 12:36:19.061665-0500 Flutter Gallery[9651:1006622] pc 0x0000000112c0348c fp 0x000000016dab8bd8 Unknown symbol [ ] 2026-08-12 12:36:19.061679-0500 Flutter Gallery[9651:1006622] pc 0x0000000112c03510 fp 0x000000016dab8c08 Unknown symbol [ ] 2026-08-12 12:36:19.061693-0500 Flutter Gallery[9651:1006622] pc 0x000000011957e81c fp 0x000000016dab8c68 Unknown symbol [ ] 2026-08-12 12:36:19.061707-0500 Flutter Gallery[9651:1006622] pc 0x000000011957e5ec fp 0x000000016dab8ca0 Unknown symbol [ ] 2026-08-12 12:36:19.061721-0500 Flutter Gallery[9651:1006622] pc 0x000000011957d948 fp 0x000000016dab8cf8 Unknown symbol [ ] 2026-08-12 12:36:19.061736-0500 Flutter Gallery[9651:1006622] pc 0x0000000119576364 fp 0x000000016dab8d58 Unknown symbol [ ] 2026-08-12 12:36:19.061757-0500 Flutter Gallery[9651:1006622] pc 0x0000000119566e38 fp 0x000000016dab8d90 Unknown symbol [ ] 2026-08-12 12:36:19.061777-0500 Flutter Gallery[9651:1006622] pc 0x000000011954d8fc fp 0x000000016dab8e28 Unknown symbol [ ] 2026-08-12 12:36:19.061790-0500 Flutter Gallery[9651:1006622] pc 0x000000011954cb9c fp 0x000000016dab8e80 Unknown symbol [ ] 2026-08-12 12:36:19.061803-0500 Flutter Gallery[9651:1006622] pc 0x0000000119556760 fp 0x000000016dab8f38 Unknown symbol [ ] 2026-08-12 12:36:19.061817-0500 Flutter Gallery[9651:1006622] pc 0x0000000119554e44 fp 0x000000016dab8fb0 Unknown symbol [ ] 2026-08-12 12:36:19.061831-0500 Flutter Gallery[9651:1006622] pc 0x0000000119554638 fp 0x000000016dab8fe8 Unknown symbol [ ] 2026-08-12 12:36:19.061846-0500 Flutter Gallery[9651:1006622] pc 0x00000001195516c4 fp 0x000000016dab9020 Unknown symbol [ ] 2026-08-12 12:36:19.061860-0500 Flutter Gallery[9651:1006622] pc 0x000000011954d8fc fp 0x000000016dab90b8 Unknown symbol [ ] 2026-08-12 12:36:19.061873-0500 Flutter Gallery[9651:1006622] pc 0x000000011954cb9c fp 0x000000016dab9110 Unknown symbol [ ] 2026-08-12 12:36:19.061889-0500 Flutter Gallery[9651:1006622] pc 0x0000000119556760 fp 0x000000016dab91c8 Unknown symbol [ ] 2026-08-12 12:36:19.061902-0500 Flutter Gallery[9651:1006622] pc 0x0000000119555e84 fp 0x000000016dab9200 Unknown symbol [ ] 2026-08-12 12:36:19.061916-0500 Flutter Gallery[9651:1006622] pc 0x0000000119554e44 fp 0x000000016dab9278 Unknown symbol [ ] 2026-08-12 12:36:19.061929-0500 Flutter Gallery[9651:1006622] pc 0x0000000119554638 fp 0x000000016dab92b0 Unknown symbol [ ] 2026-08-12 12:36:19.061944-0500 Flutter Gallery[9651:1006622] pc 0x000000011955258c fp 0x000000016dab92f0 Unknown symbol [ ] 2026-08-12 12:36:19.061959-0500 Flutter Gallery[9651:1006622] pc 0x00000001195516c4 fp 0x000000016dab9328 Unknown symbol [ ] 2026-08-12 12:36:19.061972-0500 Flutter Gallery[9651:1006622] pc 0x000000011954d8fc fp 0x000000016dab93c0 Unknown symbol [ ] 2026-08-12 12:36:19.061988-0500 Flutter Gallery[9651:1006622] pc 0x000000011954cb9c fp 0x000000016dab9418 Unknown symbol [ ] 2026-08-12 12:36:19.062001-0500 Flutter Gallery[9651:1006622] pc 0x000000011954b6a4 fp 0x000000016dab94a8 Unknown symbol [ ] 2026-08-12 12:36:19.062014-0500 Flutter Gallery[9651:1006622] pc 0x0000000119548bd8 fp 0x000000016dab94e0 Unknown symbol [ ] 2026-08-12 12:36:19.062028-0500 Flutter Gallery[9651:1006622] pc 0x0000000119548a08 fp 0x000000016dab9528 Unknown symbol [ ] 2026-08-12 12:36:19.062044-0500 Flutter Gallery[9651:1006622] pc 0x00000001195467d4 fp 0x000000016dab95c0 Unknown symbol [ ] 2026-08-12 12:36:19.062057-0500 Flutter Gallery[9651:1006622] pc 0x0000000119543910 fp 0x000000016dab9648 Unknown symbol [ ] 2026-08-12 12:36:19.062071-0500 Flutter Gallery[9651:1006622] pc 0x000000011954312c fp 0x000000016dab96a8 Unknown symbol [ ] 2026-08-12 12:36:19.062087-0500 Flutter Gallery[9651:1006622] pc 0x00000001195427c8 fp 0x000000016dab96e8 Unknown symbol [ ] 2026-08-12 12:36:19.062103-0500 Flutter Gallery[9651:1006622] pc 0x0000000119542630 fp 0x000000016dab9728 Unknown symbol [ ] 2026-08-12 12:36:19.062116-0500 Flutter Gallery[9651:1006622] pc 0x00000001195424fc fp 0x000000016dab9760 Unknown symbol [ ] 2026-08-12 12:36:19.062148-0500 Flutter Gallery[9651:1006622] pc 0x00000001195415f0 fp 0x000000016dab97f8 Unknown symbol [ ] 2026-08-12 12:36:19.062162-0500 Flutter Gallery[9651:1006622] pc 0x000000011953f360 fp 0x000000016dab9830 Unknown symbol [ ] 2026-08-12 12:36:19.062175-0500 Flutter Gallery[9651:1006622] pc 0x000000011953f040 fp 0x000000016dab9860 Unknown symbol [ ] 2026-08-12 12:36:19.062189-0500 Flutter Gallery[9651:1006622] pc 0x00000001134412d0 fp 0x000000016dab98e0 Unknown symbol [ ] 2026-08-12 12:36:19.062202-0500 Flutter Gallery[9651:1006622] pc 0x00000001134404e4 fp 0x000000016dab9938 Unknown symbol [ ] 2026-08-12 12:36:19.062214-0500 Flutter Gallery[9651:1006622] pc 0x0000000112c03a84 fp 0x000000016dab9a10 Unknown symbol [ ] 2026-08-12 12:36:19.062579-0500 Flutter Gallery[9651:1006622] pc 0x0000000105660758 fp 0x000000016dab9aa0 dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&)+0x19c [ ] 2026-08-12 12:36:19.062943-0500 Flutter Gallery[9651:1006622] pc 0x000000010566232c fp 0x000000016dab9af0 dart::DartLibraryCalls::HandleMessage(long long, dart::Instance const&)+0x144 [ ] 2026-08-12 12:36:19.063308-0500 Flutter Gallery[9651:1006622] pc 0x0000000105683d34 fp 0x000000016daba080 dart::IsolateMessageHandler::HandleMessage(std::__fl::unique_ptr<dart::Message, std::__fl::default_delete<dart::Message>>)+0x30c [ ] 2026-08-12 12:36:19.063712-0500 Flutter Gallery[9651:1006622] pc 0x00000001056ab11c fp 0x000000016daba100 dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool)+0x134 [ ] 2026-08-12 12:36:19.064103-0500 Flutter Gallery[9651:1006622] pc 0x00000001056ab28c fp 0x000000016daba140 dart::MessageHandler::HandleNextMessage()+0x48 [ ] 2026-08-12 12:36:19.064486-0500 Flutter Gallery[9651:1006622] pc 0x00000001059b85cc fp 0x000000016daba1e0 Dart_HandleMessage+0x118 [ ] 2026-08-12 12:36:19.064850-0500 Flutter Gallery[9651:1006622] pc 0x000000010519b95c fp 0x000000016daba230 tonic::DartMessageHandler::OnHandleMessage(tonic::DartState*)+0xac [ ] 2026-08-12 12:36:19.065192-0500 Flutter Gallery[9651:1006622] pc 0x000000010519bd68 fp 0x000000016daba250 std::__fl::__function::__func<tonic::DartMessageHandler::OnMessage(tonic::DartState*)::$_0, std::__fl::allocator<tonic::DartMessageHandler::OnMessage(tonic::DartState*)::$_0>, void ()>::operator()()+0x40 [ ] 2026-08-12 12:36:19.065555-0500 Flutter Gallery[9651:1006622] pc 0x00000001055c5db8 fp 0x000000016daba270 std::__fl::__function::__func<flutter::DartIsolate::SetMessageHandlingTaskRunner(fml::RefPtr<fml::TaskRunner> const&, bool)::$_1::operator()(std::__fl::function<void ()>) const::'lambda'(), std::__fl::allocator<flutter::DartIsolate::SetMessageHandlingTaskRunner(fml::RefPtr<fml::TaskRunner> const&, bool)::$_1::operator()(std::__fl::function<void ()>) const::'lambda'()>, void ()>::operator()()+0x40 [ ] 2026-08-12 12:36:19.065887-0500 Flutter Gallery[9651:1006622] pc 0x00000001050fb388 fp 0x000000016daba300 fml::MessageLoopImpl::FlushTasks(fml::FlushType)+0x98 [ +2 ms] Fail to connect to service protocol: http://127.0.0.1:64848/RNmOWxZRggQ=/: HttpException: Connection closed before full header was received, uri = http://127.0.0.1:64848/RNmOWxZRggQ=/ws [ +1 ms] 2026-08-12 12:36:19.066240-0500 Flutter Gallery[9651:1006622] pc 0x0000000105102fb8 fp 0x000000016daba320 fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*)+0x20 [ ] 2026-08-12 12:36:19.066306-0500 Flutter Gallery[9651:1006622] pc 0x000000018159b8d0 fp 0x000000016daba330 <redacted>+0x20 [ ] 2026-08-12 12:36:19.066325-0500 Flutter Gallery[9651:1006622] pc 0x000000018159b180 fp 0x000000016daba3e0 <redacted>+0x270 [ ] 2026-08-12 12:36:19.066342-0500 Flutter Gallery[9651:1006622] pc 0x000000018159ae5c fp 0x000000016daba440 <redacted>+0x11c [ ] 2026-08-12 12:36:19.066358-0500 Flutter Gallery[9651:1006622] pc 0x0000000181555874 fp 0x000000016dabb170 <redacted>+0x784 [ ] 2026-08-12 12:36:19.066381-0500 Flutter Gallery[9651:1006622] pc 0x0000000181556700 fp 0x000000016dabb1e0 <redacted>+0x158 [ ] 2026-08-12 12:36:19.066394-0500 Flutter Gallery[9651:1006622] pc 0x000000022b90cf24 fp 0x000000016dabb230 GSEventRunModal+0x78 [ ] 2026-08-12 12:36:19.066523-0500 Flutter Gallery[9651:1006622] pc 0x00000001857f8860 fp 0x000000016dabb2c0 UIApplicationMain+0x150 [ ] 2026-08-12 12:36:19.066541-0500 Flutter Gallery[9651:1006622] pc 0x000000010234811c fp 0x000000016dabb300 main+0x60 [ ] 2026-08-12 12:36:19.066553-0500 Flutter Gallery[9651:1006622] pc 0x00000001813a7630 fp 0x000000016dabb970 <redacted>+0x19d8 [ ] 2026-08-12 12:36:19.066560-0500 Flutter Gallery[9651:1006622] -- End of DumpStackTrace [ ] 2026-08-12 12:36:19.066567-0500 Flutter Gallery[9651:1006622] pc 0x0000000000000000 fp 0x000000016dab8bd8 sp 0x0000000000000000 [Stub] Exit frame [ ] 2026-08-12 12:36:19.066578-0500 Flutter Gallery[9651:1006622] pc 0x0000000112c03510 fp 0x000000016dab8c08 sp 0x000000016dab8be8 [Stub] LazyCompile+0x30 [ ] 2026-08-12 12:36:19.066585-0500 Flutter Gallery[9651:1006622] pc 0x000000011957e81c fp 0x000000016dab8c68 sp 0x000000016dab8c18 [Unoptimized] new ViewConfiguration.fromView+0x19c [ ] 2026-08-12 12:36:19.066593-0500 Flutter Gallery[9651:1006622] pc 0x000000011957e5ec fp 0x000000016dab8ca0 sp 0x000000016dab8c78 [Unoptimized] _WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding&ServicesBinding&PaintingBinding&SemanticsBinding&[email protected]+0xec [ ] 2026-08-12 12:36:19.066600-0500 Flutter Gallery[9651:1006622] pc 0x000000011957d948 fp 0x000000016dab8cf8 sp 0x000000016dab8cb0 [Unoptimized] _WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding&ServicesBinding&PaintingBinding&SemanticsBinding&[email protected]+0x2b8 [ ] 2026-08-12 12:36:19.066607-0500 Flutter Gallery[9651:1006622] pc 0x0000000119576364 fp 0x000000016dab8d58 sp 0x000000016dab8d08 [Unoptimized] _RawViewElement@813024595._attachView@813024595+0x334 [ ] 2026-08-12 12:36:19.066614-0500 Flutter Gallery[9651:1006622] pc 0x0000000119566e38 fp 0x000000016dab8d90 sp 0x000000016dab8d68 [Unoptimized] [email protected]+0x238 [ ] 2026-08-12 12:36:19.066620-0500 Flutter Gallery[9651:1006622] pc 0x000000011954d8fc fp 0x000000016dab8e28 sp 0x000000016dab8da0 [Unoptimized] Element.inflateWidget+0xb3c [ ] 2026-08-12 12:36:19.066626-0500 Flutter Gallery[9651:1006622] pc 0x000000011954cb9c fp 0x000000016dab8e80 sp 0x000000016dab8e38 [Unoptimized] Element.updateChild+0x114c [ ] 2026-08-12 12:36:19.066633-0500 Flutter Gallery[9651:1006622] pc 0x0000000119556760 fp 0x000000016dab8f38 sp 0x000000016dab8e90 [Unoptimized] ComponentElement.performRebuild+0x7c0 [ ] 2026-08-12 12:36:19.066639-0500 Flutter Gallery[9651:1006622] pc 0x0000000119554e44 fp 0x000000016dab8fb0 sp 0x000000016dab8f48 [Unoptimized] Element.rebuild+0x7b4 [ ] 2026-08-12 12:36:19.066645-0500 Flutter Gallery[9651:1006622] pc 0x0000000119554638 fp 0x000000016dab8fe8 sp 0x000000016dab8fc0 [Unoptimized] ComponentElement._firstBuild@44042623+0xc8 [ ] 2026-08-12 12:36:19.066652-0500 Flutter Gallery[9651:1006622] pc 0x00000001195516c4 fp 0x000000016dab9020 sp 0x000000016dab8ff8 [Unoptimized] ComponentElement.mount+0x214 [ ] 2026-08-12 12:36:19.066658-0500 Flutter Gallery[9651:1006622] pc 0x000000011954d8fc fp 0x000000016dab90b8 sp 0x000000016dab9030 [Unoptimized] Element.inflateWidget+0xb3c [ ] 2026-08-12 12:36:19.066664-0500 Flutter Gallery[9651:1006622] pc 0x000000011954cb9c fp 0x000000016dab9110 sp 0x000000016dab90c8 [Unoptimized] Element.updateChild+0x114c [ ] 2026-08-12 12:36:19.066670-0500 Flutter Gallery[9651:1006622] pc 0x0000000119556760 fp 0x000000016dab91c8 sp 0x000000016dab9120 [Unoptimized] ComponentElement.performRebuild+0x7c0 [ ] 2026-08-12 12:36:19.066676-0500 Flutter Gallery[9651:1006622] pc 0x0000000119555e84 fp 0x000000016dab9200 sp 0x000000016dab91d8 [Unoptimized] StatefulElement.performRebuild+0x1c4 [ ] 2026-08-12 12:36:19.066684-0500 Flutter Gallery[9651:1006622] pc 0x0000000119554e44 fp 0x000000016dab9278 sp 0x000000016dab9210 [Unoptimized] Element.rebuild+0x7b4 [ ] 2026-08-12 12:36:19.066689-0500 Flutter Gallery[9651:1006622] pc 0x0000000119554638 fp 0x000000016dab92b0 sp 0x000000016dab9288 [Unoptimized] ComponentElement._firstBuild@44042623+0xc8 [ ] 2026-08-12 12:36:19.066696-0500 Flutter Gallery[9651:1006622] pc 0x000000011955258c fp 0x000000016dab92f0 sp 0x000000016dab92c0 [Unoptimized] StatefulElement._firstBuild@44042623+0x52c [ ] 2026-08-12 12:36:19.066702-0500 Flutter Gallery[9651:1006622] pc 0x00000001195516c4 fp 0x000000016dab9328 sp 0x000000016dab9300 [Unoptimized] ComponentElement.mount+0x214 [ ] 2026-08-12 12:36:19.066715-0500 Flutter Gallery[9651:1006622] pc 0x000000011954d8fc fp 0x000000016dab93c0 sp 0x000000016dab9338 [Unoptimized] Element.inflateWidget+0xb3c [ ] 2026-08-12 12:36:19.066722-0500 Flutter Gallery[9651:1006622] pc 0x000000011954cb9c fp 0x000000016dab9418 sp 0x000000016dab93d0 [Unoptimized] Element.updateChild+0x114c [ ] 2026-08-12 12:36:19.066728-0500 Flutter Gallery[9651:1006622] pc 0x000000011954b6a4 fp 0x000000016dab94a8 sp 0x000000016dab9428 [Unoptimized] RootElement._rebuild@54399801+0x1d4 [ ] 2026-08-12 12:36:19.066734-0500 Flutter Gallery[9651:1006622] pc 0x0000000119548bd8 fp 0x000000016dab94e0 sp 0x000000016dab94b8 [Unoptimized] RootElement.mount+0x168 [ ] 2026-08-12 12:36:19.066741-0500 Flutter Gallery[9651:1006622] pc 0x0000000119548a08 fp 0x000000016dab9528 sp 0x000000016dab94f0 [Unoptimized] RootWidget.attach.<anonymous closure>+0xd8 [ ] 2026-08-12 12:36:19.066748-0500 Flutter Gallery[9651:1006622] pc 0x00000001195467d4 fp 0x000000016dab95c0 sp 0x000000016dab9538 [Unoptimized] BuildOwner.buildScope+0xa84 [ ] 2026-08-12 12:36:19.066754-0500 Flutter Gallery[9651:1006622] pc 0x0000000119543910 fp 0x000000016dab9648 sp 0x000000016dab95d0 [Unoptimized] RootWidget.attach+0x370 [ ] 2026-08-12 12:36:19.066761-0500 Flutter Gallery[9651:1006622] pc 0x000000011954312c fp 0x000000016dab96a8 sp 0x000000016dab9658 [Unoptimized] _WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding&ServicesBinding&PaintingBinding&SemanticsBinding&RendererBinding&[email protected]+0x22c [ ] 2026-08-12 12:36:19.066768-0500 Flutter Gallery[9651:1006622] pc 0x00000001195427c8 fp 0x000000016dab96e8 sp 0x000000016dab96b8 [Unoptimized] _WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding&ServicesBinding&PaintingBinding&SemanticsBinding&RendererBinding&[email protected]+0x118 [ ] 2026-08-12 12:36:19.066784-0500 Flutter Gallery[9651:1006622] pc 0x0000000119542630 fp 0x000000016dab9728 sp 0x000000016dab96f8 [Unoptimized] _WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding&ServicesBinding&PaintingBinding&SemanticsBinding&RendererBinding&[email protected].<anonymous closure>+0xc0 [ ] 2026-08-12 12:36:19.066791-0500 Flutter Gallery[9651:1006622] pc 0x00000001195424fc fp 0x000000016dab9760 sp 0x000000016dab9738 [Unoptimized] Timer._createTimer@5048458.<anonymous closure>+0xec [ ] 2026-08-12 12:36:19.066799-0500 Flutter Gallery[9651:1006622] pc 0x00000001195415f0 fp 0x000000016dab97f8 sp 0x000000016dab9770 [Unoptimized] _Timer@1026248._runTimers@1026248+0xc00 [ ] 2026-08-12 12:36:19.066805-0500 Flutter Gallery[9651:1006622] pc 0x000000011953f360 fp 0x000000016dab9830 sp 0x000000016dab9808 [Unoptimized] _Timer@1026248._handleMessage@1026248+0x2d0 [ ] 2026-08-12 12:36:19.066811-0500 Flutter Gallery[9651:1006622] pc 0x000000011953f040 fp 0x000000016dab9860 sp 0x000000016dab9840 [Unoptimized] _Timer@1026248._handleMessage@1026248+0xa0 [ ] 2026-08-12 12:36:19.066819-0500 Flutter Gallery[9651:1006622] pc 0x00000001134412d0 fp 0x000000016dab98e0 sp 0x000000016dab9870 [Unoptimized] [email protected]:call+0xcb0 [ ] 2026-08-12 12:36:19.066825-0500 Flutter Gallery[9651:1006622] pc 0x00000001134404e4 fp 0x000000016dab9938 sp 0x000000016dab98f0 [Unoptimized] _RawReceivePort@1026248._handleMessage@1026248+0x214 [ ] 2026-08-12 12:36:19.066831-0500 Flutter Gallery[9651:1006622] pc 0x0000000112c03a84 fp 0x000000016dab9a10 sp 0x000000016dab9948 [Stub] Entry frame [ ] 2026-08-12 12:36:19.066839-0500 Flutter Gallery[9651:1006622] === Crash occurred when compiling package:flutter/src/rendering/view.dart_ViewConfiguration_ViewConfiguration. in unoptimized JIT mode in unknown pass [ ] 2026-08-12 12:36:19.066846-0500 Flutter Gallery[9651:1006622] === Flow Graph not available@vashworth well, bad news for us :-/ I guess, it's a LLDB bug of some sort again just like we had it before.
We could try to apply previous variant of the workaround (with manual resume - instead of
SetAsync(false)) and see if it makes it go away. If we can't find a workaround then we need to collect LLDB traces for breakpoint behavior (e.g.log enable gdb-remote break) and see if we can reduce this to some minimal example which we can report upstream to LLDB.I've verified that manual resuming does indeed make the error go away. I'll go forward with that for now.
- moved this from Not started to Done in Apple release: Xcode, iOS, macOS
on Aug 24, 2026 - added a commit that references this issue
on Aug 24, 2026 This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.- locked as resolved and limited conversation to collaborators
on Sep 7, 2026
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Steps to reproduce
Use https://github.com/flutter/flutter/tree/master/dev/integration_tests/flutter_gallery on an iOS 27 beta 4 physical iOS device.
Do
flutter runrepetitively and eventually I it crashes. I've gotten it multiple times, usually within 20 runsI had gemini write a little script to run
flutter rununtil it fails:Script to run until fails
Expected results
No crash
Actual results
App crashes
Code sample
https://github.com/flutter/flutter/tree/master/dev/integration_tests/flutter_gallery
Screenshots or Video
No response
Logs
Xcode crash log: Flutter Gallery-2026-07-30-115341.txt
Flutter Doctor output
Doctor output