bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Core dump: measure-final, length-1 tuplet + tight spacing


From: Trevor Bača
Subject: Core dump: measure-final, length-1 tuplet + tight spacing
Date: Tue, 12 Feb 2019 16:18:37 -0600

Hi,

This very specific combination of circumstances causes Lily to core dump:

1. A length-1 tuplet (ie, tuplet containing only a single note or rest);
that
2. occurs as the last element of a measure; followed by
3. more music in the following measure; and with
4. proportional spacing turned on and set to a value that is "too tight"

%%% BEGIN CORE DUMP %%%

\version "2.19.82"
\new Staff
{
    \override Score.SpacingSpanner.strict-grace-spacing = ##t
    \override Score.SpacingSpanner.strict-note-spacing = ##t
    \override Score.SpacingSpanner.uniform-stretching = ##t
    \set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
    \set Score.tupletFullLength = ##t
    c'2.
    c'16
    c'16
    c'16
    \times 1/1
    {
        c'16
    }
    c'1
}

%%% END CORE DUMP %%%

Lily output:

GNU LilyPond 2.19.82
Processing `test.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing
systems.../home/gub/NewGub/gub/target/darwin-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.20/flower/include/interval.hh:227:
failed assertion `!is_empty ()'

Increasing proportional spacing from 1/16 up to, say, 1/32 makes the
problem go away; this is the workaround to document until the bug is fixed.

(Choice of time signature, multiplier of the tuplet, vertical position of
notes on the staff all make no difference in resulting behavior.)

I think the problem's been in Lily for a while (it's definitely not a
2.19.82-only bug); it entered sometime during or after 2014.


Trevor.

-- 
Trevor Bača
www.trevorbaca.com
soundcloud.com/trevorbaca


reply via email to

[Prev in Thread] Current Thread [Next in Thread]