bug-guile
[Top][All Lists]
Advanced

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

Re: guile 2.0.0 crash related to call-with-prompt/abort-to-prompt, & mor


From: Andy Wingo
Subject: Re: guile 2.0.0 crash related to call-with-prompt/abort-to-prompt, & more
Date: Mon, 14 Mar 2011 23:00:17 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

On Mon 14 Mar 2011 21:51, Andy Wingo <address@hidden> writes:

> Hi Wolfgang,
>
> On Wed 09 Mar 2011 11:53, Wolfgang J Moeller <address@hidden> writes:
>
>> I observe a segfault when done loading a particular compiled file.
>> No such error in interpreted mode.
>
> The example can be quite short:

Or shorter (in terms of code):

    (call-with-prompt
     'p1
     (lambda ()
       (display ((abort-to-prompt
                  'p1
                  (lambda (c1)
                    (call-with-prompt
                     'p2
                     (lambda ()
                       (abort-to-prompt
                        'p2
                        (lambda (c2)
                          (c1 (lambda (x) (c2 x))))))
                     (lambda (c2 fc2)
                       (fc2 c2)))))
                 'foo)))
     (lambda (c1 fc1)
       (fc1 c1)))

Andy
-- 
http://wingolog.org/



reply via email to

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