<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>198830</bug_id>
          
          <creation_ts>2019-06-13 07:22:08 -0700</creation_ts>
          <short_desc>[GTK] Several media related tests crash sometimes with the same error</short_desc>
          <delta_ts>2021-07-02 03:48:38 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugzilla.redhat.com/show_bug.cgi?id=1732799</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=210635</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Miguel Gomez">magomez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>calvaris</cc>
    
    <cc>cturner</cc>
    
    <cc>dpino</cc>
    
    <cc>lmoura</cc>
    
    <cc>pnormand</cc>
    
    <cc>tpopela</cc>
    
    <cc>vjaquez</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1544468</commentid>
    <comment_count>0</comment_count>
    <who name="Miguel Gomez">magomez</who>
    <bug_when>2019-06-13 07:22:08 -0700</bug_when>
    <thetext>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&apos;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=&lt;optimized out&gt;) 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 &quot;/usr/lib/debug/.build-id/d3/583c742dd47aaa860c5ae0c0c5bdbcd2d54f61.debug&quot; 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 &quot;/usr/lib/debug/.build-id/88/5dda4b4a5cea600e7b5b98c1ad86996c8d2299.debug&quot; 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 &quot;/usr/lib/debug/.build-id/18/b9a9a8c523e5cfe5b5d946d605d09242f09798.debug&quot; 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 &quot;/usr/lib/debug/.build-id/5d/cf98ad684962be494af28a1051793fd39e4ebc.debug&quot; 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 &quot;/usr/lib/debug/.build-id/f2/5dfd7b95be4ba386fd71080accae8c0732b711.debug&quot; 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 &quot;/usr/lib/debug/.build-id/02/6c3ba167f64f631eb8781fca2269fbc2ee7ca5.debug&quot; 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 &quot;/usr/lib/debug/.build-id/53/2f3d2053a6b311dd5c43019780fe1ce5503a9a.debug&quot; has no build-id, file skipped
