RESOLVED FIXED 225534
[ BigSur Debug wk2 ARM64 ] imported/w3c/web-platform-tests/webrtc-encoded-transform/sframe-transform-readable.html is flaky crashing
https://bugs.webkit.org/show_bug.cgi?id=225534
Summary [ BigSur Debug wk2 ARM64 ] imported/w3c/web-platform-tests/webrtc-encoded-tra...
Robert Jenner
Reported 2021-05-07 12:16:30 PDT
imported/w3c/web-platform-tests/webrtc-encoded-transform/sframe-transform-readable.html is flaky crashing on BigSur Debug wk2 on Apple Silicon Macs only. HISTORY: https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fwebrtc-encoded-transform%2Fsframe-transform-readable.html CRASH TEXT: Thread 21 Crashed:: WebCore: Worker 0 com.apple.JavaScriptCore 0x00000001325d1830 WTFCrash + 20 (Assertions.cpp:305) 1 com.apple.JavaScriptCore 0x0000000133fa5058 JSC::assertCall(JSC::JSGlobalObject*, JSC::CallFrame*) + 484 (JSGlobalObject.cpp:358) 2 ??? 0x0000000142815fbc 0 + 5410742204 3 ??? 0x0000000142896864 0 + 5411268708 4 com.apple.JavaScriptCore 0x0000000132b1f068 vmEntryToJavaScript + 264 5 com.apple.JavaScriptCore 0x00000001339e6b40 JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*) + 212 (JITCodeInlines.h:42) 6 com.apple.JavaScriptCore 0x00000001339e7170 JSC::Interpreter::executeCall(JSC::JSGlobalObject*, JSC::JSObject*, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 1392 (Interpreter.cpp:903) 7 com.apple.JavaScriptCore 0x0000000133d78d54 JSC::call(JSC::JSGlobalObject*, JSC::JSValue, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 236 (CallData.cpp:57) 8 com.apple.WebCore 0x000000011488bc00 WebCore::invokeReadableStreamDefaultControllerFunction(JSC::JSGlobalObject&, JSC::Identifier const&, JSC::MarkedArgumentBuffer const&) + 404 (ReadableStreamDefaultController.cpp:52) 9 com.apple.WebCore 0x000000011488bfa8 WebCore::ReadableStreamDefaultController::enqueue(JSC::JSValue) + 220 (ReadableStreamDefaultController.cpp:105) 10 com.apple.WebCore 0x00000001140a508c WebCore::SimpleReadableStreamSource::enqueue(JSC::JSValue) + 44 (ReadableStreamSource.h:76) 11 com.apple.WebCore 0x00000001140a5734 void WebCore::transformFrame<WebCore::RTCEncodedVideoFrame>(WebCore::RTCEncodedVideoFrame&, WebCore::JSDOMGlobalObject&, WebCore::RTCRtpSFrameTransformer&, WebCore::SimpleReadableStreamSource&) + 364 (RTCRtpSFrameTransform.cpp:154) 12 com.apple.WebCore 0x00000001140a5598 WebCore::ExceptionOr<void> WebCore::RTCRtpSFrameTransform::createStreams(JSC::JSGlobalObject&)::$_1::operator()<WebCore::ScriptExecutionContext, JSC::JSValue>(WebCore::ScriptExecutionContext&, JSC::JSValue) const::'lambda'(WTF::RefPtr<WebCore::RTCEncodedVideoFrame, WTF::RawPtrTraits<WebCore::RTCEncodedVideoFrame>, WTF::DefaultRefDerefTraits<WebCore::RTCEncodedVideoFrame> >&)::operator()(WTF::RefPtr<WebCore::RTCEncodedVideoFrame, WTF::RawPtrTraits<WebCore::RTCEncodedVideoFrame>, WTF::DefaultRefDerefTraits<WebCore::RTCEncodedVideoFrame> >&) const + 112 (RTCRtpSFrameTransform.cpp:187) 13 com.apple.WebCore 0x00000001140a4cf0 void WTF::__visitor_table<WTF::Visitor<WebCore::ExceptionOr<void> WebCore::RTCRtpSFrameTransform::createStreams(JSC::JSGlobalObject&)::$_1::operator()<WebCore::ScriptExecutionContext, JSC::JSValue>(WebCore::ScriptExecutionContext&, JSC::JSValue) const::'lambda'(WTF::RefPtr<WebCore::RTCEncodedAudioFrame, WTF::RawPtrTraits<WebCore::RTCEncodedAudioFrame>, WTF::DefaultRefDerefTraits<WebCore::RTCEncodedAudioFrame> >&), WebCore::ExceptionOr<void> WebCore::RTCRtpSFrameTransform::createStreams(JSC::JSGlobalObject&)::$_1::operator()<WebCore::ScriptExecutionContext, JSC::JSValue>(WebCore::ScriptExecutionContext&, JSC::JSValue) const::'lambda'(WTF::RefPtr<WebCore::RTCEncodedVideoFrame, WTF::RawPtrTraits<WebCore::RTCEncodedVideoFrame>, WTF::DefaultRefDerefTraits<WebCore::RTCEncodedVideoFrame> >&), WebCore::ExceptionOr<void> WebCore::RTCRtpSFrameTransform::createStreams(JSC::JSGlobalObject&)::$_1::operator()<WebCore::ScriptExecutionContext, JSC::JSValue>(WebCore::ScriptExecutionContext&, JSC::JSValue) const::'lambda'(WTF::RefPtr<JSC::ArrayBuffer, WTF::RawPtrTraits<JSC::ArrayBuffer>, WTF::DefaultRefDerefTraits<JSC::ArrayBuffer> >&), WebCore::ExceptionOr<void> WebCore::RTCRtpSFrameTransform::createStreams(JSC::JSGlobalObject&)::$_1::operator()<WebCore::ScriptExecutionContext, JSC::JSValue>(WebCore::ScriptExecutionContext&, JSC::JSValue) const::'lambda'(WTF::RefPtr<JSC::ArrayBufferView, WTF::RawPtrTraits<JSC::ArrayBufferView>, WTF::DefaultRefDerefTraits<JSC::ArrayBufferView> >&)>, WTF::RefPtr<JSC::ArrayBuffer, WTF::RawPtrTraits<JSC::ArrayBuffer>, WTF::DefaultRefDerefTraits<JSC::ArrayBuffer> >, WTF::RefPtr<JSC::ArrayBufferView, WTF::RawPtrTraits<JSC::ArrayBufferView>, WTF::DefaultRefDerefTraits<JSC::ArrayBufferView> >, WTF::RefPtr<WebCore::RTCEncodedAudioFrame, WTF::RawPtrTraits<WebCore::RTCEncodedAudioFrame>, WTF::DefaultRefDerefTraits<WebCore::RTCEncodedAudioFrame> >, WTF::RefPtr<WebCore::RTCEncodedVideoFrame, WTF::RawPtrTraits<WebCore::RTCEncodedVideoFrame>, WTF::DefaultRefDerefTraits<WebCore::RTCEncodedVideoFrame> > >::__trampoline_func<WTF::RefPtr<WebCore::RTCEncodedVideoFrame, WTF::RawPtrTraits<WebCore::RTCEncodedVideoFrame>, WTF::DefaultRefDerefTraits<WebCore::RTCEncodedVideoFrame> > >(WTF::Visitor<WebCore::ExceptionOr<void> WebCore::RTCRtpSFrameTransform::createStreams(JSC::JSGlobalObject&)::$_1::operator()<WebCore::ScriptExecutionContext, JSC::JSValue>(WebCore::ScriptExecutionContext&, JSC::JSValue) const::'lambda'(WTF::RefPtr<WebCore::RTCEncodedAudioFrame, WTF::RawPtrTraits<WebCore::RTCEncodedAudioFrame>, WTF::DefaultRefDerefTraits<WebCore::RTCEncodedAudioFrame> >&), WebCore::ExceptionOr<void> WebCore::RTCRtpSFrameTransform::createStreams(JSC::JSGlobalObject&)::$_1::operator()<WebCore::ScriptExecutionContext, JSC::JSValue>(WebCore::ScriptExecutionContext&, JSC::JSValue) const::'lambda'(WTF::RefPtr<WebCore::RTCEncodedVideoFrame, WTF::RawPtrTraits<WebCore::RTCEncodedVideoFrame>, WTF::DefaultRefDerefTraits<WebCore::RTCEncodedVideoFrame> >&), WebCore::ExceptionOr<void> WebCore::RTCRtpSFrameTransform::createStreams(JSC::JSGlobalObject&)::$_1::operator()<WebCore::ScriptExecutionContext, JSC::JSValue>(WebCore::ScriptExecutionContext&, JSC::JSValue) const::'lambda'(WTF::RefPtr<JSC::ArrayBuffer, WTF::RawPtrTraits<JSC::ArrayBuffer>, WTF::DefaultRefDerefTraits<JSC::ArrayBuffer> >&), WebCore::ExceptionOr<void> WebCore::RTCRtpSFrameTransform::createStreams(JSC::JSGlobalObject&)::$_1::operator()<WebCore::ScriptExecutionContext, JSC::JSValue>(WebCore::ScriptExecutionContext&, JSC::JSValue) const::'lambda'(WTF::RefPtr<JSC::ArrayBufferView, WTF::RawPtrTraits<JSC::ArrayBufferView>, WTF::DefaultRefDerefTraits<JSC::ArrayBufferView> >&)>&, WTF::Variant<WTF::RefPtr<JSC::ArrayBuffer, WTF::RawPtrTraits<JSC::ArrayBuffer>, WTF::DefaultRefDerefTraits<JSC::ArrayBuffer> >, WTF::RefPtr<JSC::ArrayBufferView, WTF::RawPtrTraits<JSC::ArrayBufferView>, WTF::DefaultRefDerefTraits<JSC::ArrayBufferView> >, WTF::RefPtr<WebCore::RTCEncodedAudioFrame, WTF::RawPtrTraits<WebCore::RTCEncodedAudioFrame>, WTF::DefaultRefDerefTraits<WebCore::RTCEncodedAudioFrame> >, WTF::RefPtr<WebCore::RTCEncodedVideoFrame, WTF::RawPtrTraits<WebCore::RTCEncodedVideoFrame>, WTF::DefaultRefDerefTraits<WebCore::RTCEncodedVideoFrame> > >&) + 64 (Variant.h:1873) 14 com.apple.WebCore 0x00000001140a4af8 WTF::__visitor_return_type<WebCore::ScriptExecutionContext, JSC::JSValue...>::__type WTF::visit<WTF::Visitor<WebCore::ExceptionOr<void> WebCore::RTCRtpSFrameTransform::createStreams(JSC::JSGlobalObject&)::$_1::operator()<WebCore::ScriptExecutionContext, JSC::JSValue>(WebCore::ScriptExecutionContext&, JSC::JSValue) const::'lambda'(WTF::RefPtr<WebCore::RTCEncodedAudioFrame, WTF::RawPtrTraits<WebCore::RTCEncodedAudioFrame>, WTF::DefaultRefDerefTraits<WebCore::RTCEncodedAudioFrame> >&), WebCore::ExceptionOr<void> WebCore::RTCRtpSFrameTransform::createStreams(JSC::JSGlobalObject&)::$_1::operator()<WebCore::ScriptExecutionContext, JSC::JSValue>(WebCore::ScriptExecutionContext&, JSC::JSValue) const::'lambda'(WTF::RefPtr<WebCore::RTCEncodedVideoFrame, WTF::RawPtrTraits<WebCore::RTCEncodedVideoFrame>, WTF::DefaultRefDerefTraits<WebCore::RTCEncodedVideoFrame> >&), WebCore::ExceptionOr<void> WebCore::RTCRtpSFrameTransform::createStreams(JSC::JSGlobalObject&)::$_1::operator()<WebCore::ScriptExecutionContext, JSC::JSValue>(WebCore::ScriptExecutionContext&, JSC::JSValue) const::'lambda'(WTF::RefPtr<JSC::ArrayBuffer, WTF::RawPtrTraits<JSC::ArrayBuffer>, WTF::DefaultRefDerefTraits<JSC::ArrayBuffer> >&), WebCore::ExceptionOr<void> WebCore::RTCRtpSFrameTransform::createStreams(JSC::JSGlobalObject&)::$_1::operator()<WebCore::ScriptExecutionContext, JSC::JSValue>(WebCore::ScriptExecutionContext&, JSC::JSValue) const::'lambda'(WTF::RefPtr<JSC::ArrayBufferView, WTF::RawPtrTraits<JSC::ArrayBufferView>, WTF::DefaultRefDerefTraits<JSC::ArrayBufferView> >&)>, WTF::RefPtr<JSC::ArrayBuffer, WTF::RawPtrTraits<JSC::ArrayBuffer>, WTF::DefaultRefDerefTraits<JSC::ArrayBuffer> >, WTF::RefPtr<JSC::ArrayBufferView, WTF::RawPtrTraits<JSC::ArrayBufferView>, WTF::DefaultRefDerefTraits<JSC::ArrayBufferView> >, WTF::RefPtr<WebCore::RTCEncodedAudioFrame, WTF::RawPtrTraits<WebCore::RTCEncodedAudioFrame>, WTF::DefaultRefDerefTraits<WebCore::RTCEncodedAudioFrame> >, WTF::RefPtr<WebCore::RTCEncodedVideoFrame, WTF::RawPtrTraits<WebCore::RTCEncodedVideoFrame>, WTF::DefaultRefDerefTraits<WebCore::RTCEncodedVideoFrame> > >(WebCore::ScriptExecutionContext&&, WTF::Variant<JSC::JSValue...>&) + 84 (Variant.h:1889) 15 com.apple.WebCore 0x00000001140a0ec4 decltype(WTF::visit(makeVisitor(std::forward<JSC::JSValue>(fp0)...), std::forward<WebCore::ScriptExecutionContext>(fp))) WTF::switchOn<WTF::Variant<WTF::RefPtr<JSC::ArrayBuffer, WTF::RawPtrTraits<JSC::ArrayBuffer>, WTF::DefaultRefDerefTraits<JSC::ArrayBuffer> >, WTF::RefPtr<JSC::ArrayBufferView, WTF::RawPtrTraits<JSC::ArrayBufferView>, WTF::DefaultRefDerefTraits<JSC::ArrayBufferView> >, WTF::RefPtr<WebCore::RTCEncodedAudioFrame, WTF::RawPtrTraits<WebCore::RTCEncodedAudioFrame>, WTF::DefaultRefDerefTraits<WebCore::RTCEncodedAudioFrame> >, WTF::RefPtr<WebCore::RTCEncodedVideoFrame, WTF::RawPtrTraits<WebCore::RTCEncodedVideoFrame>, WTF::DefaultRefDerefTraits<WebCore::RTCEncodedVideoFrame> > >&, WebCore::ExceptionOr<void> WebCore::RTCRtpSFrameTransform::createStreams(JSC::JSGlobalObject&)::$_1::operator()<WebCore::ScriptExecutionContext, JSC::JSValue>(WebCore::ScriptExecutionContext&, JSC::JSValue) const::'lambda'(WTF::RefPtr<WebCore::RTCEncodedAudioFrame, WTF::RawPtrTraits<WebCore::RTCEncodedAudioFrame>, WTF::DefaultRefDerefTraits<WebCore::RTCEncodedAudioFrame> >&), WebCore::ExceptionOr<void> WebCore::RTCRtpSFrameTransform::createStreams(JSC::JSGlobalObject&)::$_1::operator()<WebCore::ScriptExecutionContext, JSC::JSValue>(WebCore::ScriptExecutionContext&, JSC::JSValue) const::'lambda'(WTF::RefPtr<WebCore::RTCEncodedVideoFrame, WTF::RawPtrTraits<WebCore::RTCEncodedVideoFrame>, WTF::DefaultRefDerefTraits<WebCore::RTCEncodedVideoFrame> >&), WebCore::ExceptionOr<void> WebCore::RTCRtpSFrameTransform::createStreams(JSC::JSGlobalObject&)::$_1::operator()<WebCore::ScriptExecutionContext, JSC::JSValue>(WebCore::ScriptExecutionContext&, JSC::JSValue) const::'lambda'(WTF::RefPtr<JSC::ArrayBuffer, WTF::RawPtrTraits<JSC::ArrayBuffer>, WTF::DefaultRefDerefTraits<JSC::ArrayBuffer> >&), WebCore::ExceptionOr<void> WebCore::RTCRtpSFrameTransform::createStreams(JSC::JSGlobalObject&)::$_1::operator()<WebCore::ScriptExecutionContext, JSC::JSValue>(WebCore::ScriptExecutionContext&, JSC::JSValue) const::'lambda'(WTF::RefPtr<JSC::ArrayBufferView, WTF::RawPtrTraits<JSC::ArrayBufferView>, WTF::DefaultRefDerefTraits<JSC::ArrayBufferView> >&)>(WebCore::ScriptExecutionContext&&, JSC::JSValue&&...) + 212 (Variant.h:2054) 16 com.apple.WebCore 0x00000001140a0d54 WebCore::ExceptionOr<void> WebCore::RTCRtpSFrameTransform::createStreams(JSC::JSGlobalObject&)::$_1::operator()<WebCore::ScriptExecutionContext, JSC::JSValue>(WebCore::ScriptExecutionContext&, JSC::JSValue) const + 540 (RTCRtpSFrameTransform.cpp:184) 17 com.apple.WebCore 0x00000001140a0990 WTF::Detail::CallableWrapper<WebCore::RTCRtpSFrameTransform::createStreams(JSC::JSGlobalObject&)::$_1, WebCore::ExceptionOr<void>, WebCore::ScriptExecutionContext&, JSC::JSValue>::call(WebCore::ScriptExecutionContext&, JSC::JSValue) + 108 (Function.h:52) 18 com.apple.WebCore 0x0000000114098ff0 WTF::Function<WebCore::ExceptionOr<void> (WebCore::ScriptExecutionContext&, JSC::JSValue)>::operator()(WebCore::ScriptExecutionContext&, JSC::JSValue) const + 200 (Function.h:83) 19 com.apple.WebCore 0x0000000114098a9c WebCore::SimpleWritableStreamSink::write(WebCore::ScriptExecutionContext&, JSC::JSValue, WebCore::DOMPromiseDeferred<void>&&) + 88 (WritableStreamSink.h:70) 20 com.apple.WebCore 0x00000001137e4688 WebCore::jsWritableStreamSinkPrototypeFunction_writeBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSWritableStreamSink*, WTF::Ref<WebCore::DeferredPromise, WTF::RawPtrTraits<WebCore::DeferredPromise> >&&)::'lambda'()::operator()() const + 128 (JSWritableStreamSink.cpp:161) 21 com.apple.WebCore 0x00000001137e45f0 JSC::JSValue WebCore::toJS<WebCore::IDLPromise<WebCore::IDLUndefined>, WebCore::jsWritableStreamSinkPrototypeFunction_writeBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSWritableStreamSink*, WTF::Ref<WebCore::DeferredPromise, WTF::RawPtrTraits<WebCore::DeferredPromise> >&&)::'lambda'()>(JSC::JSGlobalObject&, WebCore::JSDOMGlobalObject&, JSC::ThrowScope&, WebCore::jsWritableStreamSinkPrototypeFunction_writeBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSWritableStreamSink*, WTF::Ref<WebCore::DeferredPromise, WTF::RawPtrTraits<WebCore::DeferredPromise> >&&)::'lambda'()&&) + 36 (JSDOMConvertBase.h:195) 22 com.apple.WebCore 0x00000001137e4590 WebCore::jsWritableStreamSinkPrototypeFunction_writeBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSWritableStreamSink*, WTF::Ref<WebCore::DeferredPromise, WTF::RawPtrTraits<WebCore::DeferredPromise> >&&) + 736 (JSWritableStreamSink.cpp:161) 23 com.apple.WebCore 0x00000001137e4254 long long WebCore::IDLOperationReturningPromise<WebCore::JSWritableStreamSink>::call<&(WebCore::jsWritableStreamSinkPrototypeFunction_writeBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSWritableStreamSink*, WTF::Ref<WebCore::DeferredPromise, WTF::RawPtrTraits<WebCore::DeferredPromise> >&&)), (WebCore::CastedThisErrorBehavior)2>(JSC::JSGlobalObject&, JSC::CallFrame&, char const*)::'lambda'(JSC::JSGlobalObject&, JSC::CallFrame&, WTF::Ref<WebCore::DeferredPromise, WTF::RawPtrTraits<WebCore::DeferredPromise> >&&)::operator()(JSC::JSGlobalObject&, JSC::CallFrame&, WTF::Ref<WebCore::DeferredPromise, WTF::RawPtrTraits<WebCore::DeferredPromise> >&&) const + 492 (JSDOMOperationReturningPromise.h:52) 24 com.apple.WebCore 0x00000001137e3f38 JSC::JSValue WebCore::callPromiseFunction<long long WebCore::IDLOperationReturningPromise<WebCore::JSWritableStreamSink>::call<&(WebCore::jsWritableStreamSinkPrototypeFunction_writeBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSWritableStreamSink*, WTF::Ref<WebCore::DeferredPromise, WTF::RawPtrTraits<WebCore::DeferredPromise> >&&)), (WebCore::CastedThisErrorBehavior)2>(JSC::JSGlobalObject&, JSC::CallFrame&, char const*)::'lambda'(JSC::JSGlobalObject&, JSC::CallFrame&, WTF::Ref<WebCore::DeferredPromise, WTF::RawPtrTraits<WebCore::DeferredPromise> >&&)>(JSC::JSGlobalObject&, JSC::CallFrame&, &(WebCore::jsWritableStreamSinkPrototypeFunction_writeBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSWritableStreamSink*, WTF::Ref<WebCore::DeferredPromise, WTF::RawPtrTraits<WebCore::DeferredPromise> >&&))) + 352 (JSDOMPromiseDeferred.h:337) 25 com.apple.WebCore 0x00000001137e3dc0 long long WebCore::IDLOperationReturningPromise<WebCore::JSWritableStreamSink>::call<&(WebCore::jsWritableStreamSinkPrototypeFunction_writeBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSWritableStreamSink*, WTF::Ref<WebCore::DeferredPromise, WTF::RawPtrTraits<WebCore::DeferredPromise> >&&)), (WebCore::CastedThisErrorBehavior)2>(JSC::JSGlobalObject&, JSC::CallFrame&, char const*) + 48 (JSDOMOperationReturningPromise.h:41) 26 com.apple.WebCore 0x00000001137e3d1c WebCore::jsWritableStreamSinkPrototypeFunction_write(JSC::JSGlobalObject*, JSC::CallFrame*) + 40 (JSWritableStreamSink.cpp:166) 27 ??? 0x0000000142815fbc 0 + 5410742204 28 ??? 0x000000014287f9b8 0 + 5411174840 29 ??? 0x00000001428ae1f0 0 + 5411365360 30 ??? 0x00000001428adbf8 0 + 5411363832 31 ??? 0x00000001428944f0 0 + 5411259632 32 ??? 0x000000014288f15c 0 + 5411238236 33 ??? 0x00000001428ab3e4 0 + 5411353572 34 ??? 0x00000001428a4b98 0 + 5411326872 35 ??? 0x0000000148800c24 0 + 5511318564 36 ??? 0x00000001428b5dec 0 + 5411397100 37 com.apple.JavaScriptCore 0x0000000132b1f068 vmEntryToJavaScript + 264 38 com.apple.JavaScriptCore 0x00000001339e6b40 JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*) + 212 (JITCodeInlines.h:42) 39 com.apple.JavaScriptCore 0x00000001339e7170 JSC::Interpreter::executeCall(JSC::JSGlobalObject*, JSC::JSObject*, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 1392 (Interpreter.cpp:903) 40 com.apple.JavaScriptCore 0x0000000133d78d54 JSC::call(JSC::JSGlobalObject*, JSC::JSValue, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 236 (CallData.cpp:57) 41 com.apple.JavaScriptCore 0x0000000133d79044 JSC::profiledCall(JSC::JSGlobalObject*, JSC::ProfilingReason, JSC::JSValue, JSC::CallData const&, JSC::JSValue, JSC::ArgList const&) + 132 (CallData.cpp:78) 42 com.apple.JavaScriptCore 0x000000013400f704 JSC::JSMicrotask::run(JSC::JSGlobalObject*) + 524 (JSMicrotask.cpp:93) 43 com.apple.WebCore 0x000000011483ecf8 WebCore::JSExecState::runTask(JSC::JSGlobalObject*, JSC::Microtask&) + 64 (JSExecState.h:91) 44 com.apple.WebCore 0x000000011493ee38 WebCore::JSMicrotaskCallback::call() + 216 (JSMicrotaskCallback.h:47) 45 com.apple.WebCore 0x000000011493ed48 WebCore::JSWorkerGlobalScopeBase::queueMicrotaskToEventLoop(JSC::JSGlobalObject&, WTF::Ref<JSC::Microtask, WTF::RawPtrTraits<JSC::Microtask> >&&)::$_0::operator()() + 28 (JSWorkerGlobalScopeBase.cpp:150) 46 com.apple.WebCore 0x000000011493ec64 WTF::Detail::CallableWrapper<WebCore::JSWorkerGlobalScopeBase::queueMicrotaskToEventLoop(JSC::JSGlobalObject&, WTF::Ref<JSC::Microtask, WTF::RawPtrTraits<JSC::Microtask> >&&)::$_0, void>::call() + 28 (Function.h:52) 47 com.apple.WebCore 0x0000000111de490c WTF::Function<void ()>::operator()() const + 124 (Function.h:83) 48 com.apple.WebCore 0x0000000114fe8838 WebCore::EventLoopFunctionDispatchTask::execute() + 28 (EventLoop.cpp:159) 49 com.apple.WebCore 0x0000000115034544 WebCore::MicrotaskQueue::performMicrotaskCheckpoint() + 344 (Microtasks.cpp:64) 50 com.apple.WebCore 0x0000000114fde024 WebCore::EventLoop::run() + 596 (EventLoop.cpp:134) 51 com.apple.WebCore 0x000000011717313c WebCore::WorkerEventLoop::scheduleToRun()::$_2::operator()(WebCore::ScriptExecutionContext&) const + 32 (WorkerEventLoop.cpp:52) 52 com.apple.WebCore 0x0000000117172e9c WTF::Detail::CallableWrapper<WebCore::WorkerEventLoop::scheduleToRun()::$_2, void, WebCore::ScriptExecutionContext&>::call(WebCore::ScriptExecutionContext&) + 64 (Function.h:52) 53 com.apple.WebCore 0x000000011456caa4 WTF::Function<void (WebCore::ScriptExecutionContext&)>::operator()(WebCore::ScriptExecutionContext&) const + 160 (Function.h:83) 54 com.apple.WebCore 0x00000001145571a4 WebCore::ScriptExecutionContext::Task::performTask(WebCore::ScriptExecutionContext&) + 32 (ScriptExecutionContext.h:203) 55 com.apple.WebCore 0x00000001171bf5a0 WebCore::WorkerRunLoop::Task::performTask(WebCore::WorkerOrWorkletGlobalScope*) + 100 (WorkerRunLoop.cpp:270) 56 com.apple.WebCore 0x00000001171bead8 WebCore::WorkerRunLoop::runInMode(WebCore::WorkerOrWorkletGlobalScope*, WebCore::ModePredicate const&, WebCore::WorkerRunLoop::WaitMode) + 732 (WorkerRunLoop.cpp:209) 57 com.apple.WebCore 0x00000001171be744 WebCore::WorkerRunLoop::run(WebCore::WorkerOrWorkletGlobalScope*) + 112 (WorkerRunLoop.cpp:143) 58 com.apple.WebCore 0x000000011718269c WebCore::WorkerOrWorkletThread::runEventLoop() + 64 (WorkerOrWorkletThread.cpp:89) 59 com.apple.WebCore 0x000000011715e984 WebCore::DedicatedWorkerThread::runEventLoop() + 84 (DedicatedWorkerThread.cpp:58) 60 com.apple.WebCore 0x0000000117182894 WebCore::WorkerOrWorkletThread::workerOrWorkletThread() + 492 (WorkerOrWorkletThread.cpp:146) 61 com.apple.WebCore 0x00000001171d5c1c WebCore::WorkerThread::createThread()::$_1::operator()() const + 28 (WorkerThread.cpp:109) 62 com.apple.WebCore 0x00000001171d5b98 WTF::Detail::CallableWrapper<WebCore::WorkerThread::createThread()::$_1, void>::call() + 28 (Function.h:52) 63 com.apple.JavaScriptCore 0x00000001325f9ba8 WTF::Function<void ()>::operator()() const + 124 (Function.h:83) 64 com.apple.JavaScriptCore 0x00000001326bfc5c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 388 (Threading.cpp:185) 65 com.apple.JavaScriptCore 0x00000001326ce240 WTF::wtfThreadEntryPoint(void*) + 24 (ThreadingPOSIX.cpp:241) 66 libsystem_pthread.dylib 0x0000000196e7e06c _pthread_start + 320 67 libsystem_pthread.dylib 0x0000000196e78da0 thread_start + 8 CRASH URL: https://build.webkit.org/results/Apple-BigSur-Debug-AppleSilicon-WK2-Tests/r277171%20(1030)/imported/w3c/web-platform-tests/webrtc-encoded-transform/sframe-transform-readable-crash-log.txt Full crash log attached below.
Attachments
Full crashlog (139.82 KB, text/plain)
2021-05-07 12:17 PDT, Robert Jenner
no flags
Patch (9.81 KB, patch)
2021-05-17 05:58 PDT, youenn fablet
no flags
Patch (9.46 KB, patch)
2021-05-17 07:44 PDT, youenn fablet
no flags
Robert Jenner
Comment 1 2021-05-07 12:17:09 PDT
Created attachment 428021 [details] Full crashlog attaching full crashlog to bug.
Radar WebKit Bug Importer
Comment 2 2021-05-07 17:02:43 PDT
Robert Jenner
Comment 3 2021-05-10 15:53:29 PDT
This only appears to be occurring on Apple Silicon Macs. As such, I cannot reproduce these failures because I do not have access to said system type. Updated test expectations to Pass Crash here: https://trac.webkit.org/changeset/277302/webkit
Alexey Proskuryakov
Comment 4 2021-05-10 17:21:58 PDT
This seems like a ReadableStream issue at a first glance, despite crashing in JSC.
youenn fablet
Comment 5 2021-05-12 03:58:12 PDT
We are hitting @assert(@readableStreamDefaultControllerCanCloseOrEnqueue(controller)); 07:01:32.558 2397 ASSERTION FAILED: JS assertion failed at line 1 in: 07:01:32.558 2397 function (controller, chunk) 07:01:32.559 2397 { 07:01:32.559 2397 "use strict"; 07:01:32.559 2397 07:01:32.559 2397 const stream = @getByIdDirectPrivate(controller, "controlledReadableStream"); 07:01:32.559 2397 @assert(@readableStreamDefaultControllerCanCloseOrEnqueue(controller)); 07:01:32.559 2397 07:01:32.559 2397 if (@isReadableStreamLocked(stream) && @getByIdDirectPrivate(@getByIdDirectPrivate(stream, "reader"), "readRequests").length) { 07:01:32.559 2397 @readableStreamFulfillReadRequest(stream, chunk, false); 07:01:32.559 2397 @readableStreamDefaultControllerCallPullIfNeeded(controller); 07:01:32.559 2397 return; 07:01:32.559 2397 } 07:01:32.559 2397 07:01:32.559 2397 try { 07:01:32.559 2397 let chunkSize = 1; 07:01:32.559 2397 if (@getByIdDirectPrivate(controller, "strategy").size !== @undefined) 07:01:32.559 2397 chunkSize = @getByIdDirectPrivate(controller, "strategy").size(chunk); 07:01:32.559 2397 @enqueueValueWithSize(@getByIdDirectPrivate(controller, "queue"), chunk, chunkSize); 07:01:32.559 2397 } 07:01:32.559 2397 catch(error) { 07:01:32.559 2397 @readableStreamDefaultControllerError(controller, error); 07:01:32.559 2397 throw error; 07:01:32.559 2397 } 07:01:32.559 2397 @readableStreamDefaultControllerCallPullIfNeeded(controller); 07:01:32.559 2397 } 07:01:32.559 2397
youenn fablet
Comment 6 2021-05-12 03:58:48 PDT
Probably from running imported/w3c/web-platform-tests/webrtc-encoded-transform/sframe-transform-in-worker.https.html
youenn fablet
Comment 7 2021-05-17 05:58:19 PDT
youenn fablet
Comment 8 2021-05-17 07:44:04 PDT
EWS
Comment 9 2021-05-17 11:19:50 PDT
Committed r277589 (237814@main): <https://commits.webkit.org/237814@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 428827 [details].
Note You need to log in before you can comment on or make changes to this bug.