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

App crash is occurred when devtools is closed #188

Open
7loro opened this issue Apr 3, 2025 · 0 comments
Open

App crash is occurred when devtools is closed #188

7loro opened this issue Apr 3, 2025 · 0 comments

Comments

@7loro
Copy link

7loro commented Apr 3, 2025

In mac os (m1 pro, sequoia 15.0)
Flutter 3.29.2, Dart 3.7.2

Issue reproduction steps:

  1. run example mac os app
  2. run devtools
  3. open sources
  4. close devtools
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSApplication isHandlingSendEvent]: unrecognized selector sent to instance 0x130e0b6f0'
*** First throw call stack:
(
        0   CoreFoundation                      0x0000000184b34ec0 __exceptionPreprocess + 176
        1   libobjc.A.dylib                     0x000000018461acd8 objc_exception_throw + 88
        2   CoreFoundation                      0x0000000184bea5a4 -[NSObject(NSObject) __retain_OA] + 0
        3   CoreFoundation                      0x0000000184aa1140 ___forwarding___ + 1568
        4   CoreFoundation                      0x0000000184aa0a60 _CF_forwarding_prep_0 + 96
        5   Chromium Embedded Framework         0x000000014bbda174 cef_string_map_size + 33823188
        6   Chromium Embedded Framework         0x000000014bb57048 cef_string_map_size + 33286312
        7   Chromium Embedded Framework         0x000000014a7f3d64 cef_string_map_size + 12957124
        8   Chromium Embedded Framework         0x000000014cc38220 cef_time_delta + 1908576
        9   Chromium Embedded Framework         0x000000014cc3b9b8 cef_time_delta + 1922808
        10  Chromium Embedded Framework         0x000000014cc392c8 cef_time_delta + 1912840
        11  Chromium Embedded Framework         0x000000014d0aa92c cef_time_delta + 6571628
        12  Chromium Embedded Framework         0x000000014cc3a5ec cef_time_delta + 1917740
        13  Chromium Embedded Framework         0x000000014cca0648 cef_time_delta + 2335624
        14  Chromium Embedded Framework         0x000000014ccb2f38 cef_time_delta + 2411640
        15  Chromium Embedded Framework         0x000000014ccb2cb8 cef_time_delta + 2411000
        16  Chromium Embedded Framework         0x000000014c9d7fec ChromeAppModeStart_v6 + 7453064
        17  Chromium Embedded Framework         0x000000014ccb357c cef_time_delta + 2413244
        18  Chromium Embedded Framework         0x000000014cc84b70 cef_time_delta + 2222256
        19  Chromium Embedded Framework         0x000000014cc855c8 cef_time_delta + 2224904
        20  Chromium Embedded Framework         0x000000014c9bee94 ChromeAppModeStart_v6 + 7350320
        21  webview_cef                         0x000000010253cf10 _ZN11webview_cef17doMessageLoopWorkEv + 12
        22  webview_cef                         0x0000000102586a64 -[CefWrapper doMessageLoopWork] + 24
        23  Foundation                          0x0000000185cb89ec __NSFireTimer + 104
        24  CoreFoundation                      0x0000000184adc184 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 32
        25  CoreFoundation                      0x0000000184adbe28 __CFRunLoopDoTimer + 1012
        26  CoreFoundation                      0x0000000184adb938 __CFRunLoopDoTimers + 356
        27  CoreFoundation                      0x0000000184ac10f0 __CFRunLoopRun + 1856
        28  CoreFoundation                      0x0000000184ac0334 CFRunLoopRunSpecific + 572
        29  HIToolbox                           0x000000018fef80cc RunCurrentEventLoopInMode + 292
        30  HIToolbox                           0x000000018fefdebc ReceiveNextEventCommon + 636
        31  HIToolbox                           0x000000018fefe020 _BlockUntilNextEventMatchingListInModeWithFilter + 76
        32  AppKit                              0x0000000188603a70 _DPSNextEvent + 660
        33  AppKit                              0x0000000188f297b8 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688
        34  AppKit                              0x00000001885f6b7c -[NSApplication run] + 480
        35  AppKit                              0x00000001885cd44c NSApplicationMain + 888
        36  webview_cef_example.debug.dylib     0x00000001022973dc $sSo21NSApplicationDelegateP6AppKitE4mainyyFZ + 40
        37  webview_cef_example.debug.dylib     0x00000001022973a4 $s19webview_cef_example11AppDelegateC5$mainyyFZ + 44
        38  webview_cef_example.debug.dylib     0x0000000102297444 __debug_main_executable_dylib_entry_point + 28
        39  dyld                                0x0000000184658274 start + 2840
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant