[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't make a stack from a continuation

From: Neil Jerram
Subject: Re: Can't make a stack from a continuation
Date: Fri, 17 Dec 2004 01:42:37 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041007 Debian/1.7.3-5

Neil Jerram wrote:
Neil Jerram wrote:

address@hidden:~$ guile -q
guile> (version)
guile> (call-with-current-continuation make-stack)
Segmentation fault

I believe I have the fix for this (diffs attached for 1.6.x). Would anyone who feels half-confident in this area please review?

A further aspect of this that has been bothering me, is why it doesn't show up in all the occurrences of (make-stack *cont*) that my debugging code does when called from one of the eval trap handlers. The answer (I believe) is that the eval trap handlers don't use real continuations; they use "debug objects" instead; this is controlled by the 'cheaptraps debug option, which defaults to "yes".

And one more problem ... the same problem exists in CVS head, but a similar patch doesn't fix it ... still investigating.


reply via email to

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