lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gub progress


From: Han-Wen Nienhuys
Subject: Re: gub progress
Date: Fri, 09 Jun 2006 16:20:39 +0200
User-agent: Thunderbird 1.5.0.2 (X11/20060501)

Erik Sandberg schreef:
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)                         = ?

and from GDB ? (the binaries include debugging info, so if you unpack the GS sources in target/linux/src/ , you get full-fledged debugging info).

--

Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com





reply via email to

[Prev in Thread] Current Thread [Next in Thread]