bug-lilypond
[Top][All Lists]
Advanced

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

Issue 1251 in lilypond: StaffGroup with pauses and tempo indication caus


From: lilypond
Subject: Issue 1251 in lilypond: StaffGroup with pauses and tempo indication causes segfault
Date: Mon, 06 Sep 2010 08:32:24 +0000

Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Critical Regression

New issue 1251 by brownian.box: StaffGroup with pauses and tempo indication causes segfault
http://code.google.com/p/lilypond/issues/detail?id=1251

Sorry, could not describe better.

This seems to be caught and "almost fixed"; anyway, "for the record".

Reported by Paul Scott:
http://lists.gnu.org/archive/html/bug-lilypond/2010-09/msg00036.html

\version "2.13.32"  % works in 2.12.x and 2.13.31

\score{
  <<
    \new StaffGroup <<
      \new Staff <<
        {
          %The following line causes a segmentation fault
          \tempo "Andante"
          \time 6/8 r4. dis4.
        }
      >>
      \new Staff << { R2. } >>
    >>
  >>
}

Neil Puttock:
#---------------8<---------------------------
Thanks for the report, Paul.

The segfault is triggered by the presence of the full-bar rest in the lower stave: it prevents the setting of a horizontal parent for the MetronomeMark, which means it never gets attached to a paper column. Fortunately it's fixed by the patch I've already prepared here: http://codereview.appspot.com/2042043/

I'll apply the patch once I've sorted out a few additions for regression testing.

While you're waiting for this to be fixed, you can use the following workaround:

\once \override Score.MetronomeMark #'non-break-align-symbols = #'()
#---------------8<---------------------------




reply via email to

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