amark / gun

An open source cybersecurity protocol for syncing decentralized graph data.
https://gun.eco/docs
Other
18.06k stars 1.16k forks source link

Safari crashes when validating incoming SEA data. #618

Open go1dfish opened 5 years ago

go1dfish commented 5 years ago

Regularly get difficult/impossible to debug crashes in Safari when SEA is enabled and validating incoming data.

Live on notabug I do this (set pair=false at top of verify) to eliminate the crashing:

https://github.com/notabugio/notabug/blob/master/src/utils/sea.js#L753

This won't be a good option for AXE; but it works now when I can assume the super peer is validating messages so the clients don't have to.

bugs181 commented 5 years ago

Can you upload a minimal example so I can try to debug? May just use process of elimination to find which piece of code crashes.

go1dfish commented 5 years ago

It’s not an easy thing to replicate, disabling sea validation prevents the crashes and it seems to happen more often when dealing with signed data.

bugs181 commented 5 years ago

Bringing context here from Gitter chat.

@go1dfish 20:40 By forcing pair to be false here: https://github.com/amark/gun/blob/master/sea.js#L429 Never get these crashes when I do that

@go1dfish 20:41 https://notabug.io/user/LesDWK7BcLGNLAtzyAWVwuELI8NKLudyX2E-68OLek4.A8owpiqmANc6yN5fD7UfwSz9kWsRVgBx4obwuCBo6H8/spaces/signed_firehose is a good place to load a lot of signed content

bugs181 commented 5 years ago

Crash logs from the help of @go1dfish. Using the nab.io/t/random URL, we were able to get consistent crashes in two key areas. I will diagnose further but first glance appears to be params passed to the crypto API. It's detecting a null reference somewhere. This may just be due to setting/replacing the crypto param with another before crypto has had a chance to callback. Currently, this is all speculation. One thing is certain, SEA is failing with the newest Safari on OSX and iOS.

1.txt 2.txt 3.txt 4.txt 5.txt 6.txt 7.txt 9.txt 10.txt

