bug-lilypond
[Top][All Lists]
Advanced

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

Re: Fix 1821: Write pathes for ly-to-tely to a separate file rather than


From: Reinhold Kainhofer
Subject: Re: Fix 1821: Write pathes for ly-to-tely to a separate file rather than passing as cmd line args (issue 4950053)
Date: Wed, 31 Aug 2011 14:56:51 +0200
User-agent: KMail/1.13.6 (Linux/2.6.38-11-generic; KDE/4.7.0; i686; ; )

Am Mittwoch, 31. August 2011, 06:26:59 schrieb address@hidden:
> sweet mao that's disgusting.  I love it.  :)
> 
> If you can make doc from scratch, then push.

Actually, with my test setup, I can't even build lilypond, because metafont 
already fails with some long pathes:

I created the path "/data/lilypond/This-is-a-very-long-path-to-the-lilypond-
source-directory/And-it-contains-several-long-sub-directories/Which-should-
break-the-makefile/Because-the-call-to-lys-to-telys-will-be-longer-than-the-
allowed-130000-characters/" and symlinked my lilypond sourcedir there. Then I 
configured an out-of-source build in /data/lilypond/build1 and ran make. The 
binary built fine, but metapost fails with a memory corruption in glibc! In 
particular:


address@hidden:~/build1/mf/out$ mpost -progname=mpost -ini 
/data/lilypond/This-is-a-very-long-path-to-the-lilypond-source-directory/And-
it-contains-several-long-sub-directories/Which-should-break-the-
makefile/Because-the-call-to-lys-to-telys-will-be-longer-than-the-
allowed-130000-characters/lilypond/mf/mf2pt1.mp \\dump

This is MetaPost, version 1.208 (kpathsea version 5.0.0) (INIMP)

(/data/lilypond/This-is-a-very-long-path-to-the-lilypond-source-directory/And-
i
t-contains-several-long-sub-directories/Which-should-break-the-
makefile/Because
-the-call-to-lys-to-telys-will-be-longer-than-the-allowed-130000-
characters/lil
ypond/mf/mf2pt1.mp*** glibc detected *** mpost: double free or corruption 
(!prev): 0x0a0ebab0 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x6b961)[0x17b961]
/lib/i386-linux-gnu/libc.so.6(+0x6d28b)[0x17d28b]
/lib/i386-linux-gnu/libc.so.6(cfree+0x6d)[0x18041d]
mpost[0x80625f1]
mpost[0x8062686]
mpost[0x8077f90]
mpost[0x808c08b]
mpost[0x804ad3d]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x126e37]
mpost[0x80495f1]
======= Memory map: ========
00110000-0026a000 r-xp 00000000 08:01 1097937    /lib/i386-linux-
gnu/libc-2.13.so
0026a000-0026b000 ---p 0015a000 08:01 1097937    /lib/i386-linux-
gnu/libc-2.13.so
0026b000-0026d000 r--p 0015a000 08:01 1097937    /lib/i386-linux-
gnu/libc-2.13.so
[...]

Any idea?

Cheers,
Reinhold

-- 
------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org



reply via email to

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