-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: productionIssues experienced in live production appsIssues experienced in live production appsc: crashStack traces logged to the consoleStack traces logged to the consoleengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-iosiOS applications specificallyiOS applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-engineOwned by Engine teamOwned by Engine team
Description
Is there an existing issue for this?
- I have searched the existing issues
- I have read the guide to filing a bug
Steps to reproduce
The app just crashes unusually on a lot of places
Expected results
The app should not crash and should run normally
Actual results
The app crashes frequently
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
Logs
Logs
Incident Identifier: 34C3212A-19BE-4ACC-82C3-F84AC54A6CBD
Hardware Model: iPhone11,8
Process: Runner [23532]
Path: /private/var/containers/Bundle/Application/8F757B40-3D7F-4337-A1EE-30EA44DD7796/Runner.app/Runner
Identifier: com.alp.ch
Version: 2.1.3 (335)
AppStoreTools: 15A240a
AppVariant: 1:iPhone11,8:16
Beta: YES
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.alp.ch [1798]
Date/Time: 2023-10-14 21:53:51.5855 +0200
Launch Time: 2023-10-14 21:42:28.1690 +0200
OS Version: iPhone OS 16.7 (20H19)
Release Type: User
Baseband Version: 5.03.01
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x00000000000000b8
Exception Codes: 0x0000000000000001, 0x00000000000000b8
VM Region Info: 0xb8 is not in any region. Bytes before following region: 68719476552
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
commpage (reserved) 1000000000-7000000000 [384.0G] ---/--- SM=NUL ...(unallocated)
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [23532]
Triggered by Thread: 3
Thread 0 name:
Thread 0:
0 libsystem_kernel.dylib 0x000000020ff1aca4 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x000000020ff2db74 mach_msg2_internal + 80 (mach_msg.c:201)
2 libsystem_kernel.dylib 0x000000020ff2de4c mach_msg_overwrite + 540 (mach_msg.c:0)
3 libsystem_kernel.dylib 0x000000020ff1b1e8 mach_msg + 24 (mach_msg.c:323)
4 CoreFoundation 0x00000001d0fc7fb4 __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2622)
5 CoreFoundation 0x00000001d0fc91e0 __CFRunLoopRun + 1208 (CFRunLoop.c:3005)
6 CoreFoundation 0x00000001d0fce37c CFRunLoopRunSpecific + 612 (CFRunLoop.c:3418)
7 GraphicsServices 0x000000020c4f035c GSEventRunModal + 164 (GSEvent.c:2196)
8 UIKitCore 0x00000001d335af58 -[UIApplication _run] + 888 (UIApplication.m:3782)
9 UIKitCore 0x00000001d335abbc UIApplicationMain + 340 (UIApplication.m:5372)
10 Runner 0x0000000104664bb4 main + 64 (AppDelegate.swift:8)
11 dyld 0x00000001f050cdec start + 2220 (dyldMain.cpp:1165)
Thread 1 name:
Thread 1:
0 libsystem_kernel.dylib 0x000000020ff1aca4 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x000000020ff2db74 mach_msg2_internal + 80 (mach_msg.c:201)
2 libsystem_kernel.dylib 0x000000020ff2de4c mach_msg_overwrite + 540 (mach_msg.c:0)
3 libsystem_kernel.dylib 0x000000020ff1b1e8 mach_msg + 24 (mach_msg.c:323)
4 CoreFoundation 0x00000001d0fc7fb4 __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2622)
5 CoreFoundation 0x00000001d0fc91e0 __CFRunLoopRun + 1208 (CFRunLoop.c:3005)
6 CoreFoundation 0x00000001d0fce37c CFRunLoopRunSpecific + 612 (CFRunLoop.c:3418)
7 Foundation 0x00000001cb24ef74 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 (NSRunLoop.m:373)
8 Foundation 0x00000001cb24ee5c -[NSRunLoop(NSRunLoop) runUntilDate:] + 64 (NSRunLoop.m:420)
9 UIKitCore 0x00000001d348dcc8 -[UIEventFetcher threadMain] + 416 (UIEventFetcher.m:1376)
10 Foundation 0x00000001cb2684e4 __NSThread__start__ + 716 (NSThread.m:963)
11 libsystem_pthread.dylib 0x0000000230dae6b8 _pthread_start + 148 (pthread.c:893)
12 libsystem_pthread.dylib 0x0000000230dadb88 thread_start + 8
Thread 2 name:
Thread 2:
0 libsystem_kernel.dylib 0x000000020ff1aca4 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x000000020ff2db74 mach_msg2_internal + 80 (mach_msg.c:201)
2 libsystem_kernel.dylib 0x000000020ff2de4c mach_msg_overwrite + 540 (mach_msg.c:0)
3 libsystem_kernel.dylib 0x000000020ff1b1e8 mach_msg + 24 (mach_msg.c:323)
4 CoreFoundation 0x00000001d0fc7fb4 __CFRunLoopServiceMachPort + 160 (CFRunLoop.c:2622)
5 CoreFoundation 0x00000001d0fc91e0 __CFRunLoopRun + 1208 (CFRunLoop.c:3005)
6 CoreFoundation 0x00000001d0fce37c CFRunLoopRunSpecific + 612 (CFRunLoop.c:3418)
7 Flutter 0x0000000106d41830 fml::MessageLoopDarwin::Run() + 88 (message_loop_darwin.mm:51)
8 Flutter 0x0000000106d40ea4 + -1 (:-1)
9 libsystem_pthread.dylib 0x0000000230dae6b8 _pthread_start + 148 (pthread.c:893)
10 libsystem_pthread.dylib 0x0000000230dadb88 thread_start + 8
Thread 3 name:
Thread 3 Crashed:
0 Flutter 0x000000010703fad8 std::_LIBCPP_ABI_NAMESPACE::shared_ptr<impeller::Texture>::operator->[abi:v15000]() const + 0 (shared_ptr.h:815)
1 Flutter 0x000000010703fad8 impeller::SurfaceMTL::coverage() const + 0 (surface_mtl.mm:218)
2 Flutter 0x000000010703fad8 flutter::GPUSurfaceMetalImpeller::AcquireFrameFromCAMetalLayer(SkISize const&)::$_0::operator()(flutter::SurfaceFrame&, flutter::DlCanvas*) + 248 (gpu_surface_metal_impeller.mm:151)
3 Flutter 0x000000010703fad8 auto fml::internal::CopyableLambda<flutter::GPUSurfaceMetalImpeller::AcquireFrameFromCAMetalLayer(SkISize const&)::$_0>::operator()<flutter::SurfaceFrame&, flutter::DlCanvas*>(flutter::SurfaceFrame... + 248 (make_copyable.h:24)
4 Flutter 0x000000010703fad8 decltype(std::declval<fml::internal::CopyableLambda<flutter::GPUSurfaceMetalImpeller::AcquireFrameFromCAMetalLayer(SkISize const&)::$_0>&>()(std::declval<flutter::SurfaceFrame&>(), std::declval<flu... + 248 (invoke.h:403)
5 Flutter 0x000000010703fad8 bool std::_LIBCPP_ABI_NAMESPACE::__invoke_void_return_wrapper<bool, false>::__call<fml::internal::CopyableLambda<flutter::GPUSurfaceMetalImpeller::AcquireFrameFromCAMetalLayer(SkISize const&)::$_0>... + 248 (invoke.h:479)
6 Flutter 0x000000010703fad8 std::_LIBCPP_ABI_NAMESPACE::__function::__alloc_func<fml::internal::CopyableLambda<flutter::GPUSurfaceMetalImpeller::AcquireFrameFromCAMetalLayer(SkISize const&)::$_0>, std::_LIBCPP_ABI_NAMESPACE::... + 248 (function.h:185)
7 Flutter 0x000000010703fad8 std::_LIBCPP_ABI_NAMESPACE::__function::__func<fml::internal::CopyableLambda<flutter::GPUSurfaceMetalImpeller::AcquireFrameFromCAMetalLayer(SkISize const&)::$_0>, std::_LIBCPP_ABI_NAMESPACE::alloca... + 692 (function.h:359)
8 Flutter 0x0000000106ef2e00 std::_LIBCPP_ABI_NAMESPACE::__function::__value_func<bool (flutter::SurfaceFrame&, flutter::DlCanvas*)>::operator()[abi:v15000](flutter::SurfaceFrame&, flutter::DlCanvas*&&) const + 20 (function.h:512)
9 Flutter 0x0000000106ef2e00 std::_LIBCPP_ABI_NAMESPACE::function<bool (flutter::SurfaceFrame&, flutter::DlCanvas*)>::operator()(flutter::SurfaceFrame&, flutter::DlCanvas*) const + 20 (function.h:1187)
10 Flutter 0x0000000106ef2e00 flutter::SurfaceFrame::PerformSubmit() + 36 (surface_frame.cc:68)
11 Flutter 0x0000000106ef2e00 flutter::SurfaceFrame::Submit() + 72 (surface_frame.cc:46)
12 Flutter 0x0000000106e342cc flutter::Rasterizer::DrawToSurfaceUnsafe(flutter::FrameTimingsRecorder&, flutter::LayerTree&, float) + 1556 (rasterizer.cc:633)
13 Flutter 0x0000000106e34520 flutter::Rasterizer::DrawToSurface(flutter::FrameTimingsRecorder&, flutter::LayerTree&, float)::$_1::operator()() const + 16 (rasterizer.cc:504)
14 Flutter 0x0000000106e34520 decltype(std::declval<flutter::Rasterizer::DrawToSurface(flutter::FrameTimingsRecorder&, flutter::LayerTree&, float)::$_1&>()()) std::_LIBCPP_ABI_NAMESPACE::__invoke[abi:v15000]<flutter::Rasterizer... + 16 (invoke.h:403)
15 Flutter 0x0000000106e34520 void std::_LIBCPP_ABI_NAMESPACE::__invoke_void_return_wrapper<void, true>::__call<flutter::Rasterizer::DrawToSurface(flutter::FrameTimingsRecorder&, flutter::LayerTree&, float)::$_1&>(flutter::Rast... + 16 (invoke.h:488)
16 Flutter 0x0000000106e34520 std::_LIBCPP_ABI_NAMESPACE::__function::__alloc_func<flutter::Rasterizer::DrawToSurface(flutter::FrameTimingsRecorder&, flutter::LayerTree&, float)::$_1, std::_LIBCPP_ABI_NAMESPACE::allocator<flutt... + 16 (function.h:185)
17 Flutter 0x0000000106e34520 std::_LIBCPP_ABI_NAMESPACE::__function::__func<flutter::Rasterizer::DrawToSurface(flutter::FrameTimingsRecorder&, flutter::LayerTree&, float)::$_1, std::_LIBCPP_ABI_NAMESPACE::allocator<flutter::Ra... + 36 (function.h:359)
18 Flutter 0x0000000106d3f974 std::_LIBCPP_ABI_NAMESPACE::__function::__value_func<void ()>::operator()[abi:v15000]() const + 12 (function.h:512)
19 Flutter 0x0000000106d3f974 std::_LIBCPP_ABI_NAMESPACE::function<void ()>::operator()() const + 12 (function.h:1187)
20 Flutter 0x0000000106d3f974 fml::SyncSwitch::Execute(fml::SyncSwitch::Handlers const&) const + 72 (sync_switch.cc:0)
21 Flutter 0x0000000106e33b64 flutter::Rasterizer::DrawToSurface(flutter::FrameTimingsRecorder&, flutter::LayerTree&, float) + 320 (rasterizer.cc:500)
22 Flutter 0x0000000106e35414 flutter::Rasterizer::DoDraw(std::_LIBCPP_ABI_NAMESPACE::unique_ptr<flutter::FrameTimingsRecorder, std::_LIBCPP_ABI_NAMESPACE::default_delete<flutter::FrameTimingsRecorder> >, std::_LIBCPP_ABI_NAMES... + 32 (rasterizer.cc:402)
23 Flutter 0x0000000106e35414 flutter::Rasterizer::Draw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> > const&, std::_LIBCPP_ABI_NAMESPACE::function<bool (flutter::LayerTree&)>)::$_1::operator... + 168 (rasterizer.cc:211)
24 Flutter 0x0000000106e35414 decltype(std::declval<flutter::Rasterizer::Draw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> > const&, std::_LIBCPP_ABI_NAMESPACE::function<bool (flutter::LayerT... + 180 (invoke.h:403)
25 Flutter 0x0000000106e35414 void std::_LIBCPP_ABI_NAMESPACE::__invoke_void_return_wrapper<void, true>::__call<flutter::Rasterizer::Draw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> > const&... + 180 (invoke.h:488)
26 Flutter 0x0000000106e35414 std::_LIBCPP_ABI_NAMESPACE::__function::__alloc_func<flutter::Rasterizer::Draw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> > const&, std::_LIBCPP_ABI_NAMESPACE:... + 180 (function.h:185)
27 Flutter 0x0000000106e35414 std::_LIBCPP_ABI_NAMESPACE::__function::__func<flutter::Rasterizer::Draw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> > const&, std::_LIBCPP_ABI_NAMESPACE::funct... + 220 (function.h:359)
28 Flutter 0x0000000106e34758 std::_LIBCPP_ABI_NAMESPACE::__function::__value_func<void (std::_LIBCPP_ABI_NAMESPACE::unique_ptr<flutter::LayerTreeItem, std::_LIBCPP_ABI_NAMESPACE::default_delete<flutter::LayerTreeItem> >)>::ope... + 24 (function.h:512)
29 Flutter 0x0000000106e34758 std::_LIBCPP_ABI_NAMESPACE::function<void (std::_LIBCPP_ABI_NAMESPACE::unique_ptr<flutter::LayerTreeItem, std::_LIBCPP_ABI_NAMESPACE::default_delete<flutter::LayerTreeItem> >)>::operator()(std::_LI... + 24 (function.h:1187)
30 Flutter 0x0000000106e34758 flutter::Pipeline<flutter::LayerTreeItem>::Consume(std::_LIBCPP_ABI_NAMESPACE::function<void (std::_LIBCPP_ABI_NAMESPACE::unique_ptr<flutter::LayerTreeItem, std::_LIBCPP_ABI_NAMESPACE::default_dele... + 232 (pipeline.h:199)
31 Flutter 0x0000000106e34758 flutter::Rasterizer::Draw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> > const&, std::_LIBCPP_ABI_NAMESPACE::function<bool (flutter::LayerTree&)>) + 440 (rasterizer.cc:216)
32 Flutter 0x0000000106e4bb68 flutter::Shell::OnAnimatorDraw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> >)::$_0::operator()() + 64 (shell.cc:1228)
33 Flutter 0x0000000106e4bb68 auto fml::internal::CopyableLambda<flutter::Shell::OnAnimatorDraw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> >)::$_0>::operator()<>() const + 64 (make_copyable.h:24)
34 Flutter 0x0000000106e4bb68 decltype(std::declval<fml::internal::CopyableLambda<flutter::Shell::OnAnimatorDraw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> >)::$_0>&>()()) std::_LIBCPP_ABI_... + 64 (invoke.h:403)
35 Flutter 0x0000000106e4bb68 void std::_LIBCPP_ABI_NAMESPACE::__invoke_void_return_wrapper<void, true>::__call<fml::internal::CopyableLambda<flutter::Shell::OnAnimatorDraw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeli... + 64 (invoke.h:488)
36 Flutter 0x0000000106e4bb68 std::_LIBCPP_ABI_NAMESPACE::__function::__alloc_func<fml::internal::CopyableLambda<flutter::Shell::OnAnimatorDraw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> >)... + 64 (function.h:185)
37 Flutter 0x0000000106e4bb68 std::_LIBCPP_ABI_NAMESPACE::__function::__func<fml::internal::CopyableLambda<flutter::Shell::OnAnimatorDraw(std::_LIBCPP_ABI_NAMESPACE::shared_ptr<flutter::Pipeline<flutter::LayerTreeItem> >)::$_0>... + 368 (function.h:359)
38 Flutter 0x0000000106d3e154 std::_LIBCPP_ABI_NAMESPACE::__function::__value_func<void ()>::operator()[abi:v15000]() const + 12 (function.h:512)
39 Flutter 0x0000000106d3e154 std::_LIBCPP_ABI_NAMESPACE::function<void ()>::operator()() const + 12 (function.h:1187)
40 Flutter 0x0000000106d3e154 fml::MessageLoopImpl::FlushTasks(fml::FlushType) + 1000 (message_loop_impl.cc:126)
41 Flutter 0x0000000106d41744 fml::MessageLoopImpl::RunExpiredTasksNow() + 8 (message_loop_impl.cc:139)
42 Flutter 0x0000000106d41744 fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*) + 32 (message_loop_darwin.mm:85)
43 CoreFoundation 0x00000001d101a5c8 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 32 (CFRunLoop.c:1797)
44 CoreFoundation 0x00000001d0fd7edc __CFRunLoopDoTimer + 940 (CFRunLoop.c:2402)
45 CoreFoundation 0x00000001d0f7d6ac __CFRunLoopDoTimers + 288 (CFRunLoop.c:2560)
46 CoreFoundation 0x00000001d0fc9464 __CFRunLoopRun + 1852 (CFRunLoop.c:3120)
47 CoreFoundation 0x00000001d0fce37c CFRunLoopRunSpecific + 612 (CFRunLoop.c:3418)
48 Flutter 0x0000000106d41830 fml::MessageLoopDarwin::Run() + 88 (message_loop_darwin.mm:51)
49 Flutter 0x0000000106d40ea4 + -1 (:-1)
50 libsystem_pthread.dylib 0x0000000230dae6b8 _pthread_start + 148 (pthread.c:893)
51 libsystem_pthread.dylib 0x0000000230dadb88 thread_start + 8
Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel stable, 3.13.0, on macOS 14.0 23A344 darwin-arm64, locale en-NP)
! Warning: `flutter` on your path resolves to /Users/shrijanregmi/Projects/Flutter/sdk/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/shrijanregmi/fvm/versions/3.13.0. Consider adding /Users/shrijanregmi/fvm/versions/3.13.0/bin to the front of your path.
! Warning: `dart` on your path resolves to /opt/homebrew/Cellar/dart/2.19.6/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/shrijanregmi/fvm/versions/3.13.0. Consider adding /Users/shrijanregmi/fvm/versions/3.13.0/bin to the front of your path.
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] VS Code (version 1.83.1)
[✓] Connected device (4 available)
[✓] Network resources
! Doctor found issues in 1 category.Gorniv and Kiruel
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: productionIssues experienced in live production appsIssues experienced in live production appsc: crashStack traces logged to the consoleStack traces logged to the consoleengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-iosiOS applications specificallyiOS applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-engineOwned by Engine teamOwned by Engine team