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: reinhold@einstein:~/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, reinh...@kainhofer.com, 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
\version "2.15.12" #(ly:set-option 'safe #t) \markup{ \fret-diagram-terse #"x;3;2;o;1;o;" }
\version "2.15.12" #(ly:set-option 'safe #t) \markup{ \fret-diagram-terse #"x;x;o;2;3;2;" }
_______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond