Displaying 2 results from an estimated 2 matches for "flac__decode_wav".
2006 Sep 07
1
test_metaflac fails in make check for flac 1.1.2 after --add-padding is performed
...he same command in gdb and get a backtrace
that would be another clue.
Josh
Seems like fwrite doesn't like to write to null. However, it seems clear from the code that using --test intentionally creates no outputfile for fwrite.
src/flac/main.c: 1730 retval = flac__decode_wav(infilename, option_values.test_only? 0 : outfilename, option_values.analyze, option_values.aopts, options);
Details below:
(gdb) run
Starting program: /home/tom/sources/flac-1.1.2/src/flac/.libs/lt-flac --silent --test metaflac.flac
Breakpoint 1, DecoderSession_process (d=0xbffff5...
2006 Aug 28
2
test_metaflac fails in make check for flac 1.1.2 after --add-padding is performed
doing "make check" on flac-1.1.2, I get a segmentation fault
././test_metaflac.sh: line 51: 17370 Segmentation fault flac $*
when running this portion of the test/test_metaflac.sh script:
(set -x && run_metaflac --preserve-modtime --add-padding=12345 $flacfile)
check_exit
check_flac <---------------- where the segfault happens
All other tests in