Bug 688329 - GS segfaults on Linux/PPC
Summary: GS segfaults on Linux/PPC
Status: RESOLVED DUPLICATE of bug 687643
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: General (show other bugs)
Version: 8.15
Hardware: Macintosh Linux
: P3 normal
Assignee: Ray Johnston
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-09 09:06 UTC by Joost Kremers
Modified: 2007-12-13 12:55 UTC (History)
2 users (show)

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joost Kremers 2005-10-09 09:06:50 UTC
------------------------------------------------------------------------
Symptoms:

Ghostscript segfaults. I compiled GPL ghostscript 8.15, with './configure &&
make'. Then (before running 'sudo make install') I try to run the tiger.eps
example:

joost@teuctli:~/src/ghostscript-8.15 $ ./configure
[output snipped]
joost@teuctli:~/src/ghostscript-8.15 $ make
[output snipped]
joost@teuctli:~/src/ghostscript-8.15 $ cd lib/
joost@teuctli:~/src/ghostscript-8.15/lib $ ../bin/gs ../examples/tiger.eps
GPL Ghostscript 8.15 (2004-09-22)
Copyright (C) 2004 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Segmentation fault

A window quickly flashes by on the screen, but it's blank: the tiger itself
never shows.

GS segfaults on anything else I try to do. 'gs -v' is the only thing that
doesn't...

------------------------------------------------------------------------
Ghostscript version (or include output from "gs -h"):

