[flac-dev] free() invalid pointer

Martijn van Beurden mvanb1 at gmail.com
Thu Nov 13 06:47:53 PST 2014


Hi,

Apparently the new presets are triggering an invalid free in 
some code. I was running the test suite on ARM, and it gets 
stuck with small blocksizes.

> Testing blocksize variations...
> noise8m32 (--channels=1 --bps=8 -8 -p -e -l 0 --lax 
> --blocksize=16 ): encode...decode...compare...OK
> noise8m32 (--channels=1 --bps=8 -8 -p -e -l 1 --lax 
> --blocksize=16 ): encode...*** Error in 
> `/home/pi/bin/flac/src/flac/.libs/lt-flac': free(): invalid 
> pointer: 0x018a41d0 ***

This error shows up consistently with blocksizes of 16 and 17, 
but never with bigger blocksizes.

I'm not too familiar with these things, where should I start 
looking? I haven't been able to reproduce this on x86_64, so 
using Valgrind is not possible I guess?





More information about the flac-dev mailing list