Weird error return of adjtimex with 1.3.28

Andrew Humphrey (
Wed, 20 Sep 1995 01:42:01 +1000 (EST)


Quick problem report using 1.3.28(ELF). xntpd now no longer
works, an strace of what it was doing revealed the following:

[ Stuff deleted, if you need more info mail me ]
write(1, "adding new filegen\n", 19) = 19
write(1, "adding new filegen\n", 19) = 19
write(1, "adding new filegen\n", 19) = 19
write(1, "adding new filegen\n", 19) = 19
brk(0x3a000) = 0x3a000
adjtimex({mode=0, offset=0, frequency=0, maxerror=1875005440, esterror=1879048192, status=64, time_constant=0, precision=1, tolerance=-805306368, time={811524444, 870000}}) = 5
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

It seems from this that adjtimex is returning EIO which, according
to a cursory look at the code, it should not be able to. If I've done
something particularly stupid feel free to flame (as long as you include a
suitable sarcastic description of what it is that I did wrong).

Other things of note:
Works fine using 1.3.27 (well to the point that .27 works fine ;)
Rebuilding xntpd makes no difference
libc didn't change between kernel upgrades (stable at 5.2.5)

If any more info is needed to chase this one down feel free to email me
and ask.


Andrew Humphrey 
"And on the seventh day He created Linux."

This message is Copyright 1995 Andrew Humphrey. It may not be reproduced in part or in full on the Microsoft Network without the express written consent of the author.