Re: Langwar crash

new topic     » goto parent     » topic index » view thread      » older message » newer message

Chris Burch wrote:
> Eu 3.0.1 (and 3.0.0)
> SuSE Linux 10.0 64 bit
> 
> Langwar is crashing
> 
> first part of ex.err
> 
> File: ex.err            Col 0              16300 bytes                     
>   0%
> ./sched.e:62 in function next_task()
> type_check failure, mintime is -11285555.93
>     mintime = -11285555.93
>     mintask = 5
>     i = 5
> 
> ... called from lw.ex:261 in procedure trek()
>     nk = <no value>
> 
> ... called from lw.ex:321

mintime is declared as a positive_atom.
I don't think I ever guarantee in the docs that time()
will return a non-negative number, though it
seems to do that in all cases I've seen. I only 
talk about measuring *differences* in time() from one call to
the next. Maybe you can add 
    without type_check
to the top of lw.exu and see what happens.
You might also try a small test to see if time() advances at the
correct rate.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu