Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS14.6 arm64e crash #85505

Closed
ldhlfzysys opened this issue Jun 29, 2021 · 14 comments
Closed

iOS14.6 arm64e crash #85505

ldhlfzysys opened this issue Jun 29, 2021 · 14 comments
Labels
c: fatal crash Crashes that terminate the process dependency: skia Skia team may need to help us engine flutter/engine repository. See also e: labels. P2 Important issues not at the top of the work list platform-ios iOS applications specifically

Comments

@ldhlfzysys
Copy link

Engine Info:
Version 40441de
ClangVersion Apple clang version 11.0.3 (clang-1103.0.32.62)

Approximately 1 in 10,000 users have this crash, they are all iOS14.6 system and arm64e cpu. The stack information is as follows,because it's an online crash, I don't know how to reproduce it

dart::kernel::LibraryIndex::LibraryIndex(dart::ExternalTypedData const&, unsigned int) (in Flutter) (w)
dart::kernel::LibraryIndex::LibraryIndex(dart::ExternalTypedData const&, unsigned int) (in Flutter) (kernel_loader.cc:152)
icu_68::BreakIterator::createWordInstance(icu_68::Locale const&, UErrorCode&) (in Flutter) (brkiter.cpp:148)
icu_68::BMPSet::initBits() (in Flutter) (bmpset.cpp:0)
icu_68::BMPSet::overrideIllegal() (in Flutter) (bmpset.cpp:233)
std::__1::__tree_node_base<void*>*& std::__1::__tree<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int>, std::__1::__map_value_compare<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int>, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, true>, std::__1::allocator<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int> > >::__find_equal<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::__tree_const_iterator<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int>, std::__1::__tree_node<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int>, void*>*, long>, std::__1::__tree_end_node<std::__1::__tree_node_base<void*>*>*&, std::__1::__tree_node_base<void*>*&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) (in Flutter) (__tree:2105)
bssl::ssl_client_handshake(bssl::SSL_HANDSHAKE*) (in Flutter) (handshake_client.cc:1746)
bssl::ssl_client_handshake(bssl::SSL_HANDSHAKE*) (in Flutter) (handshake_client.cc:1761)
bssl::ssl_server_handshake(bssl::SSL_HANDSHAKE*) (in Flutter) (handshake_server.cc:1656)
bssl::ssl_server_handshake(bssl::SSL_HANDSHAKE*) (in Flutter) (handshake_server.cc:1653)
dart::kernel::KernelLoader::LookupLibrary(dart::kernel::NameIndex) (in Flutter) (kernel_loader.cc:2334)
ASN1_template_free (in Flutter) (tasn_fre.c:188)
ASN1_item_free (in Flutter) (tasn_fre.c:68)
SkWuffsCodec::onStartIncrementalDecodeOnePass(SkImageInfo const&, unsigned char*, unsigned long, SkCodec::Options const&, unsigned int, unsigned long) (in Flutter) (SkWuffsCodec.cpp:494)
SkWuffsCodec::onStartIncrementalDecode(SkImageInfo const&, void*, unsigned long, SkCodec::Options const&) (in Flutter) (SkWuffsCodec.cpp:0)
std::__1::__wrap_iter<char const*> std::__1::basic_regex<char, std::__1::regex_traits<char> >::__parse_equivalence_class<std::__1::__wrap_iter<char const*> >(std::__1::__wrap_iter<char const*>, std::__1::__wrap_iter<char const*>, std::__1::__bracket_expression<char, std::__1::regex_traits<char> >*) (in Flutter) (regex:4016)
skia_png_write_rows (in Flutter) (pngwrite.c:580)
skia_png_write_sPLT (in Flutter) (pngwutil.c:1196)
@mraleph
Copy link
Member

mraleph commented Jun 29, 2021

The stack trace does not make much sense. I think it is incorrectly symbolised. Can you paste the full unsymbolized stack trace? Also please paste more information about the crash (is it sigsegv type of the crash or something else).

@mraleph mraleph added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jun 29, 2021
@ldhlfzysys
Copy link
Author

ldhlfzysys commented Jun 29, 2021

@mraleph thank you for your reply,

image_load_address 0x10E2E4000
type: signal SIGSEGV

Crashed thread 0x00000029#0 
2 libsystem_platform.dylib 0x529c 4F256518-F4E4-35C7-BA0E-3F0C26B9D24E   21148
3 Flutter 0x5dddec Flutter   6151660
4 Flutter 0x5dddec Flutter   6151660
5 Flutter 0x34da2c Flutter   3463724
6 Flutter 0x34c1d8 Flutter   3457496
7 Flutter 0x34c3a0 Flutter   3457952
8 Flutter 0x3ed638 Flutter   4118072
9 Flutter 0x5177e4 Flutter   5339108
10 Flutter 0x518154 Flutter   5341524
11 Flutter 0x51b058 Flutter   5353560
12 Flutter 0x51bbcc Flutter   5356492
13 Flutter 0x5ddbd4 Flutter   6151124
14 Flutter 0x4b9760 Flutter   4953952
15 Flutter 0x4b9484 Flutter   4953220
16 Flutter 0x32bd40 Flutter   3325248
17 Flutter 0x32ba10 Flutter   3324432
18 Flutter 0x33c3ac Flutter   3392428
19 Flutter 0x2d5fc4 Flutter   2973636
20 Flutter 0x2d7e24 Flutter   2981412
21 CoreFoundation 0xa422c 4FBDF167-161A-324C-A233-D516922C67E5   672300
22 CoreFoundation 0xa3e28 4FBDF167-161A-324C-A233-D516922C67E5   671272
23 CoreFoundation 0xa3278 4FBDF167-161A-324C-A233-D516922C67E5   668280
24 CoreFoundation 0x9d02c 4FBDF167-161A-324C-A233-D516922C67E5   643116
25 CoreFoundation 0x9c360 CFRunLoopRunSpecific   600
26 Flutter 0x2d7d00 Flutter   2981120
27 Flutter 0x2d7704 Flutter   2979588
28 libsystem_pthread.dylib 0x1bfc _pthread_start   320
29 libsystem_pthread.dylib 0xa758 thread_start   8

