bug? with uname() under SCO Xenix 386/2.2.1

Quentin_Conner qac at occrsh.ATT.COM
Thu Jul 20 00:04:10 AEST 1989


Okay, this is a strange one.  What I want to know is if anyone else has
seen anything similar.  I was installing news 2.11B on my 386 box which
runs SCO Xenix 2.1.1.  When trying to run inews, I got a segmentation
violation (memory fault 11).  The weird part is that it happens upon
returning from pathinit() to main().  I looked at it with sdb adn did a
stack trace just before returning to main() and it showed pathinit()
was still there.

Anyway, I isolated the cause of the problem to a call to uname() in
pathinit.c.  The call was successful, and did indeed return the system's
name as expected.  But for some strange reason calling it makes core
dump when returning from pathinit.  I have "adjusted" the source so it
won't call uname() but now I can't sleep at night :-).  I guess it is
just a corrupted library...

Any similar experiences?

Quentin Conner
--------------
qac at occrsh.att.com
att!occrsh!qac



More information about the Comp.unix.xenix mailing list