[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Endless Loop
From: |
Ralph Palmer |
Subject: |
Re: Endless Loop |
Date: |
Mon, 20 Feb 2012 13:48:39 -0500 |
On Mon, Feb 20, 2012 at 12:12 AM, Jay Anderson <address@hidden> wrote:
> Compiling this score (reduced from a larger score) never terminates:
> =================
> \version "2.15.30"
>
> \score
> {
> \new Staff \relative c'
> {
> R1 |
> \stopStaff
> R1 | r2
> }
> }
> =================
>
> If I'm stopping the staff I should probably be using spacer rests
> instead and this problem goes away. So I finally figured that out, but
> I would expect some sort of warning or error instead of an infinite
> loop.
>
> I traced this to this commit:
> =================
> $ git bisect bad
> 3d8f4559228bd8a4a30bb024163b64d425b76f18 is the first bad commit
> commit 3d8f4559228bd8a4a30bb024163b64d425b76f18
> Author: Benkő Pál <address@hidden>
> Date: Mon Feb 13 18:49:17 2012 +0100
>
> Issue 2300: do not tinker with the position of a pitched rest
> =================
>
> It seems to be stuck in this loop (rest.cc, line 78):
>
> /*
> make sure rest is aligned to a staff line
> */
> while (!Staff_symbol_referencer::on_line (me, pos))
> ++pos;
>
Greetings, Jay and list members -
I'm not sure if this is a critical bug, since I'm unsure of the utility of
multiple rests with no staves, but it is disturbing behavior. Thanks for
the report, Jay. It has been added as issue 2337 :
http://code.google.com/p/lilypond/issues/detail?id=2337
Ralph
- Endless Loop, Jay Anderson, 2012/02/20
- Re: Endless Loop,
Ralph Palmer <=