yubinbin opened a new issue #2892: [Android][iOS][Dev-tool] Unexpected behavior 
when xx where weex version is 0.aa.bb.cc
URL: https://github.com/apache/incubator-weex/issues/2892
 
 
   js通过webview.postMessage(ref,{message: 
JSON.stringify(option)})向web界面传递数据时IOS应用crash,不是每次发生,10次有2会发生
   
   
   ## Environment
   * Device: [iPhone8Plus]
   * OS: [e.g. iOS12.3.2]
   * Version [0.26.0]
   
   
   WebCore | WTFCrashWithInfo(int, char const*, char const*, int) + 20
   -- | --
   1 WebCore | WebCore::Document::createRenderTree()
   2 WebCore | WebCore::Style::TreeResolver::resolve() + 280
   3 WebCore | 
WebCore::Document::resolveStyle(WebCore::Document::ResolveStyleType) + 912
   4 WebCore | WebCore::Document::updateStyleIfNeeded() + 428
   5 WebCore | 
WebCore::Document::updateLayoutIfDimensionsOutOfDate(WebCore::Element&, 
WebCore::DimensionsCheck) + 276
   6 WebCore | WebCore::Element::clientWidth() + 40
   7 WebCore | WebCore::jsElementClientWidth(JSC::ExecState*, long long, 
JSC::PropertyName) + 16
   8 JavaScriptCore | _llint_slow_path_get_by_val + 6144
   9 JavaScriptCore | _llint_entry + 34220
   10 JavaScriptCore | _llint_entry + 82628
   11 JavaScriptCore | _llint_entry + 85176
   12 JavaScriptCore | _llint_entry + 85176
   13 JavaScriptCore | _llint_entry + 82628
   14 JavaScriptCore | _llint_entry + 85176
   15 JavaScriptCore | _llint_entry + 82628
   16 JavaScriptCore | _vmEntryToJavaScript + 268
   17 JavaScriptCore | JSC::Interpreter::executeCall(JSC::ExecState*, 
JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList 
const&) + 420
   18 JavaScriptCore | JSC::profiledCall(JSC::ExecState*, JSC::ProfilingReason, 
JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList 
const&, WTF::NakedPtr<JSC::Exception>&) + 200
   19 WebCore | WebCore::JSExecState::profiledCall(JSC::ExecState*, 
JSC::ProfilingReason, JSC::JSValue, JSC::CallType, JSC::CallData const&, 
JSC::JSValue, JSC::ArgList const&, WTF::NakedPtr<JSC::Exception>&) + 140
   20 WebCore | 
WebCore::JSEventListener::handleEvent(WebCore::ScriptExecutionContext&, 
WebCore::Event&) + 1084
   21 WebCore | 
WebCore::EventTarget::innerInvokeEventListeners(WebCore::Event&, 
WTF::Vector<WTF::RefPtr<WebCore::RegisteredEventListener, 
WTF::DumbPtrTraits<WebCore::RegisteredEventListener> >, 1ul, 
WTF::CrashOnOverflow, 16ul>, WebCore::EventTarget::EventInvokePhase) + 740
   22 WebCore | WebCore::EventTarget::fireEventListeners(WebCore::Event&, 
WebCore::EventTarget::EventInvokePhase) + 268
   23 WebCore | WebCore::EventTarget::dispatchEvent(WebCore::Event&) + 152
   24 WebCore | WebCore::EventTarget::dispatchEventForBindings(WebCore::Event&) 
+ 92
   25 WebCore | 
WebCore::jsEventTargetPrototypeFunctionDispatchEvent(JSC::ExecState*) + 356
   26 JavaScriptCore | _llint_entry + 89260
   27 JavaScriptCore | _llint_entry + 82628
   28 JavaScriptCore | _llint_entry + 82628
   29 JavaScriptCore | _vmEntryToJavaScript + 268
   30 JavaScriptCore | JSC::Interpreter::executeProgram(JSC::SourceCode const&, 
JSC::ExecState*, JSC::JSObject*) + 9816
   31 JavaScriptCore | JSC::evaluate(JSC::ExecState*, JSC::SourceCode const&, 
JSC::JSValue, WTF::NakedPtr<JSC::Exception>&) + 320
   32 JavaScriptCore | JSEvaluateScript + 608
   33 JavaScriptCore | -[JSContext evaluateScript:withSourceURL:] + 196
   34 | -[WXWebComponent postMessage:] + 1112
   35 | __36-[WXWebViewModule postMessage:data:]_block_invoke + 84
   36 | __49-[WXWebViewModule performBlockWithWebView:block:]_block_invoke_2 + 
56
   37 | -[WXWebViewModule doBlock:] + 68
   38 Foundation | ___NSThreadPerformPerform + 336
   39 CoreFoundation | 
___CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
   40 CoreFoundation | ___CFRunLoopDoSource0 + 88
   41 CoreFoundation | ___CFRunLoopDoSources0 + 176
   42 CoreFoundation | ___CFRunLoopRun + 1004
   43 CoreFoundation | CFRunLoopRunSpecific + 436
   44 GraphicsServices | GSEventRunModal + 104
   45 UIKitCore | UIApplicationMain + 212
   46 | main + 124
   47 libdyld.dylib | _start + 4
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to