[Top][All Lists]

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

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

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

On 9/7/05, Daniel B. Faken <address@hidden> wrote:

>   It is *not* reaching the callback-return-continuation (I inserted a
> printf in there).
>   Also, if I compile the code [and eval (load "") instead of
> (load "foo.scm")], I have no problems..
> On Wed, 7 Sep 2005, Daniel B. Faken wrote:
> [snip]
> >   Its been very hard to track down what is causing this; all I can say is
> > that it is affected by calls to (print) in the called-back scheme
> > function.  Specifically, if I print some of the parameters I'm passing via
> > C_callback().
> A clarification: it crashes if I print parameters *multiple times*.
> If I remove some of the print statements, there is no problem.

Do you have nested callbacks? 
Also try (set-gc-report! ...), it is possible that the more code executes
(consumes stack-space), the earlier the problem appears.


reply via email to

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