lilypond-devel
[Top][All Lists]
Advanced

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

Re: segfault with (almost) empty input


From: David Kastrup
Subject: Re: segfault with (almost) empty input
Date: Fri, 11 Jan 2013 18:20:45 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

"Phil Holmes" <address@hidden> writes:

>>> This small input file
>>>
>>>   \version "2.17.10"
>>>
>>>   \score {
>>>     \new Staff { }
>>>
>>>     \midi { }
>>>   }
>>>
>>> causes a segfault.
>>
>> Can you reign this in?  It is not likely caused by the above mentioned
>> commit.  A good candidate for causing the failure could be
>>
>> commit 255fe22c663dbbcb25b693fc8e60ca95343417ef
>> Author: David Kastrup <address@hidden>
>> Date:   Tue Nov 6 17:43:45 2012 +0100
>>
>>    Issue 2951: Allow music of nominally zero duration to be typeset.
>
> git bisect shows that to be the culprit indeed.

I'll not likely be able to do work on this before tomorrow afternoon,
but I'm not forgetting it.  If anybody else wants to have a go for it:
basically all this commit does is remove the code that refuses to
typeset zero-length music, and then fix everything that segfaults
because of being unable to deal with empty stuff.  Obviously not
everything...

You need to compile without optimization and need to get around with the
debugger.  I don't have more of a clue than that, either.

-- 
David Kastrup



reply via email to

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