[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Segfault with define-music-function
From: |
Patrick McCarty |
Subject: |
Re: Segfault with define-music-function |
Date: |
Fri, 22 Oct 2010 11:34:19 -0700 |
On Fri, Oct 22, 2010 at 6:06 AM, Valentin Villenave
<address@hidden> wrote:
> On Fri, Oct 22, 2010 at 3:02 PM, Carl Sorensen <address@hidden> wrote:
>> As near as I can tell, this code is triggering an infinite loop that fails
>> when the scheme heap overflows.
>
> Interesting.
>
>> arg is *not* a stream-event, it's a music-event.
>
> Indeed. But I wasn't expecting it to cause a segfault.
>
>> Segfaults are supposed to always be critical errors, but I think that in the
>> case of incorrect Scheme code, we shouldn't label it as a LilyPond error.
>
> I agree. That's why I didn't open a tracker page.
The segfault occurs in LilyPond code though, so we should exit gracefully.
Reported as #1355:
http://code.google.com/p/lilypond/issues/detail?id=1355
Thanks,
Patrick