pornel/improved-pngquant — Issue #12: pngquant segmentation fault
Author: Agile86
Created: 2012-01-04 14:17:27+00:00
State: open

pngquant, version 1.6.3 (December 2011), by Greg Roelofs, Kornel Lesinski.
Compiled with libpng 1.2.44; using libpng 1.2.44.
Compiled with zlib 1.2.3.4; using zlib 1.2.3.4.

uname -a:
Linux HOST 2.6.32-5-xen-amd64 #1 SMP Tue Mar 8 00:01:30 UTC 2011 x86_64 GNU/Linux

Program received signal SIGSEGV, Segmentation fault.
0x0000000000406d69 in pam_computeacolorhash (apixels=0x611850, cols=290,
rows=2, gamma=0.45455000000000001, maxacolors=1966080, ignorebits=0,
importance_map=0x611874, acolorsP=0x7fffffffe38c) at pam.c:80
80	union rgb_as_long px = {apixels[row][col]};
(gdb) bt
#0 0x0000000000406d69 in pam_computeacolorhash (apixels=0x611850, cols=290,
rows=2, gamma=0.45455000000000001, maxacolors=1966080, ignorebits=0,
importance_map=0x611874, acolorsP=0x7fffffffe38c) at pam.c:80
#1 0x0000000000406c41 in pam_computeacolorhist (apixels=0x611850, cols=290,
rows=2, gamma=0.45455000000000001, maxacolors=1966080, ignorebits=0,
importance_map=0x611870) at pam.c:52
#2 0x00000000004046e1 in histogram (input_image=0x7fffffffea00,
reqcolors=256, speed_tradeoff=3, importance_map=0x611870) at pngquant.c:634
#3 0x0000000000405bc5 in pngquant (input_image=0x7fffffffea00,
output_image=0x7fffffffe4f0, options=0x7fffffffeb00) at pngquant.c:931
#4 0x0000000000402915 in main (argc=3, argv=0x7fffffffec38) at pngquant.c:223
(gdb)

Regards,
Oleg