[Top][All Lists]

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

Re: Lilypond crashes in Windows with Gregorian music

From: David Kastrup
Subject: Re: Lilypond crashes in Windows with Gregorian music
Date: Mon, 03 Oct 2011 18:33:26 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

"Phil Holmes" <address@hidden> writes:

> "Reinhold Kainhofer" <address@hidden> wrote in message
> news:address@hidden
>> Am Montag, 3. Oktober 2011, 17:05:53 schrieb Phil Holmes:
>>> \include "gregorian.ly"
>>> \score {
>>>   <<
>>>     \new VaticanaVoice = "cantus" {
>>>       c'
>>>     }
>>> }
>>> Windows Vista 64 bit.
>>> Lilypond allocates memory like it's going out of fashion, getting
>>> to about
>>> a Gig after 14 seconds.  It then crashes.  The output is:
>>> GNU LilyPond 2.14.2
>>> Processing `D:/Music/BAMusic/Gregorian.ly'
>>> Parsing...
>>> D:/Music/BAMusic/gregorian.ly:1:9: error: out of dynamic memory in
>>> yy_create_buffer()
>>> \include
>>>          "gregorian.ly"
>> Did you notice that your input file is called "Gregorian.ly", which
>> in windows
>> is the same as "gregorian.ly". So here you are actually including
>> the input
>> file over and over again, rather than LilyPond's gregorian chant
>> definitions...
> Blush.
> That said, it should fail slightly more gracefully?

It may be legitimate to include the same file several times, even from
within itself.  So you need something like the "input stack size
exceeded" error message from TeX, and I can testify that people don't
tend to associate that error message with the actual cause.  I think
I've been tricked once myself.

So I would not expend all too much effort (of human and computer) on
improving the error message.  It will be quite hard _not_ to make this a

David Kastrup

reply via email to

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