[Vm-dev] asserta(newUtcMicrosecondClock >= utcMicrosecondClock)
failing
Igor Stasenko
siguctua at gmail.com
Sat Dec 25 20:20:22 UTC 2010
On 25 December 2010 16:56, Mariano Martinez Peck <marianopeck at gmail.com> wrote:
>
> Hi everybody. I hope you are enjoying a wonderful and happy Christmas.
>
> Yesterday something weird happened with my cog vm. This assert was failing:
>
> "newUtcMicrosecondClock >= utcMicrosecondClock 127"
>
> a lot of times...
>
> I checked and this is line 127 of sqUnixHeartbeat.c. I am in a MacOS vm, but it seems that file is used anyway.
>
> Now...I have no idea why this assert was failing, nor its severity. What does it mean? there is something wrong? where can I take a look?
>
if microseconds clock counter is 32-bit, then it wraps over time to time.
VM should be aware that this may happen and should take appropriate
measures (like adjusting the wait timeouts etc).
> It seems it is not easy to reproduce :(
>
yeah, you should wait another
~ 2^32 / 1000000 seconds
> Thanks in advance,
>
> Mariano
>
>
--
Best regards,
Igor Stasenko AKA sig.
More information about the Vm-dev
mailing list