From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.bugs,gmane.lisp.guile.devel Subject: Re: Can't make a stack from a continuation Date: 25 Dec 2004 00:21:35 +0100 Message-ID: <87652rqo3k.fsf@zagadka.de> References: <41A23580.6070702@ossau.uklinux.net> <41A635F5.2030303@ossau.uklinux.net> <41C2398D.9040402@ossau.uklinux.net> <41CCA0B5.2070107@ossau.uklinux.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1103930816 24851 80.91.229.6 (24 Dec 2004 23:26:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 24 Dec 2004 23:26: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:26: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 1Chype-0006To-00 for ; Sat, 25 Dec 2004 00:26:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Chz0J-0004nt-Fl for guile-bugs@m.gmane.org; Fri, 24 Dec 2004 18:37:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Chz0C-0004nS-Mm for bug-guile@gnu.org; Fri, 24 Dec 2004 18:37:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Chz0A-0004mO-I3 for bug-guile@gnu.org; Fri, 24 Dec 2004 18:37:42 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Chz0A-0004mL-FP for bug-guile@gnu.org; Fri, 24 Dec 2004 18:37:42 -0500 Original-Received: from [195.253.8.218] (helo=mail.dokom.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Chykc-0004Oh-4I for bug-guile@gnu.org; Fri, 24 Dec 2004 18:21:38 -0500 Original-Received: from [195.253.27.4] (helo=zagadka.ping.de) by mail.dokom.net with smtp (Exim 4.34) id 1ChykZ-0004km-IE for bug-guile@gnu.org; Sat, 25 Dec 2004 00:21:36 +0100 Original-Received: (qmail 25359 invoked by uid 1000); 24 Dec 2004 23:21:35 -0000 Original-To: Neil Jerram In-Reply-To: <41CCA0B5.2070107@ossau.uklinux.net> Original-Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 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:2345 gmane.lisp.guile.devel:4579 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:4579 Neil Jerram writes: > 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? Hmm, I didn't really try to debug your patch. I followed its idea of also relocating dframe->vect and made the changes that seemed right. Using offset = SCM_CONTREGS (stack)->stack - SCM_BASE(stack) looks right. The bug is probably elsewhere... > PS. Merry Christmas! Thanks and Merry Christmas from me to everyone as well! (I got a high-tech electric iron in transparent iMac design from my mom! :-) -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://lists.gnu.org/mailman/listinfo/bug-guile