Closed michaelrsweet closed 19 years ago
CUPS.org User: till.kamppeter
Here is a backtrace done with gdb:
[root@majax p]# gs -sDEVICE=x11 /home/test/MDKonlineFR.pdf ESP Ghostscript 7.07 (2003-11-19) Copyright 2003 artofcode LLC and Easy Software Products, all rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Processing pages 1 through 4. Page 1 Loading NimbusSanL-Bold font from /usr/share/fonts/default/Type1/n019004l.pfb... 2186548 781170 1682900 381901 2 done. Using NimbusSansL-Bold font for NimbusSanL-Bold. Loading NimbusSanL-Regu font from /usr/share/fonts/default/Type1/n019003l.pfb... 2303692 899046 1682900 391509 2 done. Using NimbusSansL-Regu font for NimbusSanL-Regu. Segmentation fault (core dumped)
[root@majax p]# gdb -c core.12793 /usr/bin/gs GNU gdb 6.0-2mdk (Mandrake Linux) 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 "i586-mandrake-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
Core was generated by `gs -sDEVICE=x11 /home/test/MDKonlineFR.pdf'. Program terminated with signal 11, Segmentation fault.
warning: current_sos: Can't read pathname for load map: Input/output error
Reading symbols from /usr/lib/libgmodule-1.2.so.0...done.
Loaded symbols for /usr/lib/libgmodule-1.2.so.0
Reading symbols from /usr/lib/libglib-1.2.so.0...done.
Loaded symbols for /usr/lib/libglib-1.2.so.0
Reading symbols from /lib/libdl.so.2...
Reading symbols from /usr/lib/debug//lib/libdl-2.3.3.so.debug...done.
done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libstdc++.so.6...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/libgimpprint.so.1...done.
Loaded symbols for /usr/lib/libgimpprint.so.1
Reading symbols from /usr/lib/libttf.so.2...done.
Loaded symbols for /usr/lib/libttf.so.2
Reading symbols from /usr/lib/libfontconfig.so.1...done.
Loaded symbols for /usr/lib/libfontconfig.so.1
Reading symbols from /usr/lib/libfreetype.so.6...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /usr/lib/libpng.so.3...done.
Loaded symbols for /usr/lib/libpng.so.3
Reading symbols from /usr/lib/libcupsimage.so.2...done.
Loaded symbols for /usr/lib/libcupsimage.so.2
Reading symbols from /usr/lib/libcups.so.2...done.
Loaded symbols for /usr/lib/libcups.so.2
Reading symbols from /lib/tls/libm.so.6...
---Type
at ./src/gsdevice.c:438
438 ./src/gsdevice.c: No such file or directory. in ./src/gsdevice.c (gdb) bt
at ./src/gsdevice.c:438
pmat=0x89f8a88, pic=0xbfffe600, prect=0x0, pdcolor=0x8b2e290,
pcpath=0x8b2e114, mem=0x89e64a4, make_mid=0x813efbc <make_midx_default>,
make_mcde=0x813f11f <make_mcdex_default>, pinfo=0xbfffe578)
at ./src/gximag3x.c:329
pic=0xbfffe600, prect=0x0, pdcolor=0x8b2e290, pcpath=0x8b2e114,
mem=0x89e64a4, pinfo=0xbfffe578) at ./src/gximag3x.c:566
pmat=0x0, pic=0xbfffe600, prect=0x0, pdcolor=0x8b2e290, pcpath=0x8b2e114,
memory=0x89e64a4, pinfo=0xbfffe578) at ./src/gdevddrw.c:633
pmat=0x0, pic=0xbfffe600, prect=0x0, pdcolor=0x8b2e290, pcpath=0x8b2e114,
mem=0x89e64a4, pinfo=0xbfffe578) at ./src/gdevp14.c:877
uses_color=0, ppie=0xbfffe578) at ./src/gsimage.c:168
sources=0xbfffe5b4, uses_color=0, npop=1) at ./src/zimage.c:151
perror_object=0xbfffeeb8) at ./src/interp.c:1121
---Type
user_errors=1, pexit_code=0xbfffeec4, perror_object=0xbfffeeb8)
at ./src/interp.c:444
user_errors=1, pexit_code=0xbfffeec4, perror_object=0xbfffeeb8)
at ./src/imain.c:292
pexit_code=0xbfffeec4, perror_object=0xbfffeeb8) at ./src/imain.c:593
str=0x8b1d478 "<2f686f6d652f746573742f4d444b6f6e6c696e6546522e706466>.runfile", length=62, user_errors=1, pexit_code=0xbfffeec4, perror_object=0xbfffeeb8)
at ./src/imain.c:551
str=0x8b1d478 "<2f686f6d652f746573742f4d444b6f6e6c696e6546522e706466>.runfile", user_errors=1, pexit_code=0xbfffeec4, perror_object=0xbfffeeb8)
at ./src/imain.c:533
str=0x8b1d478 "<2f686f6d652f746573742f4d444b6f6e6c696e6546522e706466>.runfile", options=3) at ./src/imainarg.c:768
arg=0xbffffa99 "/home/test/MDKonlineFR.pdf", post=0x833def5 ".runfile",
options=3) at ./src/imainarg.c:761
---Type
arg=0xbffffa99 "/home/test/MDKonlineFR.pdf") at ./src/imainarg.c:698
argv=0xbffff924) at ./src/imainarg.c:205
(gdb) quit
CUPS.org User: till.kamppeter
I have also tested with GPL GhostScript 8.15, with that version the file is displayed perfectly.
CUPS.org User: mike
Fixed in Subversion repository.
Version: 7.07-current CUPS.org User: till.kamppeter
Original report (file referred to is attached to this report):
Hi, Till
This file crash when I use gs:
http://market.mandrakesoft.com/private/Mandrakeonline/MDKonlineFR.pdf
ESP Ghostscript 7.07 (2003-11-19) Copyright 2003 artofcode LLC and Easy Software Products, all rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. Processing pages 1 through 4. Page 1 Segmentation fault
Could you look at it please.
XPDF and Acrobat Reader display the file without problems.