[Flac-dev] Re: 1.2.0: Test suite failures on LP64 archs?

Christian Weisgerber naddy at mips.inka.de
Fri Aug 31 14:17:24 PDT 2007


Christian Weisgerber <naddy at mips.inka.de> wrote:

> round-trip test (rt-1-24-111.raw) encode... Segmentation fault (core
> dumped) ERROR
> FAIL: ./test_flac.sh
> 
> fsd24-01 (--channels=1 --bps=24 -0 -l 16 --lax -m -e -p): encode...ERROR
> during encode of fsd24-01
> FAIL: ./test_streams.sh

(The latter is also a segfault, btw.)

I've poked around a bit with gdb.  Both crashes happen in the same
place:

#0  0x0000000040d18810 in FLAC__lpc_compute_residual_from_qlp_coefficients_wide
    (data=0x49e4c014, data_len=110, qlp_coeff=0x7f7ffffece70, order=1, 
    lp_quantization=14, residual=0x4fced000) at lpc.c:745
745                                                     residual[i] = data[i] - (FLAC__int32)((qlp_coeff[0] * (FLAC__int64)data[i-1]) >> lp_quantization);
(gdb) i loc
i = 0
sum = 70368744161280

Alas, I don't see anything wrong there.  Also, I can evaluate that
expression in gdb just fine.

Hmm.

-- 
Christian "naddy" Weisgerber                          naddy at mips.inka.de


More information about the Flac-dev mailing list