lilypond-devel
[Top][All Lists]
Advanced

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

Re: Fixes segfault in beam quanting. (issue4339047)


From: Werner LEMBERG
Subject: Re: Fixes segfault in beam quanting. (issue4339047)
Date: Mon, 04 Apr 2011 05:22:28 +0200 (CEST)

> LilyPond exposes large parts of the internal implementation through
> the Scheme interface, and that has as a side-effect that there are
> many ways for users to break lilypond.  This is unlikely to lead to
> arbitrary behavior, as Guile values themselves themselves are type
> tagged.  The worst which can happen is that a value is incorrectly
> type-cast which leads to either a null dereference or some other
> type assertion.

Could you give a Scheme example for that, please?

> I don't think it is productive to try to systematically plug all
> these errors; at best, you'll replace a bunch of segmentation faults
> with just as unhelpful assertion failures.

I definitely prefer assertions to segfaults.  But maybe that's only
me.


    Werner



reply via email to

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