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: Han-Wen Nienhuys
Subject: Re: Fixes segfault in beam quanting. (issue4339047)
Date: Sat, 2 Apr 2011 22:37:31 -0300

On Sat, Apr 2, 2011 at 3:34 PM,  <address@hidden> wrote:

> Quick-n-dirty fix for segfault in issue 1585.

While this fix is prudent (I'd add a programming_error as well), it
does feel like a kludge.   The only way there could be no
configuration at all is when generate_quants() rejects all of them

      if (!quant_range[d].contains (c->y[d]))

I'm pretty sure using #f leads to infinity being used as a dimension somewhere.

I'd suggest not trying #f as stencil callback for noteheads;  If the
head has no dimension, until where should its stem go?

-- 
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen



reply via email to

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