On 12/16/06, Trevor Bača <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED]
_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to