GNOME Bugzilla – Bug 317774
wavpack: segfault on files encoded with -h (lossy, lossless and hybrid)
Last modified: 2005-11-11 20:35:24 UTC
Distribution/Version: Ubuntu Breezy Hi, when playing an wavpack file which was encoded with -h gstreamer just segfaults. this can be easily reproduced for every file I tried with lossy, lossless and hybrid mode. I used the following to create the files: wavpack -h -c -b256 test.wav wavpack -h -b256 test.wav wavpack -h test.wav (and the same without -h) the files with -h were segfaulting when playing with gst-launch-0.8 filesrc location=test.wv ! wavpackparse ! wavpackdec ! osssink the ones without worked without problems wvunpack (which uses the same libraries for decoding) can decode all files without problems so it should be a problem in the gst plugin Bye
I have had similar segfaults on files that were encoded with the -h string. This happens in any gstreamer based application I try to play back the files with (totem, rhythmbox).
noticed the same issue, which is still in 0.8.11 using a test file encoded with wavpack -hx, I decoded with wvunpack, which worked okay and the resulting wav was fine with gstreamer, and the file works fine when reencoding without -h with gstreamer
I can reproduce that, trying to find the cause now.
fixed in cvs: 2005-11-11 Arwed v. Merkatz <v.merkatz@gmx.net> * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_link), (gst_wavpack_dec_init), (gst_wavpack_dec_setup_context): * ext/wavpack/gstwavpackdec.h: Adjust the size of the internal decode buffer dynamically instead of assuming 0.5 seconds are enough, fixes bug #317774
thanks... fixes it for me too :)