Coder Social home page Coder Social logo

Comments (5)

russellwheatley avatar russellwheatley commented on August 27, 2024 1

@namnh-0652

This is Crashlytics reporting the crash:

Crashed: com.google.firebase.crashlytics.ios.exception
0  FirebaseCrashlytics            0x21c10 FIRCLSProcessRecordAllThreads + 392 (FIRCLSProcess.c:392)
1  FirebaseCrashlytics            0x21ff0 FIRCLSProcessRecordAllThreads + 423 (FIRCLSProcess.c:423)
2  FirebaseCrashlytics            0x18e74 FIRCLSHandler + 34 (FIRCLSHandler.m:34)
3  FirebaseCrashlytics            0x13a84 __FIRCLSExceptionRecord_block_invoke + 240 (FIRCLSException.mm:240)
4  libdispatch.dylib              0x3dd4 _dispatch_client_callout + 20
5  libdispatch.dylib              0x132c4 _dispatch_lane_barrier_sync_invoke_and_complete + 56
6  FirebaseCrashlytics            0x12a00 FIRCLSExceptionRecord + 242 (FIRCLSException.mm:242)
7  FirebaseCrashlytics            0x13548 FIRCLSExceptionRecordNSException + 126 (FIRCLSException.mm:126)
8  FirebaseCrashlytics            0x12608 FIRCLSTerminateHandler() + 407 (FIRCLSException.mm:407)
9  libc++abi.dylib                0x14068 std::__terminate(void (*)()) + 16
10 libc++abi.dylib                0x1760c __cxa_increment_exception_refcount + 202
11 libobjc.A.dylib                0x2dea4 objc_exception_rethrow + 44
12 CoreFoundation                 0x52d88 CFRunLoopRunSpecific + 784
13 GraphicsServices               0x11a8 GSEventRunModal + 164
14 UIKitCore                      0x40a90c -[UIApplication _run] + 888
15 UIKitCore                      0x4be9d0 UIApplicationMain + 340
16 Runner                         0x96bc main + 16 (AppDelegate.swift:16)
17 ???                            0x1b57c1e4c (Missing)

This is the fatal crash which indicates it is coming from Flutter:

Fatal Exception: NSInvalidArgumentException
0  CoreFoundation                 0x83f20 __exceptionPreprocess
1  libobjc.A.dylib                0x16018 objc_exception_throw
2  CoreFoundation                 0x18d480 +[NSObject(NSObject) _copyDescription]
3  CoreFoundation                 0x20fb4 ___forwarding___
4  CoreFoundation                 0x208d0 _CF_forwarding_prep_0
5  Flutter                        0x4065c (Missing UUID 4c4c44bd55553144a1714204dc08bdb2)
6  Flutter                        0x3f3334 (Missing UUID 4c4c44bd55553144a1714204dc08bdb2)
7  Flutter                        0x3f389c (Missing UUID 4c4c44bd55553144a1714204dc08bdb2)
8  Flutter                        0x2ea89c (Missing UUID 4c4c44bd55553144a1714204dc08bdb2)
9  Flutter                        0x3f2ae8 (Missing UUID 4c4c44bd55553144a1714204dc08bdb2)
10 Flutter                        0x3f46ec (Missing UUID 4c4c44bd55553144a1714204dc08bdb2)
11 Flutter                        0x3f3f38 (Missing UUID 4c4c44bd55553144a1714204dc08bdb2)
12 Flutter                        0x2e8f08 (Missing UUID 4c4c44bd55553144a1714204dc08bdb2)
13 Flutter                        0x2ec6bc (Missing UUID 4c4c44bd55553144a1714204dc08bdb2)
14 CoreFoundation                 0xb7a2c __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
15 CoreFoundation                 0xb76d0 __CFRunLoopDoTimer
16 CoreFoundation                 0xb722c __CFRunLoopDoTimers
17 CoreFoundation                 0x53888 __CFRunLoopRun
18 CoreFoundation                 0x52cd8 CFRunLoopRunSpecific
19 GraphicsServices               0x11a8 GSEventRunModal
20 UIKitCore                      0x40a90c -[UIApplication _run]
21 UIKitCore                      0x4be9d0 UIApplicationMain
22 Runner                         0x96bc main + 16 (AppDelegate.swift:16)
23 ???                            0x1b57c1e4c (Missing)

Unfortunately, you don't have the debug symbols which is why it says "Missing UUID 4c4c44bd55553144a1714204dc08bdb2", if you upload your debug symbols for Crashlytics, you ought to see the name of the API where the fatal exception is occurring.

from flutterfire.

russellwheatley avatar russellwheatley commented on August 27, 2024

Hi @namnh-0652 - this appears to be a crash report auto generated from the native side of your code. You can see the stacktrace:

Last Exception Backtrace:
0   CoreFoundation                	0x192140f20 __exceptionPreprocess + 164 (NSException.m:249)
1   libobjc.A.dylib               	0x189fee018 objc_exception_throw + 60 (objc-exception.mm:356)
2   CoreFoundation                	0x19224a480 -[NSObject(NSObject) doesNotRecognizeSelector:] + 344 (NSObject.m:161)
3   CoreFoundation                	0x1920ddfb4 ___forwarding___ + 1572 (NSForwarding.m:3612)
4   CoreFoundation                	0x1920dd8d0 _CF_forwarding_prep_0 + 96 (:-1)
5   Flutter                       	0x10518c65c flutter::FlutterPlatformViewsController::GetPlatformViewRect(long long) + 76 (FlutterPlatformViews.mm:661)
6   Flutter                       	0x10518c65c flutter::FlutterPlatformViewsController::SubmitFrame(GrDirectContext*, std::_fl::shared_ptr<flutter::IOSContext> const&, std::_fl::unique_ptr<flutter::SurfaceFrame, std::_fl::default_delete<flutter... + 380 (FlutterPlatformViews.mm:707)
7   Flutter                       	0x10518c65c flutter::IOSExternalViewEmbedder::SubmitFlutterView(GrDirectContext*, std::_fl::shared_ptr<impeller::AiksContext> const&, std::_fl::unique_ptr<flutter::SurfaceFrame, std::_fl::default_delete<flutte... + 1788 (ios_external_view_embedder.mm:82)
8   Flutter                       	0x10553f334 flutter::Rasterizer::DrawToSurfaceUnsafe(long long, flutter::LayerTree&, float, std::_fl::optional<fml::TimePoint>) + 864 (rasterizer.cc:744)
9   Flutter                       	0x10553f334 flutter::Rasterizer::DrawToSurfacesUnsafe(flutter::FrameTimingsRecorder&, std::_fl::vector<std::_fl::unique_ptr<flutter::LayerTreeTask, std::_fl::default_delete<flutter::LayerTreeTask>>, std::_fl::... + 1688 (rasterizer.cc:613)
10  Flutter                       	0x10553f89c flutter::Rasterizer::DrawToSurfaces(flutter::FrameTimingsRecorder&, std::_fl::vector<std::_fl::unique_ptr<flutter::LayerTreeTask, std::_fl::default_delete<flutter::LayerTreeTask>>, std::_fl::alloca... + 40 (rasterizer.cc:552)
11  Flutter                       	0x10553f89c decltype(std::declval<flutter::Rasterizer::DrawToSurfaces(flutter::FrameTimingsRecorder&, std::_fl::vector<std::_fl::unique_ptr<flutter::LayerTreeTask, std::_fl::default_delete<flutter::LayerTreeTa... + 40 (invoke.h:403)
12  Flutter                       	0x10553f89c void std::_fl::__invoke_void_return_wrapper<void, true>::__call<flutter::Rasterizer::DrawToSurfaces(flutter::FrameTimingsRecorder&, std::_fl::vector<std::_fl::unique_ptr<flutter::LayerTreeTask, std... + 40 (invoke.h:488)
13  Flutter                       	0x10553f89c std::_fl::__function::__alloc_func<flutter::Rasterizer::DrawToSurfaces(flutter::FrameTimingsRecorder&, std::_fl::vector<std::_fl::unique_ptr<flutter::LayerTreeTask, std::_fl::default_delete<flutter... + 40 (function.h:185)
14  Flutter                       	0x10553f89c std::_fl::__function::__func<flutter::Rasterizer::DrawToSurfaces(flutter::FrameTimingsRecorder&, std::_fl::vector<std::_fl::unique_ptr<flutter::LayerTreeTask, std::_fl::default_delete<flutter::Laye... + 64 (function.h:359)
15  Flutter                       	0x10543689c std::_fl::__function::__value_func<void ()>::operator()[abi:v15000]() const + 12 (function.h:512)
16  Flutter                       	0x10543689c std::_fl::function<void ()>::operator()() const + 12 (function.h:1187)
17  Flutter                       	0x10543689c fml::SyncSwitch::Execute(fml::SyncSwitch::Handlers const&) const + 72 (sync_switch.cc:0)
18  Flutter                       	0x10553eae8 flutter::Rasterizer::DrawToSurfaces(flutter::FrameTimingsRecorder&, std::_fl::vector<std::_fl::unique_ptr<flutter::LayerTreeTask, std::_fl::default_delete<flutter::LayerTreeTask>>, std::_fl::alloca... + 344 (rasterizer.cc:544)
19  Flutter                       	0x1055406ec flutter::Rasterizer::DoDraw(std::_fl::unique_ptr<flutter::FrameTimingsRecorder, std::_fl::default_delete<flutter::FrameTimingsRecorder>>, std::_fl::vector<std::_fl::unique_ptr<flutter::LayerTreeTas... + 80 (rasterizer.cc:448)
20  Flutter                       	0x1055406ec flutter::Rasterizer::Draw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem>> const&)::$_0::operator()(std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutter::FrameItem>>... + 104 (rasterizer.cc:242)
21  Flutter                       	0x1055406ec decltype(std::declval<flutter::Rasterizer::Draw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem>> const&)::$_0&>()(std::declval<std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_... + 120 (invoke.h:403)
22  Flutter                       	0x1055406ec void std::_fl::__invoke_void_return_wrapper<void, true>::__call<flutter::Rasterizer::Draw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem>> const&)::$_0&, std::_fl::unique_ptr<flutter::Fr... + 120 (invoke.h:488)
23  Flutter                       	0x1055406ec std::_fl::__function::__alloc_func<flutter::Rasterizer::Draw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem>> const&)::$_0, std::_fl::allocator<flutter::Rasterizer::Draw(std::_fl::shared... + 120 (function.h:185)
24  Flutter                       	0x1055406ec std::_fl::__function::__func<flutter::Rasterizer::Draw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem>> const&)::$_0, std::_fl::allocator<flutter::Rasterizer::Draw(std::_fl::shared_ptr<f... + 156 (function.h:359)
25  Flutter                       	0x10553ff38 std::_fl::__function::__value_func<void (std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutter::FrameItem>>)>::operator()[abi:v15000](std::_fl::unique_ptr<flutter::FrameItem, st... + 24 (function.h:512)
26  Flutter                       	0x10553ff38 std::_fl::function<void (std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutter::FrameItem>>)>::operator()(std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutt... + 24 (function.h:1187)
27  Flutter                       	0x10553ff38 flutter::Pipeline<flutter::FrameItem>::Consume(std::_fl::function<void (std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutter::FrameItem>>)> const&) + 236 (pipeline.h:203)
28  Flutter                       	0x10553ff38 flutter::Rasterizer::Draw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem>> const&) + 432 (rasterizer.cc:246)
29  Flutter                       	0x105434f08 std::_fl::__function::__value_func<void ()>::operator()[abi:v15000]() const + 12 (function.h:512)
30  Flutter                       	0x105434f08 std::_fl::function<void ()>::operator()() const + 12 (function.h:1187)
31  Flutter                       	0x105434f08 fml::MessageLoopImpl::FlushTasks(fml::FlushType) + 568 (message_loop_impl.cc:126)
32  Flutter                       	0x1054386bc fml::MessageLoopImpl::RunExpiredTasksNow() + 8 (message_loop_impl.cc:139)
33  Flutter                       	0x1054386bc fml::MessageLoopDarwin::OnTimerFire(__CFRunLoopTimer*, fml::MessageLoopDarwin*) + 32 (message_loop_darwin.mm:85)
34  CoreFoundation                	0x192174a2c __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 32 (CFRunLoop.c:1797)
35  CoreFoundation                	0x1921746d0 __CFRunLoopDoTimer + 1004 (CFRunLoop.c:2404)
36  CoreFoundation                	0x19217422c __CFRunLoopDoTimers + 288 (CFRunLoop.c:2562)
37  CoreFoundation                	0x192110888 __CFRunLoopRun + 1856 (CFRunLoop.c:3122)
38  CoreFoundation                	0x19210fcd8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
39  GraphicsServices              	0x1d6fc01a8 GSEventRunModal + 164 (GSEvent.c:2196)
40  UIKitCore                     	0x19474890c -[UIApplication _run] + 888 (UIApplication.m:3713)
41  UIKitCore                     	0x1947fc9d0 UIApplicationMain + 340 (UIApplication.m:5303)
42  Runner                        	0x10201d6bc main + 64 (AppDelegate.swift:16)
43  dyld                          	0x1b57c1e4c start + 2240 (dyldMain.cpp:1298)

It does not mention any FlutterFire plugin, it appears to be coming from the Flutter SDK itself. I'd check the flutter repository for any similar looking issues. Hope this helps.

from flutterfire.

namnh-0652 avatar namnh-0652 commented on August 27, 2024

@russellwheatley really, the firebase point to firebase lib, also the testflight as you read carefully.

Crashed: com.google.firebase.crashlytics.ios.exception
0  FirebaseCrashlytics            0x21c10 FIRCLSProcessRecordAllThreads + 392 (FIRCLSProcess.c:392)
1  FirebaseCrashlytics            0x21ff0 FIRCLSProcessRecordAllThreads + 423 (FIRCLSProcess.c:423)
2  FirebaseCrashlytics            0x18e74 FIRCLSHandler + 34 (FIRCLSHandler.m:34)
3  FirebaseCrashlytics            0x13a84 __FIRCLSExceptionRecord_block_invoke + 240 (FIRCLSException.mm:240)
4  libdispatch.dylib              0x3dd4 _dispatch_client_callout + 20
5  libdispatch.dylib              0x132c4 _dispatch_lane_barrier_sync_invoke_and_complete + 56
6  FirebaseCrashlytics            0x12a00 FIRCLSExceptionRecord + 242 (FIRCLSException.mm:242)
7  FirebaseCrashlytics            0x13548 FIRCLSExceptionRecordNSException + 126 (FIRCLSException.mm:126)
8  FirebaseCrashlytics            0x12608 FIRCLSTerminateHandler() + 407 (FIRCLSException.mm:407)
9  libc++abi.dylib                0x14068 std::__terminate(void (*)()) + 16
10 libc++abi.dylib                0x1760c __cxa_increment_exception_refcount + 202
11 libobjc.A.dylib                0x2dea4 objc_exception_rethrow + 44
12 CoreFoundation                 0x52d88 CFRunLoopRunSpecific + 784
13 GraphicsServices               0x11a8 GSEventRunModal + 164
14 UIKitCore                      0x40a90c -[UIApplication _run] + 888
15 UIKitCore                      0x4be9d0 UIApplicationMain + 340
16 Runner                         0x96bc main + 16 (AppDelegate.swift:16)
17 ???                            0x1b57c1e4c (Missing)

from flutterfire.

namnh-0652 avatar namnh-0652 commented on August 27, 2024

@russellwheatley Should we re-open this?

from flutterfire.

namnh-0652 avatar namnh-0652 commented on August 27, 2024

@russellwheatley
Thanks for pointing it out, the log from testflight is full info (with dSYMs).
Do you have any hint for that log?

from flutterfire.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.