unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Andy Wingo <wingo@pobox.com>
To: Wolfgang J Moeller <wjm@heenes.com>
Cc: bug-guile@gnu.org
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	[thread overview]
Message-ID: <m3zkox1hxq.fsf@unquote.localdomain> (raw)
In-Reply-To: <m38vwh2zpk.fsf@unquote.localdomain> (Andy Wingo's message of "Mon, 14 Mar 2011 21:51:03 +0100")

On Mon 14 Mar 2011 21:51, Andy Wingo <wingo@pobox.com> writes:

> Hi Wolfgang,
>
> On Wed 09 Mar 2011 11:53, Wolfgang J Moeller <wjm@heenes.com> 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	other threads:[~2011-03-14 22:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-09 10:53 guile 2.0.0 crash related to call-with-prompt/abort-to-prompt, & more Wolfgang J Moeller
2011-03-11 20:02 ` Andy Wingo
2011-03-14 20:51 ` Andy Wingo
2011-03-14 22:00   ` Andy Wingo [this message]
2011-03-15 22:56 ` Andy Wingo
2011-03-17 10:53 ` shift and reset in ice-9 control Andy Wingo
2011-03-21  1:31   ` Wolfgang J Moeller
2011-03-30 14:56     ` Andy Wingo
2011-04-02 14:40       ` Wolfgang J Moeller
2011-04-12  9:51         ` Andy Wingo
2011-04-12 13:11           ` Wolfgang J Moeller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3zkox1hxq.fsf@unquote.localdomain \
    --to=wingo@pobox.com \
    --cc=bug-guile@gnu.org \
    --cc=wjm@heenes.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).