Crash in libtremor when playing an ogg file with mpd
I first reported this crash in mpd's bug tracker [1], but was told it is a bug in libtremor itself.
After updating mpd a few months ago, whenever I try to play ogg files with libtremor support enabled, I get the following backtrace:
#0 vorbis_synthesis (vb=0x7fffff9fdbe0, op=<value optimized out>,
decodep=<value optimized out>) at synthesis.c:70
#1 0x0000000802165bbd in _fetch_and_process_packet (vf=0x7fffff9fdae0, readp=1, spanp=1)
at vorbisfile.c:505
#2 0x0000000802165e02 in ov_read (vf=0x7fffff9fdae0,
buffer=0x7fffff9fcaa0 "\304", <incomplete sequence \346\035>, bytes_req=4096,
bitstream=0x7fffff9fdaac) at vorbisfile.c:1553
#3 0x000000000041cb4c in vorbis_stream_decode (decoder=0x7fffff9fddf0,
input_stream=0x80dc40f40) at src/decoder/vorbis_decoder_plugin.c:327
#4 0x0000000000435cf6 in decoder_plugin_stream_decode (plugin=0x4600e0,
decoder=0x7fffff9fddf0, is=0x80dc40f40) at src/decoder_plugin.h:137
#5 0x0000000000435c6c in decoder_stream_decode (plugin=0x4600e0,
decoder=0x7fffff9fddf0, input_stream=0x80dc40f40) at src/decoder_thread.c:125
#6 0x000000000043637f in decoder_run_file (decoder=0x7fffff9fddf0,
path_fs=0x80dc0df00 "/data/mp3/Dream Theater/Awake/Dream Theater - Awake - 02 - Caught in a Web.ogg") at src/decoder_thread.c:348
#7 0x00000000004364ed in decoder_run_song (dc=0x7fffffbfef00, song=0x8093a5ee0,
uri=0x80dc0df00 "/data/mp3/Dream Theater/Awake/Dream Theater - Awake - 02 - Caught in a Web.ogg") at src/decoder_thread.c:390
#8 0x00000000004366c6 in decoder_run (dc=0x7fffffbfef00) at src/decoder_thread.c:435
#9 0x00000000004367c3 in decoder_task (arg=0x7fffffbfef00) at src/decoder_thread.c:463
#10 0x00000008039e4096 in ?? () from /usr/local/lib/libglib-2.0.so.0
#11 0x000000080408a4e1 in ?? () from /lib/libthr.so.3
This is libtremor-1.0.2.02132004.