lilypond-devel
[Top][All Lists]
Advanced

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

Re: music function patch


From: Joe Neeman
Subject: Re: music function patch
Date: Wed, 20 Sep 2006 23:01:53 +1000

On Wed, 2006-09-20 at 14:32 +0200, Erik Sandberg wrote:
> On Monday 18 September 2006 16:09, Han-Wen Nienhuys wrote:
> > Erik Sandberg wrote:
> > > I tried some days ago. A problem is that I still couldn't make web
> > > completely, even without the patch.
> >
> > That's strange. Did you try under GUB or a plain compile?  (ie. guile
> > 1.8 or 1.6.7)
> 
> plain compile, plain guile 1.8.0 (built from source)

I've had some issues with guile's default stack limit (I'm on amd64 --
if I remember correctly, you are too?). If I compile with profiling and
debugging, I can't even open an interactive guile session without a
stack overflow. Without profiling, things get a _little_ better.

The fix for me was to modify scm_debug_opts in libguile/eval.c,
multiplying the stack size by about 10.

> 
> I can still reproduce it with latest CVS. Tail of error log:
> 
> Interpreting music... 
> [/home/erik/lily/lilypond/out//share/lilypond/2.9.19/fonts/otf/emmentaler-20.otf]
> elapsed time: 0.03 seconds
> Element count 26 (spanners 7)
> Preprocessing graphical objects...
> Grob count 48
> [/home/erik/lily/lilypond/out//share/lilypond/2.9.19/fonts/otf/emmentaler-11.otf]
> [/home/erik/lily/lilypond/out//share/lilypond/2.9.19/fonts/otf/emmentaler-13.otf]
> [/home/erik/lily/lilypond/out//share/lilypond/2.9.19/fonts/otf/emmentaler-14.otf]
> [/home/erik/lily/lilypond/out//share/lilypond/2.9.19/fonts/otf/emmentaler-16.otf]
> [/home/erik/lily/lilypond/out//share/lilypond/2.9.19/fonts/otf/emmentaler-18.otf]
> [/home/erik/lily/lilypond/out//share/lilypond/2.9.19/fonts/otf/emmentaler-23.otf]
> Calculating line breaks...
> Drawing systems...
> Element count 36.[0]
> Writing foo-1.signatureBacktrace:
> In /home/erik/lily/lilypond/out//share/lilypond/2.9.19/scm/stencil.scm:
>  297: 608* [strip-floats (combine-stencil (translate-stencil # #))]
>  294: 609  (cond ((float? expr) #f) ((ly:font-metric? expr) (ly:font-name 
> expr)) ...)
>  297: 610  [cons combine-stencil ...
>  298: 611*  [strip-floats ((translate-stencil # #))]
>  294: 612   (cond (# #f) (# #) (# #) ...)
>  297: 613   [cons ...
>  297: 614*   [strip-floats (translate-stencil # #)]
>  294: 615    (cond (# #f) (# #) (# #) ...)
>  297: 616    [cons translate-stencil ...
>  298: 617*    [strip-floats ((1.349988 . 0.0) (named-glyph # "dots.dot"))]
>  294: 618     (cond (# #f) (# #) (# #) ...)
>  297: 619     [cons ...
>  297: 620*     [strip-floats (1.349988 . 0.0)]
>  294: 621      (cond (# #f) (# #) (# #) ...)
>  297: 622      [cons ...
>  297: 623*      [strip-floats 1.349988]
>  294: 624       (cond (# #f) (# #) (# #) ...)
>  295: 625*      [float? 1.349988]
>  285: 626       (and (number? x) (inexact? x))
>  285: 627*      (number? x)
> 
> /home/erik/lily/lilypond/out//share/lilypond/2.9.19/scm/stencil.scm:285:10: 
> In 
> expression (number? x):
> /home/erik/lily/lilypond/out//share/lilypond/2.9.19/scm/stencil.scm:285:10: 
> Stack overflow
> 





reply via email to

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