From: Neil Jerram <neil@ossau.uklinux.net>
Subject: Can't make a stack from a continuation
Date: Mon, 22 Nov 2004 18:52:48 +0000 [thread overview]
Message-ID: <41A23580.6070702@ossau.uklinux.net> (raw)
neil@laruns:~$ guile -q
guile> (version)
"1.6.4"
guile> (call-with-current-continuation make-stack)
Segmentation fault
This has been reported before, but it's still there. I think it's
something wrong with these lines from stacks.c, but I haven't
investigated further yet.
else if (SCM_CONTINUATIONP (obj))
{
offset = ((SCM_STACKITEM *) ((char *) SCM_CONTREGS (obj) + sizeof
(scm_t_contregs))
- SCM_BASE (obj));
#if SCM_STACK_GROWS_UP
offset += SCM_CONTINUATION_LENGTH (obj);
#endif
dframe = RELOC_FRAME (SCM_DFRAME (obj), offset);
}
Regards,
Neil
_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile
next reply other threads:[~2004-11-22 18:52 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-22 18:52 Neil Jerram [this message]
2004-11-25 19:43 ` Can't make a stack from a continuation Neil Jerram
2004-12-17 1:42 ` Neil Jerram
2004-12-23 14:24 ` Marius Vollmer
2004-12-23 15:36 ` Marius Vollmer
2004-12-24 23:05 ` Neil Jerram
2004-12-24 23:11 ` Neil Jerram
2004-12-24 23:22 ` Marius Vollmer
2004-12-25 10:51 ` Neil Jerram
2004-12-27 23:23 ` Neil Jerram
2004-12-24 23:21 ` Marius Vollmer
2004-12-25 10:50 ` Neil Jerram
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41A23580.6070702@ossau.uklinux.net \
--to=neil@ossau.uklinux.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).