[gs-bugs] [Bug 690267] New: segfault on second document
bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Tue Feb 3 14:47:34 PST 2009
http://bugs.ghostscript.com/show_bug.cgi?id=690267
Summary: segfault on second document
Product: GhostXPS
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P4
Component: General
AssignedTo: tor.andersson at artifex.com
ReportedBy: ralph.giles at artifex.com
QAContact: gs-bugs at ghostscript.com
GhostXPS segfaults if more than one document is passed on the command line. The
segfault happens opening the second argument.
$ xps/obj/gxps tools/colorcirc.xps tools/tiger.xps
[Thread debugging using libthread_db enabled]
xps: page /Documents/1/Pages/1.fpage does not have transparency
[New Thread 0x7fe36ee266e0 (LWP 12014)]
End of page 1, press <enter> to continue.
[return pressed]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fe36ee266e0 (LWP 12014)]
0x0000000000528126 in inflate_fast (strm=0xb04758, start=6127)
at ../gs/zlib/inffast.c:137
137 PUP(out) = (unsigned char)(this.val);
(gdb) bt
#0 0x0000000000528126 in inflate_fast (strm=0xb04758, start=6127)
at ../gs/zlib/inffast.c:137
#1 0x000000000052a603 in inflate (strm=0xb04758, flush=0)
at ../gs/zlib/inflate.c:953
#2 0x000000000070813b in xps_read_part (ctx=0xb046a0, buf=0x7fff76e47460)
at ../xps/xpszip.c:288
#3 0x0000000000708b8e in xps_process_data (ctx=0xb046a0, buf=0x7fff76e47460)
at ../xps/xpszip.c:513
#4 0x0000000000404c92 in xps_imp_process (pinstance=0xb04620,
pcursor=0x7fff76e47460) at ../xps/xpstop.c:225
#5 0x000000000073e8eb in pl_process (instance=0xb04620, cursor=0x7fff76e47460)
at ../pl/pltop.c:148
#6 0x000000000074a4f0 in pl_main (argc=3, argv=0x7fff76e482c8)
at ../pl/plmain.c:400
#7 0x000000000074c495 in main (argc=3, argv=0x7fff76e482c8)
at ../pl/plmain.c:1279
Running with -Zi\| may or may not be enlightening.
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the gs-bugs
mailing list