bug-lilypond
[Top][All Lists]
Advanced

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

Re: Segfault


From: Cameron Horsburgh
Subject: Re: Segfault
Date: Fri, 16 Feb 2007 21:30:42 +1100
User-agent: Mutt/1.5.13 (2006-08-11)

On Fri, Feb 16, 2007 at 11:19:07AM +0100, Mats Bengtsson wrote:
> This example gives a segfault already with version 2.8.
> However, the real problem with the example is that it hasn't been
> properly updated with convert-ly. Just run
> convert-ly --from=2.6.0 ...
> on the example and it should work fine. However, the whole
> example is obsolete, since the following solution provides the
> same output and is much much simpler:
> 
> \version "2.10.0"
> \score  {
>     \relative c'' <<
>        \new Staff { \repeat volta 2 {
>                 c4 c4 \stopStaff s \startStaff b4 }
>                 b4
>        }
>        \new Staff { \repeat volta 2 {
>        \stopStaff s4 \startStaff e d f }
>        }
>    >>
> 
> \layout{ragged-right = ##t }
> }
> 
> In general, I hope you keep an eye on the examples in LSR and make sure
> that they are relevant.
> 

That's the plan! I'm in the process of weeding out obsolete hacks in
the LSR and the appearance of failures can be a clue. The main reason
I'm submitting this is because all segfaults are considered Very Evil
and need to be dealt with.

Of course, trying to figure out how these hacks work and whether they
can be done better now is the hard part. Expect a few more questions
on -user in the near future!

-- 

=============================================
Cameron Horsburgh

=============================================





reply via email to

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