21 May 2010 13:27
Re: [bug #29574] VM stack overflows aren't properly handled [1.9.10]
Andy Wingo <wingo <at> pobox.com>
2010-05-21 11:27:43 GMT
2010-05-21 11:27:43 GMT
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/
RSS Feed