lilypond-user
[Top][All Lists]
Advanced

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

Re: Strange LilyPond crash


From: Marc Hohl
Subject: Re: Strange LilyPond crash
Date: Sat, 21 Nov 2015 16:19:58 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

Am 21.11.2015 um 10:53 schrieb David Kastrup:
Marc Hohl <address@hidden> writes:
[...]
Looks like there is some sequential iterator consulted for
pending_moment that no longer has an iter_ to refer to.

More likely than not, one of the fixes for addlyrics going off the deep
end when its associated context dies is involved here.

I am not sure whether I understand this correctly, but I have replaced every occurence of \addlyrics with its proper counterpart \new Lyrics \lyricsto "..."

So it's likely that near the time in question, some context or lyrics or
other dies and that this has unforeseen repercussions.

The lilypond files are structured this way:

 - for each song, I have a file <song>-Noten.ily that contains all
   instrumental and choral parts
 - for each instrument, there is a file <song>-<instrument>.ly that
   includes the <song>-Noten.ily file and picks up the parts associated
   to that instrument
 - for each song, there is a <song>-Partitur.ly file that includes the
   <song>-Noten.ily and displays all the stuff nicely.

If I compile every <song>-<instrument>.ly file, no errors occur (with exeption of the Finale-Drums.ly mentioned earier in this thread), but most (but not all) <song>-Partitur.ly files crash. There is no obvious
connection to a specific instrument that may cause the crash, as every
instrumental part occurs at least one in the <song>-<instrument>.ly file.

All instrumental parts have exactly the same number of measures, so I can't see a reason for a context dying when another one depending on it is still alive.

What does this mean?

Well, I hope you can figure out some more of what is involved here,
hopefully to the degree of creating a crash example that is of
manageable size.

As soon as I remove an instrumental part at random (or even some notes), the crash may or may not disappear. I am not sure but IIRC a file that compiled fine during one run crashed without having done any changes to that specific file (nor its includes). Is it possible that the self-compiled version I am using has some internal errors that may cause the crash? I update the git repository regularly and re-compile lilypond after applying the latest patches.

Marc




reply via email to

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