From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.bugs,gmane.lisp.guile.devel Subject: Re: Can't make a stack from a continuation Date: Fri, 17 Dec 2004 01:42:37 +0000 Message-ID: <41C2398D.9040402@ossau.uklinux.net> References: <41A23580.6070702@ossau.uklinux.net> <41A635F5.2030303@ossau.uklinux.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1103247888 16644 80.91.229.6 (17 Dec 2004 01:44:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 17 Dec 2004 01:44:48 +0000 (UTC) Cc: bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Dec 17 02:44:42 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Cf7Ag-0003ZK-00 for ; Fri, 17 Dec 2004 02:44:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cf7Kx-0003Hb-3p for guile-bugs@m.gmane.org; Thu, 16 Dec 2004 20:55:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Cf7Kp-0003Ei-6d for bug-guile@gnu.org; Thu, 16 Dec 2004 20:55:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Cf7Km-0003DG-Mi for bug-guile@gnu.org; Thu, 16 Dec 2004 20:55:09 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cf7Kl-0003Ca-QJ; Thu, 16 Dec 2004 20:55:07 -0500 Original-Received: from [80.84.72.33] (helo=mail3.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cf78l-0004K7-J6; Thu, 16 Dec 2004 20:42:43 -0500 Original-Received: from laruns (host81-130-122-81.in-addr.btopenworld.com [81.130.122.81]) by mail3.uklinux.net (Postfix) with ESMTP id E8FE9409FCD; Fri, 17 Dec 2004 01:42:42 +0000 (UTC) Original-Received: from [127.0.0.1] (laruns [127.0.0.1]) by laruns (Postfix) with ESMTP id 9E9536FB22; Fri, 17 Dec 2004 01:42:38 +0000 (GMT) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041007 Debian/1.7.3-5 X-Accept-Language: en Original-To: guile-devel@gnu.org In-Reply-To: <41A635F5.2030303@ossau.uklinux.net> X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.bugs:2289 gmane.lisp.guile.devel:4521 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:4521 Neil Jerram wrote: > Neil Jerram wrote: > >> neil@laruns:~$ guile -q >> guile> (version) >> "1.6.4" >> 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. Neil _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://lists.gnu.org/mailman/listinfo/bug-guile