[flac-dev] crash on lpc_restore_signal_16_intrin_sse2

Janne Hyvärinen cse at sci.fi
Mon Mar 9 12:38:20 PDT 2015


On 9.3.2015 20:43, lvqcl wrote:
> Janne Hyvärinen wrote:
>
>> VLC 2.2.0 crashed with exception 0xc0000005 on the first file I tried.
>> But libflac itself does not, for example flac.exe and foobar2000 have no
>> issues.
> *Very* interesting.
>
> I suspect that flac.exe and foobar2000 don't use
> FLAC__lpc_restore_signal_16_intrin_sse2() function at all. This function
> is not used if NASM is available; FLAC__lpc_restore_signal_asm_ia32_mmx()
> is used instead.
>
> I wonder how to debug this crash...
>

I compiled flac.exe without NASM and verified that 
FLAC__lpc_restore_signal_16_intrin_sse2 is used. Decoding the same file 
that made VLC 2.2 crash decoded without issues. Would be nice if VLC was 
compilable with MSVC and we could use its debugger.



More information about the flac-dev mailing list