lilypond-devel
[Top][All Lists]
Advanced

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

PANIC


From: Han-Wen
Subject: PANIC
Date: Wed, 12 Jun 2002 10:39:01 +0200

address@hidden writes:
> 
> lilypond: lily-guile.cc:188: String ly_scm2string (scm_unused_struct *): 
> Forudsætningen (assertion) 'gh_string_p (s)' fejlede.

try this patch.

--- volta-bracket.cc.~1.3.~     Mon Apr  1 21:43:39 2002
+++ volta-bracket.cc    Wed Jun 12 10:35:52 2002
@@ -53,7 +53,15 @@
   SCM bars = me->get_grob_property ("bars");
   Grob * endbar =   unsmob_grob (ly_car (bars));
   SCM glyph = endbar->get_grob_property("glyph");
-  String str = ly_scm2string(glyph);
+
+  
+  
+  String str;
+  if (gh_string_p (glyph))
+    str = ly_scm2string(glyph);
+  else
+    return SCM_EOL;
+  
   const char* cs = str.ch_C();
   no_vertical_end |=
     (strcmp(cs,":|")!=0 && strcmp(cs,"|:")!=0 && strcmp(cs,"|.")!=0


> The score is too big for me to expect you to debug it, but I would like 
> you to just try and compile it so that I can know whether it is a local 
> problem on my machine or not.
> 
> I am running RedHat 7.1 (for a few more weeks)
> 
> -Rune (stressed, depressed and tired (even tired of Open Source - even 
> though I might regret being so))

Yes, I can imagine -- for this reason I'm always a little reluctant
with recommending lilypond to people for Real Work (tm).
I'll have a look at the drum problem next.


-- 

Han-Wen Nienhuys   |   address@hidden   |   http://www.cs.uu.nl/~hanwen 



reply via email to

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