On Monday 05 June 2006 01:48, Han-Wen Nienhuys wrote: > Erik Sandberg schreef: > > I have GS_LIB= > > "/home/erik/lily/gub/gub/target/linux/system/usr/bin/../share/ghostscript > >/8.50/lib: > > /home/erik/lily/gub/gub/target/linux/system/usr/bin/../share/ghostscript/ > >8.50/Resource" > > that's really strange. Can you investigate further? Maybe you can use > strace to see what it is looking for, > > FWIW,
Looks like it's crashing while reading the second 4096-byte block from gs_init.ps. That file is identical to the working copy that my gs-gpl-8.50 from debian/testing uses. I'm still rather clueless. strace output: GS_LIB="/home/erik/lily/gub/gub/target/linux/system/usr/bin/../share/ghostscript/8.50/lib:/home/erik/lily/gub/gub/target/linux/system/usr/bin/../share/ghostscript/8.50/Resource" strace usr/bin/gs [...] gettimeofday({2744403647623793, 586627592864653996}, {4294967176, 2744403647623793}) = 0 open("gs_init.ps", O_RDONLY) = -1 ENOENT (No such file or directory) open("./gs_init.ps", O_RDONLY) = -1 ENOENT (No such file or directory) open("/home/erik/lily/gub/gub/target/linux/system/usr/share/ghostscript/8.50/lib/gs_init.ps", O_RDONLY) = 3 fstat64(0x3, 0xffffaf5c) = 0 fstat64(0x3, 0xffffae08) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0x1000) = 0x555c7000 _llseek(3, 0, [0], SEEK_CUR) = 0 _llseek(3, 0, [0], SEEK_SET) = 0 read(3, "% Copyright (C) 1989-2004 artofc"..., 4096) = 4096 read(3, "t /DISKFONTS known /DISKFONTS "..., 4096) = 4096 close(3) = 0 munmap(0x555c7000, 4096) = 0 exit_group(255) = ? Debian's gs-gpl has an alternative happy ending: [...] lseek(3, 0, SEEK_CUR) = 0 lseek(3, 0, SEEK_SET) = 0 read(3, "% Copyright (C) 1989-2004 artofc"..., 4096) = 4096 read(3, "t /DISKFONTS known /DISKFONTS "..., 4096) = 4096 read(3, " mod (-)\n revisiondate 10000 i"..., 4096) = 4096 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaaaaac5000 write(1, "GPL Ghostscript 8.50 (2005-12-31"..., 128GPL Ghostscript 8.50 (2005-12-31) Copyright (C) 2005 artofcode LLC, Benicia, CA. All rights reserved. This software comes with ) = 128 -- Erik _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel