lilypond-auto
[Top][All Lists]
Advanced

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

Re: [Lilypond-auto] Issue 542 in lilypond: bus error ancient music 2.11.


From: lilypond
Subject: Re: [Lilypond-auto] Issue 542 in lilypond: bus error ancient music 2.11.36
Date: Fri, 17 May 2013 14:33:55 +0000

Updates:
        Owner: address@hidden

Comment #4 on issue 542 by address@hidden: bus error ancient music 2.11.36
http://code.google.com/p/lilypond/issues/detail?id=542

I have a hard time believing this "fix" (and the commit number is wrong as well):

commit 54d7ede54447e7837b5b697bd919f895649c5e50
Author: Erlend Aasland <address@hidden>
Date:   Fri Jan 11 02:14:34 2008 +0100

    Fix issue 542: Harden Grob::relative_coordinate()

diff --git a/lily/grob.cc b/lily/grob.cc
index fbb4683..7f78b5f 100644
--- a/lily/grob.cc
+++ b/lily/grob.cc
@@ -265,7 +265,8 @@ Grob::translate_axis (Real y, Axis a)
 Real
 Grob::relative_coordinate (Grob const *refp, Axis a) const
 {
-  if (refp == this)
+  /* eaa - hmmm, should we do a programming_error() here? */
+  if ((this == NULL) || (refp == this))
     return 0.0;

   /* We catch PARENT_L_ == nil case with this, but we crash if we did


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings



reply via email to

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