[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #29574] VM stack overflows aren't properly handled [1.9.10]
From: |
Ludovic Courtès |
Subject: |
[bug #29574] VM stack overflows aren't properly handled [1.9.10] |
Date: |
Tue, 11 May 2010 21:33:37 +0000 |
User-agent: |
Mozilla/5.0 (GNU; rv:1.9.1.7) Gecko/20100107 IceCat/3.6 (like Firefox/3.6) |
Update of bug #29574 (project guile):
Assigned to: None => civodul
_______________________________________________________
Follow-up Comment #1:
The problem stems from the fact that `throw' is now implemented in Scheme, so
it needs VM stack space to run.
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.)
An alternative would be create a new VM and switch the current thread's VM
for the dynamic extent of the scm_throw () call. That seems overkill and
fragile though.
Comments?
Thanks,
Ludo'.
(file #20509)
_______________________________________________________
Additional Item Attachment:
File name: vm-stack-overflow.patch Size:1 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?29574>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #29574] VM stack overflows aren't properly handled [1.9.10],
Ludovic Courtès <=
[bug #29574] VM stack overflows aren't properly handled [1.9.10], Ludovic Courtès, 2010/05/26