0

我在 5.3.2 版本中使用 Flutter 2.5.3 和 flutter_inappwebview,并且我有一个包含以下信息的 crashlytics 报告:

EXC_BREAKPOINT 0x0000000101b55664

Crashed: com.apple.main-thread
0  flutter_inappwebview           0x91664 WKUserContentController.contentWorlds.getter + 320
1  flutter_inappwebview           0x8dfb8 WKUserContentController.getContentWorlds(with:) + 339 (WKUserContentController.swift:339)
2  flutter_inappwebview           0x2c260 InAppWebView.initializeWindowIdJS() + 618 (InAppWebView.swift:618)
3  flutter_inappwebview           0x52910 specialized InAppWebView.observeValue(forKeyPath:of:change:context:) + 590 (InAppWebView.swift:590)
4  flutter_inappwebview           0x2c184 @objc InAppWebView.observeValue(forKeyPath:of:change:context:) + 268 (<compiler-generated>:268)
5  Foundation                     0x3204c NSKeyValueNotifyObserver + 292
6  Foundation                     0x1d460 NSKeyValueDidChange + 356
7  Foundation                     0x57378 NSKeyValueDidChangeWithPerThreadPendingNotifications + 160
8  WebKit                         0x395ae4 WebKit::PageLoadState::callObserverCallback(void (WebKit::PageLoadState::Observer::*)()) + 228
9  WebKit                         0x3957cc WebKit::PageLoadState::commitChanges() + 1060
10 WebKit                         0x41cb1c WebKit::WebPageProxy::didStartProgress() + 204
11 WebKit                         0x7870f4 WebKit::WebPageProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&) + 13064
12 WebKit                         0x58ddc IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&) + 272
13 WebKit                         0x46a824 WebKit::WebProcessProxy::didReceiveMessage(IPC::Connection&, IPC::Decoder&) + 40
14 WebKit                         0x36848 IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::Decoder, std::__1::default_delete<IPC::Decoder> >) + 808
15 WebKit                         0x35e58 IPC::Connection::dispatchIncomingMessages() + 508
16 JavaScriptCore                 0x1140074 WTF::RunLoop::performWork() + 292
17 JavaScriptCore                 0x11411e4 WTF::RunLoop::performWork(void*) + 36
18 CoreFoundation                 0xbb020 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
19 CoreFoundation                 0xcbce0 __CFRunLoopDoSource0 + 208
20 CoreFoundation                 0x5fe8 __CFRunLoopDoSources0 + 268
21 CoreFoundation                 0xb7f4 __CFRunLoopRun + 820
22 CoreFoundation                 0x1f3b8 CFRunLoopRunSpecific + 600
23 GraphicsServices               0x138c GSEventRunModal + 164
24 UIKitCore                      0x5196a8 -[UIApplication _run] + 1100
25 UIKitCore                      0x2987f4 UIApplicationMain + 2092
26 Runner                         0x6db8 main + 6 (AppDelegate.swift:6)
27 ???                            0x10152da24 (Ausente)

我无法在我的设备上重现该错误,也没有收到用户的任何崩溃反馈,但我不知道什么会引发此错误。

4

0 回答 0