@no-response no-response bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jun 29, 2021
@ldhlfzysys
Copy link
Author

ldhlfzysys commented Jun 29, 2021

another one

image_load_address 0x109E04000
type: signal SIGABRT

Crashed thread 0x00000069
2 libsystem_platform.dylib 0x630c _sigtramp   36
3 libsystem_pthread.dylib 0x5264 pthread_kill   112
4 libsystem_c.dylib 0x619c4 abort   140
5 libsystem_c.dylib 0x364dc __assert_rtn   220
6 Metal 0x39fc0 MTLReportFailure   780
7 Metal 0x1745c <redacted>   180
8 Metal 0x18664 <redacted>   284
9 AGXMetalA10 0x38c30 AGXMetalA10   232496
10 QuartzCore 0xf13f4 <redacted>   320
11 QuartzCore 0xf103c <redacted>   1524
12 Flutter 0x280ad8 Flutter   2624216
13 Flutter 0x1a47b8 Flutter   1722296
14 Flutter 0x189f48 Flutter   1613640
15 Flutter 0x175998 Flutter   1530264
16 Flutter 0x176300 Flutter   1532672
17 Flutter 0x4ff50 Flutter   327504
18 Flutter 0x4c3464 Flutter   4994148
19 Flutter 0x328c00 Flutter   3312640
20 Flutter 0x32ec50 Flutter   3337296
21 Flutter 0x32f814 Flutter   3340308
22 Flutter 0x32ef40 Flutter   3338048
23 Flutter 0x3361f4 Flutter   3367412
24 Flutter 0x2d5fc4 Flutter   2973636
25 Flutter 0x2d7e24 Flutter   2981412
26 CoreFoundation 0xdbaa4 <redacted>   28
27 CoreFoundation 0xdb7a8 <redacted>   856
28 CoreFoundation 0xdb068 <redacted>   244
29 CoreFoundation 0xd8c8c <redacted>   1484
30 CoreFoundation 0x8da4 CFRunLoopRunSpecific   424
31 Flutter 0x2d7d00 Flutter   2981120
32 Flutter 0x2d7704 Flutter   2979588
33 libsystem_pthread.dylib 0x368c <redacted>   240
34 libsystem_pthread.dylib 0x359c <redacted>   0
35 libsystem_pthread.dylib 0xcb4 thread_start   4

@ldhlfzysys
Copy link
Author

That's all I got,I get this crash info from my code, so there is no crash.log file.

@mraleph
Copy link
Member

mraleph commented Jun 29, 2021

The first one (#85505 (comment)) symbolizes to the following stack. Looks like some sort of engine shutdown crash (/cc @jason-simmons)

##01 000000010e8c1dec Flutter Flutter   6151660
                             dart::Thread::EnterIsolate(dart::Isolate*)
                             third_party/dart/runtime/vm/thread.cc:277:29
                             Dart_EnterIsolate
                             third_party/dart/runtime/vm/dart_api_impl.cc:1531:0
#02 000000010e8c1dec Flutter Flutter   6151660
                             dart::Thread::EnterIsolate(dart::Isolate*)
                             third_party/dart/runtime/vm/thread.cc:277:29
                             Dart_EnterIsolate
                             third_party/dart/runtime/vm/dart_api_impl.cc:1531:0
#03 000000010e631a2c Flutter Flutter   3463724
                             tonic::DartIsolateScope::DartIsolateScope(_Dart_Isolate*)
                             flutter/third_party/tonic/scopes/dart_isolate_scope.cc:16:3
                             tonic::DartIsolateScope::DartIsolateScope(_Dart_Isolate*)
                             flutter/third_party/tonic/scopes/dart_isolate_scope.cc:9:0
#04 000000010e6301d8 Flutter Flutter   3457496
                             tonic::DartWeakPersistentValue::Clear()
                             flutter/third_party/tonic/dart_weak_persistent_value.cc:50:24
#05 000000010e6303a0 Flutter Flutter   3457952
                             tonic::DartWeakPersistentValue::~DartWeakPersistentValue()
                             flutter/third_party/tonic/dart_weak_persistent_value.cc:15:3
                             tonic::DartWeakPersistentValue::~DartWeakPersistentValue()
                             flutter/third_party/tonic/dart_weak_persistent_value.cc:14:0
                             tonic::DartWrappable::~DartWrappable()
                             flutter/third_party/tonic/dart_wrappable.cc:16:0
#06 000000010e6d1638 Flutter Flutter   4118072
                             flutter::RefCountedDartWrappable<flutter::EngineLayer>::~RefCountedDartWrappable()
                             flutter/lib/ui/dart_wrapper.h:14:7
                             flutter::EngineLayer::~EngineLayer()
                             flutter/lib/ui/painting/engine_layer.cc:19:0
                             flutter::EngineLayer::~EngineLayer()
                             flutter/lib/ui/painting/engine_layer.cc:19:0
                             flutter::EngineLayer::~EngineLayer()
                             flutter/lib/ui/painting/engine_layer.cc:19:0
#07 000000010e7fb7e4 Flutter Flutter   5339108
                             dart::FinalizablePersistentHandle::Finalize(dart::IsolateGroup*, dart::FinalizablePersistentHandle*)
                             third_party/dart/runtime/vm/dart_api_impl.cc:720:3
                             dart::FinalizablePersistentHandle::UpdateUnreachable(dart::IsolateGroup*)
                             third_party/dart/runtime/vm/dart_api_state.h:250:0
                             dart::FinalizeWeakPersistentHandlesVisitor::VisitHandle(unsigned long)
                             third_party/dart/runtime/vm/isolate.cc:278:0
#08 000000010e7fc154 Flutter Flutter   5341524
                             dart::Handles<5, 64, 0>::HandlesBlock::Visit(dart::HandleVisitor*)
                             third_party/dart/runtime/vm/handles_impl.h:296:14
                             dart::Handles<5, 64, 0>::Visit(dart::HandleVisitor*)
                             third_party/dart/runtime/vm/handles_impl.h:55:0
                             dart::FinalizablePersistentHandles::VisitHandles(dart::HandleVisitor*)
                             third_party/dart/runtime/vm/dart_api_state.h:545:0
                             dart::ApiState::VisitWeakHandlesUnlocked(dart::HandleVisitor*)
                             third_party/dart/runtime/vm/dart_api_state.h:761:0
                             dart::IsolateGroup::~IsolateGroup()
                             third_party/dart/runtime/vm/isolate.cc:405:0
                             dart::IsolateGroup::~IsolateGroup()
                             third_party/dart/runtime/vm/isolate.cc:402:0
                             dart::IsolateGroup::Shutdown()
                             third_party/dart/runtime/vm/isolate.cc:506:0
#09 000000010e7ff058 Flutter Flutter   5353560
                             dart::Isolate::LowLevelCleanup(dart::Isolate*)
                             third_party/dart/runtime/vm/isolate.cc:2519:22
#10 000000010e7ffbcc Flutter Flutter   5356492
                             dart::Isolate::Shutdown()
                             third_party/dart/runtime/vm/isolate.cc:2475:3
#11 000000010e8c1bd4 Flutter Flutter   6151124
                             dart::Dart::ShutdownIsolate()
                             third_party/dart/runtime/vm/dart.cc:1116:23
                             Dart_ShutdownIsolate
                             third_party/dart/runtime/vm/dart_api_impl.cc:1468:0
#12 000000010e79d760 Flutter Flutter   4953952
                             flutter::RuntimeController::~RuntimeController()
                             flutter/runtime/runtime_controller.cc:84:33
#13 000000010e79d484 Flutter Flutter   4953220
                             flutter::RuntimeController::~RuntimeController()
                             flutter/runtime/runtime_controller.cc:79:41
                             flutter::RuntimeController::~RuntimeController()
                             flutter/runtime/runtime_controller.cc:79:0
#14 000000010e60fd40 Flutter Flutter   3325248
                             std::__1::default_delete<flutter::RuntimeController>::operator()(flutter::RuntimeController*) const
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/memory:2338:5
                             std::__1::unique_ptr<flutter::RuntimeController, std::__1::default_delete<flutter::RuntimeController> >::reset(flutter::RuntimeController*)
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/memory:2651:0
                             std::__1::unique_ptr<flutter::RuntimeController, std::__1::default_delete<flutter::RuntimeController> >::~unique_ptr()
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/memory:2605:0
                             std::__1::unique_ptr<flutter::RuntimeController, std::__1::default_delete<flutter::RuntimeController> >::~unique_ptr()
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/memory:2605:0
                             flutter::Engine::~Engine()
                             flutter/shell/common/engine.cc:131:0
#15 000000010e60fa10 Flutter Flutter   3324432
                             flutter::Engine::~Engine()
                             flutter/shell/common/engine.cc:131:17
                             flutter::Engine::~Engine()
                             flutter/shell/common/engine.cc:131:0
#16 000000010e6203ac Flutter Flutter   3392428
                             std::__1::default_delete<flutter::Engine>::operator()(flutter::Engine*) const
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/memory:2338:5
                             std::__1::unique_ptr<flutter::Engine, std::__1::default_delete<flutter::Engine> >::reset(flutter::Engine*)
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/memory:2651:0
                             flutter::Shell::~Shell()::$_3::operator()()
                             flutter/shell/common/shell.cc:435:0
                             auto fml::internal::CopyableLambda<flutter::Shell::~Shell()::$_3>::operator()<>() const
                             flutter/fml/make_copyable.h:24:0
                             decltype(std::__1::forward<fml::internal::CopyableLambda<flutter::Shell::~Shell()::$_3>&>(fp)()) std::__1::__invoke<fml::internal::CopyableLambda<flutter::Shell::~Shell()::$_3>&>(fml::internal::CopyableLambda<flutter::Shell::~Shell()::$_3>&)
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/type_traits:4425:0
                             void std::__1::__invoke_void_return_wrapper<void>::__call<fml::internal::CopyableLambda<flutter::Shell::~Shell()::$_3>&>(fml::internal::CopyableLambda<flutter::Shell::~Shell()::$_3>&)
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/__functional_base:348:0
                             std::__1::__function::__alloc_func<fml::internal::CopyableLambda<flutter::Shell::~Shell()::$_3>, std::__1::allocator<fml::internal::CopyableLambda<flutter::Shell::~Shell()::$_3> >, void ()>::operator()()
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/functional:1533:0
                             std::__1::__function::__func<fml::internal::CopyableLambda<flutter::Shell::~Shell()::$_3>, std::__1::allocator<fml::internal::CopyableLambda<flutter::Shell::~Shell()::$_3> >, void ()>::operator()()
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/functional:1707:0
#17 000000010e5b9fc4 Flutter Flutter   2973636
                             std::__1::__function::__value_func<void ()>::operator()() const
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/functional:1860:16
                             std::__1::function<void ()>::operator()() const
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/functional:2419:0
                             fml::MessageLoopImpl::FlushTasks(fml::FlushType)
                             flutter/fml/message_loop_impl.cc:130:0
#18 000000010e5bbe24 Flutter Flutter   2981412
                             fml::MessageLoopImpl::RunExpiredTasksNow()
                             flutter/fml/message_loop_impl.cc:143:3
                             fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*)
                             flutter/fml/platform/darwin/message_loop_darwin.mm:75:0
