Bug 198830 - [GTK] Several media related tests crash sometimes with the same error
Summary: [GTK] Several media related tests crash sometimes with the same error
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-13 07:22 PDT by Miguel Gomez
Modified: 2019-12-11 06:09 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miguel Gomez 2019-06-13 07:22:08 PDT
media/W3C/audio/events/event_canplay.html [ Crash ]
  media/event-attributes.html [ Crash ]
  media/media-controls-cancel-events.html [ Crash ]
  media/media-document-audio-size.html [ Crash ]
  media/track/track-cue-css.html [ Crash ]
  media/track/track-cue-mutable-fragment.html [ Crash ]
  media/track/track-cue-mutable-text.html [ Crash ]
  media/video-controls-captions-trackmenu-hide-on-click-outside.html [ Crash ]
  media/video-controls-captions-trackmenu-hide-on-click.html [ Crash ]
  media/video-controls-show-on-kb-or-ax-event.html [ Crash ]
  media/video-controls.html [ Crash ]
  media/video-currentTime.html [ Crash ]
  media/video-size-intrinsic-scale.html [ Crash ]
  media/video-src.html [ Crash ]
  media/video-timeupdate-reverse-play.html [ Crash ]
  media/video-trackmenu-selection.html [ Crash ]

The tests are really flaky, as sometimes they pass, but the thing is that all of them crash with the same stacktrace that points to the creation of gstreamer's internal glContext:

Thread 1 (Thread 0x7f8cde7fc700 (LWP 16908)):
#0  _g_log_abort () at ../../Source/glib-2.58.1/glib/gmessages.c:557
#1  0x00007f8d85633851 in g_log_writer_default () at ../../Source/glib-2.58.1/glib/gmessages.c:2688
#2  0x00007f8d85631bfc in g_log_structured_array () at ../../Source/glib-2.58.1/glib/gmessages.c:1923
#3  0x00007f8d856325d2 in g_log_structured_standard () at ../../Source/glib-2.58.1/glib/gmessages.c:1980
#4  0x00007f8d83c98b95 in _gdk_x11_display_error_event () at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/WebKitBuild/DependenciesGTK/Source/gtk+-3.22.11/gdk/x11/gdkdisplay-x11.c:2579
#5  0x00007f8d83ca4fe3 in gdk_x_error () at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/WebKitBuild/DependenciesGTK/Source/gtk+-3.22.11/gdk/x11/gdkmain-x11.c:307
#6  0x00007f8d8522b11a in _XError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#7  0x00007f8d86f1ae92 in __glXSendErrorForXcb () at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/WebKitBuild/DependenciesGTK/Source/Mesa/src/glx/glx_error.c:81
#8  0x00007f8d86f17224 in glXCreateContextAttribsARB () at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/WebKitBuild/DependenciesGTK/Source/Mesa/src/glx/create_context.c:119
#9  0x00007f8d862111f8 in _create_context_with_flags () at ../../Source/gst-plugins-base-1.16.0/gst-libs/gst/gl/x11/gstglcontext_glx.c:182
#10 gst_gl_context_glx_create_context () at ../../Source/gst-plugins-base-1.16.0/gst-libs/gst/gl/x11/gstglcontext_glx.c:263
#11 0x00007f8d861eaf3d in gst_gl_context_create_thread () at ../../Source/gst-plugins-base-1.16.0/gst-libs/gst/gl/gstglcontext.c:1238
#12 0x00007f8d85653835 in g_thread_proxy () at ../../Source/glib-2.58.1/glib/gthread.c:784
#13 0x00007f8d85e4afa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#14 0x00007f8d8452e4cf in clone () from /lib/x86_64-linux-gnu/libc.so.6

