[gnu.ghostscript.bug] GhostScript won't run remotely under X11R3

jeff@lorrie.atmos.washington.edu (Jeff L. Bowden) (12/19/88)

I grabbed the ghostscript files from prep 2 days ago and compiled them today.
I ran gs on the file book1.ps from my local host (sun 3/50, SunOS 3.5, X11R3)
and it drew a picture of some shaded curved pie slices.  I then ran the
program remotely on another sun (3/160, same filesystem, no screen) where it
proceeded to dump core.  Other X11 programs run just fine under the same
conditions.  (to prove it to myself I proceeded to run xterm, emacs and a few
other things from the same shell - all worked).

Here is the stackdump from gdb:

-------

Current directory is /usr.MC68020/stormy/jeff/tmp/ghostscript/
GDB 2.7, Copyright (C) 1988 Free Software Foundation, Inc.
There is ABSOLUTELY NO WARRANTY for GDB; type "info warranty" for details.
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "info copying" to see the conditions.
Reading symbol data from /usr.MC68020/stormy/jeff/tmp/ghostscript/gs...done.
Type "help" for a list of commands.
(gdb) r book1.ps
Starting program: /usr.MC68020/stormy/jeff/tmp/ghostscript/gs book1.ps
Reading ghost.ps... 13107
18051
22934
29192
36500
36500
257
GhostScript 1.0

Program received signal 11, Segmentation fault
0x3c24e in bcopy ()
(gdb) where
#0  0x3c24e in bcopy ()
#1  0x20200 in XOpenDisplay ()
#2  0x1e3de in x_init (dev=(gx_device *) 0x41e8c) (gdevx.c line 172)
#3  0x122bc in gs_framedevice (pgs=(struct {...} *) 0x4f284, pmat=(struct gs_matrix_s *) 0xefffa9c, width=80, height=350) (gsdevice.c line 92)
#4  0xd4e0 in common_device (op=(struct ref_s *) 0x45ba0, dproc=(gs_proc_build_char) 0x121a4) (zdevice.c line 80)
#5  0xd410 in zframedevice (op=(struct ref_s *) 0x45ba0) (zdevice.c line 61)
#6  0x31a8 in interp (pref=(struct ref_s *) 0xefffb60) (interp.c line 188)
#7  0x2e6a in interpret (pref=(struct ref_s *) 0xefffb60, user_errors=0) (interp.c line 97)
#8  0x2448 in run_file (file_name=(char *) 0x4009c "ghost.ps", user_errors=0) (gs.c line 165)
#9  0x23c6 in init () (gs.c line 151)
#10 0x2254 in argproc (arg=(char *) 0xefffe00 "book1.ps", index=0) (gs.c line 115)
#11 0x293a in gs_main (argc=2, argv=(char **) 0xefffd8c, map_name=(char *) 0x40048 "GS.MAP", switch_proc=(int (*)()) 0x218e, arg_proc=(gs_proc_free) 0x2220) (gsmain.c line 128)
#12 0x20d4 in main (argc=2, argv=(char **) 0xefffd8c) (gs.c line 59)
(gdb) 

-------

Apparently GS must be giving some bad parameters to XOpenDisplay but I can't
figure out what could be different for ghostscript on the two machines.