#19 0000000193a9122c CoreFoundation 4FBDF167-161A-324C-A233-D516922C67E5   672300
#20 0000000193a90e28 CoreFoundation 4FBDF167-161A-324C-A233-D516922C67E5   671272
#21 0000000193a90278 CoreFoundation 4FBDF167-161A-324C-A233-D516922C67E5   668280
#22 0000000193a8a02c CoreFoundation 4FBDF167-161A-324C-A233-D516922C67E5   643116
#23 0000000193a89360 CoreFoundation CFRunLoopRunSpecific   600
#24 000000010e5bbd00 Flutter Flutter   2981120
                             fml::MessageLoopDarwin::Run()
                             flutter/fml/platform/darwin/message_loop_darwin.mm:46:20
#25 000000010e5bb704 Flutter Flutter   2979588
                             fml::MessageLoopImpl::DoRun()
                             flutter/fml/message_loop_impl.cc:96:3
                             fml::MessageLoop::Run()
                             flutter/fml/message_loop.cc:49:0
                             fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0::operator()() const
                             flutter/fml/thread.cc:35:0
                             decltype(std::__1::forward<fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0>(fp)()) std::__1::__invoke<fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0>(fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0&&)
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/type_traits:4425:0
                             void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0>(std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0>&, std::__1::__tuple_indices<>)
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/thread:341:0
                             void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0> >(void*)
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/thread:351:0
#26 00000001df678bfc libsystem_pthread.dylib _pthread_start   320
#27 00000001df681758 libsystem_pthread.dylib thread_start   8

The second one symbolizes to the following stack. Seems to be some sort of Skia/Metal related crash (/cc @jmagman - not sure how to triage).

#00 000000000000630c libsystem_platform.dylib _sigtramp   36
#01 0000000000005264 libsystem_pthread.dylib pthread_kill   112
#02 00000000000619c4 libsystem_c.dylib abort   140
#03 00000000000364dc libsystem_c.dylib __assert_rtn   220
#04 0000000000039fc0 Metal MTLReportFailure   780
#05 0000000000038c30 AGXMetalA10 AGXMetalA10   232496
#06 0000000000280ad8 Flutter Flutter   2624216
                             SkSurface::MakeFromCAMetalLayer(GrRecordingContext*, void const*, GrSurfaceOrigin, int, SkColorType, sk_sp<SkColorSpace>, SkSurfaceProps const*, void const**)::$_0::operator()(GrResourceProvider*, GrSurfaceProxy::LazySurfaceDesc const&) const
                             third_party/skia/src/image/SkSurface_GpuMtl.mm:55:55
                             decltype(std::__1::forward<SkSurface::MakeFromCAMetalLayer(GrRecordingContext*, void const*, GrSurfaceOrigin, int, SkColorType, sk_sp<SkColorSpace>, SkSurfaceProps const*, void const**)::$_0&>(fp)(std::__1::forward<GrResourceProvider*>(fp0), std::__1::forward<GrSurfaceProxy::LazySurfaceDesc const&>(fp0))) std::__1::__invoke<SkSurface::MakeFromCAMetalLayer(GrRecordingContext*, void const*, GrSurfaceOrigin, int, SkColorType, sk_sp<SkColorSpace>, SkSurfaceProps const*, void const**)::$_0&, GrResourceProvider*, GrSurfaceProxy::LazySurfaceDesc const&>(SkSurface::MakeFromCAMetalLayer(GrRecordingContext*, void const*, GrSurfaceOrigin, int, SkColorType, sk_sp<SkColorSpace>, SkSurfaceProps const*, void const**)::$_0&, GrResourceProvider*&&, GrSurfaceProxy::LazySurfaceDesc const&)
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/type_traits:4425:0
                             GrSurfaceProxy::LazyCallbackResult std::__1::__invoke_void_return_wrapper<GrSurfaceProxy::LazyCallbackResult>::__call<SkSurface::MakeFromCAMetalLayer(GrRecordingContext*, void const*, GrSurfaceOrigin, int, SkColorType, sk_sp<SkColorSpace>, SkSurfaceProps const*, void const**)::$_0&, GrResourceProvider*, GrSurfaceProxy::LazySurfaceDesc const&>(SkSurface::MakeFromCAMetalLayer(GrRecordingContext*, void const*, GrSurfaceOrigin, int, SkColorType, sk_sp<SkColorSpace>, SkSurfaceProps const*, void const**)::$_0&, GrResourceProvider*&&, GrSurfaceProxy::LazySurfaceDesc const&)
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/__functional_base:317:0
                             std::__1::__function::__alloc_func<SkSurface::MakeFromCAMetalLayer(GrRecordingContext*, void const*, GrSurfaceOrigin, int, SkColorType, sk_sp<SkColorSpace>, SkSurfaceProps const*, void const**)::$_0, std::__1::allocator<SkSurface::MakeFromCAMetalLayer(GrRecordingContext*, void const*, GrSurfaceOrigin, int, SkColorType, sk_sp<SkColorSpace>, SkSurfaceProps const*, void const**)::$_0>, GrSurfaceProxy::LazyCallbackResult (GrResourceProvider*, GrSurfaceProxy::LazySurfaceDesc const&)>::operator()(GrResourceProvider*&&, GrSurfaceProxy::LazySurfaceDesc const&)
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/functional:1533:0
                             std::__1::__function::__func<SkSurface::MakeFromCAMetalLayer(GrRecordingContext*, void const*, GrSurfaceOrigin, int, SkColorType, sk_sp<SkColorSpace>, SkSurfaceProps const*, void const**)::$_0, std::__1::allocator<SkSurface::MakeFromCAMetalLayer(GrRecordingContext*, void const*, GrSurfaceOrigin, int, SkColorType, sk_sp<SkColorSpace>, SkSurfaceProps const*, void const**)::$_0>, GrSurfaceProxy::LazyCallbackResult (GrResourceProvider*, GrSurfaceProxy::LazySurfaceDesc const&)>::operator()(GrResourceProvider*&&, GrSurfaceProxy::LazySurfaceDesc const&)
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/functional:1707:0
#07 00000000001a47b8 Flutter Flutter   1722296
                             std::__1::__function::__value_func<GrSurfaceProxy::LazyCallbackResult (GrResourceProvider*, GrSurfaceProxy::LazySurfaceDesc const&)>::operator()(GrResourceProvider*&&, GrSurfaceProxy::LazySurfaceDesc const&) const
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/functional:1860:16
                             std::__1::function<GrSurfaceProxy::LazyCallbackResult (GrResourceProvider*, GrSurfaceProxy::LazySurfaceDesc const&)>::operator()(GrResourceProvider*, GrSurfaceProxy::LazySurfaceDesc const&) const
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/functional:2419:0
                             GrSurfaceProxyPriv::doLazyInstantiation(GrResourceProvider*)
                             third_party/skia/src/gpu/GrSurfaceProxy.cpp:403:0
#08 0000000000189f48 Flutter Flutter   1613640
                             GrResourceAllocator::assign(int*, int*, GrResourceAllocator::AssignError*)
                             third_party/skia/src/gpu/GrResourceAllocator.cpp:396:39
#09 0000000000175998 Flutter Flutter   1530264
                             GrDrawingManager::flush(SkSpan<GrSurfaceProxy*>, SkSurface::BackendSurfaceAccess, GrFlushInfo const&, GrBackendSurfaceMutableState const*)
                             third_party/skia/src/gpu/GrDrawingManager.cpp:219:22
#10 0000000000176300 Flutter Flutter   1532672
                             GrDrawingManager::flushSurfaces(SkSpan<GrSurfaceProxy*>, SkSurface::BackendSurfaceAccess, GrFlushInfo const&, GrBackendSurfaceMutableState const*)
                             third_party/skia/src/gpu/GrDrawingManager.cpp:537:27
#11 000000000004ff50 Flutter Flutter   327504
                             GrDirectContext::flushAndSubmit(bool)
                             third_party/skia/include/gpu/GrDirectContext.h:342:15
                             SkCanvas::onFlush()
                             third_party/skia/src/core/SkCanvas.cpp:564:0
#12 00000000004c3464 Flutter Flutter   4994148
                             SkCanvas::flush()
                             third_party/skia/src/core/SkCanvas.cpp:556:11
                             flutter::GPUSurfaceMetal::AcquireFrameFromCAMetalLayer(SkISize const&)::$_0::operator()(flutter::SurfaceFrame const&, SkCanvas*) const
                             flutter/shell/gpu/gpu_surface_metal.mm:91:0
                             decltype(std::__1::forward<flutter::GPUSurfaceMetal::AcquireFrameFromCAMetalLayer(SkISize const&)::$_0&>(fp)(std::__1::forward<flutter::SurfaceFrame const&>(fp0), std::__1::forward<SkCanvas*>(fp0))) std::__1::__invoke<flutter::GPUSurfaceMetal::AcquireFrameFromCAMetalLayer(SkISize const&)::$_0&, flutter::SurfaceFrame const&, SkCanvas*>(flutter::GPUSurfaceMetal::AcquireFrameFromCAMetalLayer(SkISize const&)::$_0&, flutter::SurfaceFrame const&, SkCanvas*&&)
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/type_traits:4425:0
                             bool std::__1::__invoke_void_return_wrapper<bool>::__call<flutter::GPUSurfaceMetal::AcquireFrameFromCAMetalLayer(SkISize const&)::$_0&, flutter::SurfaceFrame const&, SkCanvas*>(flutter::GPUSurfaceMetal::AcquireFrameFromCAMetalLayer(SkISize const&)::$_0&, flutter::SurfaceFrame const&, SkCanvas*&&)
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/__functional_base:317:0
                             std::__1::__function::__alloc_func<flutter::GPUSurfaceMetal::AcquireFrameFromCAMetalLayer(SkISize const&)::$_0, std::__1::allocator<flutter::GPUSurfaceMetal::AcquireFrameFromCAMetalLayer(SkISize const&)::$_0>, bool (flutter::SurfaceFrame const&, SkCanvas*)>::operator()(flutter::SurfaceFrame const&, SkCanvas*&&)
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/functional:1533:0
                             std::__1::__function::__func<flutter::GPUSurfaceMetal::AcquireFrameFromCAMetalLayer(SkISize const&)::$_0, std::__1::allocator<flutter::GPUSurfaceMetal::AcquireFrameFromCAMetalLayer(SkISize const&)::$_0>, bool (flutter::SurfaceFrame const&, SkCanvas*)>::operator()(flutter::SurfaceFrame const&, SkCanvas*&&)
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/functional:1707:0
#13 0000000000328c00 Flutter Flutter   3312640
                             std::__1::__function::__value_func<bool (flutter::SurfaceFrame const&, SkCanvas*)>::operator()(flutter::SurfaceFrame const&, SkCanvas*&&) const
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/functional:1860:16
                             std::__1::function<bool (flutter::SurfaceFrame const&, SkCanvas*)>::operator()(flutter::SurfaceFrame const&, SkCanvas*) const
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/functional:2419:0
                             flutter::SurfaceFrame::PerformSubmit()
                             flutter/flow/surface_frame.cc:65:0
                             flutter::SurfaceFrame::Submit()
                             flutter/flow/surface_frame.cc:43:0
#14 000000000032ec50 Flutter Flutter   3337296
                             flutter::Rasterizer::DrawToSurface(flutter::LayerTree&)
                             flutter/shell/common/rasterizer.cc:487:14
#15 000000000032f814 Flutter Flutter   3340308
                             flutter::Rasterizer::DoDraw(std::__1::unique_ptr<flutter::LayerTree, std::__1::default_delete<flutter::LayerTree> >)
                             flutter/shell/common/rasterizer.cc:338:32
                             flutter::Rasterizer::Draw(fml::RefPtr<flutter::Pipeline<flutter::LayerTree> >, std::__1::function<bool (flutter::LayerTree&)>)::$_1::operator()(std::__1::unique_ptr<flutter::LayerTree, std::__1::default_delete<flutter::LayerTree> >) const
                             flutter/shell/common/rasterizer.cc:172:0
                             decltype(std::__1::forward<flutter::Rasterizer::Draw(fml::RefPtr<flutter::Pipeline<flutter::LayerTree> >, std::__1::function<bool (flutter::LayerTree&)>)::$_1&>(fp)(std::__1::forward<std::__1::unique_ptr<flutter::LayerTree, std::__1::default_delete<flutter::LayerTree> > >(fp0))) std::__1::__invoke<flutter::Rasterizer::Draw(fml::RefPtr<flutter::Pipeline<flutter::LayerTree> >, std::__1::function<bool (flutter::LayerTree&)>)::$_1&, std::__1::unique_ptr<flutter::LayerTree, std::__1::default_delete<flutter::LayerTree> > >(flutter::Rasterizer::Draw(fml::RefPtr<flutter::Pipeline<flutter::LayerTree> >, std::__1::function<bool (flutter::LayerTree&)>)::$_1&, std::__1::unique_ptr<flutter::LayerTree, std::__1::default_delete<flutter::LayerTree> >&&)
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/type_traits:4425:0
                             void std::__1::__invoke_void_return_wrapper<void>::__call<flutter::Rasterizer::Draw(fml::RefPtr<flutter::Pipeline<flutter::LayerTree> >, std::__1::function<bool (flutter::LayerTree&)>)::$_1&, std::__1::unique_ptr<flutter::LayerTree, std::__1::default_delete<flutter::LayerTree> > >(flutter::Rasterizer::Draw(fml::RefPtr<flutter::Pipeline<flutter::LayerTree> >, std::__1::function<bool (flutter::LayerTree&)>)::$_1&, std::__1::unique_ptr<flutter::LayerTree, std::__1::default_delete<flutter::LayerTree> >&&)
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/__functional_base:348:0
                             std::__1::__function::__alloc_func<flutter::Rasterizer::Draw(fml::RefPtr<flutter::Pipeline<flutter::LayerTree> >, std::__1::function<bool (flutter::LayerTree&)>)::$_1, std::__1::allocator<flutter::Rasterizer::Draw(fml::RefPtr<flutter::Pipeline<flutter::LayerTree> >, std::__1::function<bool (flutter::LayerTree&)>)::$_1>, void (std::__1::unique_ptr<flutter::LayerTree, std::__1::default_delete<flutter::LayerTree> >)>::operator()(std::__1::unique_ptr<flutter::LayerTree, std::__1::default_delete<flutter::LayerTree> >&&)
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/functional:1533:0
                             std::__1::__function::__func<flutter::Rasterizer::Draw(fml::RefPtr<flutter::Pipeline<flutter::LayerTree> >, std::__1::function<bool (flutter::LayerTree&)>)::$_1, std::__1::allocator<flutter::Rasterizer::Draw(fml::RefPtr<flutter::Pipeline<flutter::LayerTree> >, std::__1::function<bool (flutter::LayerTree&)>)::$_1>, void (std::__1::unique_ptr<flutter::LayerTree, std::__1::default_delete<flutter::LayerTree> >)>::operator()(std::__1::unique_ptr<flutter::LayerTree, std::__1::default_delete<flutter::LayerTree> >&&)
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/functional:1707:0
#16 000000000032ef40 Flutter Flutter   3338048
                             std::__1::__function::__value_func<void (std::__1::unique_ptr<flutter::LayerTree, std::__1::default_delete<flutter::LayerTree> >)>::operator()(std::__1::unique_ptr<flutter::LayerTree, std::__1::default_delete<flutter::LayerTree> >&&) const
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/functional:1860:16
                             std::__1::function<void (std::__1::unique_ptr<flutter::LayerTree, std::__1::default_delete<flutter::LayerTree> >)>::operator()(std::__1::unique_ptr<flutter::LayerTree, std::__1::default_delete<flutter::LayerTree> >) const
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/functional:2419:0
                             flutter::Pipeline<flutter::LayerTree>::Consume(std::__1::function<void (std::__1::unique_ptr<flutter::LayerTree, std::__1::default_delete<flutter::LayerTree> >)> const&)
                             flutter/shell/common/pipeline.h:161:0
                             flutter::Rasterizer::Draw(fml::RefPtr<flutter::Pipeline<flutter::LayerTree> >, std::__1::function<bool (flutter::LayerTree&)>)
                             flutter/shell/common/rasterizer.cc:176:0
