Greetings Jonas,

> > So gs works, but gv fails (though when gv reports the error,
> > it reports it as a GPL Ghostscript error...)
> Ah.  gv works for me too.

Ah...

> Ghostscript also pulls data files from */usr/share.
> Try put aside /usr/local completely!

I did that:
  mv /usr/local /usr/local.aside
but my gv still fails with the same message :-)

> And I wonder how all those binaries ended below /usr/lib - could
> it be that you've compiled a bunch of different stuff by hand and
> installed it as root?

Yes, that I have done; but always into /usr/local, AFAIK

> If so, I suspect that some install routines might accidentally
> have installed stuff below /usr too,

Well that would be very naughty of them.  I did do the upgrade
lenny to squeeze which is when the gv problem seem to have arisen,
and haven't really compiled much by hand since.
gv is the only program that's giving me problems.

> Not certain, though.  A way forward could perhaps be to use
> strace to check which files are being touch prior to the crash.
> But that's beyond me, so can't really help there.

I ran:
  box8> strace -o /tmp/t gv ~/www/muscript/samples/courante.pdf

and I can see gv doing:
  pipe([7, 8])
not sure what that does because I don't know where 8 came from, and
then it polls file-descriptor 7 a lot, eventually getting the answer:
  box8> grep '(7' /tmp/t | less
  read(7, "Error: /undefined", 512)       = 17
  read(7, " in copy_trailer_attrs\nOperand s"..., 512) = 512
  read(7, "ack:\n   --dict:1159/1684(ro)(G)-"..., 512) = 197
  close(7)                                = 0
so the error looks like it's coming from a gs process,
just like gv is reporting that it does.

Ken Sharp, of gs-bugs, says:
> Hmm, sounds like either its gv, or possibly its somehow linking
> against a different version of Ghostscript, maybe an old one.

Can I force-reinstall ghostscript and/or gv ?

But there's certainly no files from /usr/local/ being accessed:
  box8> grep usr /tmp/t | less
execve("/usr/bin/gv", ["gv", "/home/pjb/www/muscript/samples/c"...], [/* 39 
vars */]) = 0
open("/usr/lib/libXaw3d.so.6", O_RDONLY) = 3
open("/usr/lib/libXmu.so.6", O_RDONLY)  = 3
open("/usr/lib/libXt.so.6", O_RDONLY)   = 3
open("/usr/lib/libX11.so.6", O_RDONLY)  = 3
open("/usr/lib/libXinerama.so.1", O_RDONLY) = 3
open("/usr/lib/libSM.so.6", O_RDONLY)   = 3
open("/usr/lib/libICE.so.6", O_RDONLY)  = 3
open("/usr/lib/libXext.so.6", O_RDONLY) = 3
open("/usr/lib/libXpm.so.4", O_RDONLY)  = 3
open("/usr/lib/libxcb.so.1", O_RDONLY)  = 3
open("/usr/lib/libXau.so.6", O_RDONLY)  = 3
open("/usr/lib/libXdmcp.so.6", O_RDONLY) = 3
open("/usr/share/X11/locale/locale.alias", O_RDONLY) = 4
open("/usr/share/X11/locale/locale.dir", O_RDONLY) = 4
access("/usr/share/X11/locale/C/XLC_LOCALE", R_OK) = 0
open("/usr/share/X11/locale/C/XLC_LOCALE", O_RDONLY) = 4
open("/usr/share/X11/locale/locale.alias", O_RDONLY) = 4
open("/usr/share/X11/locale/locale.dir", O_RDONLY) = 4
access("/usr/share/X11/locale/C/XLC_LOCALE", R_OK) = 0
open("/usr/share/X11/locale/C/XLC_LOCALE", O_RDONLY) = 4
access("/usr/lib/X11/en_AU.utf8/app-defaults/GV", R_OK) = -1 ENOENT (No such 
file or directory)
access("/usr/lib/X11/en/app-defaults/GV", R_OK) = -1 ENOENT (No such file or 
directory)
access("/usr/lib/X11/app-defaults/GV", R_OK) = -1 ENOENT (No such file or 
directory)
open("/usr/share/gv/gv_system.ad", O_RDONLY) = 4
stat64("/usr/lib/X11/Xcms.txt", 0xbf99e744) = -1 ENOENT (No such file or 
directory)
open("/usr/lib/libXcursor.so.1", O_RDONLY) = 4
open("/usr/lib/libXrender.so.1", O_RDONLY) = 4
open("/usr/lib/libXfixes.so.3", O_RDONLY) = 4
open("/usr/share/X11/XKeysymDB", O_RDONLY) = 4
open("/usr/share/icons/default/cursors/watch", O_RDONLY) = -1 ENOENT (No such 
file or directory)
open("/usr/share/icons/default/index.theme", O_RDONLY) = -1 ENOENT (No such 
file or directory)
open("/usr/share/pixmaps/default/cursors/watch", O_RDONLY) = -1 ENOENT (No such 
file or directory)
open("/usr/share/pixmaps/default/index.theme", O_RDONLY) = -1 ENOENT (No such 
file or directory)
open("/usr/share/icons/default/cursors/crosshair", O_RDONLY) = -1 ENOENT (No 
such file or directory)
open("/usr/share/icons/default/index.theme", O_RDONLY) = -1 ENOENT (No such 
file or directory)
open("/usr/share/pixmaps/default/cursors/crosshair", O_RDONLY) = -1 ENOENT (No 
such file or directory)
open("/usr/share/pixmaps/default/index.theme", O_RDONLY) = -1 ENOENT (No such 
file or directory)
open("/usr/share/icons/default/cursors/plus", O_RDONLY) = -1 ENOENT (No such 
file or directory)
open("/usr/share/icons/default/index.theme", O_RDONLY) = -1 ENOENT (No such 
file or directory)
open("/usr/share/pixmaps/default/cursors/plus", O_RDONLY) = -1 ENOENT (No such 
file or directory)
open("/usr/share/pixmaps/default/index.theme", O_RDONLY) = -1 ENOENT (No such 
file or directory)
open("/usr/share/icons/default/cursors/top_left_arrow", O_RDONLY) = -1 ENOENT 
(No such file or directory)
open("/usr/share/icons/default/index.theme", O_RDONLY) = -1 ENOENT (No such 
file or directory)
open("/usr/share/pixmaps/default/cursors/top_left_arrow", O_RDONLY) = -1 ENOENT 
(No such file or directory)
open("/usr/share/pixmaps/default/index.theme", O_RDONLY) = -1 ENOENT (No such 
file or directory)
open("/usr/share/icons/default/cursors/xterm", O_RDONLY) = -1 ENOENT (No such 
file or directory)
open("/usr/share/icons/default/index.theme", O_RDONLY) = -1 ENOENT (No such 
file or directory)
open("/usr/share/pixmaps/default/cursors/xterm", O_RDONLY) = -1 ENOENT (No such 
file or directory)
open("/usr/share/pixmaps/default/index.theme", O_RDONLY) = -1 ENOENT (No such 
file or directory)


Regards,  Peter Billam

http://www.pjb.com.au       p...@pjb.com.au      (03) 6278 9410
"Was der Meister nicht kann,   vermöcht es der Knabe, hätt er
 ihm immer gehorcht?"   Siegfried to Mime, from Act 1 Scene 2




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to