STDERR: failed to create drawable
STDERR: 
STDERR: (WebKitWebProcess:16864): Gdk-ERROR **: 02:35:45.511: The program &apos;WebKitWebProcess&apos; received an X Window System error.
STDERR: This probably reflects a bug in the program.
STDERR: The error was &apos;BadMatch (invalid parameter attributes)&apos;.
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.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1552063</commentid>
    <comment_count>1</comment_count>
    <who name="Miguel Gomez">magomez</who>
    <bug_when>2019-07-11 08:12:54 -0700</bug_when>
    <thetext>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 ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1559498</commentid>
    <comment_count>2</comment_count>
    <who name="Miguel Gomez">magomez</who>
    <bug_when>2019-08-08 06:49:47 -0700</bug_when>
    <thetext>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 ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1593974</commentid>
    <comment_count>3</comment_count>
    <who name="Miguel Gomez">magomez</who>
    <bug_when>2019-11-28 01:18:05 -0800</bug_when>
    <thetext>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 ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1593978</commentid>
    <comment_count>4</comment_count>
    <who name="Miguel Gomez">magomez</who>
    <bug_when>2019-11-28 01:57:32 -0800</bug_when>
    <thetext>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 ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1597590</commentid>
    <comment_count>5</comment_count>
    <who name="Miguel Gomez">magomez</who>
    <bug_when>2019-12-11 05:39:34 -0800</bug_when>
    <thetext>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 ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1597591</commentid>
    <comment_count>6</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2019-12-11 05:41:30 -0800</bug_when>
    <thetext>Was any investigation done to fix this X11 crash?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1597597</commentid>
    <comment_count>7</comment_count>
    <who name="Miguel Gomez">magomez</who>
    <bug_when>2019-12-11 06:09:55 -0800</bug_when>
    <thetext>(In reply to Philippe Normand from comment #6)
&gt; Was any investigation done to fix this X11 crash?

Not that I know of.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1611016</commentid>
    <comment_count>8</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2020-01-25 04:17:23 -0800</bug_when>
    <thetext>More tests:

  * media/W3C/video/events/event_order_canplay_playing.html [ Crash ]
  * media/audio-as-video-fullscreen.html [ Crash ]
  * media/audio-repaint.html [ Crash ]
  * media/controls-styling-strict.html [ Crash ]
  * media/media-controller-timeupdate.html [ Crash ]
  * media/media-controls-invalid-url.html [ Crash ]
  * media/media-controls-play-button-updates.html [ Crash ]
  * media/media-fragments/TC0031.html [ Crash ]
  * media/media-fragments/TC0072.html [ Crash ]
  * media/media-fragments/TC0081.html [ Crash ]
  * media/media-fragments/TC0094.html [ Crash ]
  * media/track/track-cue-rendering-on-resize.html [ Crash ]
  * media/track/track-cue-rendering-tree-is-removed-properly.html [ Crash ]
  * media/track/track-cues-sorted-before-dispatch.html [ Crash ]
  * media/track/track-disabled.html [ Crash ]
  * media/track/track-in-band-cues-added-once.html [ Crash ]
  * media/track/track-insert-after-load-crash.html [ Crash ]
  * media/track/track-remove-active-cue-crash.html [ Crash ]
  * media/track/video-track.html [ Crash ]
  * media/video-autoplay-allowed-but-fullscreen-required.html [ Crash ]
  * media/video-controls-captions-trackmenu-only-captions-descriptions-and-subtitles.html [ Crash ]
  * media/video-controls-drop-and-restore-timeline.html [ Crash ]
  * media/video-controls-fullscreen-volume.html [ Crash ]
  * media/video-controls-visible-audio-only.html [ Crash ]
  * media/video-does-not-loop.html [ Crash ]
  * media/video-element-other-namespace-crash.html [ Crash ]
  * media/video-fullscreen-only-controls.html [ Crash ]
  * media/video-fullscreen-only-playback.html [ Crash ]
  * media/video-fullscreen-reload-crash.html [ Crash ]
  * media/video-muted-holds-sleep-assertion.html [ Crash ]
  * media/video-pause-play-resolve.html [ Crash ]
  * media/video-play-empty-events.html [ Crash ]
  * media/video-playback-restriction-play-before-load.html [ Crash ]
  * media/video-seek-double.html [ Crash ]
  * media/video-seek-past-end-playing.html [ Crash ]
  * media/video-seekable.html [ Crash ]
  * media/video-source-type.html [ Crash ]
  * media/video-system-sleep.html [ Crash ]
  * media/video-timeupdate-during-playback.html [ Crash ]
  * media/video-volume-slider-drag.html [ Crash ]
  * media/video-volume.html [ Crash ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1612110</commentid>
    <comment_count>9</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2020-01-28 12:28:59 -0800</bug_when>
    <thetext>About one week before this bug was reported, the xcb package was upgraded in the test bot:

&gt; slave@bb-webkit-release-test-64 /var/log $ zgrep xcb1-dev dpkg.log.3.gz 
&gt; 2019-06-04 01:08:53 upgrade libxcb1-dev:amd64 1.12-1 1.13.1-2

There is also this bug reported in upstream xcb about Skype (Chromium-based) freezing when playing video :

* [Regression 1.12-&gt;1.13] &quot;read from connection when polling&quot; causes video to freeze
  https://gitlab.freedesktop.org/xorg/lib/libxcb/issues/19

I tried reverting the referenced commit to see if it changed something but the last set of tests reported by Diego kept crashing.

There is also some other bugs that may be related:

* Gstreamer: [glimagesink: Xlib / xcb assertion with client-draw signal]
  https://bugzilla.gnome.org/show_bug.cgi?id=754198
  * Closed and opened the mesa bug below as it was assumed it is a driver issue

* Mesa: [crash OpenGL rendering to multiple X11 Window in multiple threads]
  https://gitlab.freedesktop.org/mesa/mesa/issues/754
  * No new action other than the initial report

* Ubuntu GTK2 app: [!xcb_xlib_threads_sequence_lost error with GTK2 applications]
  https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/1808710</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1618372</commentid>
    <comment_count>10</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2020-02-12 19:16:29 -0800</bug_when>
    <thetext>Another bunch of tests with similar behavior:


* imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/event_loadeddata_noautoplay.html
* imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/event_loadedmetadata.html
* imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/event_pause_noautoplay.html
* imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/networkState_during_progress.html
* imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/paused_false_during_play.html
* imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/readyState_during_loadedmetadata.html	
* media/media-controller-time.html
* media/presentationmodechanged-fired-once.html
* media/restore-from-page-cache.html
* media/track/track-in-band-duplicate-tracks-when-source-changes.html
* media/track/track-in-band-legacy-api.html
* media/track/track-kind.html
* media/track/video/video-track-mkv-theora-addtrack.html
* media/track/video/video-track-mkv-theora-language.html
* media/video-controls-audiotracks-trackmenu.html
* media/video-controls-captions-trackmenu.html
* media/video-controls-in-media-document.html
* media/video-controls-no-display-with-text-track.html
* media/video-muted.html
* media/video-playing-and-pause.html

from:

https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20(Tests)/r256478%20(12645)/results.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1618431</commentid>
    <comment_count>11</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2020-02-13 02:45:39 -0800</bug_when>
    <thetext>Was a Mesa upgrade ever considered? I see that Mesa 19.0.4 fixed https://bugs.freedesktop.org/show_bug.cgi?id=99781 which looks exactly like the assert we&apos;re hitting...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1618432</commentid>
    <comment_count>12</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2020-02-13 02:48:42 -0800</bug_when>
    <thetext>(In reply to Philippe Normand from comment #11)
&gt; Was a Mesa upgrade ever considered? I see that Mesa 19.0.4 fixed
&gt; https://bugs.freedesktop.org/show_bug.cgi?id=99781 which looks exactly like
&gt; the assert we&apos;re hitting...

Looks like this patch was reverted. Oh well. I think a Mesa upgrade would still be worth a try.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1618824</commentid>
    <comment_count>13</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2020-02-13 18:28:59 -0800</bug_when>
    <thetext>Few more crashes from build 12649: https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20(Tests)/r256503%20(12649)/results.html

* http/tests/media/autoplay-if-audio-is-playing.html
* imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/event_canplay.html
* imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/event_loadeddata.html
* imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/event_loadstart.html
* imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/event_order_canplay_playing.html
* imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/event_progress_noautoplay.html
* imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/networkState_during_loadstart.html
* imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/readyState_during_loadeddata.html
* media/controls-styling.html
* media/media-controller-time-clamp.html
* media/media-controls-timeline-updates.html
* media/media-document-audio-controls-visible.html
* media/media-document-audio-repaint.html
* media/media-fragments/TC0004.html
* media/media-fragments/TC0005.html
* media/media-fragments/TC0006.html
* media/media-fragments/TC0030.html
* media/media-fragments/TC0032.html
* media/media-fragments/TC0076.html
* media/media-fragments/TC0093.html
* media/track/audio/audio-track-mkv-vorbis-addtrack.html
* media/track/track-css-matching-lang.html
* media/track/track-css-user-override.html
* media/track/track-in-band-style.html
* media/track/track-mode-disabled-crash.html
* media/video-concurrent-playback.html
* media/video-controls-captions-trackmenu-includes-enabled-track.html
* media/video-ended-seek-crash.html
* media/video-inactive-playback.html
* media/video-load-preload-metadata-naturalsize.html
* media/video-restricted-no-preload-auto.html
* media/W3C/audio/events/event_canplay_manual.html
* media/W3C/audio/events/event_canplaythrough.html
* media/W3C/video/events/event_loadeddata_manual.html
* media/W3C/video/events/event_loadeddata.html
* media/W3C/video/events/event_loadedmetadata.html
* media/W3C/video/events/event_loadstart.html
* media/W3C/video/events/event_order_loadstart_progress.html
* media/W3C/video/events/event_timeupdate.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1623080</commentid>
    <comment_count>14</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2020-02-26 11:27:11 -0800</bug_when>
    <thetext>Marking more tests as flaky failures:

 * http/tests/security/contentSecurityPolicy/media-src-allowed.html [ Crash ]
  * imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/event_playing.html [ Crash ]
  * imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/readyState_during_canplay.html [ Crash ]
  * imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/readyState_during_canplaythrough.html [ Crash ]
  * imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/track/track-element/track-cue-rendering-after-controls-removed.html [ Crash ]
  * media/media-controller-time-constant.html [ Crash ]
  * media/media-fragments/TC0002.html [ Crash ]
  * media/media-fragments/TC0051.html [ Crash ]
  * media/media-fragments/TC0068.html [ Crash ]
  * media/media-fragments/TC0086.html [ Crash ]
  * media/media-fragments/TC0087.html [ Crash ]
  * media/remote-control-command-is-user-gesture.html [ Crash ]
  * media/remote-control-command-seek.html [ Crash ]
  * media/sources-fallback-codecs.html [ Crash ]
  * media/track/track-cue-rendering-mode-changed.html [ Crash ]
  * media/track/track-cues-seeking.html [ Crash ]
  * media/track/track-delete-during-setup.html [ Crash ]
  * media/track/track-long-word-container-sizing.html [ Crash ]
  * media/track/track-remove-by-setting-innerHTML.html [ Crash ]
  * media/track/track-remove-crash.html [ Crash ]
  * media/video-append-source.html [ Crash ]
  * media/video-currentTime-set2.html [ Crash ]
  * media/video-no-autoplay.html [ Crash ]
  * media/video-reverse-play-duration.html [ Crash ]
  * media/video-unmuted-after-play-holds-sleep-assertion.html [ Crash ]
  * userscripts/user-script-video-document.html [ Crash ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1635987</commentid>
    <comment_count>15</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2020-03-31 06:16:13 -0700</bug_when>
    <thetext>media/track/track-cue-container-rendering-position.html which is returning Crash occasionally and is an entry in TestExpectations, should be tracked under this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1637859</commentid>
    <comment_count>16</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2020-04-05 04:19:53 -0700</bug_when>
    <thetext>Added a couple more to the mix:

* compositing/overflow/overflow-compositing-descendant.html
* http/tests/media/user-gesture-preserved-across-xmlhttprequest.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1640726</commentid>
    <comment_count>17</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2020-04-12 12:32:59 -0700</bug_when>
    <thetext>Some more crashes:

* media/video-plays-past-end-of-test.html
* media/audio-play-with-video-element.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1640742</commentid>
    <comment_count>18</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2020-04-12 14:40:40 -0700</bug_when>
    <thetext>Looking at this stack trace reported almost a year ago, I&apos;d just recommend to skip all media tests relying on &lt;video&gt; until someone upgrades Mesa (or gets the bots migrated to Flatpak, which has a more recent release), otherwise comments will just keep piling up here :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1653989</commentid>
    <comment_count>19</comment_count>
    <who name="Charlie Turner">cturner</who>
    <bug_when>2020-05-19 07:38:11 -0700</bug_when>
    <thetext>I was surprised to find this during working on web view tests that also have issues https://bugs.webkit.org/show_bug.cgi?id=210635

(In reply to Philippe Normand from comment #11)
&gt; Was a Mesa upgrade ever considered? I see that Mesa 19.0.4 fixed
&gt; https://bugs.freedesktop.org/show_bug.cgi?id=99781 which looks exactly like
&gt; the assert we&apos;re hitting...

I&apos;m running on Debian Buster with 18.3.6, and I can&apos;t reproduce a crash in media/media-fragments at least, however this is obviously a threading issue, probably more easily reproducible on a machine like the bot with lots of hardware concurrency than my laptop.

Maybe Debian has patched Mesa, maybe not. I also run with a master GStreamer, maybe an upgrade there helps (don&apos;t know what is on the bot)

Skipping all the media tests is not a solution, it&apos;s going to make our media backend even less stable than it already is. Is it possible someone with access to the bot can try these upgrades?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1657258</commentid>
    <comment_count>20</comment_count>
    <who name="Xabier Rodríguez Calvar">calvaris</who>
    <bug_when>2020-05-29 08:08:33 -0700</bug_when>
    <thetext>(In reply to Charlie Turner from comment #19)
&gt; I&apos;m running on Debian Buster with 18.3.6, and I can&apos;t reproduce a crash in
&gt; media/media-fragments at least, however this is obviously a threading issue,
&gt; probably more easily reproducible on a machine like the bot with lots of
&gt; hardware concurrency than my laptop.
&gt; 
&gt; Maybe Debian has patched Mesa, maybe not. I also run with a master
&gt; GStreamer, maybe an upgrade there helps (don&apos;t know what is on the bot)
&gt; 
&gt; Skipping all the media tests is not a solution, it&apos;s going to make our media
&gt; backend even less stable than it already is. Is it possible someone with
&gt; access to the bot can try these upgrades?

I have Debian testing with 19.3.3-1, but I am running it from JHBuild, so whatever version there is there, GStreamer included. I can reproduce the bug so I guess if this is fixed, it would be in GStreamer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1701815</commentid>
    <comment_count>21</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2020-10-27 03:33:54 -0700</bug_when>
    <thetext>Most of these are no longer flaky, expectations updated in r269029.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1703014</commentid>
    <comment_count>22</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2020-10-30 03:27:51 -0700</bug_when>
    <thetext>Another update in r269180</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1747856</commentid>
    <comment_count>23</comment_count>
    <who name="Xabier Rodríguez Calvar">calvaris</who>
    <bug_when>2021-04-07 05:12:42 -0700</bug_when>
    <thetext>After my checks I would change:

media/event-attributes.html [ Failure ]
media/media-document-audio-size.html [ Pass ]
media/track/track-cue-css.html [ Pass ImageOnlyFailure ]
media/progress-events-generated-correctly.html [ Failure ]
media/video-dom-autoplay.html [ Pass ]
userscripts/user-script-audio-document.html [ Pass ]
media/video-fullscreen-reload-crash.html [ Pass ]
media/track/audio/audio-track-mkv-vorbis-addtrack.html [ Pass ]
media/video-playing-and-pause.html [ Pass ]
http/tests/media/autoplay-if-audio-is-playing.html [ Pass ]
imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/event_playing.html [ Pass ]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1774412</commentid>
    <comment_count>24</comment_count>
    <who name="Xabier Rodríguez Calvar">calvaris</who>
    <bug_when>2021-07-02 03:48:38 -0700</bug_when>
    <thetext>media/event-attributes.html fixed in r279499</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>