[Top][All Lists]

[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: 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.



(file #20509)

Additional Item Attachment:

File name: vm-stack-overflow.patch        Size:1 KB


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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