[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: |
Ludovic Courtès |
Subject: |
Re: VM stack overflow while calling sxml-match within let* or car |
Date: |
Sun, 27 Mar 2011 17:04:08 +0200 |
User-agent: |
Gnus/5.110013 (No Gnus v0.13) Emacs/23.3 (gnu/linux) |
Hi!
Andy Wingo <address@hidden> writes:
> 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!
Woow, interesting bug, good catch!
Thanks,
Ludo’.