Valentin Villenave <address@hidden> writes:
> On 5/6/20, Trevor Bača <address@hidden> wrote:
>> The following MWE works under 2.20.0 but crashes LilyPond under 2.21.1.
>
> Wow, that’s a nice one. I’m marking this as Critical because its a/ a
> segfault, b/ a regression and c/ not that unusual a use case.
> https://sourceforge.net/p/testlilyissues/issues/5964/
> Since it got broken recently, that should be fairly easy to bisect.
Uh, there are several years of development between 2.20.0 and 2.21.1.
Unfortunately. But at least few version changes...
Actually, only one version to check! The problem entered sometime between 2.19.84 and 2.21.1.
MWE works under 2.19.84:
### WORKS UNDER 2.19.84 ###
\version "2.19.84"
\layout {
\context {
\name GlobalRests
\type Engraver_group
\consists Multi_measure_rest_engraver
}
\context {
\name GlobalContext
\type Engraver_group
\accepts GlobalRests
}
\context {
\Score
\accepts GlobalContext
}
}
\new Score
<<
\new GlobalContext
{
\new GlobalRests { R1 }
}
\new Staff { \time 4/4 R1 }
>>
### END ###
GNU LilyPond 2.19.84
Processing `test.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `/var/folders/0k/3dbjvd1548b0wkstx2lyb60w0000gn/T//lilypond-3FIYkv'...
Converting to `test.pdf'...
Deleting `/var/folders/0k/3dbjvd1548b0wkstx2lyb60w0000gn/T//lilypond-3FIYkv'...
Success: compilation successfully completed
HTH,
Trevor.