[Top][All Lists]
[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: |
Andy Wingo |
Subject: |
Re: VM stack overflow while calling sxml-match within let* or car |
Date: |
Sun, 27 Mar 2011 15:04:30 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
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
--
http://wingolog.org/