用bugly收集的日志,查了一下,貌似是wekkit的一个bug.
但不知道具体原因,该如何解决。项目中用到了UIWebView、WKWebView、weex
JavaScriptCore bmalloc::VMHeap::allocateSmallChunk(std::__1::lock_guard<bmalloc::StaticMutex>&, unsigned long) + 652
1 JavaScriptCore bmalloc::VMHeap::allocateSmallChunk(std::__1::lock_guard<bmalloc::StaticMutex>&, unsigned long) + 652
2 JavaScriptCore bmalloc::Heap::allocateSmallPage(std::__1::lock_guard<bmalloc::StaticMutex>&, unsigned long) + 156
3 JavaScriptCore bmalloc::Heap::allocateSmallBumpRangesByObject(std::__1::lock_guard<bmalloc::StaticMutex>&, unsigned long, bmalloc::BumpAllocator&, bmalloc::FixedVector<bmalloc::BumpRange, 3ul>&) + 44
4 JavaScriptCore bmalloc::Allocator::refillAllocatorSlowCase(bmalloc::BumpAllocator&, unsigned long) + 148
5 JavaScriptCore bmalloc::Allocator::allocateLogSizeClass(unsigned long) + 160
6 JavaScriptCore JSC::CodeBlock::finishCreation(JSC::VM&, JSC::ScriptExecutable*, JSC::UnlinkedCodeBlock*, JSC::JSScope*) + 4036
7 JavaScriptCore JSC::ScriptExecutable::newCodeBlockFor(JSC::CodeSpecializationKind, JSC::JSFunction*, JSC::JSScope*, JSC::JSObject*&) + 1024
8 JavaScriptCore JSC::ScriptExecutable::prepareForExecutionImpl(JSC::VM&, JSC::JSFunction*, JSC::JSScope*, JSC::CodeSpecializationKind, JSC::CodeBlock*&) + 240
9 JavaScriptCore JSC::LLInt::setUpCall(JSC::ExecState*, JSC::Instruction*, JSC::CodeSpecializationKind, JSC::JSValue, JSC::LLIntCallLinkInfo*) + 692
10 JavaScriptCore _llint_entry + 26416
11 JavaScriptCore _llint_entry + 26432
12 JavaScriptCore _vmEntryToJavaScript + 264
13 JavaScriptCore JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*) + 164
14 JavaScriptCore JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 416
15 JavaScriptCore JSC::profiledCall(JSC::ExecState*, JSC::ProfilingReason, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&, WTF::NakedPtr<JSC::Exception>&) + 176
16 WebCore WebCore::JSEventListener::handleEvent(WebCore::ScriptExecutionContext*, WebCore::Event*) + 1068
17 WebCore WebCore::EventTarget::fireEventListeners(WebCore::Event&, WTF::Vector<WTF::RefPtr<WebCore::RegisteredEventListener>, 1ul, WTF::CrashOnOverflow, 16ul>) + 820
18 WebCore WebCore::EventTarget::fireEventListeners(WebCore::Event&) + 236
19 WebCore WebCore::EventContext::handleLocalEvents(WebCore::Event&) const + 116
20 WebCore WebCore::EventDispatcher::dispatchEvent(WebCore::Node&, WebCore::Event&) + 800
21 WebCore non-virtual thunk to WebCore::HTMLScriptElement::dispatchLoadEvent() + 84
22 WebCore WebCore::ScriptElement::executeScriptAndDispatchEvent(WebCore::LoadableScript&) + 344
23 WebCore WebCore::ScriptRunner::timerFired() + 504
24 WebCore WebCore::ThreadTimers::sharedTimerFiredInternal() + 172
25 WebCore WebCore::timerFired(__CFRunLoopTimer*, void*) + 28
26 CoreFoundation ___CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28
27 CoreFoundation ___CFRunLoopDoTimer + 856
28 CoreFoundation ___CFRunLoopDoTimers + 244
29 CoreFoundation ___CFRunLoopRun + 1484
30 CoreFoundation CFRunLoopRunSpecific + 424
31 WebCore RunWebThread(void*) + 456
32 libsystem_pthread.dylib __pthread_body + 240
33 libsystem_pthread.dylib __pthread_body