[comp.bugs.4bsd] bug in 4.3 namei

fpt@unccvax.UUCP (fred p toth) (05/09/87)

Well, well, it's time for me to go to the well ...

Surely I am the last kid on the block to convert from 4.2 to 4.3.
I waited for all the bugs to shake out and scurry off into the
shag carpet. But NO. It appears that I've got one. Listen ...

We (wgivax) have crashed about 15 times in our first week of operation.
All crashes are the same. The system panics with trap type 3, code 0,
breakpoint. The pc is right in the middle of namei. (Specifically, it
is mis-aligned in the middle of the C code "nchstats.ncs_2passes++;" which
is namei+47c in our system) The stack traces all look the same:

_boot() from 800253eb
_boot(0,0) from _panic+3a
_panic(8003f131) from _trap+ac
_trap() from _Xtransflt+1d
_Xtransflt(7ffff398) from _stat1+28 /* stat1+28 is instruction after calls
_stat1(0) from _lstat+b				to namei */
_lstat() from 80025d05
_syscall() from _Xsyscall+c
_Xsyscall(6cdb,75e0) from 1343

It is always an lstat call. Most often, the process running is 'find', but
occasionally a simple 'ls' will nail it. This hardware (vax 780, eagles on
Emulex massbus controllers) has run 4.2 with no problems for years. The
file systems are squeeky clean (as far as fsck is concerned).

So, can anyone help me? I am so used to these Berkeley kernels running that
I am vastly over my head here. (Have you looked at the namei code?).

One way you might help is by trying this experiment. Set up a looping shell
script for each file system. All it has to do is something like
'find /usr -name xxx -print' or somesuch. Run them all at the same time and
maybe try to dump a file system or something. If any of the rest of you
crash, please let me know.

My questions:

1. Why me? There are lots of sites running this code, yet I've seen or heard
nothing of a problem like this.

2. Where should I look next? What would a kernel master do?

3. What did the president know, and when did he know it? 

There are more details that may or may not be interesting and/or relevant,
but I don't think the net needs them for now. If anyone has any ideas
for me, please get in touch. Please mail to my account on unccvax, since
wgivax is up and down like a two dollar hooker.

Thanks,
Fred Toth
Washburn Graphics, Inc.
Charlotte, NC
704-334-5371
decvax!mcnc!unccvax!fpt
decvax!mcnc!unccvax!wgivax!fpt (After the bug is fixed!)