lilypond-devel
[Top][All Lists]
Advanced

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

segfault with wrong argument for dash-definition


From: Thomas Morley
Subject: segfault with wrong argument for dash-definition
Date: Tue, 1 Aug 2017 12:36:47 +0200

Hi,
the following segfaults with any tested lily-version.
{ \override Slur #'dash-definition = #'(0 1.0 0.5 0.5) c( c) }
No other error-message than:
segmentation fault (core dumped)
Wheras
{ \override Slur #'dash-definition = #"foo" c( c) }
returns a meaningful message, a warning not even an error:
warning: type check for `dash-definition' failed; value `"foo"' must
be of type `pair'
Obviously '(0 1.0 0.5 0.5) full-fills the pair?-typechecking for this property.
Not sure how to improve this.
One could define something at the lines of
(define (list-list? x)
 (and (list? x)
 (every list? x)))
for the type-checking of dash-definition.
Or can a better warning/error be emitted during processing?
Thoughts?
Cheers,
 Harm

reply via email to

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

AltStyle によって変換されたページ (->オリジナル) /