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, 24 Dec 2004 23:05:25 +0000 Message-ID: <41CCA0B5.2070107@ossau.uklinux.net> References: <41A23580.6070702@ossau.uklinux.net> <41A635F5.2030303@ossau.uklinux.net> <41C2398D.9040402@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 1103929736 23247 80.91.229.6 (24 Dec 2004 23:08:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 24 Dec 2004 23:08:56 +0000 (UTC) Cc: bug-guile@gnu.org, guile-devel@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat Dec 25 00:08:50 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 1ChyYD-0005wi-00 for ; Sat, 25 Dec 2004 00:08:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Chyit-0000e1-Hh for guile-bugs@m.gmane.org; Fri, 24 Dec 2004 18:19:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Chyij-0000a1-9R for bug-guile@gnu.org; Fri, 24 Dec 2004 18:19:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Chyif-0000XO-8J for bug-guile@gnu.org; Fri, 24 Dec 2004 18:19:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Chyif-0000XL-5R; Fri, 24 Dec 2004 18:19:37 -0500 Original-Received: from [80.84.72.33] (helo=mail3.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ChyVE-00014S-7f; Fri, 24 Dec 2004 18:05:45 -0500 Original-Received: from laruns (host81-130-27-25.in-addr.btopenworld.com [81.130.27.25]) by mail3.uklinux.net (Postfix) with ESMTP id 9D10B409FDE; Fri, 24 Dec 2004 23:05:43 +0000 (UTC) Original-Received: from [127.0.0.1] (laruns [127.0.0.1]) by laruns (Postfix) with ESMTP id 03D046FAD3; Fri, 24 Dec 2004 23:05:26 +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: Marius Vollmer In-Reply-To: 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:2343 gmane.lisp.guile.devel:4577 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:4577 Marius Vollmer wrote: > Marius Vollmer writes: > > >>Neil Jerram writes: >> >> >>>And one more problem ... the same problem exists in CVS head, but a >>>similar patch doesn't fix it ... still investigating. >> >>I'm looking into this as well, now. The fix you did for 1.6 looks >>good, although I don't understand it completely yet. I will try to >>come up with my own patch to CVS head. > > > Here it is. I have already applied it to CVS. I think a similar > scheme can be used for 1.6, too: i.e., move the offset calculation > into scm_make_continuation. > > Neil, do you want to fix 1.6 yourself? > > [patch] This change (calculating and storing the offset in scm_make_continuation) makes sense, but I'd like also to understand where the bug was in my version (using offset = (SCM_CONTREGS (stack) -> stack) - SCM_BASE (stack);) and why my code worked in 1.6 but not in head. Would you mind explaining? Thanks, Neil PS. Merry Christmas! _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://lists.gnu.org/mailman/listinfo/bug-guile