chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] eval of (0) crashes app


From: felix winkelmann
Subject: Re: [Chicken-users] eval of (0) crashes app
Date: Wed, 26 Mar 2008 10:22:49 +0100

On Tue, Mar 25, 2008 at 2:30 PM, Heinrich Taube <address@hidden> wrote:
>
>  but if i do the same in my app via CHICKEN_eval_string_to_string then
>  the (foo) case gets caught but the (0) case crashes my app :/
>
>  calling eval node 2, input '(0)'
>  [1]+  Bus error               exec build/Release/Grace.app/Contents/
>  MacOS/grace
>
>
>  i know from tracing that this call never returns:
>
>       res = CHICKEN_eval_string_to_string( (char *)expr.toUTF8(),
>                                            schemeThread->evalBuffer,
>                                             8192);
>
>  does anyone have an idea about what might make the (foo) error get
>  trapped but (0) crash the app?
>

Have you run CHICKEN_run once before this call happens?


cheers,
felix




reply via email to

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