[hobbit] hobbit-client: segfault on several systems
Alexander Keller
hobbit at alexkeller.de
Mon Jan 28 20:10:18 CET 2008
hhhhm ok. I must admit that even our newest Opteron boxes are not
moving faster than light ;-)
Your patch is already applied and so far everything runs smooth.
Thanks!
Alexander
> On Sat, Jan 26, 2008 at 11:51:02AM +0100, Alexander Keller wrote:
>> But yesterday a somehow strange error occured. About 15 hobbit clients
>> suddenly died (all at the same time! +/- 5min) They all wrote a
>> core file.
> [snip]
>> Core was generated by `/opt/hobbit/client/bin/hobbitlaunch --config=/opt/hobbit/client/etc/clientlaunc'.
>> Program terminated with signal 11, Segmentation fault.
>> (gdb) bt
>> #0 errprintf (fmt=0x805507c "Time warp detected: Adjusting returned clock by %d seconds\n") at errormsg.c:42
>> #1 0x08050c8e in getcurrenttime (retparm=0x0) at timefunc.c:55
>> #2 0x0804c10b in errprintf (fmt=0x805507c "Time warp detected: Adjusting returned clock by %d seconds\n") at errormsg.c:42
>> #3 0x08050c8e in getcurrenttime (retparm=0x0) at timefunc.c:55
>> #4 0x0804c10b in errprintf (fmt=0x805507c "Time warp detected: Adjusting returned clock by %d seconds\n") at errormsg.c:42
> hobbitlaunch ended up doing an endless recursion, thereby filling up the
> stack and crashing.
> It was caused by the clock on your boxes suddenly being set back.
> Normally, time cannot go backwards (unless your systems are moving
> faster than light, which - according to Einstein - is impossible).
> Hobbit detects when it happens, but couldn't quite handle it.
> I've attached a patch that should prevent this from happening again.
> Regards,
> Henrik
More information about the Xymon
mailing list