joost@teuctli:~/src/ghostscript-8.15/lib $ ../bin/gs -h
GPL Ghostscript 8.15 (2004-09-22)
Copyright (C) 2004 artofcode LLC, Benicia, CA.  All rights reserved.
Usage: gs [switches] [file1.ps file2.ps ...]
Most frequently used switches: (you can use # in place of =)
 -dNOPAUSE           no pause after page   | -q       `quiet', fewer messages
 -g<width>x<height>  page size in pixels   | -r<res>  pixels/inch resolution
 -sDEVICE=<devname>  select device         | -dBATCH  exit after last file
 -sOutputFile=<file> select output file: - for stdout, |command for pipe,
                                         embed %d or %ld for page #
Input formats: PostScript PostScriptLevel1 PostScriptLevel2 PostScriptLevel3 PDF
Default output device: x11
Available devices:
   bbox bit bitcmyk bitrgb bj10e bj200 bjc600 bjc800 bmp16 bmp16m bmp256
   bmp32b bmpgray bmpmono bmpsep1 bmpsep8 cdeskjet cdj550 cdjcolor cdjmono
   cljet5 cljet5c deskjet devicen djet500 epswrite faxg3 faxg32d faxg4 ijs
   jpeg jpeggray laserjet lj5gray lj5mono ljet2p ljet3 ljet3d ljet4 ljet4d
   ljetplus nullpage pbm pbmraw pcx16 pcx24b pcx256 pcxcmyk pcxgray pcxmono
   pdfwrite pgm pgmraw pgnm pgnmraw pj pjxl pjxl300 pkm pkmraw pksm pksmraw
   png16 png16m png256 pngalpha pnggray pngmono pnm pnmraw ppm ppmraw
   psdcmyk psdrgb psgray psmono psrgb pswrite pxlcolor pxlmono spotcmyk
   tiff12nc tiff24nc tiffcrle tiffg3 tiffg32d tiffg4 tifflzw tiffpack
   uniprint x11 x11alpha x11cmyk x11gray2 x11gray4 x11mono xcf
Search path:
   . : /usr/local/share/ghostscript/8.15/lib :
   /usr/local/share/ghostscript/8.15/Resource :
   /usr/local/share/ghostscript/fonts
For more information, see /usr/local/share/ghostscript/8.15/doc/Use.htm.
Report bugs to bug-gs@ghostscript.com, using the form in Bug-form.htm.

------------------------------------------------------------------------
Where you got Ghostscript:

The Sourceforge project page.

------------------------------------------------------------------------
Hardware system you are using (including printer model if the problem
involves printing):

PowerPC (Apple iBook G3).

------------------------------------------------------------------------
Operating system you are using:

Linux

------------------------------------------------------------------------
If you are using X Windows, and your problem involved output to the
screen, the output from running xdpyinfo and xwininfo:

n.a.

------------------------------------------------------------------------
C compiler you are using, including its version, if you compiled
Ghostscript yourself:

joost@teuctli:~/src/ghostscript-8.15/lib $ gcc -v
Reading specs from /usr/lib/gcc-lib/powerpc-slackware-linux/3.3.4/specs
Configured with: ../gcc-3.3.4/configure --prefix=/usr --enable-shared
--enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld
--verbose --target=powerpc-slackware-linux --host=powerpc-slackware-linux
Thread model: posix
gcc version 3.3.4

------------------------------------------------------------------------
If you compiled Ghostscript yourself, changes you made to the makefiles:

At first, I didn't make any changes to the Makefile. I tried a second time
replacing -O2 with -O, but without any result.

------------------------------------------------------------------------
Environment variables:

	GS_DEVICE

	GS_FONTPATH

	GS_LIB

	GS_OPTIONS

all unset

------------------------------------------------------------------------
Command line:

joost@teuctli:~/src/ghostscript-8.15/lib $ ../bin/gs ../examples/tiger.eps

------------------------------------------------------------------------
URL or FTP location of test files (include the data at the end of this
form if 500K or less):

This is the output from running an strace:

joost@teuctli:~/src/ghostscript-8.15/lib $ strace ../bin/gs \
../examples/tiger.eps > strace.gs 2>&1

execve("../bin/gs", ["../bin/gs", "../examples/tiger.eps"], [/* 44 vars */]) = 0
brk(0)                                  = 0x102a6000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=34224, ...}) = 0
mmap(NULL, 34224, PROT_READ, MAP_PRIVATE, 3, 0) = 0x30017000
close(3)                                = 0
open("/usr/X11R6/lib/libXt.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0\376"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=418869, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30020000
mmap(0xff83000, 442600, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xff83000
mprotect(0xffda000, 86248, PROT_NONE)   = 0
mmap(0xffe9000, 20480, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x56000) = 0xffe9000
mmap(0xffee000, 4328, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xffee000
close(3)                                = 0
open("/usr/X11R6/lib/libSM.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=47534, ...}) = 0
mmap(0xff59000, 104272, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xff59000
mprotect(0xff62000, 67408, PROT_NONE)   = 0
mmap(0xff71000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0xff71000
close(3)                                = 0
open("/usr/X11R6/lib/libICE.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0N\310"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=108126, ...}) = 0
mmap(0xff20000, 166468, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xff20000
mprotect(0xff36000, 76356, PROT_NONE)   = 0
mmap(0xff45000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0xff45000
mmap(0xff47000, 6724, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xff47000
close(3)                                = 0
open("/usr/X11R6/lib/libXext.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0;\270"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=85253, ...}) = 0
mmap(0xfeee000, 136684, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xfeee000
mprotect(0xfeff000, 67052, PROT_NONE)   = 0
mmap(0xff0e000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10000) = 0xff0e000
close(3)                                = 0
open("/usr/X11R6/lib/libX11.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\1V\\"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=967379, ...}) = 0
mmap(0xfdf4000, 954376, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xfdf4000
mprotect(0xfec8000, 86024, PROT_NONE)   = 0
mmap(0xfed7000, 20480, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd3000) = 0xfed7000
mmap(0xfedc000, 4104, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xfedc000
close(3)                                = 0
open("/usr/lib/libpng.so.3", O_RDONLY)  = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0y\344"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=195636, ...}) = 0
mmap(0xfda3000, 262472, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xfda3000
mprotect(0xfdd2000, 69960, PROT_NONE)   = 0
mmap(0xfde1000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2e000) = 0xfde1000
mmap(0xfde3000, 328, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xfde3000
close(3)                                = 0
open("/usr/lib/libz.so.1", O_RDONLY)    = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0\32"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=76728, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30021000
mmap(0xfd70000, 141272, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xfd70000
mprotect(0xfd83000, 63448, PROT_NONE)   = 0
mmap(0xfd92000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12000) = 0xfd92000
close(3)                                = 0
open("/lib/libm.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0\241"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=530472, ...}) = 0
mmap(0xfcdb000, 543484, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xfcdb000
mprotect(0xfd4e000, 72444, PROT_NONE)   = 0
mmap(0xfd5d000, 12288, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x72000) = 0xfd5d000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\1\323"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1430933, ...}) = 0
mmap(0xfb8a000, 1311680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xfb8a000
mprotect(0xfcaf000, 111552, PROT_NONE)  = 0
mmap(0xfcbe000, 40960, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x124000) = 0xfcbe000
mmap(0xfcc8000, 9152, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xfcc8000
close(3)                                = 0
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0\17"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=16970, ...}) = 0
mmap(0xfb67000, 74592, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xfb67000
mprotect(0xfb6a000, 62304, PROT_NONE)   = 0
mmap(0xfb79000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0xfb79000
close(3)                                = 0
munmap(0x30017000, 34224)               = 0
times({tms_utime=0, tms_stime=0, tms_cutime=0, tms_cstime=0}) = 449184577
brk(0)                                  = 0x102a6000
brk(0x102c7000)                         = 0x102c7000
brk(0x102e8000)                         = 0x102e8000
gettimeofday({1128873237, 222212}, {4294967176, 0}) = 0
open("gs_init.ps", O_RDONLY)            = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=71051, ...}) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=71051, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30028000
_llseek(3, 0, [0], SEEK_CUR)            = 0
_llseek(3, 0, [0], SEEK_SET)            = 0
read(3, "% Copyright (C) 1989-2004 artofc"..., 131072) = 71051
fstat64(1, {st_mode=S_IFREG|0644, st_size=6700, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30048000
write(1, "GPL Ghostscript 8.15 (2004-09-22"..., 128GPL Ghostscript 8.15 (2004-09-22)
Copyright (C) 2004 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with ) = 128
write(1, "NO WARRANTY: see the file PUBLIC"..., 46NO WARRANTY: see the file
PUBLIC for details.
) = 46
open("./gs_std_e.ps", O_RDONLY)         = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=3243, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=3243, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1993, 1994 Al"..., 131072) = 3243
brk(0x10309000)                         = 0x10309000
read(4, "", 131072)                     = 0
brk(0x10338000)                         = 0x10338000
brk(0x10367000)                         = 0x10367000
brk(0x10396000)                         = 0x10396000
brk(0x103c5000)                         = 0x103c5000
brk(0x103f4000)                         = 0x103f4000
brk(0x10423000)                         = 0x10423000
brk(0x10413000)                         = 0x10413000
brk(0x10403000)                         = 0x10403000
brk(0x103f4000)                         = 0x103f4000
brk(0x103e4000)                         = 0x103e4000
brk(0x103d4000)                         = 0x103d4000
brk(0x103c5000)                         = 0x103c5000
brk(0x103b5000)                         = 0x103b5000
brk(0x103a6000)                         = 0x103a6000
brk(0x10396000)                         = 0x10396000
brk(0x10386000)                         = 0x10386000
brk(0x10377000)                         = 0x10377000
brk(0x10367000)                         = 0x10367000
brk(0x10357000)                         = 0x10357000
brk(0x10348000)                         = 0x10348000
brk(0x10338000)                         = 0x10338000
brk(0x10329000)                         = 0x10329000
brk(0x10319000)                         = 0x10319000
brk(0x10309000)                         = 0x10309000
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_il1_e.ps", O_RDONLY)         = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=2800, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=2800, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1993, 1994, 1"..., 131072) = 2800
read(4, "", 131072)                     = 0
brk(0x1032d000)                         = 0x1032d000
brk(0x1035c000)                         = 0x1035c000
brk(0x1038b000)                         = 0x1038b000
brk(0x103ba000)                         = 0x103ba000
brk(0x103e9000)                         = 0x103e9000
brk(0x10418000)                         = 0x10418000
brk(0x10447000)                         = 0x10447000
brk(0x10437000)                         = 0x10437000
brk(0x10427000)                         = 0x10427000
brk(0x10418000)                         = 0x10418000
brk(0x10408000)                         = 0x10408000
brk(0x103f9000)                         = 0x103f9000
brk(0x103e9000)                         = 0x103e9000
brk(0x103d9000)                         = 0x103d9000
brk(0x103ca000)                         = 0x103ca000
brk(0x103ba000)                         = 0x103ba000
brk(0x103aa000)                         = 0x103aa000
brk(0x1039b000)                         = 0x1039b000
brk(0x1038b000)                         = 0x1038b000
brk(0x1037c000)                         = 0x1037c000
brk(0x1036c000)                         = 0x1036c000
brk(0x1035c000)                         = 0x1035c000
brk(0x1034d000)                         = 0x1034d000
brk(0x1033d000)                         = 0x1033d000
brk(0x1032d000)                         = 0x1032d000
brk(0x1031e000)                         = 0x1031e000
brk(0x1030e000)                         = 0x1030e000
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_statd.ps", O_RDONLY)         = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=13465, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=13465, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1989, 2000 Al"..., 131072) = 13465
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_fonts.ps", O_RDONLY)         = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=43837, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=43837, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1990-2003 art"..., 131072) = 43837
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_cspace.ps", O_RDONLY)        = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=29504, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=29504, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 2002 Aladdin "..., 131072) = 29504
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_devcs.ps", O_RDONLY)         = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=5773, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=5773, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 2002 Aladdin "..., 131072) = 5773
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_img.ps", O_RDONLY)           = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=21397, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=21397, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "% (C) 2002 Artifex, Inc.  All ri"..., 131072) = 21397
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_btokn.ps", O_RDONLY)         = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=11103, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=11103, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1994, 2000 Al"..., 131072) = 11103
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_dps1.ps", O_RDONLY)          = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=4576, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=4576, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1997, 1999 Al"..., 131072) = 4576
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_dps2.ps", O_RDONLY)          = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=6977, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=6977, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1990, 1996, 1"..., 131072) = 6977
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_type1.ps", O_RDONLY)         = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=7461, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=7461, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1994, 2000 Al"..., 131072) = 7461
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_lev2.ps", O_RDONLY)          = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=30962, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=30962, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1990, 2000 Al"..., 131072) = 30962
open("./gs_devpxl.ps", O_RDONLY)        = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=2244, ...}) = 0
fstat64(5, {st_mode=S_IFREG|0644, st_size=2244, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30088000
_llseek(5, 0, [0], SEEK_CUR)            = 0
_llseek(5, 0, [0], SEEK_SET)            = 0
read(5, "%    Copyright (C) 2002 Aladdin "..., 131072) = 2244
read(5, "", 131072)                     = 0
close(5)                                = 0
munmap(0x30088000, 131072)              = 0
open("./gs_ciecs2.ps", O_RDONLY)        = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=3477, ...}) = 0
fstat64(5, {st_mode=S_IFREG|0644, st_size=3477, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30088000
_llseek(5, 0, [0], SEEK_CUR)            = 0
_llseek(5, 0, [0], SEEK_SET)            = 0
read(5, "%    Copyright (C) 2002 Aladdin "..., 131072) = 3477
read(5, "", 131072)                     = 0
close(5)                                = 0
munmap(0x30088000, 131072)              = 0
open("./gs_indxd.ps", O_RDONLY)         = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=5462, ...}) = 0
fstat64(5, {st_mode=S_IFREG|0644, st_size=5462, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30088000
_llseek(5, 0, [0], SEEK_CUR)            = 0
_llseek(5, 0, [0], SEEK_SET)            = 0
read(5, "%    Copyright (C) 2001, 2002 Al"..., 131072) = 5462
read(5, "", 131072)                     = 0
close(5)                                = 0
munmap(0x30088000, 131072)              = 0
open("./gs_sepr.ps", O_RDONLY)          = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=8299, ...}) = 0
fstat64(5, {st_mode=S_IFREG|0644, st_size=8299, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30088000
_llseek(5, 0, [0], SEEK_CUR)            = 0
_llseek(5, 0, [0], SEEK_SET)            = 0
read(5, "%    Copyright (C) 2001, 2002 Al"..., 131072) = 8299
read(5, "", 131072)                     = 0
close(5)                                = 0
munmap(0x30088000, 131072)              = 0
open("./gs_patrn.ps", O_RDONLY)         = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=7927, ...}) = 0
fstat64(5, {st_mode=S_IFREG|0644, st_size=7927, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30088000
_llseek(5, 0, [0], SEEK_CUR)            = 0
_llseek(5, 0, [0], SEEK_SET)            = 0
read(5, "%    Copyright (C) 2001, 2002 Al"..., 131072) = 7927
read(5, "", 131072)                     = 0
close(5)                                = 0
munmap(0x30088000, 131072)              = 0
brk(0x10335000)                         = 0x10335000
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_res.ps", O_RDONLY)           = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=34620, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=34620, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1994, 1996, 1"..., 131072) = 34620
read(4, "", 131072)                     = 0
open("./gs_resmp.ps", O_RDONLY)         = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=21103, ...}) = 0
fstat64(5, {st_mode=S_IFREG|0644, st_size=21103, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30088000
_llseek(5, 0, [0], SEEK_CUR)            = 0
_llseek(5, 0, [0], SEEK_SET)            = 0
read(5, "%    Copyright (C) 2000 artofcod"..., 131072) = 21103
read(5, "", 131072)                     = 0
close(5)                                = 0
munmap(0x30088000, 131072)              = 0
open("./gs_resst.ps", O_RDONLY)         = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=5679, ...}) = 0
fstat64(5, {st_mode=S_IFREG|0644, st_size=5679, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30088000
_llseek(5, 0, [0], SEEK_CUR)            = 0
_llseek(5, 0, [0], SEEK_SET)            = 0
read(5, "%    Copyright (C) 2000 artofcod"..., 131072) = 5679
read(5, "", 131072)                     = 0
close(5)                                = 0
munmap(0x30088000, 131072)              = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_typ42.ps", O_RDONLY)         = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=1633, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=1633, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1996 Aladdin "..., 131072) = 1633
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_cidfn.ps", O_RDONLY)         = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=12617, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=12617, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1995, 2000 Al"..., 131072) = 12617
open("./ProcSet/CIDInit", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/usr/local/share/ghostscript/8.15/lib/ProcSet/CIDInit", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/local/share/ghostscript/8.15/Resource/ProcSet/CIDInit", O_RDONLY) =
-1 ENOENT (No such file or directory)
open("/usr/local/share/ghostscript/fonts/ProcSet/CIDInit", O_RDONLY) = -1 ENOENT
(No such file or directory)
stat64("/usr/local/share/ghostscript/8.15/Resource/ProcSet/CIDInit", 0x7fb6b630)
= -1 ENOENT (No such file or directory)
read(4, "", 131072)                     = 0
open("./gs_ciddc.ps", O_RDONLY)         = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=7290, ...}) = 0
fstat64(5, {st_mode=S_IFREG|0644, st_size=7290, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30088000
_llseek(5, 0, [0], SEEK_CUR)            = 0
_llseek(5, 0, [0], SEEK_SET)            = 0
read(5, "%    Copyright (C) 1994, 1996, 1"..., 131072) = 7290
read(5, "", 131072)                     = 0
close(5)                                = 0
munmap(0x30088000, 131072)              = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_cidcm.ps", O_RDONLY)         = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=16251, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=16251, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 2000 artofcod"..., 131072) = 16251
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_fntem.ps", O_RDONLY)         = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=10697, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=10697, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 2000 artofcod"..., 131072) = 10697
open("./xlatmap", O_RDONLY)             = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=1750, ...}) = 0
fstat64(5, {st_mode=S_IFREG|0644, st_size=1750, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30088000
_llseek(5, 0, [0], SEEK_CUR)            = 0
_llseek(5, 0, [0], SEEK_SET)            = 0
read(5, "% xlatmap - the map of translati"..., 131072) = 1750
read(5, "", 131072)                     = 0
close(5)                                = 0
munmap(0x30088000, 131072)              = 0
brk(0x10358000)                         = 0x10358000
open("./gs_sym_e.ps", O_RDONLY)         = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=3102, ...}) = 0
fstat64(5, {st_mode=S_IFREG|0644, st_size=3102, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30088000
_llseek(5, 0, [0], SEEK_CUR)            = 0
_llseek(5, 0, [0], SEEK_SET)            = 0
read(5, "%    Copyright (C) 1991, 1994, 1"..., 131072) = 3102
read(5, "", 131072)                     = 0
close(5)                                = 0
munmap(0x30088000, 131072)              = 0
open("./gs_dbt_e.ps", O_RDONLY)         = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=2288, ...}) = 0
fstat64(5, {st_mode=S_IFREG|0644, st_size=2288, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30088000
_llseek(5, 0, [0], SEEK_CUR)            = 0
_llseek(5, 0, [0], SEEK_SET)            = 0
read(5, "%    Copyright (C) 1993, 1994 Al"..., 131072) = 2288
read(5, "", 131072)                     = 0
close(5)                                = 0
munmap(0x30088000, 131072)              = 0
open("/dev/null", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open("./Encoding", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No
such file or directory)
open("/usr/local/share/ghostscript/8.15/lib/Encoding",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory)
open("/usr/local/share/ghostscript/8.15/Resource/Encoding",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory)
open("/usr/local/share/ghostscript/fonts/Encoding",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory)
open("/usr/local/share/ghostscript/8.15/Resource/Encoding",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory)
open("/usr/local/share/ghostscript/8.15/Resource/Encoding",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory)
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_cidtt.ps", O_RDONLY)         = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=4629, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=4629, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 2000 artofcod"..., 131072) = 4629
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_cidfm.ps", O_RDONLY)         = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=4421, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=4421, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 2000 artofcod"..., 131072) = 4421
read(4, "", 131072)                     = 0
open("./cidfmap", O_RDONLY)             = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=996, ...}) = 0
fstat64(5, {st_mode=S_IFREG|0644, st_size=996, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30088000
_llseek(5, 0, [0], SEEK_CUR)            = 0
_llseek(5, 0, [0], SEEK_SET)            = 0
read(5, "%!\n% $Id: cidfmap,v 1.7 2003/02/"..., 131072) = 996
read(5, "", 131072)                     = 0
close(5)                                = 0
munmap(0x30088000, 131072)              = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_cmap.ps", O_RDONLY)          = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=17210, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=17210, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1995, 2000 Al"..., 131072) = 17210
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_setpd.ps", O_RDONLY)         = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=28049, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=28049, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1994, 2000 Al"..., 131072) = 28049
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_typ32.ps", O_RDONLY)         = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=4220, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=4220, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1997 Aladdin "..., 131072) = 4220
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_frsd.ps", O_RDONLY)          = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=2972, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=2972, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 2000 Aladdin "..., 131072) = 2972
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_ll3.ps", O_RDONLY)           = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=10555, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=10555, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1997, 2000 Al"..., 131072) = 10555
open("./gs_ciecs3.ps", O_RDONLY)        = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=3183, ...}) = 0
fstat64(5, {st_mode=S_IFREG|0644, st_size=3183, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30088000
_llseek(5, 0, [0], SEEK_CUR)            = 0
_llseek(5, 0, [0], SEEK_SET)            = 0
read(5, "%    Copyright (C) 2002 Aladdin "..., 131072) = 3183
read(5, "", 131072)                     = 0
close(5)                                = 0
munmap(0x30088000, 131072)              = 0
open("./gs_devn.ps", O_RDONLY)          = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=5556, ...}) = 0
fstat64(5, {st_mode=S_IFREG|0644, st_size=5556, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30088000
_llseek(5, 0, [0], SEEK_CUR)            = 0
_llseek(5, 0, [0], SEEK_SET)            = 0
read(5, "%    Copyright (C) 2001, 2002 Al"..., 131072) = 5556
read(5, "", 131072)                     = 0
close(5)                                = 0
munmap(0x30088000, 131072)              = 0
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_mex_e.ps", O_RDONLY)         = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=3997, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=3997, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1994, 1999 Al"..., 131072) = 3997
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_mro_e.ps", O_RDONLY)         = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=2539, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=2539, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1994, 1999 Al"..., 131072) = 2539
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_pdf_e.ps", O_RDONLY)         = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=1709, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=1709, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1994, 1997, 1"..., 131072) = 1709
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_wan_e.ps", O_RDONLY)         = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=1687, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=1687, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1994, 1996, 1"..., 131072) = 1687
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./pdf_ops.ps", O_RDONLY)          = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=20437, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=20437, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1994, 2000 Al"..., 131072) = 20437
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_l2img.ps", O_RDONLY)         = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=5635, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=5635, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1995, 1996 Al"..., 131072) = 5635
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./pdf_rbld.ps", O_RDONLY)         = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=13357, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=13357, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 2002 artofcod"..., 131072) = 13357
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./pdf_base.ps", O_RDONLY)         = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=24808, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=24808, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1994-2003 art"..., 131072) = 24808
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./pdf_draw.ps", O_RDONLY)         = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=39733, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=39733, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1994, 2000 Al"..., 131072) = 39733
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./pdf_font.ps", O_RDONLY)         = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=42260, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=42260, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1994, 2000 Al"..., 131072) = 42260
brk(0x1037a000)                         = 0x1037a000
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./pdf_main.ps", O_RDONLY)         = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=34356, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=34356, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1994, 2000 Al"..., 131072) = 34356
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./pdf_sec.ps", O_RDONLY)          = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=9832, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=9832, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%   Copyright (C) 1996-1998 Geof"..., 131072) = 9832
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_css_e.ps", O_RDONLY)         = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=4955, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=4955, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1999 Aladdin "..., 131072) = 4955
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_cff.ps", O_RDONLY)           = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=22114, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=22114, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1997, 1998, 1"..., 131072) = 22114
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_mgl_e.ps", O_RDONLY)         = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=2193, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=2193, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1999, 2000 Al"..., 131072) = 2193
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_agl.ps", O_RDONLY)           = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=28612, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=28612, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 2000 Aladdin "..., 131072) = 28612
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_ttf.ps", O_RDONLY)           = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=41871, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=41871, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1996-2003 art"..., 131072) = 41871
brk(0x1039f000)                         = 0x1039f000
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_icc.ps", O_RDONLY)           = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=10603, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=10603, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 2001, 2002 Al"..., 131072) = 10603
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_dps.ps", O_RDONLY)           = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=7842, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=7842, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1997, 2000 Al"..., 131072) = 7842
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_dpnxt.ps", O_RDONLY)         = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=4766, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=4766, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1997, 1998 Al"..., 131072) = 4766
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_epsf.ps", O_RDONLY)          = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=7099, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=7099, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1989, 1996, 2"..., 131072) = 7099
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_fapi.ps", O_RDONLY)          = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=9287, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=9287, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 2000 artofcod"..., 131072) = 9287
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_pdfwr.ps", O_RDONLY)         = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=20920, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=20920, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 1996, 2000 Al"..., 131072) = 20920
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./gs_stres.ps", O_RDONLY)         = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=4179, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=4179, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%    Copyright (C) 2000 artofcod"..., 131072) = 4179
brk(0x103c0000)                         = 0x103c0000
read(4, "", 131072)                     = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("./Fontmap", O_RDONLY)             = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=109, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=109, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
_llseek(4, 0, [0], SEEK_CUR)            = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "%!\n% See Fontmap.GS for the synt"..., 131072) = 109
read(4, "", 131072)                     = 0
open("./Fontmap.GS", O_RDONLY)          = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=13531, ...}) = 0
fstat64(5, {st_mode=S_IFREG|0644, st_size=13531, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30088000
_llseek(5, 0, [0], SEEK_CUR)            = 0
_llseek(5, 0, [0], SEEK_SET)            = 0
read(5, "% Copyright (C) 1996, 1999 Aladd"..., 131072) = 13531
read(5, "", 131072)                     = 0
close(5)                                = 0
munmap(0x30088000, 131072)              = 0
close(4)                                = 0
munmap(0x30068000, 131072)              = 0
open("/usr/local/share/ghostscript/8.15/lib/Fontmap", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/local/share/ghostscript/8.15/Resource/Fontmap", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/local/share/ghostscript/fonts/Fontmap", O_RDONLY) = -1 ENOENT (No
such file or directory)
brk(0x103e3000)                         = 0x103e3000
brk(0x10405000)                         = 0x10405000
brk(0x10428000)                         = 0x10428000
uname({sys="Linux", node="teuctli", ...}) = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 4
ugetrlimit(0x7, 0x7fb6b0e8)             = 0
uname({sys="Linux", node="teuctli", ...}) = 0
uname({sys="Linux", node="teuctli", ...}) = 0
connect(4, {sa_family=AF_FILE, path="/tmp/.X11-unix/X0"}, 19) = 0
uname({sys="Linux", node="teuctli", ...}) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
access("/home/joost/.Xauthority", R_OK) = 0
open("/home/joost/.Xauthority", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0600, st_size=101, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
read(5, "\1\0\0\7teuctli\0\0010\0\22MIT-MAGIC-COOKIE"..., 131072) = 101
read(5, "", 131072)                     = 0
close(5)                                = 0
munmap(0x30068000, 131072)              = 0
writev(4, [{"B\0\0\v\0\0\0\22\0\20\0\0", 12}, {"MIT-MAGIC-COOKIE-1", 18},
{"\0\0", 2}, {"\36G\236\26\203\2026\4\215\374\310 \2413,R", 16}], 4) = 48
fcntl64(4, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
read(4, "\1\0\0\v\0\0\0\223", 8)        = 8
read(4, "\3\237\277\350\2@\0\0\0\37\377\377\0\0\1\0\0\24\377\377"..., 588) = 588
write(4, "7\0\0\5\2@\0\0\0\0\0H\0\0\0\10\0\377\377\377b\0\0\5\0\f"..., 64) = 64
read(4, "\1\305\0\2\0\0\0\0\1\203\0\0\21\213@\210\177\305\201\360"..., 32) = 32
read(4, "\1\10\0\3\0\0\0\226\0\0\0\37\0\0\0\0\0\0\2U\22Z&\230\0"..., 32) = 32
readv(4, [{"GV.scratchDir:\t~/tmp/\nXft.antial"..., 597}, {"\37\0\0", 3}], 2) = 600
write(4, "\203\0\0\1", 4)               = 4
read(4, "\1\305\0\4\0\0\0\0\0?\377\377\20\37\0\0\177\305\201\360"..., 32) = 32
writev(4, [{"b\0\0\5\0\t\0\0", 8}, {"XKEYBOARD", 9}, {"\0\0\0", 3}], 3) = 20
read(4, "\1\305\0\5\0\0\0\0\1\225n\257\20\37\0\0\177\305\201\360"..., 32) = 32
write(4, "\225\0\0\2\0\1\0\0", 8)       = 8
read(4, "\1\1\0\6\0\0\0\0\0\1\0\0\0-c`\177\305\201\340\20\n\371"..., 32) = 32
open("/etc/mtab", O_RDONLY)             = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=285, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
read(5, "/dev/hda9 / reiserfs rw 0 0\nproc"..., 131072) = 285
close(5)                                = 0
munmap(0x30068000, 131072)              = 0
open("/proc/meminfo", O_RDONLY)         = 5
fstat64(5, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30017000
read(5, "MemTotal:       643856 kB\nMemFre"..., 1024) = 598
close(5)                                = 0
munmap(0x30017000, 4096)                = 0
uname({sys="Linux", node="teuctli", ...}) = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 5
ugetrlimit(0x7, 0x7fb6b098)             = 0
uname({sys="Linux", node="teuctli", ...}) = 0
uname({sys="Linux", node="teuctli", ...}) = 0
connect(5, {sa_family=AF_FILE, path="/tmp/.X11-unix/X0"}, 19) = 0
uname({sys="Linux", node="teuctli", ...}) = 0
fcntl64(5, F_SETFD, FD_CLOEXEC)         = 0
access("/home/joost/.Xauthority", R_OK) = 0
open("/home/joost/.Xauthority", O_RDONLY) = 6
fstat64(6, {st_mode=S_IFREG|0600, st_size=101, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
read(6, "\1\0\0\7teuctli\0\0010\0\22MIT-MAGIC-COOKIE"..., 131072) = 101
read(6, "", 131072)                     = 0
close(6)                                = 0
munmap(0x30068000, 131072)              = 0
writev(5, [{"B\0\0\v\0\0\0\22\0\20\0\0", 12}, {"MIT-MAGIC-COOKIE-1", 18},
{"\0\0", 2}, {"\36G\236\26\203\2026\4\215\374\310 \2413,R", 16}], 4) = 48
fcntl64(5, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
read(5, "\1\0\0\v\0\0\0\223", 8)        = 8
read(5, "\3\237\277\350\2`\0\0\0\37\377\377\0\0\1\0\0\24\377\377"..., 588) = 588
write(5, "7\0\0\5\2`\0\0\0\0\0H\0\0\0\10\0\377\377\377b\0\0\5\0\f"..., 64) = 64
read(5, "\1\305\0\2\0\0\0\0\1\203\0\0\22Z20\177\305\201\360\20\37"..., 32) = 32
read(5, "\1\10\0\3\0\0\0\226\0\0\0\37\0\0\0\0\0\0\2U\21a\7\240\0"..., 32) = 32
readv(5, [{"GV.scratchDir:\t~/tmp/\nXft.antial"..., 597}, {"\37\0\0", 3}], 2) = 600
write(5, "\203\0\0\1", 4)               = 4
read(5, "\1\305\0\4\0\0\0\0\0?\377\377\20\37\0\0\177\305\201\360"..., 32) = 32
writev(5, [{"b\0\0\5\0\t\0\0", 8}, {"XKEYBOARD", 9}, {"\0\0\0", 3}], 3) = 20
read(5, "\1\305\0\5\0\0\0\0\1\225n\257\20\37\0\0\177\305\201\360"..., 32) = 32
write(5, "\225\0\0\2\0\1\0\0", 8)       = 8
read(5, "\1\1\0\6\0\0\0\0\0\1\0\0\0-c`\177\305\201\340\20\n\371"..., 32) = 32
write(5, "\20\0\0\5\0\v\0\0Custom Init\377", 20) = 20
read(5, "\1\305\0\7\0\0\0\0\0\0\1s\20\37\0\0\177\305\201\360\20"..., 32) = 32
write(5, "\20\0\0\5\0\v\0\0Custom Data\377", 20) = 20
read(5, "\1\305\0\10\0\0\0\0\0\0\1t\20\37\0\0\177\305\201\360\20"..., 32) = 32
open("/usr/X11R6/lib/X11/locale/locale.alias", O_RDONLY) = 6
fstat64(6, {st_mode=S_IFREG|0444, st_size=57362, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
read(6, "#\t$XdotOrg: xc/nls/locale.alias,"..., 131072) = 57362
read(6, "", 131072)                     = 0
close(6)                                = 0
munmap(0x30068000, 131072)              = 0
open("/usr/X11R6/lib/X11/locale/locale.dir", O_RDONLY) = 6
fstat64(6, {st_mode=S_IFREG|0444, st_size=30109, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
read(6, "#\t$XdotOrg: xc/nls/locale.dir,v "..., 131072) = 30109
close(6)                                = 0
munmap(0x30068000, 131072)              = 0
open("/usr/X11R6/lib/X11/locale/C/XI18N_OBJS", O_RDONLY) = 6
fstat64(6, {st_mode=S_IFREG|0444, st_size=333, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
read(6, "# CATEGORY(XLC|XIM|OM)\tSHARED_LI"..., 131072) = 333
read(6, "", 131072)                     = 0
close(6)                                = 0
munmap(0x30068000, 131072)              = 0
open("/usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2", O_RDONLY) = 6
read(6, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0\32"..., 512) = 512
fstat64(6, {st_mode=S_IFREG|0644, st_size=20424, ...}) = 0
mmap(0xfb43000, 78984, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 6, 0) =
0xfb43000
mprotect(0xfb47000, 62600, PROT_NONE)   = 0
mmap(0xfb56000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x3000) = 0xfb56000
close(6)                                = 0
open("/usr/X11R6/lib/X11/locale/locale.alias", O_RDONLY) = 6
fstat64(6, {st_mode=S_IFREG|0444, st_size=57362, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
read(6, "#\t$XdotOrg: xc/nls/locale.alias,"..., 131072) = 57362
read(6, "", 131072)                     = 0
close(6)                                = 0
munmap(0x30068000, 131072)              = 0
open("/usr/X11R6/lib/X11/locale/locale.dir", O_RDONLY) = 6
fstat64(6, {st_mode=S_IFREG|0444, st_size=30109, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
read(6, "#\t$XdotOrg: xc/nls/locale.dir,v "..., 131072) = 30109
close(6)                                = 0
munmap(0x30068000, 131072)              = 0
access("/usr/X11R6/lib/X11/locale/C/XLC_LOCALE", R_OK) = 0
open("/usr/X11R6/lib/X11/locale/C/XLC_LOCALE", O_RDONLY) = 6
fstat64(6, {st_mode=S_IFREG|0444, st_size=772, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
read(6, "#  $Xorg: C,v 1.3 2000/08/17 19:"..., 131072) = 772
read(6, "", 131072)                     = 0
close(6)                                = 0
munmap(0x30068000, 131072)              = 0
write(5, "\20\1\0\6\0\20\0\0SCREEN_RESOURCES", 24) = 24
read(5, "\1\305\0\t\0\0\0\0\0\0\0m\20\37\0\0\177\305\201\360\20"..., 32) = 32
write(5, "\24\0\0\6\0\0\0H\0\0\0m\0\0\0\37\0\0\0\0\5\365\341\0", 24) = 24
read(5, "\1\0\0\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
uname({sys="Linux", node="teuctli", ...}) = 0
open("/home/joost/.Xdefaults-teuctli", O_RDONLY) = -1 ENOENT (No such file or
directory)
access("/home/joost/en_US/Ghostscript", R_OK) = -1 ENOENT (No such file or
directory)
access("/home/joost/en/Ghostscript", R_OK) = -1 ENOENT (No such file or directory)
access("/home/joost/Ghostscript", R_OK) = -1 ENOENT (No such file or directory)
access("/home/joost/en_US/Ghostscript", R_OK) = -1 ENOENT (No such file or
directory)
access("/home/joost/en/Ghostscript", R_OK) = -1 ENOENT (No such file or directory)
access("/home/joost/Ghostscript", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/X11R6/lib/X11/en_US/app-defaults/Ghostscript", R_OK) = -1 ENOENT
(No such file or directory)
access("/usr/X11R6/lib/X11/en/app-defaults/Ghostscript", R_OK) = -1 ENOENT (No
such file or directory)
access("/usr/X11R6/lib/X11/app-defaults/Ghostscript", R_OK) = -1 ENOENT (No such
file or directory)
access("/usr/X11R6/lib/X11/en_US/app-defaults/Ghostscript", R_OK) = -1 ENOENT
(No such file or directory)
access("/usr/X11R6/lib/X11/en/app-defaults/Ghostscript", R_OK) = -1 ENOENT (No
such file or directory)
access("/usr/X11R6/lib/X11/app-defaults/Ghostscript", R_OK) = -1 ENOENT (No such
file or directory)
write(5, "\20\1\0\t\0\33\0HXDCCC_LINEAR_RGB_CORRECT"..., 36) = 36
read(5, "\1\305\0\v\0\0\0\0\0\0\0w\20\37\0\0\177\305\201\360\20"..., 32) = 32
write(5, "\20\1\0\t\0\31\0HXDCCC_LINEAR_RGB_MATRICE"..., 36) = 36
read(5, "\1\305\0\f\0\0\0\0\0\0\0x\20\37\0\0\177\305\201\360\20"..., 32) = 32
write(5, "\24\0\0\6\0\0\0H\0\0\0x\0\0\0\23\0\0\0\0\0\0\31t", 24) = 24
read(5, "\1\0\0\r\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
stat64("/usr/X11R6/lib/X11/Xcms.txt", {st_mode=S_IFREG|0444, st_size=1736, ...}) = 0
open("/usr/X11R6/lib/X11/Xcms.txt", O_RDONLY) = 6
fstat64(6, {st_mode=S_IFREG|0444, st_size=1736, ...}) = 0
mmap(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30068000
read(6, "/*\n * (c) Copyright 1990 1991 Te"..., 131072) = 1736
_llseek(6, 0, [0], SEEK_SET)            = 0
read(6, "/*\n * (c) Copyright 1990 1991 Te"..., 131072) = 1736
close(6)                                = 0
munmap(0x30068000, 131072)              = 0
writev(5, [{"U\0\0\5\0\0\0 \0\5\0x", 12}, {"white", 5}, {"\0\0\0", 3}], 3) = 20
read(5, "\1\305\0\16\0\0\0\0\0\377\377\377\377\377\377\377\377\377"..., 32) = 32
writev(5, [{"U\0\0\5\0\0\0 \0\5\0x", 12}, {"black", 5}, {"\0\0\0", 3}], 3) = 20
read(5, "\1\305\0\17\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\20"..., 32) = 32
write(4, "[\0\0\3\0\0\0 \0\0\0\0", 12)  = 12
read(4, "\1\305\0\7\0\0\0\2\0\1\201\240\0-c`\177\305\201\340\20"..., 32) = 32
read(4, "\0\0\0\0\0\0&\230", 8)         = 8
write(4, "T\0\0\4\0\0\0 \0\0\0\0\0\0\0\10", 16) = 16
read(4, "\1\305\0\10\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\20\37\0\0\20"..., 32) = 32
write(4, "[\0\0\3\0\0\0 \0\377\377\377", 12) = 12
read(4, "\1\305\0\t\0\0\0\2\0\1\201\240\0-c`\177\305\201\340\20"..., 32) = 32
read(4, "\377\377\377\377\377\377&\230", 8) = 8
write(4, "T\0\0\4\0\0\0 \377\377\377\377\377\377\0\10", 16) = 16
read(4, "\1\305\0\n\0\0\0\0\377\377\377\377\377\377\0\0\0\377\377"..., 32) = 32
write(4, "\24\0\0\6\0\0\0H\0\0\0\33\0\0\0\30\0\0\0\0\0\17B@", 24) = 24
read(4, "\1\0\0\v\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
write(5, "X\0\0\4\0\0\0 \0\0\0\0\0\377\377\377X\0\0\4\0\0\0 \0\0"..., 44) = 44
read(5, "\1\2\0\23\0\0\0\0\1\240\0\r\0-ct\0\0\0\0\21a\7\240\0\0"..., 32) = 32
shutdown(5, 2 /* send and receive */)   = 0
close(5)                                = 0
write(4, "\1\30\0\f\2@\0\1\0\0\0H\0\0\0\0\2-\2\321\0\1\0\1\0\0\0"..., 276) = 276
read(4, "\1\2\0\22\0\0\0\0\1\240\0\r\0-ct\0\0\0\0\22Z&\230\0\0\0"..., 32) = 32
write(4, "8\30\0\4\2@\0\2\0\0\0\4\0\377\377\377F-\0\5\2@\0\3\2@\0"..., 84) = 84
read(4, "\1\2\0\30\0\0\0\0\1\240\0\r\0-c\210\0\0\0\0\22Z&\230\0"..., 32) = 32
ioctl(4, FIONREAD or FIONREAD, [0])     = 0
read(4, 0x7fb6abf0, 32)                 = -1 EAGAIN (Resource temporarily
unavailable)
select(5, [4], NULL, NULL, NULL)        = 1 (in [4])
read(4, "\f\305\0\30\2@\0\1\0\0\0\0\2-\2\274\0\1\0\0\20\37\0\0\20"..., 32) = 32
write(4, "\2\30\0\4\2@\0\1\0\0\10\0\0\0\0\0005\30\0\4\2@\0\4\2@\0"..., 104) = 104
read(4, "\f\305\0\30\2@\0\1\0\0\2\274\0\323\0\25\0\0~\240\0\0\0"..., 32) = 32
read(4, 0x7fb6b6f0, 32)                 = -1 EAGAIN (Resource temporarily
unavailable)
select(5, [4], NULL, NULL, NULL)        = 1 (in [4])
read(4, "\1\2\0\36\0\0\0\0\1\240\0\r\0-d(\0\0\0\0\22Z&\230\0\0\0"..., 32) = 32
brk(0x10449000)                         = 0x10449000
read(3, "", 131072)                     = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++


------------------------------------------------------------------------
Suggested fix, if any:

The only thing that seems to work is to use an older version of
Ghostscript. I compiled AFPL Ghostscript 7.04 and that works fine.

------------------------------------------------------------------------
Other comments:

The problem occurs with self-compiled GS, but also with precompiled
packages from CRUX/PPC <http://cruxppc.sunsite.dk/> and Slackintosh 10.1
<http://workaround.ch/index.html>.
Comment 1 Alex Cherepanov 2005-10-09 18:26:29 UTC
It looks like the last files opened by Ghostscript are all related to X11.
Can you check whether Ghostscript runs with other devices, for instance:
gs -sDEVICE=nullpage examples/tiger.eps
gs -sDEVICE=tiffg4 -sOutputFile=tiger.tiff examples/tiger.eps
Comment 2 Joost Kremers 2005-10-10 00:35:00 UTC
I've run gs with other devices, as requested. gs still segfaults:


joost@teuctli:~/src/ghostscript-8.15/lib $ ../bin/gs -sDEVICE=nullpage \
../examples/tiger.eps
GPL Ghostscript 8.15 (2004-09-22)
Copyright (C) 2004 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Segmentation fault


and:

joost@teuctli:~/src/ghostscript-8.15/lib $ ../bin/gs -sDEVICE=tiffg4
-sOutputFile=tiger.tiff ../examples/tiger.eps
GPL Ghostscript 8.15 (2004-09-22)
Copyright (C) 2004 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Segmentation fault


straces can be found at:

<http://user.uni-frankfurt.de/~kremers/gs/>
Comment 3 Ray Johnston 2006-01-31 23:28:07 UTC
I will dust off my Mac and attempt to reproduce this. If I can't I'll
close it.
Comment 4 Vince Weaver 2006-05-13 19:26:36 UTC
This bug can be fixed with the patch found here:
   http://lists.debian.org/debian-printing/2005/09/msg00000.html
Comment 5 Ray Johnston 2006-05-14 09:09:21 UTC
Thanks to Vince Weaver for spotting that this is a duplicate.

I will remind Raph to elevate the review for bug 687643.

*** This bug has been marked as a duplicate of 687643 ***