Bug 259032

Summary: [GStreamer] On reddit.com, gst video info assertion failed
Product: WebKit Reporter: Kdwk <kdwkleung>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: bugs-noreply, clopez, mcatanzaro, philn, vjaquez
Priority: P2    
Version: WebKit Nightly Build   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
gdb (bt full) output
none
gdb (t a a bt) output
none
gdb (bt full; c) output
none
gdb (t a a bt; c) output none

Description Kdwk 2023-07-09 05:54:32 PDT
Created attachment 466990 [details]
gdb (bt full) output

See attached backtraces.
Comment 1 Kdwk 2023-07-09 05:54:49 PDT
Created attachment 466991 [details]
gdb (t a a bt) output
Comment 2 Michael Catanzaro 2023-07-09 07:26:43 PDT
You forgot to press 'c' for 'continue' again
Comment 3 Víctor M. Jáquez L. 2023-07-09 13:21:41 PDT
Can you point out what video reproduces that crash? what page on reddit, exactly?
Comment 4 Víctor M. Jáquez L. 2023-07-09 13:25:29 PDT
would be nice to have all the threads dumped
Comment 5 Kdwk 2023-07-10 00:52:29 PDT
(In reply to Michael Catanzaro from comment #2)
> You forgot to press 'c' for 'continue' again

Ah dang it
Comment 6 Carlos Alberto Lopez Perez 2023-07-10 05:32:23 PDT
tip: use the following command to get the BT with threads

gdb --batch -ex "thread apply all bt full" /full/path/to/WebKitWebProcess core &> backtrace.txt
Comment 7 Kdwk 2023-07-10 05:59:18 PDT
Unfortunately, there was another WebProcess crash and I can't access this crash anymore via flatpak-coredumpctl
Comment 8 Kdwk 2023-07-10 06:16:36 PDT
Created attachment 467002 [details]
gdb (bt full; c) output

Hit it again.
Comment 9 Kdwk 2023-07-10 06:18:24 PDT
Created attachment 467003 [details]
gdb (t a a bt; c) output
Comment 10 Philippe Normand 2023-07-10 13:52:57 PDT
 (GST_VIDEO_INFO_WIDTH (&input_state->info) == GST_VIDEO_INFO_WIDTH (&base->input_state->info) && GST_VIDEO_INFO_HEIGHT (&input_state->info) == GST_VIDEO_INFO_HEIGHT (&input_state->in"
Comment 11 Philippe Normand 2023-07-10 13:54:14 PDT
I think for this kind of bug, without a clear reproducer, I'm not sure there's much we can do.
Comment 12 Kdwk 2023-07-11 04:06:49 PDT
I think the reproducer is simply "go to reddit.com and scroll until there's a video". This happens whenever there's a video on screen
Comment 13 Kdwk 2023-07-11 04:10:15 PDT
For e.g. this can be triggered by going to https://www.reddit.com/r/BeAmazed and playing a couple of videos
Comment 14 Philippe Normand 2023-07-22 11:49:07 PDT
Is this happening in Canary too?
I really can't reproduce this here, sorry.
Comment 15 Philippe Normand 2023-07-25 12:05:37 PDT
No reply, I guess this can be re-opened if/when feedback re-appears.
Comment 16 Víctor M. Jáquez L. 2023-08-24 04:40:40 PDT
Still, I have cooked a patch for this.

https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5237