I was researching a method for defining form (repeats, rehearsal
marks, etc.) and line breaking in separate, hidden parallel staff
contexts, and ran across the following crash:

GNU LilyPond 2.17.26
Processing `bug6-crash.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems.../usr/local/share/lilypond/2.17.26/scm/bar-line.scm:913:28: In 
procedure ly:grob-array-length in expression (ly:grob-array-length bar-array):
/usr/local/share/lilypond/2.17.26/scm/bar-line.scm:913:28: Wrong type argument 
in position 1 (expecting Grob_array): ()

Can someone please determine whether the latest beta still does
this, and if so, whether a bug report is warranted?

The interaction appears to be between '\remove "Bar_engraver"' and
the alternative ending.  Remove either one and the problem goes away.

Thank you,

Jim
\version "2.17.26"

form = \new Staff \with {
  \remove "Bar_engraver"
} \repeat volta 2 {
    s1
} \alternative {
    s1 % first ending
    s1 % second ending
} % form

\score {
  <<
    \form
  >>
} % score
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to