[Larceny-users] Assertion failed in stats_stop_timer

Sven.Hartrumpf at FernUni-Hagen.de Sven.Hartrumpf at FernUni-Hagen.de
Tue Feb 20 03:21:27 EST 2007


Mon, 19 Feb 2007 18:34:01 -0500, felixluser wrote:

> On Feb 18, 2007, at 2:33 PM, Sven.Hartrumpf at FernUni-Hagen.de wrote:
> > Larceny Panic: Sys/stats.c;292: Assertion failed
> >
> From this version header, I infer that you are using a development
> version of Larceny off the svn-trunk and that you built the
> development version yourself.

Yes.

> If this is true, then you might consider adding a variation of the
> failing assertion to the function stats_start_timer in your copy of
> src/Rts/Sys/stats.c, and then rebuild the runtime.

I have done so. I will send you a "patch" file in a separate mail.

> (I am not sure whether osdep_cpuclock and osdep_realclock are
> supposed to be allowed to return 0.  Their specifications in osdep.h
> explicitly say in a FIXME that they will overflow after 49.7 days;
> this to me indicates that clients of the current interface should be
> prepared for any value, including 0.  But this 49.7 day figure would
> also seem to indicate that this should not be what is causing Sven's
> problem. . .)
>
> If I manage to replicate your problem on our end, then I will do this
> sort of sleuthing myself.  But I do not know if I will be able to
> replicate the problem on our end.  You sound like you can reproduce
> the problem, so it might be easiest to track down the problem on your
> end.

I will try. I can reproduce the problem, but not reliably.
Sven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://lists.ccs.neu.edu/pipermail/larceny-users/attachments/20070220/ee01bc41/attachment.bin 


More information about the Larceny-users mailing list