rmawatson / flutter_isolate

Launch an isolate that can use flutter plugins.
MIT License
270 stars 80 forks source link

iOS Crash in lookupGeneratedPluginRegistrant in 2.0.0 #89

Closed guymclean closed 3 years ago

guymclean commented 3 years ago

Similar to #86 we are having a large number of crashes with this plugin (EXC_BAD_ACCESS KERN_INVALID_ADDRESS) We are running version 2.0.0 of the plugin. This issue seems to be spiking with iOS 15.

Crashed: com.apple.main-thread
0  libsystem_platform.dylib       0x1070 _platform_strcmp + 64
1  Runner                         0xf0125c +[FlutterIsolatePlugin lookupGeneratedPluginRegistrant] + 49 (FlutterIsolatePlugin.m:49)
2  Runner                         0xf0170c -[FlutterIsolatePlugin startNextIsolate] + 102 (FlutterIsolatePlugin.m:102)
3  Runner                         0xf01c58 -[FlutterIsolatePlugin onListenWithArguments:eventSink:] + 152 (FlutterIsolatePlugin.m:152)
4  Flutter                        0x4ed300 (Missing)
5  Flutter                        0x3ff34 (Missing)
6  Flutter                        0x348db4 (Missing)
7  Flutter                        0x2ee068 (Missing)
8  Flutter                        0x2f1098 (Missing)
9  CoreFoundation                 0xae278 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 32
10 CoreFoundation                 0x32c50 __CFRunLoopDoTimer + 1076
11 CoreFoundation                 0x2d44c __CFRunLoopDoTimers + 328
12 CoreFoundation                 0xbc68 __CFRunLoopRun + 1944
13 CoreFoundation                 0x1f3c8 CFRunLoopRunSpecific + 600
14 GraphicsServices               0x138c GSEventRunModal + 164
15 UIKitCore                      0x51b0bc -[UIApplication _run] + 1100
16 UIKitCore                      0x298be8 UIApplicationMain + 2124
17 Runner                         0x8834 main + 25 (AppDelegate.swift:25)