WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 214924
214927
REGRESSION (
r264992
): Unchecked JS exception: reject @ ./bindings/js/JSDOMPromiseDeferred.cpp:145
https://bugs.webkit.org/show_bug.cgi?id=214927
Summary
REGRESSION (r264992): Unchecked JS exception: reject @ ./bindings/js/JSDOMPro...
Ryan Haddad
Reported
2020-07-29 11:48:31 PDT
Seeing the following crash with webrtc/missing-exception-checks-RTCPeerConnection-generateCertificate.html on iOS and macOS debug WK2 bots: (stun_port.cc:450): Port[47029c00:0:1:0:local:Net[any:::/0:Wildcard:id=0]]: StunPort: stun host lookup received error 0 ERROR: Unchecked JS exception: This scope can throw a JS exception: reject @ ./bindings/js/JSDOMPromiseDeferred.cpp:145 (ExceptionScope::m_recursionDepth was 5) But the exception was unchecked as of this scope: jsRTCPeerConnectionConstructorFunctionGenerateCertificateBody @ /Volumes/Data/slave/catalina-debug/build/WebKitBuild/Debug/DerivedSources/WebCore/JSRTCPeerConnection.cpp:1050 (ExceptionScope::m_recursionDepth was 4) Unchecked exception detected at: 1 0x6ce35878e JSC::VM::verifyExceptionCheckNeedIsSatisfied(unsigned int, JSC::ExceptionEventLocation&) 2 0x6ce33326f JSC::ThrowScope::~ThrowScope() 3 0x6ce32e405 JSC::ThrowScope::~ThrowScope() 4 0x6aedb5c29 WebCore::jsRTCPeerConnectionConstructorFunctionGenerateCertificateBody(JSC::JSGlobalObject*, JSC::CallFrame*, WTF::Ref<WebCore::DeferredPromise, WTF::DumbPtrTraits<WebCore::DeferredPromise> >&&) 5 0x6aedb59c4 long long WebCore::IDLOperationReturningPromise<WebCore::JSRTCPeerConnection>::callStatic<&(WebCore::jsRTCPeerConnectionConstructorFunctionGenerateCertificateBody(JSC::JSGlobalObject*, JSC::CallFrame*, WTF::Ref<WebCore::DeferredPromise, WTF::DumbPtrTraits<WebCore::DeferredPromise> >&&)), (WebCore::CastedThisErrorBehavior)2>(JSC::JSGlobalObject&, JSC::CallFrame&, char const*)::'lambda'(JSC::JSGlobalObject&, JSC::CallFrame&, WTF::Ref<WebCore::DeferredPromise, WTF::DumbPtrTraits<WebCore::DeferredPromise> >&&)::operator()(JSC::JSGlobalObject&, JSC::CallFrame&, WTF::Ref<WebCore::DeferredPromise, WTF::DumbPtrTraits<WebCore::DeferredPromise> >&&) const 6 0x6aedb58cb JSC::JSValue WebCore::callPromiseFunction<long long WebCore::IDLOperationReturningPromise<WebCore::JSRTCPeerConnection>::callStatic<&(WebCore::jsRTCPeerConnectionConstructorFunctionGenerateCertificateBody(JSC::JSGlobalObject*, JSC::CallFrame*, WTF::Ref<WebCore::DeferredPromise, WTF::DumbPtrTraits<WebCore::DeferredPromise> >&&)), (WebCore::CastedThisErrorBehavior)2>(JSC::JSGlobalObject&, JSC::CallFrame&, char const*)::'lambda'(JSC::JSGlobalObject&, JSC::CallFrame&, WTF::Ref<WebCore::DeferredPromise, WTF::DumbPtrTraits<WebCore::DeferredPromise> >&&)>(JSC::JSGlobalObject&, JSC::CallFrame&, &(WebCore::jsRTCPeerConnectionConstructorFunctionGenerateCertificateBody(JSC::JSGlobalObject*, JSC::CallFrame*, WTF::Ref<WebCore::DeferredPromise, WTF::DumbPtrTraits<WebCore::DeferredPromise> >&&))) 7 0x6aed06751 long long WebCore::IDLOperationReturningPromise<WebCore::JSRTCPeerConnection>::callStatic<&(WebCore::jsRTCPeerConnectionConstructorFunctionGenerateCertificateBody(JSC::JSGlobalObject*, JSC::CallFrame*, WTF::Ref<WebCore::DeferredPromise, WTF::DumbPtrTraits<WebCore::DeferredPromise> >&&)), (WebCore::CastedThisErrorBehavior)2>(JSC::JSGlobalObject&, JSC::CallFrame&, char const*) 8 0x6aed06724 WebCore::jsRTCPeerConnectionConstructorFunctionGenerateCertificate(JSC::JSGlobalObject*, JSC::CallFrame*) 9 0x485f67401178 10 0x6ccd88f17 llint_entry 11 0x6ccd68943 vmEntryToJavaScript
https://results.webkit.org/?suite=layout-tests&test=webrtc%2Fmissing-exception-checks-RTCPeerConnection-generateCertificate.html
Attachments
crash log
(77.82 KB, text/plain)
2020-07-29 11:49 PDT
,
Ryan Haddad
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2020-07-29 11:48:48 PDT
<
rdar://problem/66284491
>
Ryan Haddad
Comment 2
2020-07-29 11:49:48 PDT
Created
attachment 405478
[details]
crash log Full stderr output:
https://build.webkit.org/results/Apple-Catalina-Debug-WK2-Tests/r265043%20(5782)/webrtc/missing-exception-checks-RTCPeerConnection-generateCertificate-stderr.txt
Ryan Haddad
Comment 3
2020-07-29 12:11:54 PDT
*** This bug has been marked as a duplicate of
bug 214924
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug