gpt4 book ai didi

ios - 如何修复 'iOS crash Crashed: WebThread EXC_BREAKPOINT 0x00000001efac65c0'

转载 作者:行者123 更新时间:2023-11-29 05:29:00 27 4
gpt4 key购买 nike

我有一个 iPad 应用程序。使用 Fabric 收集崩溃信息。最近出现了一些像 webthread EXC_BREAKPOINT 这样的崩溃。跟踪堆栈上没有我的代码。所以我不知道为什么会发生崩溃。

我已经尝试了很多次来重现崩溃。但这并没有发生。

0 Crashed: WebThread EXC_BREAKPOINT 0x00000001efac65c0
0 WebCore bmalloc::IsoAllocator<bmalloc::IsoConfig<1216u> >::allocateSlow(bool) + 252
1 WebCore bmalloc::IsoAllocator<bmalloc::IsoConfig<1216u> >::allocateSlow(bool) + 72
2 WebCore WebCore::FrameView::create(WebCore::Frame&) + 148
3 WebKitLegacy WebFrameLoaderClient::transitionToCommittedForNewPage() + 652
4 WebCore WebCore::FrameLoader::transitionToCommitted(WebCore::CachedPage*) + 660
5 WebCore WebCore::FrameLoader::commitProvisionalLoad() + 364
6 WebCore WebCore::DocumentLoader::finishedLoading() + 592
7 WebCore WebCore::DocumentLoader::maybeLoadEmpty() + 744
8 WebCore WebCore::DocumentLoader::startLoadingMainResource() + 492
9 WebCore WebCore::FrameLoader::init() + 728
10 WebKitLegacy +[WebFrame(WebInternal) _createFrameWithPage:frameName:frameView:ownerElement:] + 376
11 WebKitLegacy WebFrameLoaderClient::createFrame(WTF::URL const&, WTF::String const&, WebCore::HTMLFrameOwnerElement&, WTF::String const&) + 124
12 WebCore WebCore::SubframeLoader::loadSubframe(WebCore::HTMLFrameOwnerElement&, WTF::URL const&, WTF::String const&, WTF::String const&) + 228
13 WebCore
WebCore::SubframeLoader::loadOrRedirectSubframe(WebCore::HTMLFrameOwnerElement&, WTF::URL const&, WTF::AtomicString const&, WebCore::LockHistory, WebCore::LockBackForwardList) + 324
14 WebCore
WebCore::SubframeLoader::requestFrame(WebCore::HTMLFrameOwnerElement&, WTF::String const&, WTF::AtomicString const&, WebCore::LockHistory, WebCore::LockBackForwardList) + 676
15 WebCore
WebCore::HTMLFrameElementBase::openURL(WebCore::LockHistory, WebCore::LockBackForwardList) + 632
16 WebCore
WebCore::ContainerNode::appendChildWithoutPreInsertionValidityCheck(WebCore::Node&) + 808
17 WebCore
WebCore::ContainerNode::appendChild(WebCore::Node&) + 80
18 WebCore
WebCore::jsNodePrototypeFunctionAppendChild(JSC::ExecState*) + 240
19 JavaScriptCore llint_entry + 89612
20 JavaScriptCore llint_entry + 82980
21 JavaScriptCore llint_entry + 82980
22 JavaScriptCore llint_entry + 82980
23 JavaScriptCore llint_entry + 82980
24 JavaScriptCore llint_entry + 82980
25 JavaScriptCore llint_entry + 82980
26 JavaScriptCore vmEntryToJavaScript + 268
27 JavaScriptCore JSC::Interpreter::executeProgram(JSC::SourceCode const&, JSC::ExecState*, JSC::JSObject*) + 9388
28 JavaScriptCore JSC::evaluate(JSC::ExecState*, JSC::SourceCode const&, JSC::JSValue, WTF::NakedPtr<JSC::Exception>&) + 324
29 WebCore WebCore::JSExecState::profiledEvaluate(JSC::ExecState*, JSC::ProfilingReason, JSC::SourceCode const&, JSC::JSValue, WTF::NakedPtr<JSC::Exception>&) + 108
30 WebCore WebCore::ScriptController::evaluateInWorld(WebCore::ScriptSourceCode const&, WebCore::DOMWrapperWorld&, WebCore::ExceptionDetails*) + 232
31 WebCore
WebCore::ScriptElement::executeClassicScript(WebCore::ScriptSourceCode const&) + 640
32 WebCore
WebCore::LoadableClassicScript::execute(WebCore::ScriptElement&) + 140
33 WebCore
WebCore::ScriptElement::executeScriptAndDispatchEvent(WebCore::LoadableScript&) + 224
34 WebCore WebCore::ScriptRunner::timerFired() + 508
35 WebCore WebCore::ThreadTimers::sharedTimerFiredInternal() + 216
36 WebCore WebCore::timerFired(__CFRunLoopTimer*, void*) + 28
37 CoreFoundation __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28
38 CoreFoundation __CFRunLoopDoTimer + 864
39 CoreFoundation __CFRunLoopDoTimers + 248
40 CoreFoundation __CFRunLoopRun + 1844
41 CoreFoundation CFRunLoopRunSpecific + 436
42 WebCore RunWebThread(void*) + 600
43 libsystem_pthread.dylib _pthread_body + 128
44 libsystem_pthread.dylib _pthread_start + 44
45 libsystem_pthread.dylib thread_start + 4

有人遇到同样的问题吗?如何解决?

最佳答案

我认为这个崩溃是由 UIWebview 内存管理不当引起的。当我用 WKWebview 替换 UIWebview 后。事故再也没有发生过。

关于ios - 如何修复 'iOS crash Crashed: WebThread EXC_BREAKPOINT 0x00000001efac65c0',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57847442/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com