Tie on omitted NoteHead yields assertion failure
Try this sample:
{
\omit NoteHead
c'1~ c'1
}
The log reads (manually wrapped):
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...lilypond: /home/jean/repos/lilypond/build/../flower/include/interval.hh:256:
T Interval_t<T>::center() const [with T = double]:
Assertion `!is_empty ()' failed.
/home/jean/bin/lilymwe: line 2: 1053780 Aborted (core dumped)
Naturally, the NoteHead
's stencil
needs be set to point-stencil
instead of #f
to enable the tie to attach somewhere. Still, it should fail gracefully.
Relates to #5562 (closed). It looks like a similar fix is needed for ties.
Interestingly, a different failure is triggered with quarter notes.
{
\omit NoteHead
c'4~ c'
}
lilypond: /home/jean/repos/lilypond/lily/skyline.cc :119 :
void Building::precompute(Real, Real):
Assertion `std::isfinite (slope_)' failed.
/home/jean/bin/lilymwe : ligne 2 : 1056072 Abandon (core dumped)