#17 00000000003361f4 Flutter Flutter   3367412
                             flutter::Shell::OnAnimatorDraw(fml::RefPtr<flutter::Pipeline<flutter::LayerTree> >, fml::TimePoint)::$_33::operator()() const
                             flutter/shell/common/shell.cc:1133:23
                             decltype(std::__1::forward<flutter::Shell::OnAnimatorDraw(fml::RefPtr<flutter::Pipeline<flutter::LayerTree> >, fml::TimePoint)::$_33&>(fp)()) std::__1::__invoke<flutter::Shell::OnAnimatorDraw(fml::RefPtr<flutter::Pipeline<flutter::LayerTree> >, fml::TimePoint)::$_33&>(flutter::Shell::OnAnimatorDraw(fml::RefPtr<flutter::Pipeline<flutter::LayerTree> >, fml::TimePoint)::$_33&)
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/type_traits:4425:0
                             void std::__1::__invoke_void_return_wrapper<void>::__call<flutter::Shell::OnAnimatorDraw(fml::RefPtr<flutter::Pipeline<flutter::LayerTree> >, fml::TimePoint)::$_33&>(flutter::Shell::OnAnimatorDraw(fml::RefPtr<flutter::Pipeline<flutter::LayerTree> >, fml::TimePoint)::$_33&)
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/__functional_base:348:0
                             std::__1::__function::__alloc_func<flutter::Shell::OnAnimatorDraw(fml::RefPtr<flutter::Pipeline<flutter::LayerTree> >, fml::TimePoint)::$_33, std::__1::allocator<flutter::Shell::OnAnimatorDraw(fml::RefPtr<flutter::Pipeline<flutter::LayerTree> >, fml::TimePoint)::$_33>, void ()>::operator()()
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/functional:1533:0
                             std::__1::__function::__func<flutter::Shell::OnAnimatorDraw(fml::RefPtr<flutter::Pipeline<flutter::LayerTree> >, fml::TimePoint)::$_33, std::__1::allocator<flutter::Shell::OnAnimatorDraw(fml::RefPtr<flutter::Pipeline<flutter::LayerTree> >, fml::TimePoint)::$_33>, void ()>::operator()()
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/functional:1707:0
#18 00000000002d5fc4 Flutter Flutter   2973636
                             std::__1::__function::__value_func<void ()>::operator()() const
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/functional:1860:16
                             std::__1::function<void ()>::operator()() const
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/functional:2419:0
                             fml::MessageLoopImpl::FlushTasks(fml::FlushType)
                             flutter/fml/message_loop_impl.cc:130:0
#19 00000000002d7e24 Flutter Flutter   2981412
                             fml::MessageLoopImpl::RunExpiredTasksNow()
                             flutter/fml/message_loop_impl.cc:143:3
                             fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*)
                             flutter/fml/platform/darwin/message_loop_darwin.mm:75:0
#20 0000000000008da4 CoreFoundation CFRunLoopRunSpecific   424
#21 00000000002d7d00 Flutter Flutter   2981120
                             fml::MessageLoopDarwin::Run()
                             flutter/fml/platform/darwin/message_loop_darwin.mm:46:20
#22 00000000002d7704 Flutter Flutter   2979588
                             fml::MessageLoopImpl::DoRun()
                             flutter/fml/message_loop_impl.cc:96:3
                             fml::MessageLoop::Run()
                             flutter/fml/message_loop.cc:49:0
                             fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0::operator()() const
                             flutter/fml/thread.cc:35:0
                             decltype(std::__1::forward<fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0>(fp)()) std::__1::__invoke<fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0>(fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0&&)
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/type_traits:4425:0
                             void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0>(std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0>&, std::__1::__tuple_indices<>)
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/thread:341:0
                             void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0> >(void*)
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/thread:351:0
#23 0000000000000cb4 libsystem_pthread.dylib thread_start   4

@TahaTesser TahaTesser added in triage Presently being triaged by the triage team engine flutter/engine repository. See also e: labels. passed first triage platform-ios iOS applications specifically c: fatal crash Crashes that terminate the process and removed in triage Presently being triaged by the triage team labels Jun 29, 2021
@ldhlfzysys ldhlfzysys reopened this Jul 2, 2021
@jmagman jmagman added the dependency: skia Skia team may need to help us label Jul 2, 2021
@ldhlfzysys
Copy link
Author

We can’t continue to open it up to more users. up to now, I open it to 10,000 users. about 100 crashes each 200,000 launch. It's beyond our standards.

@chinmaygarde
Copy link
Member

So the two backtraces are definitely issues is different spots of the codebase and both are related to engine teardown. In a standalone Flutter application on iOS, this should only happen the the user attempts to kill the application from the launcher. @ldhlfzysys Since there are no repro steps, can you elaborate on your setup? Is this an add2app scenario? Can you verify if it only happen when quitting the application from the launcher?

@chinmaygarde chinmaygarde added the P2 Important issues not at the top of the work list label Jul 12, 2021
@ldhlfzysys
Copy link
Author

This is an add2app scenario. quitting the application from the launcher can not find any reports in "iPhone -> Settings -> Privacy -> Analystics & Improvements" so I can not verify it @chinmaygarde

I quitting the application from the launcher many times on my iPhone, did not catch any crash logs.

this crash happen only 100 out of 200,000 starts. I also don't know the setups.

@ldhlfzysys
Copy link
Author

I try quitting from the launcher many times. not crash report. not analytics info.

@ldhlfzysys
Copy link
Author

ldhlfzysys commented Jul 13, 2021

