WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
275205
[GStreamer] Crash in WebCore::VideoFrameGStreamer::createWrappedSample when used by ImageDecoderGStreamer
https://bugs.webkit.org/show_bug.cgi?id=275205
Summary
[GStreamer] Crash in WebCore::VideoFrameGStreamer::createWrappedSample when u...
Michael Catanzaro
Reported
2024-06-06 03:32:04 PDT
Created
attachment 471605
[details]
Full backtrace Splitting this from
bug #275178
. Load
https://www.vox.com/future-perfect/352359/milk-dairy-schools
and it will usually crash. I'll attach a full backtrace, but notably, in frame 10: #10 0x00007feb6be1ce48 in WebCore::ImageDecoderGStreamer::ImageDecoderGStreamer (this=0x7fea73d94480, data=..., mimeType=Python Exception <class 'gdb.error'>: No symbol "operator&" in current context. ) at /home/mcatanzaro/Projects/WebKit/Source/WebCore/platform/graphics/gstreamer/ImageDecoderGStreamer.cpp:151 parsebin = {m_ptr = 0x0 [_GstElement]} <-- that looks bad
Attachments
Full backtrace
(20.27 KB, text/plain)
2024-06-06 03:32 PDT
,
Michael Catanzaro
no flags
Details
GStreamer log
(185.98 KB, text/x-log)
2024-06-06 03:34 PDT
,
Michael Catanzaro
no flags
Details
dots
(172 bytes, application/zip)
2024-06-06 03:34 PDT
,
Michael Catanzaro
no flags
Details
Even more debug log
(335.11 KB, text/plain)
2024-06-07 03:54 PDT
,
Michael Catanzaro
no flags
Details
Dump 1
(3.82 KB, text/plain)
2024-06-07 04:13 PDT
,
Michael Catanzaro
no flags
Details
Dump 2
(4.65 KB, text/plain)
2024-06-07 04:13 PDT
,
Michael Catanzaro
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Michael Catanzaro
Comment 1
2024-06-06 03:34:35 PDT
Created
attachment 471606
[details]
GStreamer log
Michael Catanzaro
Comment 2
2024-06-06 03:34:56 PDT
Created
attachment 471607
[details]
dots
Philippe Normand
Comment 3
2024-06-07 00:11:47 PDT
All I get here is the
bug 260455
crash.
Philippe Normand
Comment 4
2024-06-07 00:17:02 PDT
That's the weird thing: GStreamerElementHarness.cpp:368:outputCaps:<openh264dec0:src>[00m Output caps: audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)1, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)1390, rate=(int)22050, channels=(int)2 We somehow end-up with a video decoder harness configured to output raw audio...
Philippe Normand
Comment 5
2024-06-07 01:54:07 PDT
Can you get harness dumps? With this env var, WEBKIT_GST_HARNESS_DUMP_DIR=/some/path you should get .mmd files in /some/path
Philippe Normand
Comment 6
2024-06-07 02:14:53 PDT
And webkit*:9 GST_DEBUG please :)
Philippe Normand
Comment 7
2024-06-07 02:20:54 PDT
Either my harness to mermaid graphing is bugged, or we have a big issue in the harness :/
https://mermaid.live/view#pako:eNrtWN2OnDYUfhVEb4MWG_YnaLVSm23aSr1Is1Fvwgh5wcyg5S9gNruKIvVp-mB9ktowDLaxwVNNG2nVuZiBw3c-n-8c22POFzuuEmwHdppXn-Mdaoj16_uwbLv7bYPqnZUVaIudBDNU49SoaemPG7nWx-sYlwQ3Nz-15B0z_5CVYVhetwXK8xu124YjRijuzTACAtf3KO7pJq4DUu3eZuWD9ZF90-e4TNSgJqaYJh4hkrvjOCI4LHNqvyPPObZcqyVN9YCdz1lCdoFbP-1J4hy1rSAE57igSt6wB4o4QAQNtYKN0t1AK9BqBXOtQNYKzLQyISta3cgz1KqcFq6JVler1Z1rdWWt0EwrE6LRGqO6TbOcKnQjX1D7hj552z-Z9HLojYZkQbMAk1TPKJhuyYFX7i0rF2VptO_ghb_Pz7kg_Wf6QKr0hN2oGRZ08yhJtkzAVItwXrS_LFrQo9H8iSS46J7c6EJQ_NuHW2ae9I64jcp3QesB85gluGKb7P5Cj0RdkvXI_cUaEoxIsIaEIxKOSFECy7YcMJ_v8-V8c7nUZJs81zjNyiS6FLL9gZrfUvOPg9eU9RG_UXEsZH3CSPNLdGZ6eSiv9WJZK6dEo1XzN7sQNT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xeGbxeKbxeOp4-o7NLU4t3pH-Q-bBd2mK6IeH8EtmwDBEmnKY2ZIduRL6meHmhAwmEPL9o8OgLLSwtF_Z9CWBHoETO7C_hKVlhTbZUXhoB_QywSnqchLaYfmVQlFHqrvnMrYDdop4ZTdVt93ZQYrylt51NT0D4NsMbelRY4B8_Rubgqpr
Michael Catanzaro
Comment 8
2024-06-07 03:54:13 PDT
Created
attachment 471618
[details]
Even more debug log
Michael Catanzaro
Comment 9
2024-06-07 04:08:45 PDT
Well I hit the crash probably at least 5 times just now, but each time I did something wrong (forgot to disable sandbox, used the wrong path in WEBKIT_GST_HARNESS_DUMP_DIR=, used Epiphany rather than MiniBrowser causing the web process to crash due to the gst-editing-services critical when setting GST_DEBUG=) and in each case failed to get the requested dumps. Now that I've got the command right and can create the .mmd files, the crash has disappeared and I'm hitting the crash from
bug #260723
instead, almost every time. Sometimes I also see
bug #260455
or I hit a different crash in skia, but I'm not going to report a bug for the skia crash because I'm pretty sure it's caused by running out of file descriptors, so
bug #260723
again. I also see MediaPlayerPrivateGStreamer.cpp error messages indicating that TextureMapperPlatformLayerProxyDMABuf is broken, but again I'm pretty confident that's caused by running out of file descriptors, so won't post them. Finally I figured out that this
bug #275205
never occurs when the sandbox is disabled. That's strange. That means there is also no good way to get the requested .mmd files. I will try to sabotage the sandbox a bit.
Michael Catanzaro
Comment 10
2024-06-07 04:13:25 PDT
Created
attachment 471619
[details]
Dump 1
Michael Catanzaro
Comment 11
2024-06-07 04:13:33 PDT
Created
attachment 471620
[details]
Dump 2
Philippe Normand
Comment 12
2024-06-11 01:52:24 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/29706
EWS
Comment 13
2024-06-12 01:47:42 PDT
Committed
279942@main
(2d3841081a44): <
https://commits.webkit.org/279942@main
> Reviewed commits have been landed. Closing PR #29706 and removing active labels.
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