Our upload system feeds chunked upload data, sometimes partial files, into TimedMediaHandler's upstream getid3 library. This can result in getid3 internals failing or leaking PHP warnings when unexpected incomplete or corrupt data gets parsed by the library, and these show up in our logs.
Actual behavior:
- some incomplete or corrupt files result in PHP warnings in the internals of getid3 when assumptions are violated
Expected behavior:
- these files should be silent in terms of logged error output. if they are corrupt this should be gracefully handled by the upload stash system without leaking internal details.
Recommended work:
- check Matroska parser in 1.9.24 (current release, newer than our 1.9.23) to see if this warning can still happen there
- if so, submit a patch upstream
- update our usage to 1.9.24...
- and then to next release if merging patches
Error
- mwversion: 1.45.0-wmf.16
- timestamp: 2025-08-28T16:12:55.097Z
- phpversion: 8.1.33
- reqId: ecaab752-a2f6-4d66-98c2-812875d2e4ae
- Find reqId in Logstash
[{reqId}] {exception_url} PHP Warning: Undefined array key "TrackUID"