WebKitWebProcess crashes when viewing an HTML email with a <video> element
‘Something has gone wrong when displaying the message’, says the alert bar.
Here are minimal steps to reproduce:
- Create a .html file with the following contents:
<html><body><video src="https://gitlab.gnome.org/GNOME/gtk/uploads/a3998120d6283183158157e981e1cdaf/recording-jitter-3.mp4"></video></body></html>
- Create a new message in Evolution, and insert the .html file via the ‘Insert’ > ‘HTML File...’ menu item.
- Save message as draft
- Select that message in the Drafts folder
coredumpctl gdb
gives me this backtrace:
#0 0x00007f829c7056ae in gst_element_query () at /usr/lib/libgstreamer-1.0.so.0
#1 0x00007f82a238339b in () at /usr/lib/libwebkit2gtk-4.0.so.37
#2 0x00007f82a1ccb44d in () at /usr/lib/libwebkit2gtk-4.0.so.37
#3 0x00007f829e372894 in () at /usr/lib/libjavascriptcoregtk-4.0.so.18
#4 0x00007f829e9aabb0 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#5 0x00007f829e9acb11 in () at /usr/lib/libglib-2.0.so.0
#6 0x00007f829e9ada63 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#7 0x00007f829e372d02 in WTF::RunLoop::run() () at /usr/lib/libjavascriptcoregtk-4.0.so.18
#8 0x00007f82a0c3533d in WebProcessMainUnix () at /usr/lib/libwebkit2gtk-4.0.so.37
#9 0x00007f829fea6ee3 in __libc_start_main () at /usr/lib/libc.so.6
#10 0x0000557df649485e in _start ()
It looks like it might be a WebKitGTK or GStreamer bug... but when I open a URL containing that same video in GNOME Web, that works fine. So I'm starting here.
Relevant versions:
- evolution: 3.32.4
- webkit2gtk: 2.24.3
- gstreamer: 1.16.0