lilypond-devel
[Top][All Lists]
Advanced

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

Re: Fix crash when unknown grob name is passed to ly:engraver-make-grob


From: Han-Wen Nienhuys
Subject: Re: Fix crash when unknown grob name is passed to ly:engraver-make-grob (issue 5715053)
Date: Sat, 3 Mar 2012 01:17:44 -0300

On Fri, Mar 2, 2012 at 10:22 PM,  <address@hidden> wrote:
> There are only two calls to scm_throw in Lilypond, and I could not find
> out whether it should be added to engraver.cc or engraver-scheme.cc.  I
> added it to the former so that other callers to
> Engraver::internal_make_grob could benefit.  I could not figure out how
> to catch an exception.  Without catching, I'm getting:
>
> GNU LilyPond 2.15.32
> Processing `bad.ly'
> Parsing...
> Interpreting music...
> fatal error: failed files: "bad.ly"
>
> The warning "cannot create grob" is not shown, and neither is the name
> of the grob that caused it.  I could put is before the exception, but
> this is different from the style on the existing code.

try running lilypond --verbose


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



reply via email to

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