RESOLVED FIXED321281
[GTK] webrtc/video-disabled-black.html crashes
https://bugs.webkit.org/show_bug.cgi?id=321281
Summary [GTK] webrtc/video-disabled-black.html crashes
klee
Reported 2026-08-07 06:42:05 PDT
webrtc/video-disabled-black.html crashes on the GTK x86_64 Debug Tests bot. Last 20 builds: GTK x86_64 Debug Tests (builder 63): 8/15 builds, Crash It does not reproduce on the GTK Release bot nor on any WPE bot. ----------- TEST STDERR ----------- 0:00:14.475542905 1155595 1155595 ERROR video-info video-info.c:595:gst_video_info_from_caps: no format given # # Fatal error in: ../../../Source/ThirdParty/libwebrtc/Source/webrtc/media/engine/webrtc_video_engine.cc, line 1267 # last system error: 0 # Check failed: format.has_value() || allow_default_fallback # WebKitWebProcess terminated (pid 1155595) for reason: crash -------------------- SIMPLIFIED BACKTRACE -------------------- Core was generated by `/sdk/webkit/WebKitBuild/GTK/Debug/bin/WebKitWebProcess 14 16 --configure-jsc-for-testing'. Program terminated with signal SIGABRT, Aborted. Crashed thread: WebKitWebRTCNet (PID=1155595, LWP/TID=1155805) (not main thread) Thread 1 (Thread 0x7f24e5fff6c0 (LWP 1155805)): #0 __pthread_kill_implementation (threadid=<optimized out>, signo=6, no_tid=0) at ./nptl/pthread_kill.c:44 #1 __pthread_kill_internal (threadid=<optimized out>, signo=6) at ./nptl/pthread_kill.c:89 #2 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:100 #3 0x00007f27b7a45b7e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #4 0x00007f27b7a288ec in __GI_abort () at ./stdlib/abort.c:77 #5 0x00007f27cc797c34 in webrtc::webrtc_checks_impl::WriteFatalLog (output="\n\n#\n# Fatal error in: ../../../Source/ThirdParty/libwebrtc/Source/webrtc/media/engine/webrtc_video_engine.cc, line 1267\n# last system error: 0\n# Check failed: format.has_value() || allow_default_fallb"...) at ../../../Source/ThirdParty/libwebrtc/Source/webrtc/rtc_base/checks.cc:79 #6 0x00007f27cc797c74 in webrtc::webrtc_checks_impl::WriteFatalLog (output="\n\n#\n# Fatal error in: ../../../Source/ThirdParty/libwebrtc/Source/webrtc/media/engine/webrtc_video_engine.cc, line 1267\n# last system error: 0\n# Check failed: format.has_value() || allow_default_fallb"...) at ../../../Source/ThirdParty/libwebrtc/Source/webrtc/rtc_base/checks.cc:85 #7 0x00007f27cc798608 in webrtc::webrtc_checks_impl::FatalLog (file=0x7f27d27e4b31 "../../../Source/ThirdParty/libwebrtc/Source/webrtc/media/engine/webrtc_video_engine.cc", line=1267, message=0x7f27d27e4db3 "format.has_value() || allow_default_fallback", fmt=0x7f27d29ae674 <webrtc::webrtc_checks_impl::LogStreamer<>::Call<>(char const*, int, char const*)::t>) at ../../../Source/ThirdParty/libwebrtc/Source/webrtc/rtc_base/checks.cc:180 #8 0x00007f27cc527a11 in webrtc::webrtc_checks_impl::LogStreamer<>::Call<>(char const*, int, char const*) (file=0x7f27d27e4b31 "../../../Source/ThirdParty/libwebrtc/Source/webrtc/media/engine/webrtc_video_engine.cc", line=1267, message=0x7f27d27e4db3 "format.has_value() || allow_default_fallback") at ../../../Source/ThirdParty/libwebrtc/Source/webrtc/rtc_base/checks.h:262 #9 webrtc::webrtc_checks_impl::FatalLogCall<false>::operator&<>(webrtc::webrtc_checks_impl::LogStreamer<> const&) (this=0x7f24e5ffd6b8, streamer=...) at ../../../Source/ThirdParty/libwebrtc/Source/webrtc/rtc_base/checks.h:351 #10 webrtc::WebRtcVideoSendChannel::ApplyEncoderSwitch (this=0x7f24dc2d60f0, format=std::optional [no contained value], allow_default_fallback=false) at ../../../Source/ThirdParty/libwebrtc/Source/webrtc/media/engine/webrtc_video_engine.cc:1267 #11 0x00007f27cc57af72 in operator() (this=0x7f2474004c60) at ../../../Source/ThirdParty/libwebrtc/Source/webrtc/media/engine/webrtc_video_engine.cc:1254 #12 0x00007f27cc57ad55 in std::__invoke_impl<void, (lambda at ../../../Source/ThirdParty/libwebrtc/Source/webrtc/media/engine/webrtc_video_engine.cc:1252:37)>(std::__invoke_other, class {...} &&) (__f=...) at /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/invoke.h:63 #13 0x00007f27cc57ad35 in std::__invoke<(lambda at ../../../Source/ThirdParty/libwebrtc/Source/webrtc/media/engine/webrtc_video_engine.cc:1252:37)>(class {...} &&) (__fn=...) at /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/invoke.h:98 #14 0x00007f27cc57ad15 in std::invoke<(lambda at ../../../Source/ThirdParty/libwebrtc/Source/webrtc/media/engine/webrtc_video_engine.cc:1252:37)>(class {...} &&) (__fn=...) at /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/functional:122 #15 0x00007f27cc57acf5 in absl::internal_any_invocable::InvokeR<void, (lambda at ../../../Source/ThirdParty/libwebrtc/Source/webrtc/media/engine/webrtc_video_engine.cc:1252:37)>(class {...} &&) (f=...) at ../../../Source/ThirdParty/libwebrtc/Source/third_party/abseil-cpp/absl/functional/internal/any_invocable.h:121 #16 0x00007f27cc57aa60 in absl::internal_any_invocable::RemoteInvoker<false, void, (lambda at ../../../Source/ThirdParty/libwebrtc/Source/webrtc/media/engine/webrtc_video_engine.cc:1252:37) &&>(absl::internal_any_invocable::TypeErasedState *) (state=0x7f23b8014070) at ../../../Source/ThirdParty/libwebrtc/Source/third_party/abseil-cpp/absl/functional/internal/any_invocable.h:338 #17 0x00007f27cc4b59db in absl::internal_any_invocable::Impl<void()>::operator() (this=0x7f23b8014070) at ../../../Source/ThirdParty/libwebrtc/Source/third_party/abseil-cpp/absl/functional/internal/any_invocable.h:774 #18 0x00007f27cc4b5984 in operator() (this=0x7f23b8014060) at ../../../Source/ThirdParty/libwebrtc/Source/webrtc/api/task_queue/pending_task_safety_flag.h:172 #19 0x00007f27cc4b5945 in std::__invoke_impl<void, (lambda at ../../../Source/ThirdParty/libwebrtc/Source/webrtc/api/task_queue/pending_task_safety_flag.h:170:10)>(std::__invoke_other, class {...} &&) (__f=...) at /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/invoke.h:63 #20 0x00007f27cc4b5925 in std::__invoke<(lambda at ../../../Source/ThirdParty/libwebrtc/Source/webrtc/api/task_queue/pending_task_safety_flag.h:170:10)>(class {...} &&) (__fn=...) at /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/invoke.h:98 #21 0x00007f27cc4b5905 in std::invoke<(lambda at ../../../Source/ThirdParty/libwebrtc/Source/webrtc/api/task_queue/pending_task_safety_flag.h:170:10)>(class {...} &&) (__fn=...) at /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/functional:122 #22 0x00007f27cc4b58e5 in absl::internal_any_invocable::InvokeR<void, (lambda at ../../../Source/ThirdParty/libwebrtc/Source/webrtc/api/task_queue/pending_task_safety_flag.h:170:10)>(class {...} &&) (f=...) at ../../../Source/ThirdParty/libwebrtc/Source/third_party/abseil-cpp/absl/functional/internal/any_invocable.h:121 #23 0x00007f27cc4b57f0 in absl::internal_any_invocable::RemoteInvoker<false, void, (lambda at ../../../Source/ThirdParty/libwebrtc/Source/webrtc/api/task_queue/pending_task_safety_flag.h:170:10) &&>(absl::internal_any_invocable::TypeErasedState *) (state=0x7f24dc966760) at ../../../Source/ThirdParty/libwebrtc/Source/third_party/abseil-cpp/absl/functional/internal/any_invocable.h:338 #24 0x00007f27cc4b59db in absl::internal_any_invocable::Impl<void()>::operator() (this=0x7f24dc966760) at ../../../Source/ThirdParty/libwebrtc/Source/third_party/abseil-cpp/absl/functional/internal/any_invocable.h:774 #25 0x00007f27cce3ae65 in operator() (this=0x7f24dc966760) at ../../../Source/ThirdParty/libwebrtc/Source/webrtc/pc/rtp_transceiver.cc:718 #26 0x00007f27cce3ae45 in std::__invoke_impl<void, (lambda at ../../../Source/ThirdParty/libwebrtc/Source/webrtc/pc/rtp_transceiver.cc:717:39)>(std::__invoke_other, class {...} &&) (__f=...) at /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/invoke.h:63 #27 0x00007f27cce3ae25 in std::__invoke<(lambda at ../../../Source/ThirdParty/libwebrtc/Source/webrtc/pc/rtp_transceiver.cc:717:39)>(class {...} &&) (__fn=...) at /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/invoke.h:98 #28 0x00007f27cce3ae05 in std::invoke<(lambda at ../../../Source/ThirdParty/libwebrtc/Source/webrtc/pc/rtp_transceiver.cc:717:39)>(class {...} &&) (__fn=...) at /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/functional:122 #29 0x00007f27cce3ade5 in absl::internal_any_invocable::InvokeR<void, (lambda at ../../../Source/ThirdParty/libwebrtc/Source/webrtc/pc/rtp_transceiver.cc:717:39)>(class {...} &&) (f=...) at ../../../Source/ThirdParty/libwebrtc/Source/third_party/abseil-cpp/absl/functional/internal/any_invocable.h:121 #30 0x00007f27cce3ad00 in absl::internal_any_invocable::RemoteInvoker<false, void, (lambda at ../../../Source/ThirdParty/libwebrtc/Source/webrtc/pc/rtp_transceiver.cc:717:39) &&>(absl::internal_any_invocable::TypeErasedState *) (state=0x7f24e5ffe4d0) at ../../../Source/ThirdParty/libwebrtc/Source/third_party/abseil-cpp/absl/functional/internal/any_invocable.h:338 #31 0x00007f27cc4b59db in absl::internal_any_invocable::Impl<void()>::operator() (this=0x7f24e5ffe4d0) at ../../../Source/ThirdParty/libwebrtc/Source/third_party/abseil-cpp/absl/functional/internal/any_invocable.h:774 #32 0x00007f27cc7e0641 in webrtc::Thread::Dispatch (this=0x560435dca270, task=...) at ../../../Source/ThirdParty/libwebrtc/Source/webrtc/rtc_base/thread.cc:547 #33 0x00007f27cc7ddbf6 in webrtc::Thread::ProcessMessages (this=0x560435dca270, cmsLoop=-1) at ../../../Source/ThirdParty/libwebrtc/Source/webrtc/rtc_base/thread.cc:876 #34 0x00007f27cc7e19ca in webrtc::Thread::Run (this=0x560435dca270) at ../../../Source/ThirdParty/libwebrtc/Source/webrtc/rtc_base/thread.cc:736 #35 0x00007f27cc7e16b7 in webrtc::Thread::PreRun (pv=0x560435dca270) at ../../../Source/ThirdParty/libwebrtc/Source/webrtc/rtc_base/thread.cc:725 #36 0x00007f27b7aa40da in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:454 #37 0x00007f27b7b377ac in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78 (Full crash log: https://build.webkit.org/results/GTK-Linux-64-bit-Debug-Tests/318691@main%20(19604)/webrtc/video-disabled-black-crash-log.txt)
Attachments
Philippe Normand
Comment 1 2026-08-27 02:36:00 PDT
*** Bug 322634 has been marked as a duplicate of this bug. ***
Philippe Normand
Comment 2 2026-08-27 02:44:12 PDT
Source/ThirdParty/libwebrtc/Source/webrtc/media/engine/webrtc_video_engine.cc was updated in 319787@main and the crash hasn't happened since then.
Philippe Normand
Comment 3 2026-08-27 02:51:46 PDT
EWS
Comment 4 2026-08-27 02:53:56 PDT
Committed 319949@main (a5b2b89dc868): <https://commits.webkit.org/319949@main> Reviewed commits have been landed. Closing PR #72588 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.