grame-cncm / guidolib

Guido project - music score layout engine - music description language
http://guido.grame.fr
Mozilla Public License 2.0
152 stars 34 forks source link

crash bug #159

Closed dfober closed 2 years ago

dfober commented 2 years ago

The following code crashes the engine:

[ \pageFormat<w=16cm, h=9cm, tm=1cm, rm=1cm, bm=1cm, lm=1cm>
    _*500ms
    \staccato(\i<"mp", autopos='on'>g 3*250ms g 3*250ms)
    \i<"pp", autopos='on'>
    \tie(g#3*250ms g#3*250ms)
    d 3*250ms d -2*250ms
    _*2000ms
    \bar \newPage

    _*500ms
    \staccato(\i<"mp", autopos='on'>g 3*250ms g 3*250ms)
    \i<"pp", autopos='on'>
    \tie(g#3*250ms g#3*250ms)
    d 3*250ms d -2*250ms
    _*2000ms
    \bar \newPage
]

Note that it doesn't crash when there is no \pageFormat.

dfober commented 2 years ago

fixed