lilypond-user
[Top][All Lists]
Advanced

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

Fedora 22 core dumping bug


From: Andrew Bernard
Subject: Fedora 22 core dumping bug
Date: Fri, 12 Jun 2015 01:26:40 +1000

Greetings All,

 

Lilypond 2.19.21 has had problems with the Fedora 22 release. These have mostly been solved by the recent upgrade to fontconfig on that platform. I have had a very difficult situation with lilypond dumping core on a very complex score that I am developing, now made somewhat easier to debug by the clarity provided by the bugfix just mentioned. I can finally provide a snippet that deterministically and reliably dumps core with the following error message:

 

GNU LilyPond 2.19.21
Processing `exp-bug.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...lilypond: ../flower/include/interval.hh:226: T Interval_t<T>::center() const [with T = double]: Assertion `!is_empty ()' failed.
Aborted (core dumped)

Here’s the snippet from my score that produces this. The 20:3 is not an error. Can anybody see anything obviously wrong in this? I must point out this worked fine on previous versions of lilypond, and only seems to have been introduced on 2.19.21. The platform is Fedora 22 but this also manifests on Mint 17.1.

The precise source of the core dump is the call to \tupletOff. Commenting out that line allows the code to compile.

If I am not doing anything obviously wrong, I shall submit a bug report.

Andrew

 

\version "2.19.21"

% Turn off tuplet bracket and number.
tupletOff = #(define-music-function (parser location) ()
               #{
                 \once \override TupletBracket.bracket-visibility = ##f
                 \once \override TupletNumber.stencil = ##f
               #}
               )

% Turn on tuplet bracket and number.
tupletOn = #(define-music-function (parser location) ()
              #{
                \once \override TupletBracket.bracket-visibility = ##t
                \revert TupletNumber.stencil
              #}
              )


treble = \relative c'' {
  \clef treble
  \time 1/4

  \tuplet 9/8 {
    \stemUp
    \tupletOff

    \tuplet 20/3 {
      a'8[( cis,) a'( cis,) a']
    }
    s32 * 6
  }
}


\score {
  \new Staff = "treble" { \treble }

  \layout { }

}



 

 

 

 


reply via email to

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