Use `oneline’ when there’s either no staff OR a one-line staff
https://codereview.appspot.com/576090043
---
** [issues:#5964] Multi_measure_rest_engraver segfaults when its context
doesn’t include Staff_symbol_engraver.**
**Status:** Started
**Created:** Wed May 06, 2020 10:47 PM UTC by Valentin Villenave
**Last Updated:** Thu May 07, 2020 08:26 AM UTC
**Owner:** nobody
This used to work as recently as 2.20.0, and it no longer does:
~~~~
\version 2.21.1
\layout {
\context {
\type Engraver_group
\name GlobalRests
%\consists Staff_symbol_engraver
%\omit StaffSymbol
\consists Multi_measure_rest_engraver
}
\context {
\Score
\accepts GlobalRests
}
}
\score {
\new GlobalRests { R1 }
}
~~~~
Uncommenting the Staff_symbol_engraver prevents the segfault from happening.
Here’s what gdb has to say:
~~~
Program received signal SIGSEGV, Segmentation fault.
Grob::internal_get_property (this=this@entry=0x0, sym=0x7fffe98e1ea0) at
grob-property.cc:162
162 SCM val = get_property_data (this, sym);
~~~
Reported by Trevor B:
https://lists.gnu.org/archive/html/lilypond-user/2020-05/msg00077.html
---
Sent from sourceforge.net because testlilyissues-a...@lists.sourceforge.net is
subscribed to https://sourceforge.net/p/testlilyissues/issues/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is
a mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Testlilyissues-auto mailing list
testlilyissues-a...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto