Page MenuHomePhabricator

Error: write cursor too small
Open, Needs TriagePublicPRODUCTION ERROR

Description

Error
normalized_message
Error: write cursor too small
exception.trace
at CachePool.write  https://commons.m.wikimedia.org/w/load.php?lang=en&modules=ext.tmh.OgvJs%2COgvJsSupport%2Cvideo-js%2Cvideojs-ogvjs&skin=minerva&version=n0yzk:91:809
at https://commons.m.wikimedia.org/w/load.php?lang=en&modules=ext.tmh.OgvJs%2COgvJsSupport%2Cvideo-js%2Cvideojs-ogvjs&skin=minerva&version=n0yzk:86:924
at https://commons.m.wikimedia.org/w/load.php?lang=en&modules=ext.tmh.OgvJs%2COgvJsSupport%2Cvideo-js%2Cvideojs-ogvjs&skin=minerva&version=n0yzk:14:158
at ArrayBufferBackend.emit  https://commons.m.wikimedia.org/w/load.php?lang=en&modules=ext.tmh.OgvJs%2COgvJsSupport%2Cvideo-js%2Cvideojs-ogvjs&skin=minerva&version=n0yzk:14:130
at ArrayBufferBackend.onXHRLoad  https://commons.m.wikimedia.org/w/load.php?lang=en&modules=ext.tmh.OgvJs%2COgvJsSupport%2Cvideo-js%2Cvideojs-ogvjs&skin=minerva&version=n0yzk:105:674
at XMLHttpRequest.<anonymous>  https://commons.m.wikimedia.org/w/load.php?lang=en&modules=ext.tmh.OgvJs%2COgvJsSupport%2Cvideo-js%2Cvideojs-ogvjs&skin=minerva&version=n0yzk:9:847
Impact

No user-facing impact observed thus far

Notes

78 occurrences starting yesterday shortly after the train rolled out to Commons, which swapped the extension serving up Special:MediaSearch. We should investigate if the MediaSearch extension code introduced this. Seems to be a problem only on the video tab on mobile.

Details

Request URL
https://commons.m.wikimedia.org/w/index.php?search=[search term]&title=Special:MediaSearch&type=video

Event Timeline

Based on the stack trace, this looks to be related to the new OGV.js shim we started using; it's something related to TimedMediaHandler or VideoJS most likely.

This is currently one of the most commonly-occurring errors in MediaSearch, ~100 occurrences daily.