Core dump: page-breaking.cc (line 1180) with \autoPageBreaksOff [2.19.83]

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Core dump: page-breaking.cc (line 1180) with \autoPageBreaksOff [2.19.83]

Trevor Bača-2
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
_______________________________________________
bug-lilypond mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-lilypond