RESOLVED FIXED285814
REGRESSION(288642@main): [GStreamer][Debug] Triggers ASSERT when running http/tests/inspector/gatherWebInspectorRTCLogs.html
https://bugs.webkit.org/show_bug.cgi?id=285814
Summary REGRESSION(288642@main): [GStreamer][Debug] Triggers ASSERT when running http...
Philippe Normand
Reported 2025-01-12 02:22:53 PST
STDERR: ASSERTION FAILED: !logMessage.isNull() Thread 1 (Thread 0x7fddefc62f80 (LWP 254537)): #0 WTFCrash() () at /app/webkit/Source/WTF/wtf/Assertions.cpp:367 #1 0x00007fde08e80393 in WTFCrashWithInfo(int, char const*, char const*, int) () at /app/webkit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/Assertions.h:913 #2 0x00007fde0f5eadd8 in operator()<WTF::String, WTF::String, WTF::String, WTF::RefPtr<WebCore::RTCPeerConnection> >(WTF::String&&, WTF::String&&, WTF::String&&, WTF::RefPtr<WebCore::RTCPeerConnection, WTF::RawPtrTraits<WebCore::RTCPeerConnection>, WTF::DefaultRefDerefTraits<WebCore::RTCPeerConnection> >&&) (__closure=0x7fdde6307d98, logType=..., logMessage=..., logLevel=..., connection=...) at /app/webkit/Source/WebCore/inspector/CommandLineAPIHost.cpp:162 #3 0x00007fde0f5eaf24 in WTF::Detail::CallableWrapper<WebCore::CommandLineAPIHost::gatherRTCLogs(JSC::JSGlobalObject&, WTF::RefPtr<WebCore::RTCLogsCallback>&&)::<lambda(auto:283&&, auto:284&&, auto:285&&, auto:286&&)>, void, WTF::String&&, WTF::String&&, WTF::String&&, WTF::RefPtr<WebCore::RTCPeerConnection, WTF::RawPtrTraits<WebCore::RTCPeerConnection>, WTF::DefaultRefDerefTraits<WebCore::RTCPeerConnection> >&&>::call(WTF::String &&, WTF::String &&, WTF::String &&, WTF::RefPtr<WebCore::RTCPeerConnection, WTF::RawPtrTraits<WebCore::RTCPeerConnection>, WTF::DefaultRefDerefTraits<WebCore::RTCPeerConnection> > &&) (this=0x7fdde6307d90, in#0=..., in#1=..., in#2=..., in#3=...) at /app/webkit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/Function.h:53 #4 0x00007fde0d873b2d in WTF::Function<void (WTF::String&&, WTF::String&&, WTF::String&&, WTF::RefPtr<WebCore::RTCPeerConnection, WTF::RawPtrTraits<WebCore::RTCPeerConnection>, WTF::DefaultRefDerefTraits<WebCore::RTCPeerConnection> >&&)>::operator()(WTF::String&&, WTF::String&&, WTF::String&&, WTF::RefPtr<WebCore::RTCPeerConnection, WTF::RawPtrTraits<WebCore::RTCPeerConnection>, WTF::DefaultRefDerefTraits<WebCore::RTCPeerConnection> >&&) const (this=0x7fdde60284d0, in#0=..., in#1=..., in#2=..., in#3=...) at /app/webkit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/Function.h:82 #5 0x00007fde0d872a62 in operator()() (__closure=0x7fdde62ebc98) at /app/webkit/Source/WebCore/Modules/mediastream/RTCController.cpp:204 #6 0x00007fde0d87655c in WTF::Detail::CallableWrapper<WebCore::RTCController::startGatheringLogs(WebCore::Document&, LogCallback&&)::<lambda(const auto:337&, const auto:338&)>::<lambda()>, void>::call(void) (this=0x7fdde62ebc90) at /app/webkit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/Function.h:53 #7 0x00007fddf9c69983 in WTF::Function<void ()>::operator()() const (this=0x7ffe84a6d568) at /app/webkit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/Function.h:82 #8 0x00007fddfb57ff72 in WTF::ensureOnMainThread(WTF::Function<void ()>&&) (function=...) at /app/webkit/Source/WTF/wtf/MainThread.cpp:95 #9 0x00007fde0d872b87 in operator()<WTF::String, WTF::String>(WTF::String const&, WTF::String const&) const (__closure=0x7fdde6327328, logLevel=..., logMessage=...) at /app/webkit/Source/WebCore/Modules/mediastream/RTCController.cpp:202 #10 0x00007fde0d872bfe in WTF::Detail::CallableWrapper<WebCore::RTCController::startGatheringLogs(WebCore::Document&, LogCallback&&)::<lambda(const auto:337&, const auto:338&)>, void, const WTF::String&, const WTF::String&>::call(const WTF::String &, const WTF::String &) (this=0x7fdde6327320, in#0=..., in#1=...) at /app/webkit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/Function.h:53 #11 0x00007fde0fee6d9d in WTF::Function<void (WTF::String const&, WTF::String const&)>::operator()(WTF::String const&, WTF::String const&) const (this=0x7fdde6307da0, in#0=..., in#1=...) at /app/webkit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/Function.h:82 #12 0x00007fde105925b7 in operator()(GstDebugCategory*, GstDebugLevel, char const*, char const*, int, GObject*, GstDebugMessage*, gpointer) const (__closure=0x0, level=GST_LEVEL_ERROR, message=0x7ffe84a6d750, userData=0x7fdde6307da0) at /app/webkit/Source/WebCore/platform/mediastream/gstreamer/GStreamerWebRTCLogSink.cpp:72 #13 0x00007fde1059263b in _FUN(GstDebugCategory*, GstDebugLevel, char const*, char const*, int, GObject*, GstDebugMessage*, gpointer) () at /app/webkit/Source/WebCore/platform/mediastream/gstreamer/GStreamerWebRTCLogSink.cpp:72 #14 0x00007fddf3345a95 in gst_debug_log_full_valist (category=category@entry=0x55876442ea90, level=level@entry=GST_LEVEL_ERROR, file=file@entry=0x7fddb4045733 "../src/gst/gstpipewirecore.c", function=function@entry=0x7fddb4046d00 <__func__.2.lto_priv.0> "make_core", line=line@entry=91, object=0x0, id=0x0, format=0x7fddb4046000 "error connect: %m", args=0x7ffe84a6d880) at ../gst/gstinfo.c:621 #15 0x00007fddf3345c02 in gst_debug_log_valist (category=0x55876442ea90, level=GST_LEVEL_ERROR, file=0x7fddb4045733 "../src/gst/gstpipewirecore.c", function=0x7fddb4046d00 <__func__.2.lto_priv.0> "make_core", line=91, object=<optimized out>, format=0x7fddb4046000 "error connect: %m", args=0x7ffe84a6d880) at ../gst/gstinfo.c:653 #16 0x00007fddf3345cd5 in gst_debug_log (category=<optimized out>, level=level@entry=GST_LEVEL_ERROR, file=file@entry=0x7fddb4045733 "../src/gst/gstpipewirecore.c", function=function@entry=0x7fddb4046d00 <__func__.2.lto_priv.0> "make_core", line=line@entry=91, object=object@entry=0x0, format=0x7fddb4046000 "error connect: %m") at ../gst/gstinfo.c:530 #17 0x00007fddb403f94f in make_core (fd=-1) at ../src/gst/gstpipewirecore.c:91 #18 gst_pipewire_core_get (fd=-1) at ../src/gst/gstpipewirecore.c:128 #19 0x00007fddb40428eb in gst_pipewire_device_provider_start (provider=0x558764a4a130) at ../src/gst/gstpipewiredeviceprovider.c:623 #20 0x00007fddf3334edc in gst_device_provider_start (provider=0x558764a4a130) at ../gst/gstdeviceprovider.c:478 #21 0x00007fddf3349726 in gst_device_monitor_start (monitor=0x558764a43290) at ../gst/gstdevicemonitor.c:533 #22 0x00007fde1055dbca in WebCore::GStreamerCaptureDeviceManager::refreshCaptureDevices() (this=0x7fde12b55ec0 <WebCore::GStreamerVideoCaptureDeviceManager::singleton()::manager>) at /app/webkit/Source/WebCore/platform/mediastream/gstreamer/GStreamerCaptureDeviceManager.cpp:269 #23 0x00007fde1055d08d in WebCore::GStreamerCaptureDeviceManager::captureDevices() (this=0x7fde12b55ec0 <WebCore::GStreamerVideoCaptureDeviceManager::singleton()::manager>) at /app/webkit/Source/WebCore/platform/mediastream/gstreamer/GStreamerCaptureDeviceManager.cpp:182 #24 0x00007fde1055ce3b in WebCore::GStreamerCaptureDeviceManager::gstreamerDeviceWithUID(WTF::String const&) (this=0x7fde12b55ec0 <WebCore::GStreamerVideoCaptureDeviceManager::singleton()::manager>, deviceID=...) at /app/webkit/Source/WebCore/platform/mediastream/gstreamer/GStreamerCaptureDeviceManager.cpp:167 #25 0x00007fde10595e82 in WebCore::MockRealtimeVideoSourceGStreamer::MockRealtimeVideoSourceGStreamer(WTF::String&&, WTF::AtomString&&, WebCore::MediaDeviceHashSalts&&, std::optional<WTF::ObjectIdentifierGeneric<WebCore::PageIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long>, unsigned long> >) (this=0x7fdcb10eb400, deviceID=..., name=..., hashSalts=..., pageIdentifier=std::optional<WTF::ObjectIdentifierGeneric<WebCore::PageIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long>, unsigned long>> = {...}) at /app/webkit/Source/WebCore/platform/mediastream/gstreamer/MockRealtimeVideoSourceGStreamer.cpp:60 #26 0x00007fde10595bd1 in WebCore::MockRealtimeVideoSource::create(WTF::String&&, WTF::AtomString&&, WebCore::MediaDeviceHashSalts&&, WebCore::MediaConstraints const*, std::optional<WTF::ObjectIdentifierGeneric<WebCore::PageIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long>, unsigned long> >) (deviceID=..., name=..., hashSalts=..., constraints=0x0, pageIdentifier=std::optional<WTF::ObjectIdentifierGeneric<WebCore::PageIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long>, unsigned long>> = {...}) at /app/webkit/Source/WebCore/platform/mediastream/gstreamer/MockRealtimeVideoSourceGStreamer.cpp:46 #27 0x00007fde105b60bc in WebCore::MockRealtimeVideoSourceFactory::createVideoCaptureSource(WebCore::CaptureDevice const&, WebCore::MediaDeviceHashSalts&&, WebCore::MediaConstraints const*, std::optional<WTF::ObjectIdentifierGeneric<WebCore::PageIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long>, unsigned long> >) (this=0x7fde12b56238 <WebCore::MockRealtimeMediaSourceCenter::videoCaptureFactory()::factory>, device=..., hashSalts=..., constraints=0x0, pageIdentifier=std::optional<WTF::ObjectIdentifierGeneric<WebCore::PageIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long>, unsigned long>> = {...}) at /app/webkit/Source/WebCore/platform/mock/MockRealtimeMediaSourceCenter.cpp:128 #28 0x00007fde1050a28b in WebCore::RealtimeMediaSourceCenter::getUserMediaDevices(WebCore::MediaStreamRequest const&, WebCore::MediaDeviceHashSalts&&, WTF::Vector<WebCore::RealtimeMediaSourceCenter::DeviceInfo, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&, WTF::Vector<WebCore::RealtimeMediaSourceCenter::DeviceInfo, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&, WebCore::MediaConstraintType&) (this=0x7fde12b55ce0 <WebCore::RealtimeMediaSourceCenter::singleton()::center>, request=..., hashSalts=..., audioDeviceInfo=..., videoDeviceInfo=..., firstInvalidConstraint=@0x7ffe84a6df76: WebCore::MediaConstraintType::Unknown) at /app/webkit/Source/WebCore/platform/mediastream/RealtimeMediaSourceCenter.cpp:280 #29 0x00007fde1050af92 in WebCore::RealtimeMediaSourceCenter::validateRequestConstraintsAfterEnumeration(WTF::Function<void (WTF::Vector<WebCore::CaptureDevice, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&, WTF::Vector<WebCore::CaptureDevice, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>&&, WTF::Function<void (WebCore::MediaConstraintType)>&&, WebCore::MediaStreamRequest const&, WebCore::MediaDeviceHashSalts&&) (this=0x7fde12b55ce0 <WebCore::RealtimeMediaSourceCenter::singleton()::center>, validHandler=..., invalidHandler=..., request=..., deviceIdentifierHashSalts=...) at /app/webkit/Source/WebCore/platform/mediastream/RealtimeMediaSourceCenter.cpp:337 #30 0x00007fde1050a7ac in operator()() (__closure=0x7fdde6392e08) at /app/webkit/Source/WebCore/platform/mediastream/RealtimeMediaSourceCenter.cpp:315 #31 0x00007fde10552a62 in WTF::Detail::CallableWrapper<WebCore::RealtimeMediaSourceCenter::validateRequestConstraints(ValidConstraintsHandler&&, InvalidConstraintsHandler&&, const WebCore::MediaStreamRequest&, WebCore::MediaDeviceHashSalts&&)::<lambda()>, void>::call(void) (this=0x7fdde6392e00) at /app/webkit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/Function.h:53 #32 0x00007fde0971b7ed in WTF::Function<void ()>::operator()() const (this=0x7ffe84a6e0a0) at /app/webkit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/Function.h:82 #33 0x00007fde09c0f1ac in WTF::CompletionHandler<void ()>::operator()() (this=0x7fdde6327fe8) at /app/webkit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/CompletionHandler.h:78 #34 0x00007fde09e33a04 in WTF::CallbackAggregatorOnThread<(WTF::DestructionThread)0>::~CallbackAggregatorOnThread() (this=0x7fdde6327fe0, __in_chrg=<optimized out>) at /app/webkit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/CallbackAggregator.h:45 #35 0x00007fde09e2716c in WTF::ThreadSafeRefCounted<WTF::CallbackAggregatorOnThread<(WTF::DestructionThread)0>, (WTF::DestructionThread)0>::deref() const (this=0x7fdde6327fe0) at /app/webkit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/ThreadSafeRefCounted.h:139 #36 0x00007fde09e1845c in WTF::DefaultRefDerefTraits<WTF::CallbackAggregatorOnThread<(WTF::DestructionThread)0> >::derefIfNotNull(WTF::CallbackAggregatorOnThread<(WTF::DestructionThread)0>*) (ptr=0x7fdde6327fe0) at /app/webkit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/Ref.h:62 #37 0x00007fde09e0a17b in WTF::Ref<WTF::CallbackAggregatorOnThread<(WTF::DestructionThread)0>, WTF::RawPtrTraits<WTF::CallbackAggregatorOnThread<(WTF::DestructionThread)0> >, WTF::DefaultRefDerefTraits<WTF::CallbackAggregatorOnThread<(WTF::DestructionThread)0> > >::~Ref() (this=0x7ffe84a6e1a0, __in_chrg=<optimized out>) at /app/webkit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/Ref.h:82 #38 0x00007fde1050a720 in WebCore::RealtimeMediaSourceCenter::enumerateDevices(bool, bool, bool, bool, WTF::CompletionHandler<void ()>&&) (this=0x7fde12b55ce0 <WebCore::RealtimeMediaSourceCenter::singleton()::center>, shouldEnumerateCamera=true, shouldEnumerateDisplay=false, shouldEnumerateMicrophone=false, shouldEnumerateSpeakers=false, callback=...) at /app/webkit/Source/WebCore/platform/mediastream/RealtimeMediaSourceCenter.cpp:306 #39 0x00007fde1050acd5 in WebCore::RealtimeMediaSourceCenter::validateRequestConstraints(WTF::Function<void (WTF::Vector<WebCore::CaptureDevice, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&, WTF::Vector<WebCore::CaptureDevice, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&&)>&&, WTF::Function<void (WebCore::MediaConstraintType)>&&, WebCore::MediaStreamRequest const&, WebCore::MediaDeviceHashSalts&&) (this=0x7fde12b55ce0 <WebCore::RealtimeMediaSourceCenter::singleton()::center>, validHandler=..., invalidHandler=..., request=..., deviceIdentifierHashSalts=...) at /app/webkit/Source/WebCore/platform/mediastream/RealtimeMediaSourceCenter.cpp:314 #40 0x00007fde08e9aa1f in WebKit::UserMediaCaptureManager::validateUserMediaRequestConstraints(WebCore::MediaStreamRequest, WebCore::MediaDeviceHashSalts&&, WTF::CompletionHandler<void (std::optional<WebCore::MediaConstraintType>, WTF::Vector<WebCore::CaptureDevice, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&, WTF::Vector<WebCore::CaptureDevice, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&)>&&) (this=0x7fdde60201c0, request=..., deviceIdentifierHashSalts=..., completionHandler=...) at /app/webkit/Source/WebKit/WebProcess/glib/UserMediaCaptureManager.cpp:78 #41 0x00007fde095b7f69 in _ZZN3IPC18callMemberFunctionIN6WebKit23UserMediaCaptureManagerES2_FvN7WebCore18MediaStreamRequestEONS3_20MediaDeviceHashSaltsEON3WTF17CompletionHandlerIFvSt8optionalINS3_19MediaConstraintTypeEERNS7_6VectorINS3_13CaptureDeviceELm0ENS7_15CrashOnOverflowELm16ENS7_10FastMallocEEESH_EEEESt5tupleIJS4_S5_EESI_EEvPT_MT0_T1_OT2_ONS8_IT3_EEENKUlDpOT_E_clIJS4_S5_EEEDaS10_ (__closure=0x7ffe84a6f3b0) at /app/webkit/Source/WebKit/Platform/IPC/HandleMessage.h:144 #42 0x00007fde095b8d61 in _ZSt13__invoke_implIvZN3IPC18callMemberFunctionIN6WebKit23UserMediaCaptureManagerES3_FvN7WebCore18MediaStreamRequestEONS4_20MediaDeviceHashSaltsEON3WTF17CompletionHandlerIFvSt8optionalINS4_19MediaConstraintTypeEERNS8_6VectorINS4_13CaptureDeviceELm0ENS8_15CrashOnOverflowELm16ENS8_10FastMallocEEESI_EEEESt5tupleIJS5_S6_EESJ_EEvPT_MT0_T1_OT2_ONS9_IT3_EEEUlDpOT_E_JS5_S6_EESP_St14__invoke_otherOSR_DpOT1_ (__f=...) at /usr/include/c++/13.2.0/bits/invoke.h:61 #43 0x00007fde095b87c7 in _ZSt8__invokeIZN3IPC18callMemberFunctionIN6WebKit23UserMediaCaptureManagerES3_FvN7WebCore18MediaStreamRequestEONS4_20MediaDeviceHashSaltsEON3WTF17CompletionHandlerIFvSt8optionalINS4_19MediaConstraintTypeEERNS8_6VectorINS4_13CaptureDeviceELm0ENS8_15CrashOnOverflowELm16ENS8_10FastMallocEEESI_EEEESt5tupleIJS5_S6_EESJ_EEvPT_MT0_T1_OT2_ONS9_IT3_EEEUlDpOT_E_JS5_S6_EENSt15__invoke_resultISP_JDpT0_EE4typeEOSP_DpOS14_ (__fn=...) at /usr/include/c++/13.2.0/bits/invoke.h:96 #44 0x00007fde095b7ff8 in _ZSt12__apply_implIZN3IPC18callMemberFunctionIN6WebKit23UserMediaCaptureManagerES3_FvN7WebCore18MediaStreamRequestEONS4_20MediaDeviceHashSaltsEON3WTF17CompletionHandlerIFvSt8optionalINS4_19MediaConstraintTypeEERNS8_6VectorINS4_13CaptureDeviceELm0ENS8_15CrashOnOverflowELm16ENS8_10FastMallocEEESI_EEEESt5tupleIJS5_S6_EESJ_EEvPT_MT0_T1_OT2_ONS9_IT3_EEEUlDpOT_E_SO_JLm0ELm1EEEDcOSP_OSR_St16integer_sequenceImJXspT1_EEE (__f=..., __t=...) at /usr/include/c++/13.2.0/tuple:2288 #45 0x00007fde095b8039 in _ZSt5applyIZN3IPC18callMemberFunctionIN6WebKit23UserMediaCaptureManagerES3_FvN7WebCore18MediaStreamRequestEONS4_20MediaDeviceHashSaltsEON3WTF17CompletionHandlerIFvSt8optionalINS4_19MediaConstraintTypeEERNS8_6VectorINS4_13CaptureDeviceELm0ENS8_15CrashOnOverflowELm16ENS8_10FastMallocEEESI_EEEESt5tupleIJS5_S6_EESJ_EEvPT_MT0_T1_OT2_ONS9_IT3_EEEUlDpOT_E_SO_EDcOSP_OSR_ (__f=..., __t=...) at /usr/include/c++/13.2.0/tuple:2299 #46 0x00007fde095b80aa in IPC::callMemberFunction<WebKit::UserMediaCaptureManager, WebKit::UserMediaCaptureManager, void (WebCore::MediaStreamRequest, WebCore::MediaDeviceHashSalts&&, WTF::CompletionHandler<void (std::optional<WebCore::MediaConstraintType>, WTF::Vector<WebCore::CaptureDevice, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&, WTF::Vector<WebCore::CaptureDevice, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&)>&&), std::tuple<WebCore::MediaStreamRequest, WebCore::MediaDeviceHashSalts>, void (std::optional<WebCore::MediaConstraintType>, WTF::Vector<WebCore::CaptureDevice, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&, WTF::Vector<WebCore::CaptureDevice, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&)>(WebKit::UserMediaCaptureManager*, void (WebKit::UserMediaCaptureManager::*)(WebCore::MediaStreamRequest, WebCore::MediaDeviceHashSalts&&, WTF::CompletionHandler<void (std::optional<WebCore::MediaConstraintType>, WTF::Vector<WebCore::CaptureDevice, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&, WTF::Vector<WebCore::CaptureDevice, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&)>&&), std::tuple<WebCore::MediaStreamRequest, WebCore::MediaDeviceHashSalts>&&, WTF::CompletionHandler<void (std::optional<WebCore::MediaConstraintType>, WTF::Vector<WebCore::CaptureDevice, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&, WTF::Vector<WebCore::CaptureDevice, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&)>&&) (object=0x7fdde60201c0, function=(void (WebKit::UserMediaCaptureManager::*)(WebKit::UserMediaCaptureManager * const, WebCore::MediaStreamRequest, WebCore::MediaDeviceHashSalts &&, WTF::CompletionHandler<void(std::optional<WebCore::MediaConstraintType>, WTF::Vector<WebCore::CaptureDevice, 0, WTF::CrashOnOverflow, 16, WTF::FastMalloc>&, WTF::Vector<WebCore::CaptureDevice, 0, WTF::CrashOnOverflow, 16, WTF::FastMalloc>&)> &&)) 0x7fde08e9a956 <WebKit::UserMediaCaptureManager::validateUserMediaRequestConstraints(WebCore::MediaStreamRequest, WebCore::MediaDeviceHashSalts&&, WTF::CompletionHandler<void (std::optional<WebCore::MediaConstraintType>, WTF::Vector<WebCore::CaptureDevice, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&, WTF::Vector<WebCore::CaptureDevice, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&)>&&)>, tuple=..., completionHandler=...) at /app/webkit/Source/WebKit/Platform/IPC/HandleMessage.h:142 #47 0x00007fde095b7a43 in IPC::handleMessageAsync<Messages::UserMediaCaptureManager::ValidateUserMediaRequestConstraints, IPC::Connection, WebKit::UserMediaCaptureManager, WebKit::UserMediaCaptureManager, void (WebCore::MediaStreamRequest, WebCore::MediaDeviceHashSalts&&, WTF::CompletionHandler<void (std::optional<WebCore::MediaConstraintType>, WTF::Vector<WebCore::CaptureDevice, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&, WTF::Vector<WebCore::CaptureDevice, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&)>&&)>(IPC::Connection&, IPC::Decoder&, WebKit::UserMediaCaptureManager*, void (WebKit::UserMediaCaptureManager::*)(WebCore::MediaStreamRequest, WebCore::MediaDeviceHashSalts&&, WTF::CompletionHandler<void (std::optional<WebCore::MediaConstraintType>, WTF::Vector<WebCore::CaptureDevice, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&, WTF::Vector<WebCore::CaptureDevice, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&)>&&)) (connection=..., decoder=..., object=0x7fdde60201c0, function=(void (WebKit::UserMediaCaptureManager::*)(WebKit::UserMediaCaptureManager * const, WebCore::MediaStreamRequest, WebCore::MediaDeviceHashSalts &&, WTF::CompletionHandler<void(std::optional<WebCore::MediaConstraintType>, WTF::Vector<WebCore::CaptureDevice, 0, WTF::CrashOnOverflow, 16, WTF::FastMalloc>&, WTF::Vector<WebCore::CaptureDevice, 0, WTF::CrashOnOverflow, 16, WTF::FastMalloc>&)> &&)) 0x7fde08e9a956 <WebKit::UserMediaCaptureManager::validateUserMediaRequestConstraints(WebCore::MediaStreamRequest, WebCore::MediaDeviceHashSalts&&, WTF::CompletionHandler<void (std::optional<WebCore::MediaConstraintType>, WTF::Vector<WebCore::CaptureDevice, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&, WTF::Vector<WebCore::CaptureDevice, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc>&)>&&)>) at /app/webkit/Source/WebKit/Platform/IPC/HandleMessage.h:323 #48 0x00007fde095b75f6 in WebKit::UserMediaCaptureManager::didReceiveMessage(IPC::Connection&, IPC::Decoder&) (this=0x7fdde60201c0, connection=..., decoder=...) at /app/webkit/WebKitBuild/GTK/Debug/DerivedSources/WebKit/UserMediaCaptureManagerMessageReceiver.cpp:51 #49 0x00007fde0a349774 in IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::Decoder&) (this=0x7fdde6034138, connection=..., decoder=...) at /app/webkit/Source/WebKit/Platform/IPC/MessageReceiverMap.cpp:124 #50 0x00007fde0a371ad7 in WebKit::AuxiliaryProcess::dispatchMessage(IPC::Connection&, IPC::Decoder&) (this=0x7fdde6034100, connection=..., decoder=...) at /app/webkit/Source/WebKit/Shared/AuxiliaryProcess.cpp:141 #51 0x00007fde09220336 in WebKit::AuxiliaryProcess::didReceiveMessage(IPC::Connection&, IPC::Decoder&) (this=0x7fdde6034100, connection=..., decoder=...) at /app/webkit/WebKitBuild/GTK/Debug/DerivedSources/WebKit/AuxiliaryProcessMessageReceiver.cpp:64 #52 0x00007fde093d3cee in WebKit::WebProcess::didReceiveMessage(IPC::Connection&, IPC::Decoder&) (this=0x7fdde6034100, connection=..., decoder=...) at /app/webkit/WebKitBuild/GTK/Debug/DerivedSources/WebKit/WebProcessMessageReceiver.cpp:391 #53 0x00007fde0a3189f1 in IPC::Connection::dispatchMessage(IPC::Decoder&) (this=0x7fdde6060200, decoder=...) at /app/webkit/Source/WebKit/Platform/IPC/Connection.cpp:1382 #54 0x00007fde0a318c5f in IPC::Connection::dispatchMessage(WTF::UniqueRef<IPC::Decoder>) (this=0x7fdde6060200, message=...) at /app/webkit/Source/WebKit/Platform/IPC/Connection.cpp:1430 #55 0x00007fde0a319267 in IPC::Connection::dispatchOneIncomingMessage() (this=0x7fdde6060200) at /app/webkit/Source/WebKit/Platform/IPC/Connection.cpp:1501 #56 0x00007fde0a318672 in operator()() const (__closure=0x7fdde6064118) at /app/webkit/Source/WebKit/Platform/IPC/Connection.cpp:1344 #57 0x00007fde0a34641e in WTF::Detail::CallableWrapper<IPC::Connection::enqueueIncomingMessage(WTF::UniqueRef<IPC::Decoder>)::<lambda()>, void>::call(void) (this=0x7fdde6064110) at /app/webkit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/Function.h:53 #58 0x00007fddf9c69983 in WTF::Function<void ()>::operator()() const (this=0x7ffe84a70570) at /app/webkit/WebKitBuild/GTK/Debug/WTF/Headers/wtf/Function.h:82 #59 0x00007fddfb5b17b3 in WTF::RunLoop::performWork() (this=0x7fdde6018180) at /app/webkit/Source/WTF/wtf/RunLoop.cpp:147 #60 0x00007fddfb7376a6 in operator()(gpointer) const (__closure=0x0, userData=0x7fdde6018180) at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:80 #61 0x00007fddfb7376ca in _FUN(gpointer) () at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:82 #62 0x00007fddfb737601 in operator()(GSource*, GSourceFunc, gpointer) const (__closure=0x0, source=0x5587643eb8c0, callback=0x7fddfb7376ad <_FUN(gpointer)>, userData=0x7fdde6018180) at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:53 #63 0x00007fddfb73764f in _FUN(GSource*, GSourceFunc, gpointer) () at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:56 #64 0x00007fddf3f17d36 in g_main_dispatch (context=0x55876402e2c0) at ../glib/gmain.c:3460 #65 g_main_context_dispatch (context=0x55876402e2c0) at ../glib/gmain.c:4200 #66 0x00007fddf3f752b8 in g_main_context_iterate.isra.0 (context=0x55876402e2c0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4276 #67 0x00007fddf3f173ff in g_main_loop_run (loop=0x5587643eb8a0) at ../glib/gmain.c:4479 #68 0x00007fddfb737d2a in WTF::RunLoop::run() () at /app/webkit/Source/WTF/wtf/glib/RunLoopGLib.cpp:108 #69 0x00007fde0b366e3c in WebKit::AuxiliaryProcessMainBase<WebKit::WebProcess, true>::run(int, char**) (this=0x7ffe84a70840, argc=5, argv=0x7ffe84a70a08) at /app/webkit/Source/WebKit/Shared/AuxiliaryProcessMain.h:77 #70 0x00007fde0b3667a9 in WebKit::AuxiliaryProcessMain<WebKit::WebProcessMainGtk>(int, char**) (argc=5, argv=0x7ffe84a70a08) at /app/webkit/Source/WebKit/Shared/AuxiliaryProcessMain.h:103 #71 0x00007fde0b366295 in WebKit::WebProcessMain(int, char**) (argc=5, argv=0x7ffe84a70a08) at /app/webkit/Source/WebKit/WebProcess/gtk/WebProcessMainGtk.cpp:114 #72 0x00005587630e6989 in main(int, char**) (argc=5, argv=0x7ffe84a70a08) at /app/webkit/Source/WebKit/WebProcess/EntryPoint/unix/WebProcessMain.cpp:31
Attachments
Philippe Normand
Comment 1 2025-01-12 02:43:47 PST
EWS
Comment 2 2025-01-14 10:20:10 PST
Committed 288860@main (b409dbbfe5a2): <https://commits.webkit.org/288860@main> Reviewed commits have been landed. Closing PR #38905 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2025-01-14 10:21:16 PST
Note You need to log in before you can comment on or make changes to this bug.