Follow-up Comment #2, bug #31941 (project guile):

The bug happens because SCM_STACK_OVERFLOW_P erroneously report
a stack overflow, because the base of the stack is not updated
when the thread reenter into guile mode as it's supposed to according the the
patch that's tested
(http://lists.gnu.org/archive/html/guile-devel/2008-11/msg00037.html).

This happens because this code is never executed since the top of
the stack is always NULL.

Grepping through the code, I can't find were the current thread stack top is
ever set.
Apparently all initialization of top is gone with this patch :
45f15cac1f7f36c24ad0734fe128483080272e5f

Making the aforementionned patch dead code.



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31941>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


Reply via email to