fast/mediastream/RTCPeerConnection-have-local-offer.html fast/mediastream/RTCPeerConnection-have-local-pranswer.html fast/mediastream/RTCPeerConnection-have-remote-pranswer.html fast/mediastream/RTCPeerConnection-page-cache.html STDERR: ASSERTION FAILED: Unsafe to ref/deref from different threads STDERR: m_isOwnedByMainThread == isMainThread() STDERR: /app/webkit/WebKitBuild/Debug/WTF/Headers/wtf/RefCounted.h(114) : void WTF::RefCountedBase::applyRefDerefThreadingCheck() const Thread 1 (Thread 0x7ee7577fe640 (LWP 85161)): #0 WTFCrash() () at /app/webkit/Source/WTF/wtf/Assertions.cpp:328 #1 0x00007efca55540e2 in WTF::RefCountedBase::applyRefDerefThreadingCheck() const (this=0x7efc2a071770) at /app/webkit/WebKitBuild/Debug/WTF/Headers/wtf/RefCounted.h:114 #2 0x00007efca55541d6 in WTF::RefCountedBase::derefBase() const (this=0x7efc2a071770) at /app/webkit/WebKitBuild/Debug/WTF/Headers/wtf/RefCounted.h:130 #3 0x00007efca8f439ab in WTF::RefCounted<WebCore::RTCSessionDescription, std::default_delete<WebCore::RTCSessionDescription> >::deref() const (this=0x7efc2a071770) at /app/webkit/WebKitBuild/Debug/WTF/Headers/wtf/RefCounted.h:189 #4 0x00007efca8f3eb3c in WTF::DefaultRefDerefTraits<WebCore::RTCSessionDescription>::derefIfNotNull(WebCore::RTCSessionDescription*) (ptr=0x7efc2a071770) at /app/webkit/WebKitBuild/Debug/WTF/Headers/wtf/RefPtr.h:42 #5 0x00007efca8f398c0 in WTF::RefPtr<WebCore::RTCSessionDescription, WTF::RawPtrTraits<WebCore::RTCSessionDescription>, WTF::DefaultRefDerefTraits<WebCore::RTCSessionDescription> >::~RefPtr() (this=0x7efc8c2fff80, __in_chrg=<optimized out>) at /app/webkit/WebKitBuild/Debug/WTF/Headers/wtf/RefPtr.h:74 #6 0x00007efca8f2295e in ~<lambda>(void) (this=0x7efc8c2fff68, __in_chrg=<optimized out>) at /app/webkit/Source/WebCore/Modules/mediastream/gstreamer/GStreamerMediaEndpoint.cpp:397 #7 0x00007efca8f2e2b0 in WTF::Detail::CallableWrapper<WebCore::GStreamerMediaEndpoint::doSetRemoteDescription(const WebCore::RTCSessionDescription&)::<lambda(const GstSDPMessage&)>, void, const GstSDPMessage&>::~CallableWrapper(void) (this=0x7efc8c2fff60, __in_chrg=<optimized out>) at /app/webkit/WebKitBuild/Debug/WTF/Headers/wtf/Function.h:47 #8 0x00007efca8f2e2d8 in WTF::Detail::CallableWrapper<WebCore::GStreamerMediaEndpoint::doSetRemoteDescription(const WebCore::RTCSessionDescription&)::<lambda(const GstSDPMessage&)>, void, const GstSDPMessage&>::~CallableWrapper(void) (this=0x7efc8c2fff60, __in_chrg=<optimized out>) at /app/webkit/WebKitBuild/Debug/WTF/Headers/wtf/Function.h:47 #9 0x00007efca8f3f9a6 in std::default_delete<WTF::Detail::CallableWrapperBase<void, GstSDPMessage const&> >::operator()(WTF::Detail::CallableWrapperBase<void, GstSDPMessage const&>*) const (this=0x7efc8c43f680, __ptr=0x7efc8c2fff60) at /usr/include/c++/11.3.0/bits/unique_ptr.h:85 #10 0x00007efca8f3a5ec in std::unique_ptr<WTF::Detail::CallableWrapperBase<void, GstSDPMessage const&>, std::default_delete<WTF::Detail::CallableWrapperBase<void, GstSDPMessage const&> > >::~unique_ptr() (this=0x7efc8c43f680, __in_chrg=<optimized out>) at /usr/include/c++/11.3.0/bits/unique_ptr.h:361 #11 0x00007efca8f37da2 in WTF::Function<void (GstSDPMessage const&)>::~Function() (this=0x7efc8c43f680, __in_chrg=<optimized out>) at /app/webkit/WebKitBuild/Debug/WTF/Headers/wtf/Function.h:63 #12 0x00007efca8f37faa in WebCore::SetDescriptionCallData::~SetDescriptionCallData() (this=0x7efc8c43f680, __in_chrg=<optimized out>) at /app/webkit/Source/WebCore/Modules/mediastream/gstreamer/GStreamerMediaEndpoint.cpp:447 #13 0x00007efca8f22cfd in WebCore::destroySetDescriptionCallData(WebCore::SetDescriptionCallData*) (data=0x7efc8c43f680) at /app/webkit/Source/WebCore/Modules/mediastream/gstreamer/GStreamerMediaEndpoint.cpp:453 #14 0x00007efc9b51d7b7 in gst_promise_free (object=0x55e8c4365dd0 [GstPromise]) at ../gst/gstpromise.c:330 #15 0x00007efc39566a25 in gst_promise_unref (promise=<optimized out>) at /usr/include/gstreamer-1.0/gst/gstpromise.h:106 #16 _free_op (op=0x55e8c4329540) at ../ext/webrtc/gstwebrtcbin.c:962 #17 0x00007efc9b70c623 in g_source_callback_unref (cb_data=0x55e8c43256d0) at ../glib/gmain.c:1666 #18 g_source_callback_unref (cb_data=0x55e8c43256d0) at ../glib/gmain.c:1659 #19 0x00007efc9b70cb79 in g_source_destroy_internal (source=0x55e8c4216e30, context=0x7ee744000b60, have_lock=1) at ../glib/gmain.c:1331 #20 0x00007efc9b710320 in g_main_dispatch (context=0x7ee744000b60) at ../glib/gmain.c:3411 #21 g_main_context_dispatch (context=0x7ee744000b60) at ../glib/gmain.c:4099 #22 0x00007efc9b710638 in g_main_context_iterate (context=0x7ee744000b60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175 #23 0x00007efc9b710943 in g_main_loop_run (loop=0x7ee744001480) at ../glib/gmain.c:4373 #24 0x00007efc3956a171 in _gst_pc_thread (webrtc=0x7ee7640089c0 [GstWebRTCBin|webkit-webrtcbin-10]) at ../ext/webrtc/gstwebrtcbin.c:869 #25 0x00007efc9b73b3f1 in g_thread_proxy (data=0x7ee75c002b00) at ../glib/gthread.c:827 #26 0x00007efc989213ba in start_thread (arg=0x7ee7577fe640) at pthread_create.c:481 #27 0x00007efc9aff67a3 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Pull request: https://github.com/WebKit/WebKit/pull/4237
Committed 254428@main (5b6aa896a1a4): <https://commits.webkit.org/254428@main> Reviewed commits have been landed. Closing PR #4237 and removing active labels.
<rdar://problem/99864487>