From: Andy Wingo <wingo@pobox.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: bug-guile@gnu.org
Subject: Re: [bug #29574] VM stack overflows aren't properly handled [1.9.10]
Date: Fri, 21 May 2010 13:27:43 +0200 [thread overview]
Message-ID: <m37hmxze8g.fsf@pobox.com> (raw)
In-Reply-To: <20100511-213337.sv15145.12077@savannah.gnu.org> ("Ludovic Courtès"'s message of "Tue, 11 May 2010 21:33:37 +0000")
Hi Ludo,
> I've come up with the following hack: a small VM stack space is reserved and
> made available only upon stack overflow, so that `throw' can run to
> completion. (See attached patch.)
The patch didn't come through the mail, and I'm in an internetless cafe,
so I can't see it now -- but it seems a somewhat sane hack.
Did you see Dybvig's paper about underflow and overflow handlers? That
does solve this problem in a more robust way, including allowing for
stack extension instead of thrown exceptions. Of course that's probably
a larger project.
Andy
--
http://wingolog.org/
next prev parent reply other threads:[~2010-05-21 11:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-16 9:01 [bug #29574] VM stack overflows aren't properly handled [1.9.10] Ludovic Courtès
2010-05-11 21:33 ` Ludovic Courtès
2010-05-21 11:27 ` Andy Wingo [this message]
2010-05-22 9:34 ` Ludovic Courtès
2010-05-22 14:39 ` Andy Wingo
2010-05-22 15:55 ` Ludovic Courtès
2010-05-24 14:51 ` Ken Raeburn
2010-05-26 21:56 ` Ludovic Courtès
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=m37hmxze8g.fsf@pobox.com \
--to=wingo@pobox.com \
--cc=bug-guile@gnu.org \
--cc=ludo@gnu.org \
/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).