WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
224767
[GStreamer] imported/w3c/web-platform-tests/media-source/mediasource-changetype-play-implicit.html flaky crash
https://bugs.webkit.org/show_bug.cgi?id=224767
Summary
[GStreamer] imported/w3c/web-platform-tests/media-source/mediasource-changety...
Philippe Normand
Reported
2021-04-19 09:43:07 PDT
On WPE at least: STDERR: ** (WPEWebProcess:31378): CRITICAL **: 07:34:59.834: gst_video_frame_map_id: assertion 'info->finfo->format == meta->format' failed Thread 1 (Thread 0x7fdf537fe700 (LWP 1611)): #0 g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>, args=<optimized out>) at ../glib/gmessages.c:1413 #1 0x00007ff8b8e5a973 in g_log (log_domain=log_domain@entry=0x0, log_level=log_level@entry=G_LOG_LEVEL_CRITICAL, format=format@entry=0x7ff8b8eb2ad0 "%s: assertion '%s' failed") at ../glib/gmessages.c:1451 #2 0x00007ff8b8e5b19d in g_return_if_fail_warning (log_domain=log_domain@entry=0x0, pretty_function=pretty_function@entry=0x7ff8b5df37b0 <__func__.4> "gst_video_frame_map_id", expression=expression@entry=0x7ff8b5df35d8 "info->finfo->format == meta->format") at ../glib/gmessages.c:2883 #3 0x00007ff8b5dd522c in gst_video_frame_map_id (frame=0x7ff8002b3010, info=0x7fdf537fb790, buffer=0x7fdf88304ea0 [GstBuffer], id=-1, flags=(GST_MAP_READ | unknown: 131072)) at ../gst-libs/gst/video/video-frame.c:91 #4 0x00007ff8bdfa0c14 in WebCore::GstVideoFrameHolder::GstVideoFrameHolder(_GstSample*, WTF::Optional<WebCore::GstVideoDecoderPlatform>, int, bool) () at /app/webkit/WebKitBuild/Release/lib/libWPEWebKit-1.0.so.3 #5 0x00007ff8bdce78f5 in WebCore::MediaPlayerPrivateGStreamer::pushTextureToCompositor() () at /app/webkit/WebKitBuild/Release/lib/libWPEWebKit-1.0.so.3 #6 0x00007ff8bdcda4fc in webKitGLVideoSinkSetMediaPlayerPrivate::{lambda(_GstElement*, WebCore::MediaPlayerPrivateGStreamer*)#2}::_FUN(_GstElement*, WebCore::MediaPlayerPrivateGStreamer*) () at /app/webkit/WebKitBuild/Release/lib/libWPEWebKit-1.0.so.3 #7 0x00007ff8b4cddf75 in ffi_call_unix64 () at ../src/x86/unix64.S:101 #8 0x00007ff8b4cdd369 in ffi_call_int (cif=<optimized out>, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=<optimized out>) at ../src/x86/ffi64.c:669 #9 0x00007ff8b59ffefa in g_cclosure_marshal_generic_va (closure=closure@entry=0x55cc63c064f0, return_value=return_value@entry=0x7fdf537fbcd0, instance=instance@entry=0x55cc63896880, args_list=args_list@entry=0x7fdf537fbd80, marshal_data=marshal_data@entry=0x0, n_params=n_params@entry=0, param_types=<optimized out>) at ../gobject/gclosure.c:1624 #10 0x00007ff8b59ff179 in _g_closure_invoke_va (closure=closure@entry=0x55cc63c064f0, return_value=return_value@entry=0x7fdf537fbcd0, instance=instance@entry=0x55cc63896880, args=args@entry=0x7fdf537fbd80, n_params=0, param_types=0x0) at ../gobject/gclosure.c:873 #11 0x00007ff8b5a187df in g_signal_emit_valist (instance=0x55cc63896880, signal_id=<optimized out>, detail=0, var_args=var_args@entry=0x7fdf537fbd80) at ../gobject/gsignal.c:3406 #12 0x00007ff8b5a189c3 in g_signal_emit (instance=instance@entry=0x55cc63896880, signal_id=<optimized out>, detail=detail@entry=0) at ../gobject/gsignal.c:3553 #13 0x00007ff8b5fb6ccc in gst_app_sink_preroll (psink=0x55cc63896880 [GstAppSink|webkit-gl-video-appsink], buffer=<optimized out>) at ../gst-libs/gst/app/gstappsink.c:840 #14 0x00007ff8b5f63b43 in gst_base_sink_do_preroll (sink=sink@entry=0x55cc63896880 [GstAppSink|webkit-gl-video-appsink], obj=obj@entry=0x7fdf88304ea0 [GstBuffer]) at ../libs/gst/base/gstbasesink.c:2503 #15 0x00007ff8b5f645fc in gst_base_sink_do_sync (basesink=basesink@entry=0x55cc63896880 [GstAppSink|webkit-gl-video-appsink], obj=obj@entry=0x7fdf88304ea0 [GstBuffer], late=late@entry=0x7fdf537fc0b0, step_end=step_end@entry=0x7fdf537fc0b4) at ../libs/gst/base/gstbasesink.c:2728 #16 0x00007ff8b5f65e25 in gst_base_sink_chain_unlocked (basesink=basesink@entry=0x55cc63896880 [GstAppSink|webkit-gl-video-appsink], obj=obj@entry=0x7fdf88304ea0, is_list=is_list@entry=0, pad=<optimized out>) at ../libs/gst/base/gstbasesink.c:3908 #17 0x00007ff8b5f67c10 in gst_base_sink_chain_main (basesink=0x55cc63896880 [GstAppSink|webkit-gl-video-appsink], pad=<optimized out>, obj=0x7fdf88304ea0, is_list=0) at ../libs/gst/base/gstbasesink.c:4067 #18 0x00007ff8b8c4b89d in gst_pad_chain_data_unchecked (pad=pad@entry=0x55cc6393c170 [GstPad|sink], type=type@entry=4112, data=data@entry=0x7fdf88304ea0) at ../gst/gstpad.c:4399 #19 0x00007ff8b8c4db19 in gst_pad_push_data (pad=pad@entry=0x7fdf840a78c0 [GstGhostPad|src], type=type@entry=4112, data=data@entry=0x7fdf88304ea0) at ../gst/gstpad.c:4655 #20 0x00007ff8b8c55142 in gst_pad_push (pad=pad@entry=0x7fdf840a78c0 [GstGhostPad|src], buffer=buffer@entry=0x7fdf88304ea0 [GstBuffer]) at ../gst/gstpad.c:4774 #21 0x00007ff8b8c38503 in gst_proxy_pad_chain_default (pad=<optimized out>, parent=<optimized out>, buffer=0x7fdf88304ea0 [GstBuffer]) at ../gst/gstghostpad.c:127 #22 0x00007ff8b8c4b89d in gst_pad_chain_data_unchecked (pad=pad@entry=0x7fdf90242390 [GstProxyPad|proxypad1014], type=type@entry=4112, data=data@entry=0x7fdf88304ea0) at ../gst/gstpad.c:4399 #23 0x00007ff8b8c4db19 in gst_pad_push_data (pad=pad@entry=0x7fdfac059a10 [GstPad|src], type=type@entry=4112, data=data@entry=0x7fdf88304ea0) at ../gst/gstpad.c:4655 #24 0x00007ff8b8c55142 in gst_pad_push (pad=0x7fdfac059a10 [GstPad|src], buffer=0x7fdf88304ea0 [GstBuffer]) at ../gst/gstpad.c:4774 #25 0x00007ff8b5f725d7 in gst_base_transform_chain (pad=<optimized out>, parent=0x55cc63948940 [GstCapsFilter|capsfilter197], buffer=0x7fdf537fc4a0 [None]) at ../libs/gst/base/gstbasetransform.c:2377 #26 0x00007ff8b8c4b89d in gst_pad_chain_data_unchecked (pad=pad@entry=0x7fdfac058e80 [GstPad|sink], type=type@entry=4112, data=data@entry=0x7fdf88304ea0) at ../gst/gstpad.c:4399 #27 0x00007ff8b8c4db19 in gst_pad_push_data (pad=pad@entry=0x7fdf7021db20 [GstPad|src], type=type@entry=4112, data=data@entry=0x7fdf88304ea0) at ../gst/gstpad.c:4655 #28 0x00007ff8b8c55142 in gst_pad_push (pad=0x7fdf7021db20 [GstPad|src], buffer=0x7fdf88304ea0 [GstBuffer]) at ../gst/gstpad.c:4774 #29 0x00007ff8b5f725d7 in gst_base_transform_chain (pad=<optimized out>, parent=0x55cc63b44100 [GstGLTransformation|gltransformation86], buffer=0x7fdf537fc670 [None]) at ../libs/gst/base/gstbasetransform.c:2377 #30 0x00007ff8b8c4b89d in gst_pad_chain_data_unchecked (pad=pad@entry=0x7fdf7021d8d0 [GstPad|sink], type=type@entry=4112, data=data@entry=0x7fdf88304ea0) at ../gst/gstpad.c:4399 #31 0x00007ff8b8c4db19 in gst_pad_push_data (pad=pad@entry=0x7fdf7021d1e0 [GstPad|src], type=type@entry=4112, data=data@entry=0x7fdf88304ea0) at ../gst/gstpad.c:4655 #32 0x00007ff8b8c55142 in gst_pad_push (pad=0x7fdf7021d1e0 [GstPad|src], buffer=0x7fdf88304ea0 [GstBuffer]) at ../gst/gstpad.c:4774 #33 0x00007ff8b5f725d7 in gst_base_transform_chain (pad=<optimized out>, parent=0x55cc63949300 [GstCapsFilter|capsfilter196], buffer=0x7fdf537fc840 [None]) at ../libs/gst/base/gstbasetransform.c:2377 #34 0x00007ff8b8c4b89d in gst_pad_chain_data_unchecked (pad=pad@entry=0x7fdf7021cf90 [GstPad|sink], type=type@entry=4112, data=data@entry=0x7fdf88304ea0) at ../gst/gstpad.c:4399 #35 0x00007ff8b8c4db19 in gst_pad_push_data (pad=pad@entry=0x7fdf90243db0 [GstProxyPad|proxypad1013], type=type@entry=4112, data=data@entry=0x7fdf88304ea0) at ../gst/gstpad.c:4655 #36 0x00007ff8b8c55142 in gst_pad_push (pad=pad@entry=0x7fdf90243db0 [GstProxyPad|proxypad1013], buffer=buffer@entry=0x7fdf88304ea0 [GstBuffer]) at ../gst/gstpad.c:4774 #37 0x00007ff8b8c38503 in gst_proxy_pad_chain_default (pad=<optimized out>, parent=<optimized out>, buffer=0x7fdf88304ea0 [GstBuffer]) at ../gst/gstghostpad.c:127 #38 0x00007ff8b8c4b89d in gst_pad_chain_data_unchecked (pad=pad@entry=0x7fdf840a7da0 [GstGhostPad|sink], type=type@entry=4112, data=data@entry=0x7fdf88304ea0) at ../gst/gstpad.c:4399 #39 0x00007ff8b8c4db19 in gst_pad_push_data (pad=pad@entry=0x7fdf7021c400 [GstPad|src], type=type@entry=4112, data=data@entry=0x7fdf88304ea0) at ../gst/gstpad.c:4655 #40 0x00007ff8b8c55142 in gst_pad_push (pad=0x7fdf7021c400 [GstPad|src], buffer=0x7fdf88304ea0 [GstBuffer]) at ../gst/gstpad.c:4774 #41 0x00007ff8b5f725d7 in gst_base_transform_chain (pad=<optimized out>, parent=0x55cc638b0250 [GstGLColorConvertElement|glcolorconvertelement86], buffer=0x7fdf537fcbb0 [None]) at ../libs/gst/base/gstbasetransform.c:2377 #42 0x00007ff8b8c4b89d in gst_pad_chain_data_unchecked (pad=pad@entry=0x55cc6393d890 [GstPad|sink], type=type@entry=4112, data=data@entry=0x7fdf88304ea0) at ../gst/gstpad.c:4399 #43 0x00007ff8b8c4db19 in gst_pad_push_data (pad=pad@entry=0x55cc6393d640 [GstPad|src], type=type@entry=4112, data=data@entry=0x7fdf88304ea0) at ../gst/gstpad.c:4655 #44 0x00007ff8b8c55142 in gst_pad_push (pad=0x55cc6393d640 [GstPad|src], buffer=0x7fdf88304ea0 [GstBuffer]) at ../gst/gstpad.c:4774 #45 0x00007ff8b5f725d7 in gst_base_transform_chain (pad=<optimized out>, parent=0x55cc638b05e0 [GstGLUploadElement|gluploadelement86], buffer=0x7fdf537fcd80 [None]) at ../libs/gst/base/gstbasetransform.c:2377 #46 0x00007ff8b8c4b89d in gst_pad_chain_data_unchecked (pad=pad@entry=0x55cc6393d3f0 [GstPad|sink], type=type@entry=4112, data=data@entry=0x7fdfc0014360) at ../gst/gstpad.c:4399 #47 0x00007ff8b8c4db19 in gst_pad_push_data (pad=pad@entry=0x7fdf90242130 [GstProxyPad|proxypad1015], type=type@entry=4112, data=data@entry=0x7fdfc0014360) at ../gst/gstpad.c:4655 #48 0x00007ff8b8c55142 in gst_pad_push (pad=pad@entry=0x7fdf90242130 [GstProxyPad|proxypad1015], buffer=buffer@entry=0x7fdfc0014360 [GstBuffer]) at ../gst/gstpad.c:4774 #49 0x00007ff8b8c38503 in gst_proxy_pad_chain_default (pad=<optimized out>, parent=<optimized out>, buffer=0x7fdfc0014360 [GstBuffer]) at ../gst/gstghostpad.c:127 #50 0x00007ff8b8c4b89d in gst_pad_chain_data_unchecked (pad=pad@entry=0x7fdf840a7b30 [GstGhostPad|sink], type=type@entry=4112, data=data@entry=0x7fdfc0014360) at ../gst/gstpad.c:4399 #51 0x00007ff8b8c4db19 in gst_pad_push_data (pad=pad@entry=0x7fdf44259b20 [GstGhostPad|src], type=type@entry=4112, data=data@entry=0x7fdfc0014360) at ../gst/gstpad.c:4655 #52 0x00007ff8b8c55142 in gst_pad_push (pad=pad@entry=0x7fdf44259b20 [GstGhostPad|src], buffer=buffer@entry=0x7fdfc0014360 [GstBuffer]) at ../gst/gstpad.c:4774 #53 0x00007ff8b8c38503 in gst_proxy_pad_chain_default (pad=<optimized out>, parent=<optimized out>, buffer=0x7fdfc0014360 [GstBuffer]) at ../gst/gstghostpad.c:127 #54 0x00007ff8b8c4b89d in gst_pad_chain_data_unchecked (pad=pad@entry=0x7fdfa01005c0 [GstProxyPad|proxypad1073], type=type@entry=4112, data=data@entry=0x7fdfc0014360) at ../gst/gstpad.c:4399 #55 0x00007ff8b8c4db19 in gst_pad_push_data (pad=pad@entry=0x7ff8141b7870 [GstPad|src], type=type@entry=4112, data=data@entry=0x7fdfc0014360) at ../gst/gstpad.c:4655 #56 0x00007ff8b8c55142 in gst_pad_push (pad=0x7ff8141b7870 [GstPad|src], buffer=0x7fdfc0014360 [GstBuffer]) at ../gst/gstpad.c:4774 #57 0x00007ff8b5f725d7 in gst_base_transform_chain (pad=<optimized out>, parent=0x7ff8141a2490 [GstVideoConvert|conv2], buffer=0x7fdf537fd290 [None]) at ../libs/gst/base/gstbasetransform.c:2377 #58 0x00007ff8b8c4b89d in gst_pad_chain_data_unchecked (pad=pad@entry=0x7ff8141b63a0 [GstPad|sink], type=type@entry=4112, data=data@entry=0x7fdfc0014360) at ../gst/gstpad.c:4399 #59 0x00007ff8b8c4db19 in gst_pad_push_data (pad=pad@entry=0x7ff8141b6150 [GstPad|src], type=type@entry=4112, data=data@entry=0x7fdfc0014360) at ../gst/gstpad.c:4655 #60 0x00007ff8b8c55142 in gst_pad_push (pad=0x7ff8141b6150 [GstPad|src], buffer=0x7fdfc0014360 [GstBuffer]) at ../gst/gstpad.c:4774 #61 0x00007ff8b5f725d7 in gst_base_transform_chain (pad=<optimized out>, parent=0x7ff81412fd00 [GstVideoBalance|videobalance], buffer=0x7fdf537fd460 [None]) at ../libs/gst/base/gstbasetransform.c:2377 #62 0x00007ff8b8c4b89d in gst_pad_chain_data_unchecked (pad=pad@entry=0x7fdfe8047c90 [GstPad|sink], type=type@entry=4112, data=data@entry=0x7fdfc0014360) at ../gst/gstpad.c:4399 #63 0x00007ff8b8c4db19 in gst_pad_push_data (pad=pad@entry=0x7ff8141b65f0 [GstPad|src], type=type@entry=4112, data=data@entry=0x7fdfc0014360) at ../gst/gstpad.c:4655 #64 0x00007ff8b8c55142 in gst_pad_push (pad=0x7ff8141b65f0 [GstPad|src], buffer=0x7fdfc0014360 [GstBuffer]) at ../gst/gstpad.c:4774 #65 0x00007ff8b5f725d7 in gst_base_transform_chain (pad=<optimized out>, parent=0x7ff8141ccd50 [GstVideoScale|scale], buffer=0x7fdf537fd630 [None]) at ../libs/gst/base/gstbasetransform.c:2377 #66 0x00007ff8b8c4b89d in gst_pad_chain_data_unchecked (pad=pad@entry=0x7ff8141b6840 [GstPad|sink], type=type@entry=4112, data=data@entry=0x7fdfc0014360) at ../gst/gstpad.c:4399 #67 0x00007ff8b8c4db19 in gst_pad_push_data (pad=pad@entry=0x7ff8141b6a90 [GstPad|src], type=type@entry=4112, data=data@entry=0x7fdfc0014360) at ../gst/gstpad.c:4655 #68 0x00007ff8b8c55142 in gst_pad_push (pad=0x7ff8141b6a90 [GstPad|src], buffer=0x7fdfc0014360 [GstBuffer]) at ../gst/gstpad.c:4774 #69 0x00007ff8b5f725d7 in gst_base_transform_chain (pad=<optimized out>, parent=0x7ff8141ca100 [GstVideoConvert|conv], buffer=0x7fdf537fd800 [None]) at ../libs/gst/base/gstbasetransform.c:2377 #70 0x00007ff8b8c4b89d in gst_pad_chain_data_unchecked (pad=pad@entry=0x7ff8141b6ce0 [GstPad|sink], type=type@entry=4112, data=data@entry=0x7fdfc0014360) at ../gst/gstpad.c:4399 #71 0x00007ff8b8c4db19 in gst_pad_push_data (pad=pad@entry=0x7fdfb815c5d0 [GstProxyPad|proxypad1072], type=type@entry=4112, data=data@entry=0x7fdfc0014360) at ../gst/gstpad.c:4655 #72 0x00007ff8b8c55142 in gst_pad_push (pad=pad@entry=0x7fdfb815c5d0 [GstProxyPad|proxypad1072], buffer=buffer@entry=0x7fdfc0014360 [GstBuffer]) at ../gst/gstpad.c:4774 #73 0x00007ff8b8c38503 in gst_proxy_pad_chain_default (pad=<optimized out>, parent=<optimized out>, buffer=0x7fdfc0014360 [GstBuffer]) at ../gst/gstghostpad.c:127 #74 0x00007ff8b8c4b89d in gst_pad_chain_data_unchecked (pad=pad@entry=0x7fdfac0eb3d0 [GstGhostPad|sink], type=type@entry=4112, data=data@entry=0x7fdfc0014360) at ../gst/gstpad.c:4399 #75 0x00007ff8b8c4db19 in gst_pad_push_data (pad=pad@entry=0x7fdfe80475a0 [GstPad|src], type=type@entry=4112, data=data@entry=0x7fdfc0014360) at ../gst/gstpad.c:4655 #76 0x00007ff8b8c55142 in gst_pad_push (pad=0x7fdfe80475a0 [GstPad|src], buffer=buffer@entry=0x7fdfc0014360 [GstBuffer]) at ../gst/gstpad.c:4774 #77 0x00007ff8387c2cbb in gst_queue_push_one (queue=0x7fdfe15c3b40 [GstQueue|vqueue]) at ../plugins/elements/gstqueue.c:1386 #78 gst_queue_loop (pad=<optimized out>) at ../plugins/elements/gstqueue.c:1539 #79 0x00007ff8b8c85257 in gst_task_func (task=0x7fdf68057cb0 [GstTask|vqueue:src]) at ../gst/gsttask.c:384 #80 0x00007ff8b8e7dea4 in g_thread_pool_thread_proxy (data=<optimized out>) at ../glib/gthreadpool.c:354 #81 0x00007ff8b8e7d5a1 in g_thread_proxy (data=0x7fdf8400d700) at ../glib/gthread.c:826 #82 0x00007ff8b65054d2 in start_thread (arg=<optimized out>) at pthread_create.c:477 #83 0x00007ff8b878f323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Attachments
Backtrace
(28.96 KB, text/plain)
2024-08-27 11:13 PDT
,
Michael Catanzaro
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Michael Catanzaro
Comment 1
2024-08-27 11:12:52 PDT
I'm attaching a newer backtrace from today. Unfortunately after hitting this crash, I then got distracted by a different crash, so I no longer remember what website I was visiting when this crash occurred.
Michael Catanzaro
Comment 2
2024-08-27 11:13:11 PDT
Created
attachment 472323
[details]
Backtrace
Philippe Normand
Comment 3
2024-08-28 03:52:21 PDT
What's in info->finfo->format and meta->format in frame 4 ?
Michael Catanzaro
Comment 4
2024-08-28 06:44:23 PDT
(gdb) print info->finfo->format $1 = GST_VIDEO_FORMAT_DMA_DRM (gdb) print meta->format $2 = GST_VIDEO_FORMAT_NV1
Michael Catanzaro
Comment 5
2024-08-28 06:44:43 PDT
(In reply to Michael Catanzaro from
comment #4
)
> (gdb) print meta->format > $2 = GST_VIDEO_FORMAT_NV1
Sorry, it's GST_VIDEO_FORMAT_NV12. I missed the last character.
Philippe Normand
Comment 6
2024-08-29 11:34:51 PDT
Alicia said MSE's changeType is currently not supported.
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