On 26.11.2009, at 16:51, Alexander Kobel wrote:
Note that the second example in the file produces a segfault for
me, with 2.12.2 and 2.13.7; is this related by any chance? If so,
perhaps it should go into the same bug report, otherwise it should
be split. At least, someone could test on her system if it's just
my fault.
While I can't say for certain, but this is probably because
StaffGroup already has Span_bar_engraver, and your code attempts to
add an engraver to a context that already has that engraver.
Incidentally, I see the behavior with the lyrics, and before I add
it, I just wanted to see if I could get different results.
\version "2.12.2"
\score {
<<
\new Staff { \repeat unfold 32 { c''8 } \bar "|." }
\new ChoirStaff <<
\new Staff {
\context Voice = "upper" \repeat unfold 3 { c''2 }
\override Staff.BarLine #'allow-span-bar = ##f
\context Voice = "upper" \repeat unfold 3 { c''2 }
\revert Staff.BarLine #'allow-span-bar
\context Voice = "upper" \repeat unfold 2 { c''2 }
}
\new Lyrics \lyricsto "upper" \lyricmode {
%% long-syllables position should not be affected by the
forbidden SpanBar
long-syllable a b c long-syllable d long-syllable e
}
\new Staff \repeat unfold 8 { c''2 }
>>
>>
\layout {
\context {
\ChoirStaff
\consists Span_bar_engraver
}
}
}
James E. Bailey
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user