lilypond-devel
[Top][All Lists]
Advanced

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

Re: lilypond hangs


From: address@hidden
Subject: Re: lilypond hangs
Date: Wed, 4 Jan 2012 14:52:16 +0100

On Jan 4, 2012, at 2:27 PM, Werner LEMBERG wrote:

> 
> [lilypond 35b7fddf]
> 
> I've just downloaded 
> 
>  http://www.mutopiaproject.org/ftp/BachJS/BWV1004/bwv-1004_5/bwv-1004_5.ly
> 
> applied this patch
> 
>  --- BWV-1004_5.orig.ly  2012-01-04 14:17:02.000000000 +0100
>  +++ BWV-1004_5.ly       2012-01-04 14:10:15.000000000 +0100
>  @@ -1,9 +1,10 @@
>  -\version "2.13.10"
>  +\version "2.15.20"
> 
>   \paper {
>  -    page-top-space = #0.0
>  -    %indent = 0.0
>  -    line-width = 18.0\cm
>  +    paper-width= 19000\cm
>  +    paper-height = 10\cm
>  +    line-width = 18000\cm
>  +    ragged-right = ##t
>       ragged-bottom = ##f
>       ragged-last-bottom = ##f
>   }
> 
> and executed
> 
>  lilypond BWV-1004_5.ly
> 
> Result: lilypond loops (at least it runs more than 10 minutes without
> progress), slowly eating more and more memory.
> 
> Without the patch (this is, using normal line widths), it runs just
> fine.
> 
> Debugging shows that the function System::gen_simple_spacers loops
> forever.
> 
> Am I just too impatient or is this a real bug?
> 
> 
>    Werner

Probably a real bug.

The patch (which I wrote) was a crappy patch to begin with: I applied it to be 
able to do some experiments with horizontal spacing, which I did, but they all 
lead to circular dependencies so I gave up.  I thought the change was innocuous 
but if it's not there's no point keeping it - we can just revert.

I've posted a patch to fix this - if you get a chance, run the file with that 
patch and lemme know if it causes any issues.

Cheers,
MS


reply via email to

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