guile-devel
[Top][All Lists]
Advanced

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

Re: VM stack overflow while calling sxml-match within let* or car


From: nalaginrut
Subject: Re: VM stack overflow while calling sxml-match within let* or car
Date: Sun, 27 Mar 2011 22:25:05 +0800

> On Sun 27 Mar 2011 13:56, Andy Wingo <address@hidden> writes:
> 
> > On Sun 27 Mar 2011 13:30, Andy Wingo <address@hidden> writes:
> >
> >>> (And Guile crashes upon ,bt.)
> >>
> >> I wonder if this indicates some compilation bug.
> >
> > Indeed it does; it's a bug in Guile, not sxml-match.
> >
> > The following expression exhibits this bug:
> >
> > (car
> >  (letrec ((f (lambda ()
> >                (call-with-prompt
> >                 'p
> >                 (lambda () #t)
> >                 (lambda (k) #f)))))
> >    (f)))
> 
> Fixed in git.  Thanks for the amusing bug, Mr. Turing!
> 
> Andy

Well~it's a nice news. My code was modified to an more ugly style to
make it work because of this bug. But I think it's cure now. :-)

-- 
GNU Powered it
GPL Protected it
GOD Blessed it

HFG - NalaGinrut




reply via email to

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