bug-lilypond
[Top][All Lists]
Advanced

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

Re: BUS ERROR: strict-note-spacing together with \afterGrace


From: Trevor Bača
Subject: Re: BUS ERROR: strict-note-spacing together with \afterGrace
Date: Sat, 16 Dec 2006 12:43:43 -0600

On 12/16/06, Trevor Bača <address@hidden> wrote:
Hi,

Setting SpacingSpanner #'strict-note-spacing = ##t together with
\afterGrace causes a bus error.

%%% BEGIN %%%

\version "2.11.2"

\new Staff {
   \override Score.SpacingSpanner #'strict-note-spacing = ##t % CAUSES BUS ERROR
   \afterGrace c'4 {c'32 [ c'32 c'32 c'32 ]}
   c'4
   c'4
   c'4
}

%%% END %%%

Severe (and no workaround seems to exist).


There is one exact condition necessary to trigger this bus error: the
\afterGrace must be the very first event in the context.

So the dummy note below prevents the following example from failing:

%%% NO LONGER FAILS %%%

\version "2.11.2"

\new Staff {
  \override Score.SpacingSpanner #'strict-note-spacing = ##t % CAUSES BUS ERROR
  c'4 % NO LONGER FAILS BECAUSE afterGrace NO LONGER INITIAL
  \afterGrace c'4 {c'32[ c'32 c'32 c'32]}
  c'4
  c'4
}

%%% END %%%


Bus error also obtains with strict-grace-spacing (in addition to
strict-note-spacing):

%%% BEGIN SECOND BUS ERROR %%%

\version "2.11.2"

\new Staff {
  \override Score.SpacingSpanner #'strict-grace-spacing = ##t %
CAUSES BUS ERROR
  \afterGrace c'4 {c'32[ c'32 c'32 c'32]}
  c'4
  c'4
  c'4
}

%%% END %%%



--
Trevor Bača
address@hidden

reply via email to

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