[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Can't make a stack from a continuation
From: |
Neil Jerram |
Subject: |
Can't make a stack from a continuation |
Date: |
Mon, 22 Nov 2004 18:52:48 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031107 Debian/1.5-3 |
address@hidden:~$ 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
- Can't make a stack from a continuation,
Neil Jerram <=