Bug 225353

Summary: [WPE][GTK] imported/w3c/web-platform-tests/webaudio/the-audio-api/the-audiocontext-interface/suspend-after-construct.html asserts
Product: WebKit Reporter: Philippe Normand <pnormand>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Philippe Normand
Reported 2021-05-04 06:59:14 PDT
Thread 1 (Thread 0x7ffaba578ec0 (LWP 39709)): #0 WTFCrash() () at ../../Source/WTF/wtf/Assertions.cpp:305 #1 0x00007ffac443fd0f in CRASH_WITH_INFO(...) () at WTF/Headers/wtf/Assertions.h:742 #2 0x00007ffac81c4069 in WebCore::PlatformMediaSessionManager::setCurrentSession(WebCore::PlatformMediaSession&) (this=0x7ffab9c9a908, session=...) at ../../Source/WebCore/platform/audio/PlatformMediaSessionManager.cpp:312 #3 0x00007ffac81c39ee in WebCore::PlatformMediaSessionManager::sessionWillBeginPlayback(WebCore::PlatformMediaSession&) (this=0x7ffab9c9a908, session=...) at ../../Source/WebCore/platform/audio/PlatformMediaSessionManager.cpp:231 #4 0x00007ffac81c2220 in WebCore::PlatformMediaSession::clientWillBeginPlayback() (this=0x7ffa552daf78) at ../../Source/WebCore/platform/audio/PlatformMediaSession.cpp:245 #5 0x00007ffac6cd3ee9 in WebCore::AudioContext::willBeginPlayback() (this=0x7ffa557b92c0) at ../../Source/WebCore/Modules/webaudio/AudioContext.cpp:402 #6 0x00007ffac6cd35de in WebCore::AudioContext::resumeRendering(WebCore::DOMPromiseDeferred<void>&&) (this=0x7ffa557b92c0, promise=...) at ../../Source/WebCore/Modules/webaudio/AudioContext.cpp:252 #7 0x00007ffac9210522 in operator()() const (__closure=0x7ffc52fad110) at WebCore/DerivedSources/JSAudioContext.cpp:306 #8 0x00007ffac9219a8c in WebCore::toJS<WebCore::IDLPromise<WebCore::IDLUndefined>, WebCore::jsAudioContextPrototypeFunction_resumeBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::IDLOperationReturningPromise<WebCore::JSAudioContext>::ClassParameter, WTF::Ref<WebCore::DeferredPromise>&&)::<lambda()> >(JSC::JSGlobalObject &, WebCore::JSDOMGlobalObject &, JSC::ThrowScope &, struct {...} &&) (lexicalGlobalObject=..., globalObject=..., throwScope=..., valueOrFunctor=...) at ../../Source/WebCore/bindings/js/JSDOMConvertBase.h:195 #9 0x00007ffac9210635 in WebCore::jsAudioContextPrototypeFunction_resumeBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::IDLOperationReturningPromise<WebCore::JSAudioContext>::ClassParameter, WTF::Ref<WebCore::DeferredPromise, WTF::RawPtrTraits<WebCore::DeferredPromise> >&&) (lexicalGlobalObject=0x7ffa4dc38fc0, callFrame=0x7ffc52fad2f0, castedThis=0x7ffa55424020, promise=...) at WebCore/DerivedSources/JSAudioContext.cpp:306 #10 0x00007ffac9219c16 in operator()(JSC::JSGlobalObject&, JSC::CallFrame&, WTF::Ref<WebCore::DeferredPromise, WTF::RawPtrTraits<WebCore::DeferredPromise> >&&) const (this=0x7ffc52fad1e8, lexicalGlobalObject=..., callFrame=..., promise=...) at ../../Source/WebCore/bindings/js/JSDOMOperationReturningPromise.h:52 #11 0x00007ffac921d6b4 in WebCore::callPromiseFunction<WebCore::IDLOperationReturningPromise<JSClass>::call<WebCore::jsAudioContextPrototypeFunction_resumeBody, (WebCore::CastedThisErrorBehavior)2>::<lambda(JSC::JSGlobalObject&, JSC::CallFrame&, WTF::Ref<WebCore::DeferredPromise>&&)> >(JSC::JSGlobalObject &, JSC::CallFrame &, struct {...}) (lexicalGlobalObject=..., callFrame=..., functor=...) at ../../Source/WebCore/bindings/js/JSDOMPromiseDeferred.h:337 #12 0x00007ffac9219c4e in WebCore::IDLOperationReturningPromise<WebCore::JSAudioContext>::call<WebCore::jsAudioContextPrototypeFunction_resumeBody>(JSC::JSGlobalObject&, JSC::CallFrame&, char const*) (lexicalGlobalObject=..., callFrame=..., operationName=0x7ffacdac6af7 "resume") at ../../Source/WebCore/bindings/js/JSDOMOperationReturningPromise.h:41 #13 0x00007ffac9210694 in WebCore::jsAudioContextPrototypeFunction_resume(JSC::JSGlobalObject*, JSC::CallFrame*) (lexicalGlobalObject=0x7ffa4dc38fc0, callFrame=0x7ffc52fad2f0) at WebCore/DerivedSources/JSAudioContext.cpp:311 #14 0x00007ffa799871d8 in () #15 0x00007ffc52fad370 in () #16 0x00007ffabf1f2822 in llint_op_call () at /app/webkit/Source/JavaScriptCore/llint/LowLevelInterpreter.asm:1097 #17 0x0000000000000000 in () STDERR: ASSERTION FAILED: index != notFound STDERR: ../../Source/WebCore/platform/audio/PlatformMediaSessionManager.cpp(312) : virtual void WebCore::PlatformMediaSessionManager::setCurrentSession(WebCore::PlatformMediaSession&)
Attachments
Philippe Normand
Comment 1 2021-05-07 08:03:13 PDT
Fixed by bug 225332. I will unflag the test.
Philippe Normand
Comment 2 2021-05-07 08:05:19 PDT
Note You need to log in before you can comment on or make changes to this bug.