WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
264672
[GStreamer][WebCodecs] Flaky crash in encoder
https://bugs.webkit.org/show_bug.cgi?id=264672
Summary
[GStreamer][WebCodecs] Flaky crash in encoder
Philippe Normand
Reported
2023-11-11 05:32:42 PST
Thread 1 (Thread 0x7fd37eef8e80 (LWP 601219)): #0 g_logv (log_domain=0x7fd3858e89ae "GStreamer", log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>, args=<optimized out>) at ../glib/gmessages.c:1422 #1 0x00007fd385a9bc53 in g_log (log_domain=log_domain@entry=0x7fd3858e89ae "GStreamer", log_level=log_level@entry=G_LOG_LEVEL_CRITICAL, format=format@entry=0x7fd385affff7 "%s: assertion '%s' failed") at ../glib/gmessages.c:1460 #2 0x00007fd385a9ce6d in g_return_if_fail_warning (log_domain=log_domain@entry=0x7fd3858e89ae "GStreamer", pretty_function=pretty_function@entry=0x7fd3858f7c60 <__func__.29.lto_priv.4> "gst_caps_get_structure", expression=expression@entry=0x7fd3858f5a9d "GST_IS_CAPS (caps)") at ../glib/gmessages.c:2930 #3 0x00007fd38584c346 in gst_caps_get_structure (caps=<optimized out>, index=<optimized out>) at ../gst/gstcaps.c:886 #4 0x00007fd38bac1917 in WebCore::GStreamerInternalAudioEncoder::GStreamerInternalAudioEncoder(WTF::String const&, WTF::Function<void (WebCore::AudioEncoderActiveConfiguration&&)>&&, WTF::Function<void (WebCore::AudioEncoder::EncodedFrame&&)>&&, WTF::Function<void (WTF::Function<void ()>&&)>&&, WTF::GRefPtr<_GstElement>&&)::{lambda(_GObject*, _GParamSpec*, void*)#1}::operator()(_GObject*, _GParamSpec*, void*) const::{lambda()#1}::operator()() const () at /app/webkit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1 #5 0x00007fd38b1ce690 in WebCore::EventLoop::run(std::optional<WTF::ApproximateTime>) () at /app/webkit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1 #6 0x00007fd38b27b633 in WebCore::WindowEventLoop::didReachTimeToRun() () at /app/webkit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1 #7 0x00007fd38ba84f5c in WebCore::ThreadTimers::sharedTimerFiredInternal() [clone .part.0] () at /app/webkit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1 #8 0x00007fd389a96fbc in WTF::RunLoop::TimerBase::TimerBase(WTF::RunLoop&)::{lambda(void*)#1}::_FUN(void*) () at /app/webkit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1 #9 0x00007fd389a9798f in WTF::RunLoop::{lambda(_GSource*, int (*)(void*), void*)#1}::_FUN(_GSource*, int (*)(void*), void*) () at /app/webkit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1 #10 0x00007fd385a97527 in g_main_dispatch (context=0x5558b78668d0) at ../glib/gmain.c:3460 #11 g_main_context_dispatch (context=0x5558b78668d0) at ../glib/gmain.c:4200 #12 0x00007fd385af4888 in g_main_context_iterate.constprop.0 (context=0x5558b78668d0, block=<optimized out>, dispatch=1, self=<optimized out>) at ../glib/gmain.c:4276 #13 0x00007fd385a96d7f in g_main_loop_run (loop=0x5558b7866a10) at ../glib/gmain.c:4479 #14 0x00007fd389a97ac0 in WTF::RunLoop::run() () at /app/webkit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1 #15 0x00007fd38832fd66 in WebKit::WebProcessMain(int, char**) () at /app/webkit/WebKitBuild/WPE/Release/lib/libWPEWebKit-2.0.so.1 #16 0x00007fd3852ae58a in __libc_start_call_main (main=main@entry=0x5558b782b890 <main>, argc=argc@entry=4, argv=argv@entry=0x7fff9fc9ffd8) at ../sysdeps/nptl/libc_start_call_main.h:58 #17 0x00007fd3852ae64b in __libc_start_main_impl (main=0x5558b782b890 <main>, argc=4, argv=0x7fff9fc9ffd8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=<optimized out>) at ../csu/libc-start.c:389 #18 0x00005558b782b7c5 in _start () at ../sysdeps/x86_64/start.S:115 STDERR: (WPEWebProcess:601219): GStreamer-CRITICAL **: 04:03:26.987: gst_caps_get_structure: assertion 'GST_IS_CAPS (caps)' failed
Attachments
Add attachment
proposed patch, testcase, etc.
Philippe Normand
Comment 1
2023-11-11 05:36:11 PST
imported/w3c/web-platform-tests/webcodecs/audio-encoder-config.https.any.html is flaky crash, but only on the WPE bot... shrug.
Philippe Normand
Comment 2
2023-11-11 05:40:34 PST
Pull request:
https://github.com/WebKit/WebKit/pull/20366
EWS
Comment 3
2023-11-13 01:29:20 PST
Committed
270626@main
(e4933ce68355): <
https://commits.webkit.org/270626@main
> Reviewed commits have been landed. Closing PR #20366 and removing active labels.
Radar WebKit Bug Importer
Comment 4
2023-11-13 01:30:15 PST
<
rdar://problem/118321574
>
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