[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: multiple fret-diagram-x markup commands and lilypond safe-mode
From: |
Reinhold Kainhofer |
Subject: |
Re: multiple fret-diagram-x markup commands and lilypond safe-mode |
Date: |
Sat, 17 Sep 2011 16:06:03 +0200 |
User-agent: |
KMail/1.13.6 (Linux/2.6.38-11-generic; KDE/4.7.0; i686; ; ) |
Am Friday, 16. September 2011, 23:05:49 schrieb Julien Rioux:
> After dumping guile 1.8.7 provided by the official ubuntu repository, I
> downloaded, compiled and installed the latest stable guile 1.8.8 and
> recompiled latest lilypond git. I still get the failure.
>
> I simplified the test case by taking lilypond-book out of the process.
> The attached contains two lilypond snippets which compile correctly with
> independent calls
>
> lilypond -dbackend=eps snippet-1.ly
> lilypond -dbackend=eps snippet-2.ly
>
> , but combining them in a single call with
>
> lilypond -dbackend=eps -dread-file-list snippet-names.ly
>
> exits with an error when processing the second snippet. It's as if some
> state has changed inbetween processing the two snippets, and the parsing
> goes awry on the second one.
I can reproduce the problem on a ubuntu machine with current head (optimized
build), guile 1.8 (standard ubuntu package). I stripped down the test cases to
minimal files (attached). To reproduce the problem, simply compile them as:
lilypond s1.ly s2.ly
The error message here is:
address@hidden:~/temp/safe-mode-bug$ lilypond s1.ly s2.ly
GNU LilyPond 2.15.12
Processing `s1.ly'
Parsing...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `s1.ps'...
Converting to `./s1.pdf'...
Processing `s2.ly'
Parsing...
s2.ly:5:21: error: GUILE signaled an error for the expression beginning here
\fret-diagram-terse #
"x;x;o;2;3;2;"
Wrong type argument in position 1 (expecting module): #<freed cell 0xb6d06880;
GC missed a reference>
/home/reinhold/lilypond/lilypond/out/share/lilypond/current/scm/fret-
diagrams.scm:886:17: In procedure string-split in expression (string-split
definition-string #\;):
/home/reinhold/lilypond/lilypond/out/share/lilypond/current/scm/fret-
diagrams.scm:886:17: Wrong type argument in position 1 (expecting string):
#<unspecified>
So it seems like some guile Garbage Collection messup...
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
s1.ly
Description: Text Data
s2.ly
Description: Text Data
- Re: multiple fret-diagram-x markup commands and lilypond-book safe-mode, Julien Rioux, 2011/09/16
- Re: multiple fret-diagram-x markup commands and lilypond safe-mode,
Reinhold Kainhofer <=
- Re: multiple fret-diagram-x markup commands and lilypond safe-mode, Julien Rioux, 2011/09/17
- Re: multiple fret-diagram-x markup commands and lilypond safe-mode, Reinhold Kainhofer, 2011/09/17
- Re: multiple fret-diagram-x markup commands and lilypond safe-mode, Julien Rioux, 2011/09/17
- Re: multiple fret-diagram-x markup commands and lilypond safe-mode, Reinhold Kainhofer, 2011/09/17
- Re: multiple fret-diagram-x markup commands and lilypond safe-mode, Julien Rioux, 2011/09/17
- Re: multiple fret-diagram-x markup commands and lilypond safe-mode, Phil Holmes, 2011/09/18
- Re: multiple fret-diagram-x markup commands and lilypond safe-mode, Julien Rioux, 2011/09/18