Re: [bug] 2.20.0 -> 2.21.1 Multi_measure_rest_engraver

2020-05-06 Thread David Kastrup
Valentin Villenave  writes:

> On 5/6/20, Trevor Bača  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...

-- 
David Kastrup

___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


Re: [bug] 2.20.0 -> 2.21.1 Multi_measure_rest_engraver

2020-05-06 Thread Valentin Villenave
On 5/6/20, Trevor Bača  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.

Cheers,
-- V.

___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond


[bug] 2.20.0 -> 2.21.1 Multi_measure_rest_engraver

2020-05-06 Thread Trevor Bača
Hi,

The following MWE works under 2.20.0 but crashes LilyPond under 2.21.1.

### WORKS UNDER 2.20.0 ###

\version "2.20.0"

\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.20.0
Processing `illustration.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/3dbjvd1548b0wkstx2lyb60wgn/T//lilypond-kmhqj8'...
Converting to `illustration.pdf'...
Deleting
`/var/folders/0k/3dbjvd1548b0wkstx2lyb60wgn/T//lilypond-kmhqj8'...
Success: compilation successfully completed

[image: mmrest.png]

### CRASHES UNDER 2.21.1 ###

\version "2.21.1"

\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.21.1
Processing `illustration.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
< halt >


The workaround appears to be to use 2.20.0 until the 2.21.1 bug can be
tracked down.

Trevor.

-- 
Trevor Bača
www.trevorbaca.com
soundcloud.com/trevorbaca
___
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond