[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Core dump: page-breaking.cc (line 1180) with \autoPageBreaksOff [2.19.83
From: |
Trevor Bača |
Subject: |
Core dump: page-breaking.cc (line 1180) with \autoPageBreaksOff [2.19.83] |
Date: |
Sun, 13 Oct 2019 13:57:10 -0400 |
Hi,
The page-breaker core dumps in the following example:
%%% BEGIN BUG %%%
\version "2.19.83"
notes = {
c'4 c'4 c'4 c'4 c'4
c'4 c'4 c'4 c'4 c'4
c'4 c'4 c'4
}
\layout {
\context {
\name TimeSignatureContext
\type Engraver_group
\consists Axis_group_engraver
\consists Time_signature_engraver
\override TimeSignature.font-size = 3
}
\context {
\Score
\accepts TimeSignatureContext
}
}
\context Score = "Score"
<<
\context TimeSignatureContext = "Time_Signature_Context"
{
\autoPageBreaksOff
\time 5/4
s1 * 5/4
\time 5/4
s1 * 5/4
\time 1/4
s1 * 3/4
}
\context Staff = "Staff_I"
\context Voice \notes
\context Staff = "Staff_II"
\context Voice \notes
\context Staff = "Staff_III"
\context Voice \notes
\context Staff = "Staff_IV"
\context Voice \notes
>>
%%% END BUG %%%
Output:
GNU LilyPond 2.19.83
Processing `illustration.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1
page.../home/gub/NewGub/gub/target/darwin-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-test/lily/page-breaking.cc:1180:
failed assertion `ret <= cached_line_details_.size ()'
Note, oddly, that almost every line in the MWE above needs to be present to
trigger the core. That is: commenting out \autoPageBreaksOff prevents the
core; reducing the example from four staves to three staves prevents the
core; selecting a different series of time signatures for the example
prevents the core (?!); even commenting out the TimeSignature.font-size
override prevents the core (?!).
Thanks,
Trevor.
--
Trevor Bača
www.trevorbaca.com
soundcloud.com/trevorbaca
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Core dump: page-breaking.cc (line 1180) with \autoPageBreaksOff [2.19.83],
Trevor Bača <=