STDERR: 
STDERR: warning: core file may not match specified executable file.
STDERR: BFD: /usr/lib/debug/.build-id/d3/583c742dd47aaa860c5ae0c0c5bdbcd2d54f61.debug: unable to initialize decompress status for section .debug_aranges
STDERR: BFD: /usr/lib/debug/.build-id/d3/583c742dd47aaa860c5ae0c0c5bdbcd2d54f61.debug: unable to initialize decompress status for section .debug_aranges
STDERR: 
STDERR: warning: File "/usr/lib/debug/.build-id/d3/583c742dd47aaa860c5ae0c0c5bdbcd2d54f61.debug" has no build-id, file skipped
STDERR: BFD: /usr/lib/debug/.build-id/88/5dda4b4a5cea600e7b5b98c1ad86996c8d2299.debug: unable to initialize decompress status for section .debug_aranges
STDERR: BFD: /usr/lib/debug/.build-id/88/5dda4b4a5cea600e7b5b98c1ad86996c8d2299.debug: unable to initialize decompress status for section .debug_aranges
STDERR: 
STDERR: warning: File "/usr/lib/debug/.build-id/88/5dda4b4a5cea600e7b5b98c1ad86996c8d2299.debug" has no build-id, file skipped
STDERR: BFD: /usr/lib/debug/.build-id/18/b9a9a8c523e5cfe5b5d946d605d09242f09798.debug: unable to initialize decompress status for section .debug_aranges
STDERR: BFD: /usr/lib/debug/.build-id/18/b9a9a8c523e5cfe5b5d946d605d09242f09798.debug: unable to initialize decompress status for section .debug_aranges
STDERR: 
STDERR: warning: File "/usr/lib/debug/.build-id/18/b9a9a8c523e5cfe5b5d946d605d09242f09798.debug" has no build-id, file skipped
STDERR: BFD: /usr/lib/debug/.build-id/5d/cf98ad684962be494af28a1051793fd39e4ebc.debug: unable to initialize decompress status for section .debug_aranges
STDERR: BFD: /usr/lib/debug/.build-id/5d/cf98ad684962be494af28a1051793fd39e4ebc.debug: unable to initialize decompress status for section .debug_aranges
STDERR: 
STDERR: warning: File "/usr/lib/debug/.build-id/5d/cf98ad684962be494af28a1051793fd39e4ebc.debug" has no build-id, file skipped
STDERR: BFD: /usr/lib/debug/.build-id/f2/5dfd7b95be4ba386fd71080accae8c0732b711.debug: unable to initialize decompress status for section .debug_aranges
STDERR: BFD: /usr/lib/debug/.build-id/f2/5dfd7b95be4ba386fd71080accae8c0732b711.debug: unable to initialize decompress status for section .debug_aranges
STDERR: 
STDERR: warning: File "/usr/lib/debug/.build-id/f2/5dfd7b95be4ba386fd71080accae8c0732b711.debug" has no build-id, file skipped
STDERR: BFD: /usr/lib/debug/.build-id/02/6c3ba167f64f631eb8781fca2269fbc2ee7ca5.debug: unable to initialize decompress status for section .debug_aranges
STDERR: BFD: /usr/lib/debug/.build-id/02/6c3ba167f64f631eb8781fca2269fbc2ee7ca5.debug: unable to initialize decompress status for section .debug_aranges
STDERR: 
STDERR: warning: File "/usr/lib/debug/.build-id/02/6c3ba167f64f631eb8781fca2269fbc2ee7ca5.debug" has no build-id, file skipped
STDERR: BFD: /usr/lib/debug/.build-id/53/2f3d2053a6b311dd5c43019780fe1ce5503a9a.debug: unable to initialize decompress status for section .debug_aranges
STDERR: BFD: /usr/lib/debug/.build-id/53/2f3d2053a6b311dd5c43019780fe1ce5503a9a.debug: unable to initialize decompress status for section .debug_aranges
STDERR: 
STDERR: warning: File "/usr/lib/debug/.build-id/53/2f3d2053a6b311dd5c43019780fe1ce5503a9a.debug" has no build-id, file skipped
STDERR: failed to create drawable
STDERR: 
STDERR: (WebKitWebProcess:16864): Gdk-ERROR **: 02:35:45.511: The program 'WebKitWebProcess' received an X Window System error.
STDERR: This probably reflects a bug in the program.
STDERR: The error was 'BadMatch (invalid parameter attributes)'.
STDERR:   (Details: serial 249 error_code 8 request_code 148 (GLX) minor_code 34)
STDERR:   (Note to programmers: normally, X errors are reported asynchronously;
STDERR:    that is, you will receive the error a while after causing it.
STDERR:    To debug your program, run it with the GDK_SYNCHRONIZE environment
STDERR:    variable to change this behavior. You can then get a meaningful
STDERR:    backtrace from your debugger if you break on the gdk_x_error() function.)
Comment 1 Miguel Gomez 2019-07-11 08:12:54 PDT
And more crashing somtimes with the same trace

  imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/event_loadedmetadata_noautoplay.html [ Crash ]
  imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/event_playing_noautoplay.html [ Crash ]
  imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/readyState_during_playing.html [ Crash ]
  media/audio-controls-rendering.html [ Crash ]
  media/media-fullscreen-inline.html [ Crash ]
  media/nodesFromRect-shadowContent.html [ Crash ]
  media/progress-events-generated-correctly.html [ Crash ]
  media/track/track-mode-disabled-crash.html [ Crash ]
  media/W3C/video/events/event_canplay.html [ Crash ]
  media/W3C/video/paused/paused_false_during_play.html [ Crash ]
  media/W3C/video/readyState/readyState_during_playing.html [ Crash ]
