chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Re: crashes during return-from-callbacks


From: felix winkelmann
Subject: [Chicken-users] Re: crashes during return-from-callbacks
Date: Wed, 7 Sep 2005 23:02:32 +0200

On 9/7/05, Daniel B. Faken <address@hidden> wrote:
> 
> I'm calling-back *into scheme* from C, after exiting the toplevel via
> (return-to-host).
> 
> But yes, when I am doing scheme->c callbacks that potentially go back to
> scheme, I'm doing safe-lambda/primitives.
> 

Ok.
> 
> The only thing I do is use C_save() to pass parameters to the function
> called in C_callback().
> Nothing else... I manually inserted some C_stack_check code, but they
> didn't report anything.

C_stack_check just checks for overflow, though. Perhaps you insert
some debug instructions that print the current temporary stack level
(that's a different stack than the C-stack/nursery) ("C_temporary_stack").


cheers,
felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]