thorfdbg / libjpeg

A complete implementation of 10918-1 (JPEG) coming from jpeg.org (the ISO group) with extensions for HDR, lossless and alpha channel coding standardized as ISO/IEC 18477 (JPEG XT).
327 stars 81 forks source link

Abort in Reconstruct #83

Closed SEU-SSL closed 1 year ago

SEU-SSL commented 1 year ago

Hi, here is the command and stack trace:

./jpeg poc1 /dev/null

(gdb) bt
#0  0x00007f1df326e00b in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f1df324d859 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f1df32b826e in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#3  0x00007f1df32c02fc in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#4  0x00007f1df32c1b2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#5  0x00007f1df32acec3 in fclose () from /lib/x86_64-linux-gnu/libc.so.6
#6  0x000000000041b9ef in Reconstruct (infile=0x7ffe0a228942 "poc1", outfile=0x7ffe0a228947 "/dev/null", colortrafo=1, 
    alpha=0x0, upsample=true) at reconstruct.cpp:341
#7  0x0000000000406eaa in main (argc=3, argv=0x7ffe0a2284e8) at main.cpp:747

poc1.zip