Bug#787034: Further details: .wav files causing problems
Tim Chase
debian at tim.thechases.com
Thu May 28 17:18:03 UTC 2015
On 2015-05-28 18:31, Fabian Greffrath wrote:
> Am Donnerstag, den 28.05.2015, 09:58 -0500 schrieb Tim Chase:
> > $ file ~/tmp/music/under-dog-theme.wav
> > /home/tim/tmp/music/under-dog-theme.wav: RIFF (little-endian)
> > data, WAVE audio, MPEG Layer 3, mono 11025 Hz
> ^^^^^^^^^^
> Erm, somehow this reads wrong for a WAV file.
I wondered about that. It has played just fine in the past on
multiple machines and programs including cmus. I understand that
RIFF is a container format that can hold MPEG/3 and PCM data.
$ xxd ~/tmp/music/under-dog-theme.wav | head -3
0000000: 5249 4646 ba4d 0100 5741 5645 666d 7420 RIFF.M..WAVEfmt
0000010: 1e00 0000 5500 0100 112b 0000 c409 0000 ....U....+......
0000020: 0100 0000 0c00 0100 0200 0000 0401 0200 ................
which is clearly RIFF rather than MP3.
At your nudging, a quick renaming it to .mp3 works without crashing.
So there appear to be two related issues:
1) a file with a .wav extension can apparently be a RIFF file
containing MPEG/3 data
2) cmus can segfault on data it doesn't understand rather than
gracefully logging/ignoring the problem file
So this is would no longer be "important" priority since the
footprint of the bug is far smaller; rather it's just "normal"
priority as it seems to be a narrow edge case (I'm insufficiently
familiar with BTS, but I *think* I managed to change this in a
previous email to control@).
-Tim
More information about the pkg-multimedia-maintainers
mailing list