[bug-gs] pcl6 always dumps core in gstype42.c (Windows, Cygwin)

Boemker, Tim tboemker at elynx.com
Fri May 14 14:37:00 PDT 2004


On several documents, pcl6 dumps core:

$ gdb pcl6
GNU gdb 2003-09-20-cvs (cygwin-special)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
(gdb) run accurate.pcl
Starting program: /usr/local/bin/pcl6.exe accurate.pcl

Program received signal SIGSEGV, Segmentation fault.
append_simple (gdata=0xa4a4dfe "\001ÿA", sbw=0x2292b0, pmat=0xa04c458,
    ppath=0xa4e0320, ppts=0x0, pfont=0xa4796a8, subglyph=0)
    at ../gs/src/gstype42.c:803
803                 byte flags = *pf++;


$ gdb pcl6
GNU gdb 2003-09-20-cvs (cygwin-special)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
(gdb) run amsouth.pcl
Starting program: /usr/local/bin/pcl6.exe amsouth.pcl

Program received signal SIGSEGV, Segmentation fault.
0x00417ce5 in gs_type42_default_get_metrics (pfont=0xa493c18,
glyph_index=37,
    wmode=0, sbw=0x229f60) at ../gs/src/gstype42.c:684
684         if (glyph_data.bits.size != 0 && S16(glyph_data.bits.data) ==
-1) {


There were no warnings when gstype42.c was compiled:

gcc  -g -O -Wall -Wpointer-arith -Wstrict-prototypes -Wwrite-strings
-I./obj -
I../gs/src  -o ./obj/gstype42.o -c ../gs/src/gstype42.c

What might be causing this error?

Thanks.



More information about the bug-gs mailing list