unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* Can't make a stack from a continuation
@ 2004-11-22 18:52 Neil Jerram
  2004-11-25 19:43 ` Neil Jerram
  0 siblings, 1 reply; 12+ messages in thread
From: Neil Jerram @ 2004-11-22 18:52 UTC (permalink / 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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2004-12-27 23:23 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-22 18:52 Can't make a stack from a continuation Neil Jerram
2004-11-25 19:43 ` 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

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).