Bug 219462 - ASSERT NOT REACHED in WebCore::LibWebRTCPeerConnectionBackend::doAddIceCandidate
Summary: ASSERT NOT REACHED in WebCore::LibWebRTCPeerConnectionBackend::doAddIceCandidate
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-12-02 16:14 PST by Ryan Haddad
Modified: 2020-12-02 16:15 PST (History)
3 users (show)

See Also:


Attachments
crash log (109.95 KB, text/plain)
2020-12-02 16:14 PST, Ryan Haddad
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Haddad 2020-12-02 16:14:45 PST
The following assertion failure is seen intermittently with imported/w3c/web-platform-tests/webrtc/RTCPeerConnection-perfect-negotiation.https.html on iOS and macOS debug bots:

SHOULD NEVER BE REACHED
/Volumes/Data/slave/mojave-debug/build/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCPeerConnectionBackend.cpp(288) : virtual void WebCore::LibWebRTCPeerConnectionBackend::doAddIceCandidate(WebCore::RTCIceCandidate &)
1   0x44ec001e9 WTFCrash
2   0x42e5269db WTFCrashWithInfo(int, char const*, char const*, int)
3   0x42e857db5 WebCore::LibWebRTCPeerConnectionBackend::doAddIceCandidate(WebCore::RTCIceCandidate&)
4   0x4306e27e2 WebCore::PeerConnectionBackend::addIceCandidate(WebCore::RTCIceCandidate*, WebCore::DOMPromiseDeferred<void>&&)
5   0x430734a65 auto WebCore::RTCPeerConnection::addIceCandidate(WTF::Optional<WTF::Variant<WebCore::RTCIceCandidateInit, WTF::RefPtr<WebCore::RTCIceCandidate, WTF::RawPtrTraits<WebCore::RTCIceCandidate>, WTF::DefaultRefDerefTraits<WebCore::RTCIceCandidate> > > >&&, WTF::Ref<WebCore::DeferredPromise, WTF::RawPtrTraits<WebCore::DeferredPromise> >&&)::$_15::operator()<WTF::Ref<WebCore::DeferredPromise, WTF::RawPtrTraits<WebCore::DeferredPromise> > >(WTF::Ref<WebCore::DeferredPromise, WTF::RawPtrTraits<WebCore::DeferredPromise> >&&)
6   0x430734961 WTF::Detail::CallableWrapper<WebCore::RTCPeerConnection::addIceCandidate(WTF::Optional<WTF::Variant<WebCore::RTCIceCandidateInit, WTF::RefPtr<WebCore::RTCIceCandidate, WTF::RawPtrTraits<WebCore::RTCIceCandidate>, WTF::DefaultRefDerefTraits<WebCore::RTCIceCandidate> > > >&&, WTF::Ref<WebCore::DeferredPromise, WTF::RawPtrTraits<WebCore::DeferredPromise> >&&)::$_15, void, WTF::Ref<WebCore::DeferredPromise, WTF::RawPtrTraits<WebCore::DeferredPromise> >&&>::call(WTF::Ref<WebCore::DeferredPromise, WTF::RawPtrTraits<WebCore::DeferredPromise> >&&)
7   0x43070d567 WTF::Function<void (WTF::Ref<WebCore::DeferredPromise, WTF::RawPtrTraits<WebCore::DeferredPromise> >&&)>::operator()(WTF::Ref<WebCore::DeferredPromise, WTF::RawPtrTraits<WebCore::DeferredPromise> >&&) const
8   0x430708a19 WebCore::RTCPeerConnection::chainOperation(WTF::Ref<WebCore::DeferredPromise, WTF::RawPtrTraits<WebCore::DeferredPromise> >&&, WTF::Function<void (WTF::Ref<WebCore::DeferredPromise, WTF::RawPtrTraits<WebCore::DeferredPromise> >&&)>&&)
9   0x4307097d7 WebCore::RTCPeerConnection::addIceCandidate(WTF::Optional<WTF::Variant<WebCore::RTCIceCandidateInit, WTF::RefPtr<WebCore::RTCIceCandidate, WTF::RawPtrTraits<WebCore::RTCIceCandidate>, WTF::DefaultRefDerefTraits<WebCore::RTCIceCandidate> > > >&&, WTF::Ref<WebCore::DeferredPromise, WTF::RawPtrTraits<WebCore::DeferredPromise> >&&)
10  0x42f75d130 WebCore::jsRTCPeerConnectionPrototypeFunction_addIceCandidateBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSRTCPeerConnection*, WTF::Ref<WebCore::DeferredPromise, WTF::RawPtrTraits<WebCore::DeferredPromise> >&&)
11  0x42f75ceeb long long WebCore::IDLOperationReturningPromise<WebCore::JSRTCPeerConnection>::call<&(WebCore::jsRTCPeerConnectionPrototypeFunction_addIceCandidateBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSRTCPeerConnection*, 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
12  0x42f75cb9f JSC::JSValue WebCore::callPromiseFunction<long long WebCore::IDLOperationReturningPromise<WebCore::JSRTCPeerConnection>::call<&(WebCore::jsRTCPeerConnectionPrototypeFunction_addIceCandidateBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSRTCPeerConnection*, 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&, long long WebCore::IDLOperationReturningPromise<WebCore::JSRTCPeerConnection>::call<&(WebCore::jsRTCPeerConnectionPrototypeFunction_addIceCandidateBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSRTCPeerConnection*, 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> >&&))
13  0x42f75c9fd long long WebCore::IDLOperationReturningPromise<WebCore::JSRTCPeerConnection>::call<&(WebCore::jsRTCPeerConnectionPrototypeFunction_addIceCandidateBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSRTCPeerConnection*, WTF::Ref<WebCore::DeferredPromise, WTF::RawPtrTraits<WebCore::DeferredPromise> >&&)), (WebCore::CastedThisErrorBehavior)2>(JSC::JSGlobalObject&, JSC::CallFrame&, char const*)
14  0x42f732f94 WebCore::jsRTCPeerConnectionPrototypeFunction_addIceCandidate(JSC::JSGlobalObject*, JSC::CallFrame*)
15  0x43ae4b601178
16  0x44f214b06 llint_entry
17  0x43ae4b6c5d13
18  0x44f1f3443 vmEntryToJavaScript


https://results.webkit.org/?suite=layout-tests&test=imported%2Fw3c%2Fweb-platform-tests%2Fwebrtc%2FRTCPeerConnection-perfect-negotiation.https.html
Comment 1 Ryan Haddad 2020-12-02 16:14:57 PST
Created attachment 415259 [details]
crash log
Comment 2 Radar WebKit Bug Importer 2020-12-02 16:15:46 PST
<rdar://problem/71915199>