RESOLVED FIXED 221425
RELEASE_ASSERT(bigInt) in VM constructor when constructing a WorkletGlobalScope
https://bugs.webkit.org/show_bug.cgi?id=221425
Summary RELEASE_ASSERT(bigInt) in VM constructor when constructing a WorkletGlobalScope
Chris Dumez
Reported 2021-02-04 12:31:14 PST
RELEASE_ASSERT(bigInt) in VM constructor when constructing a WorkletGlobalScope: Thread 19 Crashed:: WebCore: AudioWorklet 0 com.apple.JavaScriptCore 0x00000007969296f3 WTFCrashWithInfo(int, char const*, char const*, int) + 19 (Assertions.h:671) 1 com.apple.JavaScriptCore 0x0000000796b659e3 JSC::VM::VM(JSC::VM::VMType, JSC::HeapType, WTF::RunLoop*, bool*) + 20387 (VM.cpp:490) 2 com.apple.JavaScriptCore 0x0000000796b693f4 JSC::VM::VM(JSC::VM::VMType, JSC::HeapType, WTF::RunLoop*, bool*) + 19 (VM.cpp:410) [inlined] 3 com.apple.JavaScriptCore 0x0000000796b693f4 JSC::VM::create(JSC::HeapType, WTF::RunLoop*) + 52 (VM.cpp:693) 4 com.apple.WebCore 0x0000000791dee9f8 WebCore::WorkletGlobalScope::WorkletGlobalScope(WebCore::WorkerOrWorkletThread&, WebCore::WorkletParameters const&) + 40 (WorkletGlobalScope.cpp:53) 5 com.apple.WebCore 0x0000000790be6902 WebCore::AudioWorkletGlobalScope::AudioWorkletGlobalScope(WebCore::AudioWorkletThread&, WebCore::WorkletParameters const&) + 5 (AudioWorkletGlobalScope.cpp:51) [inlined] 6 com.apple.WebCore 0x0000000790be6902 WebCore::AudioWorkletGlobalScope::AudioWorkletGlobalScope(WebCore::AudioWorkletThread&, WebCore::WorkletParameters const&) + 18 (AudioWorkletGlobalScope.cpp:53) 7 com.apple.WebCore 0x0000000790bf29d3 WebCore::AudioWorkletGlobalScope::create(WebCore::AudioWorkletThread&, WebCore::WorkletParameters const&) + 27 (AudioWorkletGlobalScope.h:50) [inlined] 8 com.apple.WebCore 0x0000000790bf29d3 WebCore::AudioWorkletThread::createGlobalScope() + 51 (AudioWorkletThread.cpp:51) 9 com.apple.WebCore 0x0000000791d979c9 WebCore::WorkerOrWorkletThread::workerOrWorkletThread() + 57 (WorkerOrWorkletThread.cpp:112) 10 com.apple.JavaScriptCore 0x0000000795d4996c WTF::Function<void ()>::operator()() const + 9 (Function.h:83) [inlined] 11 com.apple.JavaScriptCore 0x0000000795d4996c WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 124 (Threading.cpp:181) 12 com.apple.JavaScriptCore 0x0000000795d4bfa9 WTF::wtfThreadEntryPoint(void*) + 9 (ThreadingPOSIX.cpp:241) 13 libsystem_pthread.dylib 0x00007fff203ed954 _pthread_start + 224 14 libsystem_pthread.dylib 0x00007fff203e94a7 thread_start + 15
Attachments
Patch (14.59 KB, patch)
2021-02-04 12:36 PST, Chris Dumez
no flags
Patch (13.28 KB, patch)
2021-02-04 12:48 PST, Chris Dumez
no flags
Chris Dumez
Comment 1 2021-02-04 12:31:24 PST
Chris Dumez
Comment 2 2021-02-04 12:36:40 PST
Chris Dumez
Comment 3 2021-02-04 12:48:11 PST
Keith Miller
Comment 4 2021-02-04 15:27:44 PST
Comment on attachment 419313 [details] Patch r=me seems reasonable.
EWS
Comment 5 2021-02-04 15:59:57 PST
Committed r272393: <https://trac.webkit.org/changeset/272393> All reviewed patches have been landed. Closing bug and clearing flags on attachment 419313 [details].
Note You need to log in before you can comment on or make changes to this bug.