Crash log 1 ``` * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0xffffffff00000006) frame #0: 0x00007fff4143e9a5 JavaScriptCore`JSC::JSLock::lock(long) + 21 JavaScriptCore`JSC::JSLock::lock: -> 0x7fff4143e9a5 <+21>: movb 0x4(%r15), %al 0x7fff4143e9a9 <+25>: testb $0x1, %al 0x7fff4143e9ab <+27>: je 0x7fff4143e9b6 ; <+38> 0x7fff4143e9ad <+29>: jmp 0x7fff4143ea12 ; <+130> Target 0: (com.apple.WebKit.WebContent) stopped. (lldb) bt * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0xffffffff00000006) * frame #0: 0x00007fff4143e9a5 JavaScriptCore`JSC::JSLock::lock(long) + 21 frame #1: 0x00007fff4b119f6e WebCore`WebCore::JSDOMWindowMicrotaskCallback::call() + 46 frame #2: 0x00007fff4b2ea3cf WebCore`WebCore::ActiveDOMCallbackMicrotask::run() + 47 frame #3: 0x00007fff4b358c79 WebCore`WebCore::MicrotaskQueue::performMicrotaskCheckpoint() + 137 frame #4: 0x00007fff4b1227b6 WebCore`WebCore::JSMainThreadExecState::didLeaveScriptContext(JSC::ExecState*) + 22 frame #5: 0x00007fff4b104bd9 WebCore`WebCore::JSCallbackData::invokeCallback(WebCore::JSDOMGlobalObject&, JSC::JSObject*, JSC::JSValue, JSC::MarkedArgumentBuffer&, WebCore::JSCallbackData::CallbackType, JSC::PropertyName, WTF::NakedPtr&) + 425 frame #6: 0x00007fff4a770c03 WebCore`WebCore::JSRequestAnimationFrameCallback::handleEvent(double) + 467 frame #7: 0x00007fff4a7707fd WebCore`WebCore::ScriptedAnimationController::serviceScriptedAnimations(double) + 541 frame #8: 0x00007fff4b0e83e9 WebCore`WebCore::DocumentAnimationScheduler::displayRefreshFired() + 105 frame #9: 0x00007fff4a76559b WebCore`WebCore::DisplayRefreshMonitor::displayDidRefresh() + 267 frame #10: 0x00007fff4b7b7fc1 WebCore`WebCore::DisplayRefreshMonitorManager::displayWasUpdated() + 65 frame #11: 0x00007fff4c0fb55b WebKit`IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&) + 127 frame #12: 0x00007fff4c355ed8 WebKit`WebKit::WebProcess::didReceiveMessage(IPC::Connection&, IPC::Decoder&) + 28 frame #13: 0x00007fff4c0c853e WebKit`IPC::Connection::dispatchMessage(std::__1::unique_ptr >) + 130 frame #14: 0x00007fff4c0cb74b WebKit`IPC::Connection::dispatchOneIncomingMessage() + 177 frame #15: 0x00007fff40b19117 JavaScriptCore`WTF::RunLoop::performWork() + 231 frame #16: 0x00007fff40b193a2 JavaScriptCore`WTF::RunLoop::performWork(void*) + 34 frame #17: 0x00007fff3d50f129 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 frame #18: 0x00007fff3d50f0cf CoreFoundation`__CFRunLoopDoSource0 + 108 frame #19: 0x00007fff3d4f2f70 CoreFoundation`__CFRunLoopDoSources0 + 195 frame #20: 0x00007fff3d4f2517 CoreFoundation`__CFRunLoopRun + 1226 frame #21: 0x00007fff3d4f1dfa CoreFoundation`CFRunLoopRunSpecific + 467 frame #22: 0x00007fff3f8705da Foundation`-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 280 frame #23: 0x00007fff3f8704af Foundation`-[NSRunLoop(NSRunLoop) run] + 76 frame #24: 0x00007fff6a85bee6 libxpc.dylib`_xpc_objc_main + 555 frame #25: 0x00007fff6a85b9e5 libxpc.dylib`xpc_main + 433 frame #26: 0x0000000100e10643 com.apple.WebKit.WebContent`___lldb_unnamed_symbol1$$com.apple.WebKit.WebContent + 547 frame #27: 0x00007fff6a625085 libdyld.dylib`start + 1 frame #28: 0x00007fff6a625085 libdyld.dylib`start + 1 ```
Crash log 2 ``` * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x5) frame #0: 0x00007fff409721f6 JavaScriptCore`JSC::JSCell::getObject() + 6 JavaScriptCore`JSC::JSCell::getObject: -> 0x7fff409721f6 <+6>: cmpb $0x14, 0x5(%rdi) 0x7fff409721fa <+10>: cmovaq %rdi, %rax 0x7fff409721fe <+14>: popq %rbp 0x7fff409721ff <+15>: retq Target 0: (com.apple.WebKit.WebContent) stopped. (lldb) bt * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x5) * frame #0: 0x00007fff409721f6 JavaScriptCore`JSC::JSCell::getObject() + 6 frame #1: 0x00007fff4a9555ad WebCore`WebCore::CryptoAlgorithmParameters WebCore::convertDictionary(JSC::ExecState&, JSC::JSValue) + 173 frame #2: 0x00007fff4b1b5e24 WebCore`WebCore::normalizeCryptoAlgorithmParameters(JSC::ExecState&, WTF::Variant, WTF::String>, WebCore::Operations) + 596 frame #3: 0x00007fff4b1b97e6 WebCore`WebCore::SubtleCrypto::verify(JSC::ExecState&, WTF::Variant, WTF::String>&&, WebCore::CryptoKey&, WebCore::BufferSource&&, WebCore::BufferSource&&, WTF::Ref >&&) + 150 frame #4: 0x00007fff4adde721 WebCore`WebCore::jsSubtleCryptoPrototypeFunctionVerify(JSC::ExecState*) + 609 frame #5: 0x000032d406601177 frame #6: 0x000032d406c03113 frame #7: 0x000032d406b1aa42 frame #8: 0x000032d406a8cf68 frame #9: 0x000032d406bedfd8 frame #10: 0x000032d406bee038 frame #11: 0x00007fff40b3ec45 JavaScriptCore`vmEntryToJavaScript + 235 frame #12: 0x00007fff409687b6 JavaScriptCore`JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 470 frame #13: 0x00007fff41390051 JavaScriptCore`JSC::profiledCall(JSC::ExecState*, JSC::ProfilingReason, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 177 frame #14: 0x00007fff4143d70b JavaScriptCore`JSC::JSJobMicrotask::run(JSC::ExecState*) + 459 frame #15: 0x00007fff4b119fb9 WebCore`WebCore::JSDOMWindowMicrotaskCallback::call() + 121 frame #16: 0x00007fff4b2ea3cf WebCore`WebCore::ActiveDOMCallbackMicrotask::run() + 47 frame #17: 0x00007fff4b358c79 WebCore`WebCore::MicrotaskQueue::performMicrotaskCheckpoint() + 137 frame #18: 0x00007fff4b1227b6 WebCore`WebCore::JSMainThreadExecState::didLeaveScriptContext(JSC::ExecState*) + 22 frame #19: 0x00007fff4b131d05 WebCore`WebCore::ScheduledAction::executeFunctionInContext(JSC::JSGlobalObject*, JSC::JSValue, WebCore::ScriptExecutionContext&) + 549 frame #20: 0x00007fff4b131945 WebCore`WebCore::ScheduledAction::execute(WebCore::Document&) + 149 frame #21: 0x00007fff4a67f191 WebCore`WebCore::DOMTimer::fired() + 593 frame #22: 0x00007fff4a5bc790 WebCore`WebCore::ThreadTimers::sharedTimerFiredInternal() + 336 frame #23: 0x00007fff4a5bc62f WebCore`WebCore::timerFired(__CFRunLoopTimer*, void*) + 31 frame #24: 0x00007fff3d511c55 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20 frame #25: 0x00007fff3d511808 CoreFoundation`__CFRunLoopDoTimer + 871 frame #26: 0x00007fff3d51133d CoreFoundation`__CFRunLoopDoTimers + 333 frame #27: 0x00007fff3d4f28d8 CoreFoundation`__CFRunLoopRun + 2187 frame #28: 0x00007fff3d4f1dfa CoreFoundation`CFRunLoopRunSpecific + 467 frame #29: 0x00007fff3f8705da Foundation`-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 280 frame #30: 0x00007fff3f8704af Foundation`-[NSRunLoop(NSRunLoop) run] + 76 frame #31: 0x00007fff6a85bee6 libxpc.dylib`_xpc_objc_main + 555 frame #32: 0x00007fff6a85b9e5 libxpc.dylib`xpc_main + 433 frame #33: 0x0000000104e59643 com.apple.WebKit.WebContent`___lldb_unnamed_symbol1$$com.apple.WebKit.WebContent + 547 frame #34: 0x00007fff6a625085 libdyld.dylib`start + 1 frame #35: 0x00007fff6a625085 libdyld.dylib`start + 1 ```
Crash log 3 ``` * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x5) * frame #0: 0x00007fff409721f6 JavaScriptCore`JSC::JSCell::getObject() + 6 frame #1: 0x00007fff4a9555ad WebCore`WebCore::CryptoAlgorithmParameters WebCore::convertDictionary(JSC::ExecState&, JSC::JSValue) + 173 frame #2: 0x00007fff4b1b5e24 WebCore`WebCore::normalizeCryptoAlgorithmParameters(JSC::ExecState&, WTF::Variant, WTF::String>, WebCore::Operations) + 596 frame #3: 0x00007fff4b1b64fb WebCore`WebCore::normalizeCryptoAlgorithmParameters(JSC::ExecState&, WTF::Variant, WTF::String>, WebCore::Operations) + 2347 frame #4: 0x00007fff4b1b97e6 WebCore`WebCore::SubtleCrypto::verify(JSC::ExecState&, WTF::Variant, WTF::String>&&, WebCore::CryptoKey&, WebCore::BufferSource&&, WebCore::BufferSource&&, WTF::Ref >&&) + 150 frame #5: 0x00007fff4adde721 WebCore`WebCore::jsSubtleCryptoPrototypeFunctionVerify(JSC::ExecState*) + 609 frame #6: 0x000059ba56001177 frame #7: 0x000059ba56390fe8 frame #8: 0x000059ba56465e22 frame #9: 0x000059ba56488068 frame #10: 0x000059ba56621a22 frame #11: 0x000059ba562f3558 frame #12: 0x00007fff40b3ec45 JavaScriptCore`vmEntryToJavaScript + 235 frame #13: 0x00007fff409687b6 JavaScriptCore`JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 470 frame #14: 0x00007fff41390051 JavaScriptCore`JSC::profiledCall(JSC::ExecState*, JSC::ProfilingReason, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 177 frame #15: 0x00007fff4143d70b JavaScriptCore`JSC::JSJobMicrotask::run(JSC::ExecState*) + 459 frame #16: 0x00007fff4b119fb9 WebCore`WebCore::JSDOMWindowMicrotaskCallback::call() + 121 frame #17: 0x00007fff4b2ea3cf WebCore`WebCore::ActiveDOMCallbackMicrotask::run() + 47 frame #18: 0x00007fff4b358c79 WebCore`WebCore::MicrotaskQueue::performMicrotaskCheckpoint() + 137 frame #19: 0x00007fff4a5bc790 WebCore`WebCore::ThreadTimers::sharedTimerFiredInternal() + 336 frame #20: 0x00007fff4a5bc62f WebCore`WebCore::timerFired(__CFRunLoopTimer*, void*) + 31 frame #21: 0x00007fff3d511c55 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20 frame #22: 0x00007fff3d511808 CoreFoundation`__CFRunLoopDoTimer + 871 frame #23: 0x00007fff3d51133d CoreFoundation`__CFRunLoopDoTimers + 333 frame #24: 0x00007fff3d4f28d8 CoreFoundation`__CFRunLoopRun + 2187 frame #25: 0x00007fff3d4f1dfa CoreFoundation`CFRunLoopRunSpecific + 467 frame #26: 0x00007fff3f8705da Foundation`-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 280 frame #27: 0x00007fff3f8704af Foundation`-[NSRunLoop(NSRunLoop) run] + 76 frame #28: 0x00007fff6a85bee6 libxpc.dylib`_xpc_objc_main + 555 frame #29: 0x00007fff6a85b9e5 libxpc.dylib`xpc_main + 433 frame #30: 0x000000010fba4643 com.apple.WebKit.WebContent`___lldb_unnamed_symbol1$$com.apple.WebKit.WebContent + 547 frame #31: 0x00007fff6a625085 libdyld.dylib`start + 1 frame #32: 0x00007fff6a625085 libdyld.dylib`start + 1 ```
Crash log 4 ``` * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0) frame #0: 0x0000000000000000 error: memory read failed for 0x0 Target 0: (com.apple.WebKit.WebContent) stopped. (lldb) bt * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0) * frame #0: 0x0000000000000000 frame #1: 0x00007fff40b3ed63 JavaScriptCore`vmEntryToNative + 241 frame #2: 0x00007fff409687fe JavaScriptCore`JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 542 frame #3: 0x00007fff41390051 JavaScriptCore`JSC::profiledCall(JSC::ExecState*, JSC::ProfilingReason, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 177 frame #4: 0x00007fff4143d70b JavaScriptCore`JSC::JSJobMicrotask::run(JSC::ExecState*) + 459 frame #5: 0x00007fff4b119fb9 WebCore`WebCore::JSDOMWindowMicrotaskCallback::call() + 121 frame #6: 0x00007fff4b2ea3cf WebCore`WebCore::ActiveDOMCallbackMicrotask::run() + 47 frame #7: 0x00007fff4b358c79 WebCore`WebCore::MicrotaskQueue::performMicrotaskCheckpoint() + 137 frame #8: 0x00007fff4b1227b6 WebCore`WebCore::JSMainThreadExecState::didLeaveScriptContext(JSC::ExecState*) + 22 frame #9: 0x00007fff4b11bf3c WebCore`WebCore::JSEventListener::handleEvent(WebCore::ScriptExecutionContext&, WebCore::Event&) + 1116 frame #10: 0x00007fff4b34e414 WebCore`WebCore::EventTarget::fireEventListeners(WebCore::Event&, WTF::Vector >, 1ul, WTF::CrashOnOverflow, 16ul>) + 836 frame #11: 0x00007fff4b34c4b0 WebCore`WebCore::EventTarget::fireEventListeners(WebCore::Event&) + 512 frame #12: 0x00007fff4b34e0bc WebCore`WebCore::EventTarget::dispatchEvent(WebCore::Event&) + 108 frame #13: 0x00007fff4b07da6b WebCore`WebCore::WebSocket::didReceiveMessage(WTF::String const&) + 91 frame #14: 0x00007fff4b081f6e WebCore`WebCore::WebSocketChannel::processFrame() + 3710 frame #15: 0x00007fff4b080899 WebCore`WebCore::WebSocketChannel::processBuffer() + 105 frame #16: 0x00007fff4b08080e WebCore`WebCore::WebSocketChannel::didReceiveSocketStreamData(WebCore::SocketStreamHandle&, char const*, unsigned long) + 414 frame #17: 0x00007fff4c3ad85f WebKit`WebKit::WebSocketStream::didReceiveMessage(IPC::Connection&, IPC::Decoder&) + 603 frame #18: 0x00007fff4c0c853e WebKit`IPC::Connection::dispatchMessage(std::__1::unique_ptr >) + 130 frame #19: 0x00007fff4c0cb74b WebKit`IPC::Connection::dispatchOneIncomingMessage() + 177 frame #20: 0x00007fff40b19169 JavaScriptCore`WTF::RunLoop::performWork() + 313 frame #21: 0x00007fff40b193a2 JavaScriptCore`WTF::RunLoop::performWork(void*) + 34 frame #22: 0x00007fff3d50f129 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 frame #23: 0x00007fff3d50f0cf CoreFoundation`__CFRunLoopDoSource0 + 108 frame #24: 0x00007fff3d4f2f70 CoreFoundation`__CFRunLoopDoSources0 + 195 frame #25: 0x00007fff3d4f2517 CoreFoundation`__CFRunLoopRun + 1226 frame #26: 0x00007fff3d4f1dfa CoreFoundation`CFRunLoopRunSpecific + 467 frame #27: 0x00007fff3f8705da Foundation`-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 280 frame #28: 0x00007fff3f8704af Foundation`-[NSRunLoop(NSRunLoop) run] + 76 frame #29: 0x00007fff6a85bee6 libxpc.dylib`_xpc_objc_main + 555 frame #30: 0x00007fff6a85b9e5 libxpc.dylib`xpc_main + 433 frame #31: 0x0000000108b5b643 com.apple.WebKit.WebContent`___lldb_unnamed_symbol1$$com.apple.WebKit.WebContent + 547 frame #32: 0x00007fff6a625085 libdyld.dylib`start + 1 frame #33: 0x00007fff6a625085 libdyld.dylib`start + 1 ```
Crash log 5 ``` * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x5) frame #0: 0x00007fff409721f6 JavaScriptCore`JSC::JSCell::getObject() + 6 JavaScriptCore`JSC::JSCell::getObject: -> 0x7fff409721f6 <+6>: cmpb $0x14, 0x5(%rdi) 0x7fff409721fa <+10>: cmovaq %rdi, %rax 0x7fff409721fe <+14>: popq %rbp 0x7fff409721ff <+15>: retq Target 0: (com.apple.WebKit.WebContent) stopped. (lldb) bt * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x5) * frame #0: 0x00007fff409721f6 JavaScriptCore`JSC::JSCell::getObject() + 6 frame #1: 0x00007fff4a9555ad WebCore`WebCore::CryptoAlgorithmParameters WebCore::convertDictionary(JSC::ExecState&, JSC::JSValue) + 173 frame #2: 0x00007fff4b1b5e24 WebCore`WebCore::normalizeCryptoAlgorithmParameters(JSC::ExecState&, WTF::Variant, WTF::String>, WebCore::Operations) + 596 frame #3: 0x00007fff4b1b97e6 WebCore`WebCore::SubtleCrypto::verify(JSC::ExecState&, WTF::Variant, WTF::String>&&, WebCore::CryptoKey&, WebCore::BufferSource&&, WebCore::BufferSource&&, WTF::Ref >&&) + 150 frame #4: 0x00007fff4adde721 WebCore`WebCore::jsSubtleCryptoPrototypeFunctionVerify(JSC::ExecState*) + 609 frame #5: 0x00002805e9801177 frame #6: 0x00002805e9d8b021 frame #7: 0x00002805e9de5062 frame #8: 0x00002805e9be4368 frame #9: 0x00002805e9dafe38 frame #10: 0x00002805e9db0038 frame #11: 0x00007fff40b3ec45 JavaScriptCore`vmEntryToJavaScript + 235 frame #12: 0x00007fff409687b6 JavaScriptCore`JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 470 frame #13: 0x00007fff41390051 JavaScriptCore`JSC::profiledCall(JSC::ExecState*, JSC::ProfilingReason, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 177 frame #14: 0x00007fff4143d70b JavaScriptCore`JSC::JSJobMicrotask::run(JSC::ExecState*) + 459 frame #15: 0x00007fff4b119fb9 WebCore`WebCore::JSDOMWindowMicrotaskCallback::call() + 121 frame #16: 0x00007fff4b2ea3cf WebCore`WebCore::ActiveDOMCallbackMicrotask::run() + 47 frame #17: 0x00007fff4b358c79 WebCore`WebCore::MicrotaskQueue::performMicrotaskCheckpoint() + 137 frame #18: 0x00007fff4b1227b6 WebCore`WebCore::JSMainThreadExecState::didLeaveScriptContext(JSC::ExecState*) + 22 frame #19: 0x00007fff4b131d05 WebCore`WebCore::ScheduledAction::executeFunctionInContext(JSC::JSGlobalObject*, JSC::JSValue, WebCore::ScriptExecutionContext&) + 549 frame #20: 0x00007fff4b131945 WebCore`WebCore::ScheduledAction::execute(WebCore::Document&) + 149 frame #21: 0x00007fff4a67f191 WebCore`WebCore::DOMTimer::fired() + 593 frame #22: 0x00007fff4a5bc790 WebCore`WebCore::ThreadTimers::sharedTimerFiredInternal() + 336 frame #23: 0x00007fff4a5bc62f WebCore`WebCore::timerFired(__CFRunLoopTimer*, void*) + 31 frame #24: 0x00007fff3d511c55 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20 frame #25: 0x00007fff3d511808 CoreFoundation`__CFRunLoopDoTimer + 871 frame #26: 0x00007fff3d51133d CoreFoundation`__CFRunLoopDoTimers + 333 frame #27: 0x00007fff3d4f28d8 CoreFoundation`__CFRunLoopRun + 2187 frame #28: 0x00007fff3d4f1dfa CoreFoundation`CFRunLoopRunSpecific + 467 frame #29: 0x00007fff3f8705da Foundation`-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 280 frame #30: 0x00007fff3f8704af Foundation`-[NSRunLoop(NSRunLoop) run] + 76 frame #31: 0x00007fff6a85bee6 libxpc.dylib`_xpc_objc_main + 555 frame #32: 0x00007fff6a85b9e5 libxpc.dylib`xpc_main + 433 frame #33: 0x0000000100a70643 com.apple.WebKit.WebContent`___lldb_unnamed_symbol1$$com.apple.WebKit.WebContent + 547 frame #34: 0x00007fff6a625085 libdyld.dylib`start + 1 frame #35: 0x00007fff6a625085 libdyld.dylib`start + 1 ```
Crash log 6 ``` * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x5) frame #0: 0x00007fff409721f6 JavaScriptCore`JSC::JSCell::getObject() + 6 JavaScriptCore`JSC::JSCell::getObject: -> 0x7fff409721f6 <+6>: cmpb $0x14, 0x5(%rdi) 0x7fff409721fa <+10>: cmovaq %rdi, %rax 0x7fff409721fe <+14>: popq %rbp 0x7fff409721ff <+15>: retq Target 0: (com.apple.WebKit.WebContent) stopped. (lldb) bt * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x5) * frame #0: 0x00007fff409721f6 JavaScriptCore`JSC::JSCell::getObject() + 6 frame #1: 0x00007fff4a9555ad WebCore`WebCore::CryptoAlgorithmParameters WebCore::convertDictionary(JSC::ExecState&, JSC::JSValue) + 173 frame #2: 0x00007fff4b1b5e24 WebCore`WebCore::normalizeCryptoAlgorithmParameters(JSC::ExecState&, WTF::Variant, WTF::String>, WebCore::Operations) + 596 frame #3: 0x00007fff4b1b64fb WebCore`WebCore::normalizeCryptoAlgorithmParameters(JSC::ExecState&, WTF::Variant, WTF::String>, WebCore::Operations) + 2347 frame #4: 0x00007fff4b1b97e6 WebCore`WebCore::SubtleCrypto::verify(JSC::ExecState&, WTF::Variant, WTF::String>&&, WebCore::CryptoKey&, WebCore::BufferSource&&, WebCore::BufferSource&&, WTF::Ref >&&) + 150 frame #5: 0x00007fff4adde721 WebCore`WebCore::jsSubtleCryptoPrototypeFunctionVerify(JSC::ExecState*) + 609 frame #6: 0x000028681ea01177 frame #7: 0x000028681ef76001 frame #8: 0x000028681ee8c7a2 frame #9: 0x000028681ee8ddc9 frame #10: 0x000028681ee7a0a2 frame #11: 0x000028681eeb0838 frame #12: 0x00007fff40b3ec45 JavaScriptCore`vmEntryToJavaScript + 235 frame #13: 0x00007fff409687b6 JavaScriptCore`JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 470 frame #14: 0x00007fff41390051 JavaScriptCore`JSC::profiledCall(JSC::ExecState*, JSC::ProfilingReason, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 177 frame #15: 0x00007fff4143d70b JavaScriptCore`JSC::JSJobMicrotask::run(JSC::ExecState*) + 459 frame #16: 0x00007fff4b119fb9 WebCore`WebCore::JSDOMWindowMicrotaskCallback::call() + 121 frame #17: 0x00007fff4b2ea3cf WebCore`WebCore::ActiveDOMCallbackMicrotask::run() + 47 frame #18: 0x00007fff4b358c79 WebCore`WebCore::MicrotaskQueue::performMicrotaskCheckpoint() + 137 frame #19: 0x00007fff4b1227b6 WebCore`WebCore::JSMainThreadExecState::didLeaveScriptContext(JSC::ExecState*) + 22 frame #20: 0x00007fff4b131d05 WebCore`WebCore::ScheduledAction::executeFunctionInContext(JSC::JSGlobalObject*, JSC::JSValue, WebCore::ScriptExecutionContext&) + 549 frame #21: 0x00007fff4b131945 WebCore`WebCore::ScheduledAction::execute(WebCore::Document&) + 149 frame #22: 0x00007fff4a67f191 WebCore`WebCore::DOMTimer::fired() + 593 frame #23: 0x00007fff4a5bc790 WebCore`WebCore::ThreadTimers::sharedTimerFiredInternal() + 336 frame #24: 0x00007fff4a5bc62f WebCore`WebCore::timerFired(__CFRunLoopTimer*, void*) + 31 frame #25: 0x00007fff3d511c55 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20 frame #26: 0x00007fff3d511808 CoreFoundation`__CFRunLoopDoTimer + 871 frame #27: 0x00007fff3d51133d CoreFoundation`__CFRunLoopDoTimers + 333 frame #28: 0x00007fff3d4f28d8 CoreFoundation`__CFRunLoopRun + 2187 frame #29: 0x00007fff3d4f1dfa CoreFoundation`CFRunLoopRunSpecific + 467 frame #30: 0x00007fff3f8705da Foundation`-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 280 frame #31: 0x00007fff3f8704af Foundation`-[NSRunLoop(NSRunLoop) run] + 76 frame #32: 0x00007fff6a85bee6 libxpc.dylib`_xpc_objc_main + 555 frame #33: 0x00007fff6a85b9e5 libxpc.dylib`xpc_main + 433 frame #34: 0x00000001020ce643 com.apple.WebKit.WebContent`___lldb_unnamed_symbol1$$com.apple.WebKit.WebContent + 547 frame #35: 0x00007fff6a625085 libdyld.dylib`start + 1 frame #36: 0x00007fff6a625085 libdyld.dylib`start + 1 ```
Crash log 7 ``` Process 878 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0) frame #0: 0x0000000000000000 error: memory read failed for 0x0 Target 0: (com.apple.WebKit.WebContent) stopped. (lldb) bt * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0) * frame #0: 0x0000000000000000 frame #1: 0x00007fff40b3ed63 JavaScriptCore`vmEntryToNative + 241 frame #2: 0x00007fff409687fe JavaScriptCore`JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 542 frame #3: 0x00007fff41390051 JavaScriptCore`JSC::profiledCall(JSC::ExecState*, JSC::ProfilingReason, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 177 frame #4: 0x00007fff4143d70b JavaScriptCore`JSC::JSJobMicrotask::run(JSC::ExecState*) + 459 frame #5: 0x00007fff4b119fb9 WebCore`WebCore::JSDOMWindowMicrotaskCallback::call() + 121 frame #6: 0x00007fff4b2ea3cf WebCore`WebCore::ActiveDOMCallbackMicrotask::run() + 47 frame #7: 0x00007fff4b358c79 WebCore`WebCore::MicrotaskQueue::performMicrotaskCheckpoint() + 137 frame #8: 0x00007fff4a5bc790 WebCore`WebCore::ThreadTimers::sharedTimerFiredInternal() + 336 frame #9: 0x00007fff4a5bc62f WebCore`WebCore::timerFired(__CFRunLoopTimer*, void*) + 31 frame #10: 0x00007fff3d511c55 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20 frame #11: 0x00007fff3d511808 CoreFoundation`__CFRunLoopDoTimer + 871 frame #12: 0x00007fff3d51133d CoreFoundation`__CFRunLoopDoTimers + 333 frame #13: 0x00007fff3d4f28d8 CoreFoundation`__CFRunLoopRun + 2187 frame #14: 0x00007fff3d4f1dfa CoreFoundation`CFRunLoopRunSpecific + 467 frame #15: 0x00007fff3f8705da Foundation`-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 280 frame #16: 0x00007fff3f8704af Foundation`-[NSRunLoop(NSRunLoop) run] + 76 frame #17: 0x00007fff6a85bee6 libxpc.dylib`_xpc_objc_main + 555 frame #18: 0x00007fff6a85b9e5 libxpc.dylib`xpc_main + 433 frame #19: 0x00000001028f6643 com.apple.WebKit.WebContent`___lldb_unnamed_symbol1$$com.apple.WebKit.WebContent + 547 frame #20: 0x00007fff6a625085 libdyld.dylib`start + 1 frame #21: 0x00007fff6a625085 libdyld.dylib`start + 1 ```
Crash log 8 ``` * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x5) frame #0: 0x00007fff409721f6 JavaScriptCore`JSC::JSCell::getObject() + 6 JavaScriptCore`JSC::JSCell::getObject: -> 0x7fff409721f6 <+6>: cmpb $0x14, 0x5(%rdi) 0x7fff409721fa <+10>: cmovaq %rdi, %rax 0x7fff409721fe <+14>: popq %rbp 0x7fff409721ff <+15>: retq Target 0: (com.apple.WebKit.WebContent) stopped. (lldb) bt * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x5) * frame #0: 0x00007fff409721f6 JavaScriptCore`JSC::JSCell::getObject() + 6 frame #1: 0x00007fff4a9555ad WebCore`WebCore::CryptoAlgorithmParameters WebCore::convertDictionary(JSC::ExecState&, JSC::JSValue) + 173 frame #2: 0x00007fff4b1b5e24 WebCore`WebCore::normalizeCryptoAlgorithmParameters(JSC::ExecState&, WTF::Variant, WTF::String>, WebCore::Operations) + 596 frame #3: 0x00007fff4b1bb545 WebCore`WebCore::SubtleCrypto::importKey(JSC::ExecState&, WebCore::CryptoKeyFormat, WTF::Variant >, WTF::RefPtr >, WebCore::JsonWebKey>&&, WTF::Variant, WTF::String>&&, bool, WTF::Vector&&, WTF::Ref >&&) + 149 frame #4: 0x00007fff4addf80e WebCore`WebCore::jsSubtleCryptoPrototypeFunctionImportKey(JSC::ExecState*) + 750 frame #5: 0x0000529d18201177 frame #6: 0x0000529d1877e189 frame #7: 0x0000529d18920d43 frame #8: 0x0000529d1867ac22 frame #9: 0x0000529d186ad042 frame #10: 0x0000529d1872e598 frame #11: 0x00007fff40b3ec45 JavaScriptCore`vmEntryToJavaScript + 235 frame #12: 0x00007fff409687b6 JavaScriptCore`JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 470 frame #13: 0x00007fff409685ce JavaScriptCore`JSC::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 62 frame #14: 0x00007fff4145aabd JavaScriptCore`JSC::JSPromise::initialize(JSC::ExecState*, JSC::JSGlobalObject*, JSC::JSValue) + 205 frame #15: 0x00007fff4145b2ce JavaScriptCore`JSC::constructPromise(JSC::ExecState*) + 174 frame #16: 0x0000529d182010cd frame #17: 0x0000529d183ec4a3 frame #18: 0x0000529d1827d722 frame #19: 0x0000529d1841791f frame #20: 0x0000529d187caa1d frame #21: 0x0000529d184178fe frame #22: 0x0000529d18736263 frame #23: 0x0000529d187575e5 frame #24: 0x0000529d1841e464 frame #25: 0x0000529d1841e69a frame #26: 0x0000529d18820852 frame #27: 0x00007fff40b3ec45 JavaScriptCore`vmEntryToJavaScript + 235 frame #28: 0x00007fff409687b6 JavaScriptCore`JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 470 frame #29: 0x00007fff41390144 JavaScriptCore`JSC::profiledCall(JSC::ExecState*, JSC::ProfilingReason, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&, WTF::NakedPtr&) + 164 frame #30: 0x00007fff4b11bf15 WebCore`WebCore::JSEventListener::handleEvent(WebCore::ScriptExecutionContext&, WebCore::Event&) + 1077 frame #31: 0x00007fff4b34e414 WebCore`WebCore::EventTarget::fireEventListeners(WebCore::Event&, WTF::Vector >, 1ul, WTF::CrashOnOverflow, 16ul>) + 836 frame #32: 0x00007fff4b34c4b0 WebCore`WebCore::EventTarget::fireEventListeners(WebCore::Event&) + 512 frame #33: 0x00007fff4b34e0bc WebCore`WebCore::EventTarget::dispatchEvent(WebCore::Event&) + 108 frame #34: 0x00007fff4b07da6b WebCore`WebCore::WebSocket::didReceiveMessage(WTF::String const&) + 91 frame #35: 0x00007fff4b081f6e WebCore`WebCore::WebSocketChannel::processFrame() + 3710 frame #36: 0x00007fff4b080899 WebCore`WebCore::WebSocketChannel::processBuffer() + 105 frame #37: 0x00007fff4b08080e WebCore`WebCore::WebSocketChannel::didReceiveSocketStreamData(WebCore::SocketStreamHandle&, char const*, unsigned long) + 414 frame #38: 0x00007fff4c3ad85f WebKit`WebKit::WebSocketStream::didReceiveMessage(IPC::Connection&, IPC::Decoder&) + 603 frame #39: 0x00007fff4c0c853e WebKit`IPC::Connection::dispatchMessage(std::__1::unique_ptr >) + 130 frame #40: 0x00007fff4c0cb74b WebKit`IPC::Connection::dispatchOneIncomingMessage() + 177 frame #41: 0x00007fff40b19169 JavaScriptCore`WTF::RunLoop::performWork() + 313 frame #42: 0x00007fff40b193a2 JavaScriptCore`WTF::RunLoop::performWork(void*) + 34 frame #43: 0x00007fff3d50f129 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 frame #44: 0x00007fff3d50f0cf CoreFoundation`__CFRunLoopDoSource0 + 108 frame #45: 0x00007fff3d4f2f70 CoreFoundation`__CFRunLoopDoSources0 + 195 frame #46: 0x00007fff3d4f2517 CoreFoundation`__CFRunLoopRun + 1226 frame #47: 0x00007fff3d4f1dfa CoreFoundation`CFRunLoopRunSpecific + 467 frame #48: 0x00007fff3f8705da Foundation`-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 280 frame #49: 0x00007fff3f8704af Foundation`-[NSRunLoop(NSRunLoop) run] + 76 frame #50: 0x00007fff6a85bee6 libxpc.dylib`_xpc_objc_main + 555 frame #51: 0x00007fff6a85b9e5 libxpc.dylib`xpc_main + 433 frame #52: 0x00000001008ff643 com.apple.WebKit.WebContent`___lldb_unnamed_symbol1$$com.apple.WebKit.WebContent + 547 frame #53: 0x00007fff6a625085 libdyld.dylib`start + 1 frame #54: 0x00007fff6a625085 libdyld.dylib`start + 1 ```
Crash log 9 ``` Process 955 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x5) frame #0: 0x00007fff409721f6 JavaScriptCore`JSC::JSCell::getObject() + 6 JavaScriptCore`JSC::JSCell::getObject: -> 0x7fff409721f6 <+6>: cmpb $0x14, 0x5(%rdi) 0x7fff409721fa <+10>: cmovaq %rdi, %rax 0x7fff409721fe <+14>: popq %rbp 0x7fff409721ff <+15>: retq Target 0: (com.apple.WebKit.WebContent) stopped. (lldb) bt * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x5) * frame #0: 0x00007fff409721f6 JavaScriptCore`JSC::JSCell::getObject() + 6 frame #1: 0x00007fff4a9555ad WebCore`WebCore::CryptoAlgorithmParameters WebCore::convertDictionary(JSC::ExecState&, JSC::JSValue) + 173 frame #2: 0x00007fff4b1b5e24 WebCore`WebCore::normalizeCryptoAlgorithmParameters(JSC::ExecState&, WTF::Variant, WTF::String>, WebCore::Operations) + 596 frame #3: 0x00007fff4b1b9d19 WebCore`WebCore::SubtleCrypto::digest(JSC::ExecState&, WTF::Variant, WTF::String>&&, WebCore::BufferSource&&, WTF::Ref >&&) + 137 frame #4: 0x00007fff4addea15 WebCore`WebCore::jsSubtleCryptoPrototypeFunctionDigest(JSC::ExecState*) + 421 frame #5: 0x000031a308801177 frame #6: 0x000031a308e43a24 frame #7: 0x000031a308d34b15 frame #8: 0x000031a308883b42 frame #9: 0x000031a30894ec02 frame #10: 0x000031a308dd1f38 frame #11: 0x00007fff40b3ec45 JavaScriptCore`vmEntryToJavaScript + 235 frame #12: 0x00007fff409687b6 JavaScriptCore`JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 470 frame #13: 0x00007fff409685ce JavaScriptCore`JSC::call(JSC::ExecState*, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 62 frame #14: 0x00007fff4145aabd JavaScriptCore`JSC::JSPromise::initialize(JSC::ExecState*, JSC::JSGlobalObject*, JSC::JSValue) + 205 frame #15: 0x00007fff4145b2ce JavaScriptCore`JSC::constructPromise(JSC::ExecState*) + 174 frame #16: 0x000031a3088010cd frame #17: 0x000031a308e89376 frame #18: 0x000031a308d34af8 frame #19: 0x000031a308883b42 frame #20: 0x000031a308ddb018 frame #21: 0x00007fff40b3ec45 JavaScriptCore`vmEntryToJavaScript + 235 frame #22: 0x00007fff409687b6 JavaScriptCore`JSC::Interpreter::executeCall(JSC::ExecState*, JSC::JSObject*, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 470 frame #23: 0x00007fff41390051 JavaScriptCore`JSC::profiledCall(JSC::ExecState*, JSC::ProfilingReason, JSC::JSValue, JSC::CallType, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 177 frame #24: 0x00007fff4143d70b JavaScriptCore`JSC::JSJobMicrotask::run(JSC::ExecState*) + 459 frame #25: 0x00007fff4b119fb9 WebCore`WebCore::JSDOMWindowMicrotaskCallback::call() + 121 frame #26: 0x00007fff4b2ea3cf WebCore`WebCore::ActiveDOMCallbackMicrotask::run() + 47 frame #27: 0x00007fff4b358c79 WebCore`WebCore::MicrotaskQueue::performMicrotaskCheckpoint() + 137 frame #28: 0x00007fff4b1227b6 WebCore`WebCore::JSMainThreadExecState::didLeaveScriptContext(JSC::ExecState*) + 22 frame #29: 0x00007fff4b11bf3c WebCore`WebCore::JSEventListener::handleEvent(WebCore::ScriptExecutionContext&, WebCore::Event&) + 1116 frame #30: 0x00007fff4b34e414 WebCore`WebCore::EventTarget::fireEventListeners(WebCore::Event&, WTF::Vector >, 1ul, WTF::CrashOnOverflow, 16ul>) + 836 frame #31: 0x00007fff4b34c4b0 WebCore`WebCore::EventTarget::fireEventListeners(WebCore::Event&) + 512 frame #32: 0x00007fff4b34e0bc WebCore`WebCore::EventTarget::dispatchEvent(WebCore::Event&) + 108 frame #33: 0x00007fff4b07da6b WebCore`WebCore::WebSocket::didReceiveMessage(WTF::String const&) + 91 frame #34: 0x00007fff4b081f6e WebCore`WebCore::WebSocketChannel::processFrame() + 3710 frame #35: 0x00007fff4b080899 WebCore`WebCore::WebSocketChannel::processBuffer() + 105 frame #36: 0x00007fff4b08080e WebCore`WebCore::WebSocketChannel::didReceiveSocketStreamData(WebCore::SocketStreamHandle&, char const*, unsigned long) + 414 frame #37: 0x00007fff4c3ad85f WebKit`WebKit::WebSocketStream::didReceiveMessage(IPC::Connection&, IPC::Decoder&) + 603 frame #38: 0x00007fff4c0c853e WebKit`IPC::Connection::dispatchMessage(std::__1::unique_ptr >) + 130 frame #39: 0x00007fff4c0cb74b WebKit`IPC::Connection::dispatchOneIncomingMessage() + 177 frame #40: 0x00007fff40b19169 JavaScriptCore`WTF::RunLoop::performWork() + 313 frame #41: 0x00007fff40b193a2 JavaScriptCore`WTF::RunLoop::performWork(void*) + 34 frame #42: 0x00007fff3d50f129 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 frame #43: 0x00007fff3d50f0cf CoreFoundation`__CFRunLoopDoSource0 + 108 frame #44: 0x00007fff3d4f2f70 CoreFoundation`__CFRunLoopDoSources0 + 195 frame #45: 0x00007fff3d4f2517 CoreFoundation`__CFRunLoopRun + 1226 frame #46: 0x00007fff3d4f1dfa CoreFoundation`CFRunLoopRunSpecific + 467 frame #47: 0x00007fff3f8705da Foundation`-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 280 frame #48: 0x00007fff3f8704af Foundation`-[NSRunLoop(NSRunLoop) run] + 76 frame #49: 0x00007fff6a85bee6 libxpc.dylib`_xpc_objc_main + 555 frame #50: 0x00007fff6a85b9e5 libxpc.dylib`xpc_main + 433 frame #51: 0x000000010a8e1643 com.apple.WebKit.WebContent`___lldb_unnamed_symbol1$$com.apple.WebKit.WebContent + 547 frame #52: 0x00007fff6a625085 libdyld.dylib`start + 1 frame #53: 0x00007fff6a625085 libdyld.dylib`start + 1 ```
Crash log 10 ``` * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT) frame #0: 0x00007fff4143e9a5 JavaScriptCore`JSC::JSLock::lock(long) + 21 JavaScriptCore`JSC::JSLock::lock: -> 0x7fff4143e9a5 <+21>: movb 0x4(%r15), %al 0x7fff4143e9a9 <+25>: testb $0x1, %al 0x7fff4143e9ab <+27>: je 0x7fff4143e9b6 ; <+38> 0x7fff4143e9ad <+29>: jmp 0x7fff4143ea12 ; <+130> Target 0: (com.apple.WebKit.WebContent) stopped. (lldb) bt * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT) * frame #0: 0x00007fff4143e9a5 JavaScriptCore`JSC::JSLock::lock(long) + 21 frame #1: 0x00007fff4b119f6e WebCore`WebCore::JSDOMWindowMicrotaskCallback::call() + 46 frame #2: 0x00007fff4b2ea3cf WebCore`WebCore::ActiveDOMCallbackMicrotask::run() + 47 frame #3: 0x00007fff4b358c79 WebCore`WebCore::MicrotaskQueue::performMicrotaskCheckpoint() + 137 frame #4: 0x00007fff4b1227b6 WebCore`WebCore::JSMainThreadExecState::didLeaveScriptContext(JSC::ExecState*) + 22 frame #5: 0x00007fff4b11bf3c WebCore`WebCore::JSEventListener::handleEvent(WebCore::ScriptExecutionContext&, WebCore::Event&) + 1116 frame #6: 0x00007fff4b34e414 WebCore`WebCore::EventTarget::fireEventListeners(WebCore::Event&, WTF::Vector >, 1ul, WTF::CrashOnOverflow, 16ul>) + 836 frame #7: 0x00007fff4b34c4b0 WebCore`WebCore::EventTarget::fireEventListeners(WebCore::Event&) + 512 frame #8: 0x00007fff4b34e0bc WebCore`WebCore::EventTarget::dispatchEvent(WebCore::Event&) + 108 frame #9: 0x00007fff4b07da6b WebCore`WebCore::WebSocket::didReceiveMessage(WTF::String const&) + 91 frame #10: 0x00007fff4b081f6e WebCore`WebCore::WebSocketChannel::processFrame() + 3710 frame #11: 0x00007fff4b080899 WebCore`WebCore::WebSocketChannel::processBuffer() + 105 frame #12: 0x00007fff4b08080e WebCore`WebCore::WebSocketChannel::didReceiveSocketStreamData(WebCore::SocketStreamHandle&, char const*, unsigned long) + 414 frame #13: 0x00007fff4c3ad85f WebKit`WebKit::WebSocketStream::didReceiveMessage(IPC::Connection&, IPC::Decoder&) + 603 frame #14: 0x00007fff4c0c853e WebKit`IPC::Connection::dispatchMessage(std::__1::unique_ptr >) + 130 frame #15: 0x00007fff4c0cb74b WebKit`IPC::Connection::dispatchOneIncomingMessage() + 177 frame #16: 0x00007fff40b19117 JavaScriptCore`WTF::RunLoop::performWork() + 231 frame #17: 0x00007fff40b193a2 JavaScriptCore`WTF::RunLoop::performWork(void*) + 34 frame #18: 0x00007fff3d50f129 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 frame #19: 0x00007fff3d50f0cf CoreFoundation`__CFRunLoopDoSource0 + 108 frame #20: 0x00007fff3d4f2f70 CoreFoundation`__CFRunLoopDoSources0 + 195 frame #21: 0x00007fff3d4f2517 CoreFoundation`__CFRunLoopRun + 1226 frame #22: 0x00007fff3d4f1dfa CoreFoundation`CFRunLoopRunSpecific + 467 frame #23: 0x00007fff3f8705da Foundation`-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 280 frame #24: 0x00007fff3f8704af Foundation`-[NSRunLoop(NSRunLoop) run] + 76 frame #25: 0x00007fff6a85bee6 libxpc.dylib`_xpc_objc_main + 555 frame #26: 0x00007fff6a85b9e5 libxpc.dylib`xpc_main + 433 frame #27: 0x000000010e150643 com.apple.WebKit.WebContent`___lldb_unnamed_symbol1$$com.apple.WebKit.WebContent + 547 frame #28: 0x00007fff6a625085 libdyld.dylib`start + 1 frame #29: 0x00007fff6a625085 libdyld.dylib`start + 1 ```