Comment 2 Miguel Gomez 2019-08-08 06:49:47 PDT
More tests crashing with the same bt:

http/tests/media/media-document-referer.html [ Crash ]
media/accessibility-closed-captions-has-aria-owns.html [ Crash ]
media/W3C/video/events/event_canplay_manual.html [ Crash ]
media/W3C/video/events/event_canplaythrough.html [ Crash ]
media/W3C/video/events/event_playing_manual.html [ Crash ]
media/W3C/video/readyState/readyState_during_loadeddata.html [ Crash ]
media/W3C/video/readyState/readyState_during_loadedmetadata.html [ Crash ]
media/track/track-active-cues.html [ Crash ]
media/track/track-css-all-cues.html [ Crash ]
Comment 3 Miguel Gomez 2019-11-28 01:18:05 PST
More tests crashing because of this. Some of them also timeout sometimes:

media/media-fragments/TC0003.html [ Pass Crash ]
media/media-fragments/TC0033.html [ Pass Crash ]
media/media-fragments/TC0055.html [ Pass Timeout Crash ]
media/media-fragments/TC0035.html [ Pass Timeout Crash ]
media/media-fragments/TC0039.html [ Pass Timeout Crash ]
media/media-fragments/TC0052.html [ Pass Timeout Crash ]
media/media-fragments/TC0053.html [ Pass Timeout Crash ]
media/media-fragments/TC0054.html [ Pass Timeout Crash ]
media/media-fragments/TC0059.html [ Pass Timeout Crash ]
Comment 4 Miguel Gomez 2019-11-28 01:57:32 PST
And more:

media/W3C/video/readyState/readyState_during_canplay.html [ Pass Crash ]
media/W3C/video/readyState/readyState_during_canplaythrough.html [ Pass Crash ]
media/audio-only-video-intrinsic-size.html [ Pass Crash ]
media/media-controls-timeline-updates-after-playing.html [ Pass Timeout Crash ]
media/media-controls-timeline-updates-when-hovered.html [ Pass Crash ]
media/track/track-cue-left-align.html [ Pass Crash ]
media/audio-controls-timeline-in-media-document.html [ Failure Pass Crash ]
media/auto-play-in-sandbox-with-allow-scripts.html [ Pass Timeout Crash ]
media/track/track-cues-pause-on-exit.html [ Pass Timeout Crash ]
media/track/video/video-track-mkv-theora-selected.html [ Failure Timeout Pass Crash ]
media/media-source/media-source-paint-to-canvas.html [ Failure Timeout ]
Comment 5 Miguel Gomez 2019-12-11 05:39:34 PST
And more:
media/W3C/video/events/event_loadedmetadata_manual.html [ Crash Pass ]
media/W3C/video/networkState/networkState_during_progress.html [ Crash Pass ]
media/media-controls-drag-timeline-set-controls-property.html [ Crash Pass ]
media/media-fragments/TC0070.html [ Crash Pass ]
media/media-fragments/TC0088.html [ Crash Pass ]
media/track/track-mode-not-changed-by-new-track.html [ Crash Pass ]
media/video-buffering-allowed.html [ Crash Pass ]
media/video-dom-autoplay.html [ Crash Pass ]
userscripts/user-script-audio-document.html [ Crash Pass ]
Comment 6 Philippe Normand 2019-12-11 05:41:30 PST
Was any investigation done to fix this X11 crash?
Comment 7 Miguel Gomez 2019-12-11 06:09:55 PST
(In reply to Philippe Normand from comment #6)
> Was any investigation done to fix this X11 crash?

Not that I know of.