2 libsystem_platform.dylib 0x6d90 _sigtramp (in libsystem_platform.dylib)   52
3 Flutter 0x5dddec Flutter   6151660
4 Flutter 0x5dddec Flutter   6151660
5 Flutter 0x34da2c Flutter   3463724
6 Flutter 0x34b19c Flutter   3453340
7 Flutter 0x2d5fc4 Flutter   2973636
8 Flutter 0x2d7e24 Flutter   2981412
9 CoreFoundation 0x9b3d0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ (in CoreFoundation)   28
10 CoreFoundation 0x9afd4 __CFRunLoopDoTimer (in CoreFoundation)   1004
11 CoreFoundation 0x9a4b4 __CFRunLoopDoTimers (in CoreFoundation)   324
12 CoreFoundation 0x94840 __CFRunLoopRun (in CoreFoundation)   1912
13 CoreFoundation 0x93b90 CFRunLoopRunSpecific (in CoreFoundation)   572
14 Flutter 0x2d7d00 Flutter   2981120
15 Flutter 0x2d7704 Flutter   2979588
16 libsystem_pthread.dylib 0x9b3c _pthread_start (in libsystem_pthread.dylib)   288
17 libsystem_pthread.dylib 0xe880 thread_start (in libsystem_pthread.dylib)   8

@mraleph
Copy link
Member

mraleph commented Jul 15, 2021

@flutter-symbolizer-bot #85505 (comment) force ios engine#40441def692f444660a11e20fac37af9050245ab arm64 release

@flutter-symbolizer-bot
Copy link

crash from #85505 (comment) symbolized using symbols for 40441def692f444660a11e20fac37af9050245ab ios-arm64-release

#00 0000000000006d90 libsystem_platform.dylib _sigtramp (in libsystem_platform.dylib)   52
#01 00000000005dddec Flutter Flutter   6151660
                             dart::Thread::EnterIsolate(dart::Isolate*)
                             third_party/dart/runtime/vm/thread.cc:277:29
                             Dart_EnterIsolate
                             third_party/dart/runtime/vm/dart_api_impl.cc:1531:0
#02 00000000005dddec Flutter Flutter   6151660
                             dart::Thread::EnterIsolate(dart::Isolate*)
                             third_party/dart/runtime/vm/thread.cc:277:29
                             Dart_EnterIsolate
                             third_party/dart/runtime/vm/dart_api_impl.cc:1531:0
#03 000000000034da2c Flutter Flutter   3463724
                             tonic::DartIsolateScope::DartIsolateScope(_Dart_Isolate*)
                             flutter/third_party/tonic/scopes/dart_isolate_scope.cc:16:3
                             tonic::DartIsolateScope::DartIsolateScope(_Dart_Isolate*)
                             flutter/third_party/tonic/scopes/dart_isolate_scope.cc:9:0
#04 000000000034b19c Flutter Flutter   3453340
                             tonic::DartPersistentValue::Clear()
                             flutter/third_party/tonic/dart_persistent_value.cc:49:22
#05 00000000002d5fc4 Flutter Flutter   2973636
                             std::__1::__function::__value_func<void ()>::operator()() const
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/functional:1860:16
                             std::__1::function<void ()>::operator()() const
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/functional:2419:0
                             fml::MessageLoopImpl::FlushTasks(fml::FlushType)
                             flutter/fml/message_loop_impl.cc:130:0
#06 00000000002d7e24 Flutter Flutter   2981412
                             fml::MessageLoopImpl::RunExpiredTasksNow()
                             flutter/fml/message_loop_impl.cc:143:3
                             fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*)
                             flutter/fml/platform/darwin/message_loop_darwin.mm:75:0
#07 000000000009b3d0 CoreFoundation __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ (in CoreFoundation)   28
#08 000000000009afd4 CoreFoundation __CFRunLoopDoTimer (in CoreFoundation)   1004
#09 000000000009a4b4 CoreFoundation __CFRunLoopDoTimers (in CoreFoundation)   324
#10 0000000000094840 CoreFoundation __CFRunLoopRun (in CoreFoundation)   1912
#11 0000000000093b90 CoreFoundation CFRunLoopRunSpecific (in CoreFoundation)   572
#12 00000000002d7d00 Flutter Flutter   2981120
                             fml::MessageLoopDarwin::Run()
                             flutter/fml/platform/darwin/message_loop_darwin.mm:46:20
#13 00000000002d7704 Flutter Flutter   2979588
                             fml::MessageLoopImpl::DoRun()
                             flutter/fml/message_loop_impl.cc:96:3
                             fml::MessageLoop::Run()
                             flutter/fml/message_loop.cc:49:0
                             fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0::operator()() const
                             flutter/fml/thread.cc:35:0
                             decltype(std::__1::forward<fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0>(fp)()) std::__1::__invoke<fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0>(fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0&&)
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/type_traits:4425:0
                             void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0>(std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0>&, std::__1::__tuple_indices<>)
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/thread:341:0
                             void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, fml::Thread::Thread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)::$_0> >(void*)
                             /opt/s/w/ir/cache/osx_sdk/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c  /v1/thread:351:0
#14 0000000000009b3c libsystem_pthread.dylib _pthread_start (in libsystem_pthread.dylib)   288
#15 000000000000e880 libsystem_pthread.dylib thread_start (in libsystem_pthread.dylib)   8

@ldhlfzysys
Copy link
Author

update to 2.2.2,This crash disappeared

@github-actions
Copy link

github-actions bot commented Aug 9, 2021

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 -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
c: fatal crash Crashes that terminate the process dependency: skia Skia team may need to help us engine flutter/engine repository. See also e: labels. P2 Important issues not at the top of the work list platform-ios iOS applications specifically
Projects
None yet
Development

No branches or pull requests

6 participants