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.
Raising priority because segfaults are ugly.
*** This bug has been marked as a duplicate of 690283 ***