WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
309438
[GStreamer] Flaky media test failures due to video frame map failures in avviddec with buffers allocated by the GL buffer pool
https://bugs.webkit.org/show_bug.cgi?id=309438
Summary
[GStreamer] Flaky media test failures due to video frame map failures in avvi...
Claudio Saavedra
Reported
2026-03-07 23:52:36 PST
https://results.webkit.org/?suite=layout-tests&test=media%2Fremote-control-command-scrubbing.html&platform=GTK&platform=WPE
https://build.webkit.org/results/GTK-Linux-64-bit-Release-Tests/308879@main%20(23819)/results.html
0:00:08.781789309 650221 0x7f0900001120 ERROR videometa gstvideometa.c:424:default_map: plane 1, no memory at offset 99840 0:00:08.781802564 650221 0x7f0900001120 ERROR default video-frame.c:168:gst_video_frame_map_id: failed to map video frame plane 1 0:00:08.785723698 650221 0x557320cd5760 ERROR webkitcommon GStreamerCommon.cpp:1087:operator():<regular-media-player-8> Got message: error message: 0x7f06a0027ba0, time 99:99:99.999999999, seq-num 6880, element 'avdec_h264-6', GstMessageError, gerror=(GError)NULL, debug=(string)"../../../../../jhbuild/checkout/gstreamer/subprojects/gst-libav/ext/libav/gstavviddec.c\(1888\):\ get_output_buffer\ \(\):\ /GstPlayBin:regular-media-player-8/GstURIDecodeBin:uridecodebin8/GstDecodeBin:decodebin8/avdec_h264:avdec_h264-6:\012The\ video\ memory\ allocated\ from\ downstream\ pool\ could\ not\ mapped\ for\ read\ and\ write."; 0:00:08.785742483 650221 0x557320cd5760 ERROR webkitmediaplayer MediaPlayerPrivateGStreamer.cpp:2132:handleMessage:<regular-media-player-8> Cannot access memory for read and write operation. (url=file:///sdk/webkit/LayoutTests/media/content/test.mp4) (code=7)
Attachments
Add attachment
proposed patch, testcase, etc.
Philippe Normand
Comment 1
2026-03-24 07:00:40 PDT
***
Bug 224105
has been marked as a duplicate of this bug. ***
Philippe Normand
Comment 2
2026-03-24 07:00:45 PDT
***
Bug 309436
has been marked as a duplicate of this bug. ***
Philippe Normand
Comment 3
2026-03-24 07:02:19 PDT
***
Bug 308265
has been marked as a duplicate of this bug. ***
Philippe Normand
Comment 4
2026-03-27 08:33:36 PDT
I wonder if this is related with
bug 310895
...
Philippe Normand
Comment 5
2026-03-30 05:00:21 PDT
***
Bug 311093
has been marked as a duplicate of this bug. ***
Philippe Normand
Comment 6
2026-04-01 01:41:48 PDT
results link:
https://results.webkit.org/?suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&test=media%2Fvideo-src-blob-replay.html&test=media%2Fmedia-source%2Fmedia-source-reopen.html&test=media%2Fvideo-load-preload-metadata.html&test=compositing%2Fvideo%2Fvideo-clip-change-src.html&test=media%2Fremote-control-command-scrubbing.html&platform=GTK&platform=WPE
Claudio Saavedra
Comment 7
2026-04-01 22:45:17 PDT
***
Bug 311320
has been marked as a duplicate of this bug. ***
Diego Pino
Comment 8
2026-04-11 00:32:28 PDT
Several tests failing with this error were filed under bug
webkit.org/b/308438
. These other tests are also flaky timeout (>0.5%), failing with a similar stderr: ``` media/media-controller-timeupdate.html media/media-source/media-source-webm-configuration-framerate.html media/modern-media-controls/media-controller/media-controller-click-on-video-controls-should-not-pause.html media/playlist-inherits-user-gesture.html media/remote-control-command-seek.html media/remove-from-document-with-text-track.html media/track/track-cue-missing.html media/track/track-long-captions-file.html media/track/webvtt-inline.html media/video-currentTime-duration.html media/video-isplayingtoautomotiveheadunit.html media/video-main-content-allow-then-scroll.html media/video-main-content-deny-display-none.html media/video-main-content-deny-too-small.html media/video-paused-0-rate.html media/video-pause-empty-events.html media/video-replaces-poster.html media/video-seek-by-small-increment.html media/video-seeking.html media/video-unmuted-after-play-holds-sleep-assertion.html ``` For instance, test in the case of 'media/media-controller-timeupdate.html':
https://results.webkit.org/?suite=layout-tests&test=media%2Fmedia-controller-timeupdate.html&platform=GTK&platform=WPE
stderr: ``` 0:00:08.642527865 607321 0xffff480012f0 ERROR videometa gstvideometa.c:424:default_map: plane 1, no memory at offset 83200 0:00:08.642545225 607321 0xffff480012f0 ERROR default video-frame.c:168:gst_video_frame_map_id: failed to map video frame plane 1 0:00:08.643018868 607321 0xaaaaf3a2d3b0 ERROR webkitcommon GStreamerCommon.cpp:1086:operator():<regular-video-16> Got message: error message: 0xfffc740391b0, time 99:99:99.999999999, seq-num 13323, element 'avdec_h264-12', GstMessageError, gerror=(GError)NULL, debug=(string)"../../../../../jhbuild/checkout/gstreamer/subprojects/gst-libav/ext/libav/gstavviddec.c\(1888\):\ get_output_buffer\ \(\):\ /GstPlayBin:regular-video-16/GstURIDecodeBin:uridecodebin16/GstDecodeBin:decodebin16/avdec_h264:avdec_h264-12:\012The\ video\ memory\ allocated\ from\ downstream\ pool\ could\ not\ mapped\ for\ read\ and\ write."; 0:00:08.643040109 607321 0xaaaaf3a2d3b0 ERROR webkitmediaplayer MediaPlayerPrivateGStreamer.cpp:2139:handleMessage:<regular-video-16> Cannot access memory for read and write operation. (url=file:///sdk/webkit/LayoutTests/media/content/test.mp4) (code=7) ```
Philippe Normand
Comment 9
2026-04-11 07:52:43 PDT
How much RAM do we have on these bots? Is the post-commit bot fleet using a uniform set of machines? (same amount of CPU vCores and RAM)?
Philippe Normand
Comment 10
2026-04-12 05:46:46 PDT
I was able to reproduce this in wksdk only, I'm not sure what's going on, the decoder sometimes fails to map buffers allocated by the GL pool... Maybe some issue in Mesa... Anyway, this won't be an issue anymore when we update to GStreamer 1.28 where glupload uses another allocator (udmabuf).
Philippe Normand
Comment 11
2026-04-12 07:33:03 PDT
***
Bug 307294
has been marked as a duplicate of this bug. ***
Philippe Normand
Comment 12
2026-04-12 07:37:12 PDT
***
Bug 306471
has been marked as a duplicate of this bug. ***
Philippe Normand
Comment 13
2026-04-12 07:38:29 PDT
media/video-buffered.html [ Pass Failure Timeout ] should become media/video-buffered.html [ Pass Failure ] after fixing this...
Philippe Normand
Comment 14
2026-04-12 08:26:36 PDT
***
Bug 311863
has been marked as a duplicate of this bug. ***
Philippe Normand
Comment 15
2026-04-12 08:33:11 PDT
***
Bug 308146
has been marked as a duplicate of this bug. ***
Philippe Normand
Comment 16
2026-04-12 08:34:57 PDT
***
Bug 307666
has been marked as a duplicate of this bug. ***
Philippe Normand
Comment 17
2026-04-12 08:37:40 PDT
webkit.org/b/122508
compositing/video/video-reflection.html [ Pass Timeout ] should be removed after fixing this.
Philippe Normand
Comment 18
2026-04-12 08:58:52 PDT
***
Bug 310278
has been marked as a duplicate of this bug. ***
Philippe Normand
Comment 19
2026-04-12 08:59:55 PDT
***
Bug 310274
has been marked as a duplicate of this bug. ***
Philippe Normand
Comment 20
2026-04-12 09:04:01 PDT
webkit.org/b/169918
compositing/video/video-object-position.html [ Failure Timeout ] should become
webkit.org/b/169918
compositing/video/video-object-position.html [ Failure ] after fixing this.
Philippe Normand
Comment 21
2026-04-12 09:06:37 PDT
webkit.org/b/264680
media/video-page-visibility-restriction.html [ Pass Timeout ] should be removed after fixing this.
Philippe Normand
Comment 22
2026-04-12 09:08:02 PDT
webkit.org/b/262949
media/media-garbage-collection.html [ Pass Timeout Failure ] should become
webkit.org/b/262949
media/media-garbage-collection.html [ Pass Failure ] after fixing this.
Philippe Normand
Comment 23
2026-04-12 09:09:55 PDT
webkit.org/b/261024
media/video-playsinline.html [ Failure Timeout Pass ] also affected by this issue.
Philippe Normand
Comment 24
2026-04-12 09:26:46 PDT
Before opening new bugs about flaky timeout media tests please check if there is a -stderr.txt file for the test in the results folder, containing the error mentioned above...
Diego Pino
Comment 25
2026-04-13 06:28:01 PDT
***
Bug 311860
has been marked as a duplicate of this bug. ***
Diego Pino
Comment 26
2026-04-13 06:29:07 PDT
***
Bug 311862
has been marked as a duplicate of this bug. ***
Philippe Normand
Comment 27
2026-04-19 01:51:38 PDT
***
Bug 310746
has been marked as a duplicate of this bug. ***
Philippe Normand
Comment 28
2026-04-19 01:53:02 PDT
***
Bug 310747
has been marked as a duplicate of this bug. ***
Philippe Normand
Comment 29
2026-04-19 01:55:05 PDT
***
Bug 310745
has been marked as a duplicate of this bug. ***
Philippe Normand
Comment 30
2026-04-19 02:14:05 PDT
***
Bug 310755
has been marked as a duplicate of this bug. ***
Philippe Normand
Comment 31
2026-04-19 02:15:33 PDT
***
Bug 310756
has been marked as a duplicate of this bug. ***
Philippe Normand
Comment 32
2026-04-19 02:17:18 PDT
***
Bug 310757
has been marked as a duplicate of this bug. ***
Philippe Normand
Comment 33
2026-04-19 02:32:41 PDT
Updated results link, manually checked the tests that are consistently passing since ~ Apr 13.
https://results.webkit.org/?platform=GTK&platform=WPE&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&suite=layout-tests&test=media%2Fvideo-interruption-with-resume-not-allowing-play.html&test=media%2Fmodern-media-controls%2Ftime-label%2Ftime-label-white-space-nowrap.html&test=media%2Fvideo-seekable.html&test=media%2Fvideo-seek-double.html&test=media%2Fvideo-src-blob-replay.html&test=media%2Fvideo-pause-play-resolve.html&test=media%2Fmedia-controller-time.html&test=media%2Fvideo-size.html&test=media%2Fmodern-media-controls%2Fstatus-support%2Fstatus-support-playing.html&test=media%2Fvideo-seek-past-end-paused.html&test=media%2Fvideo-playbackrate.html&test=media%2Fvideo-pause-immediately.html&test=media%2Fvideo-poster-not-found.html&test=media%2Fvideo-webkit-playsinline.html&test=media%2Fvideo-seek-pause.html&test=media%2Fvideo-seeking.html&test=media%2Fvideo-seek-by-small-increment.html&test=media%2Fvideo-replaces-poster.html&test=media%2Fvideo-pause-empty-events.html&test=media%2Fvideo-paused-0-rate.html&test=media%2Fvideo-main-content-deny-too-small.html&test=media%2Fvideo-main-content-deny-display-none.html&test=media%2Fvideo-main-content-autoplay.html&test=media%2Fvideo-main-content-allow-then-scroll.html&test=media%2Fvideo-load-preload-metadata.html&test=media%2Fvideo-isplayingtoautomotiveheadunit.html&test=media%2Fvideo-currentTime-set2.html&test=media%2Fvideo-currenttime-monotonic.html&test=media%2Fvideo-currentTime-duration.html&test=media%2Fvideo-main-content-allow-then-scroll.html&test=media%2Fvideo-currentTime-set.html&test=media%2Fmodern-media-controls%2Ftime-labels-support%2Fremaining-time.html&test=media%2Fvideo-concurrent-playback.html&test=media%2Ftrack%2Fwebvtt-inline.html&test=media%2Ftrack%2Ftrack-long-captions-file.html&test=media%2Ftrack%2Ftrack-cue-missing.html&test=media%2Fremove-from-document-with-text-track.html&test=media%2Fremote-control-command-seek.html&test=media%2Fremote-control-command-scrubbing.html&test=media%2Fplaylist-inherits-user-gesture.html&test=media%2Fmodern-media-controls%2Ftracks-support%2Fno-tracks.html&test=media%2Fmodern-media-controls%2Fmedia-controller%2Fmedia-controller-click-on-video-controls-should-not-pause.html&test=media%2Fmodern-media-controls%2Fmedia-controller%2Fmedia-controller-auto-hide-mouse-leave-after-play.html&test=media%2Fmedia-source%2Fmedia-source-webm-configuration-framerate.html&test=media%2Fmedia-source%2Fmedia-source-reopen.html&test=media%2Fmedia-controller-timeupdate.html&test=compositing%2Fvideo%2Fvideo-clip-change-src.html
Philippe Normand
Comment 34
2026-04-19 02:45:19 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/63065
EWS
Comment 35
2026-04-19 02:47:30 PDT
Committed
311541@main
(ea60ea79a3be): <
https://commits.webkit.org/311541@main
> Reviewed commits have been landed. Closing PR #63065 and removing active labels.
Radar WebKit Bug Importer
Comment 36
2026-04-19 02:48:14 PDT
<
rdar://problem/175106549
>
Philippe Normand
Comment 37
2026-04-19 03:58:03 PDT
***
Bug 254520
has been marked as a duplicate of this bug. ***
Philippe Normand
Comment 38
2026-04-19 03:59:34 PDT
***
Bug 307144
has been marked as a duplicate of this bug. ***
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