precomp-cpp icon indicating copy to clipboard operation
precomp-cpp copied to clipboard

Bug report: crash on MP3 restoration

Open Godangel opened this issue 4 years ago • 2 comments

Precomp crashes (errorlevel code -1073741819) while decompressing mp3-like data placed in zlib (not sure is it real mp3 or just some random data detected as mp3). Sample data provided. Tested on both 0.4.7 and 0.4.6. precomp -cn -intense datafile.dat [success] precomp -r datafile.pcf [crashes]

If I use param -t-3 while compressing, decompression works just fine.

mp3data-inside-zlib.zip

Godangel avatar Jun 05 '21 14:06 Godangel

The crash can be reproduced, I've managed to isolate the MP3 stream that causes it. So this most likely is a packmp3 issue, I will investigate this further.

invalid_mp3.zip

schnaader avatar Jun 06 '21 12:06 schnaader

More sample data. With this one precomp doesn't crash, but rather produces corrupted file on decompression without any warnings. Steps to reproduce error are the same: precomp -cn -intense datafile.dat [success] precomp -r datafile.pcf [success, but results in corrupted file]

mp3data-inside-zlib-nocrash.zip

Godangel avatar Jun 29 '21 00:06 Godangel