lilypond-user
[Top][All Lists]
Advanced

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

Re: Segmentation fault with \revert Stem #'(details beamed-lengths) in


From: Rodolfo Zitellini
Subject: Re: Segmentation fault with \revert Stem #'(details beamed-lengths) in \voiceOne
Date: Thu, 22 Apr 2010 09:20:11 +0200

On Wed, Apr 21, 2010 at 11:03 PM, Neil Puttock <address@hidden> wrote:
>
> Nasty. :)
>
> Thanks for reporting this; I'll add it to the bug tracker once I've
> done a few more tests.
>
> It seems any override for Stem which precedes the nested override
> triggers the crash.  Looks like there's a bug in the nested property
> code which needs the following conditions to show up:
>
> 1. The nested override must be preceded by another override for the same grob;
> 2. The nested property being overridden is a list.
>
> With these two conditions satisfied, the default (i.e., immutable)
> property setting is evicted from the alist, which means once the
> revert happens, the property is missing.  This causes a problem in
> stem.cc since the code which checks 'beamed-lengths returns '() if it
> can't find it in the 'details list (this is what causes the segfault:
> the empty list is equivalent to a null pointer).

Mmh interesting to debug! :)
If you can give me some pointers on how to start diving in the sources
I can try to track this down myself.

Thanks,
Rodolfo




reply via email to

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