steve@dartvax.UUCP (Steve Campbell) (03/22/87)
[Hardware: VAX 785, 1 uba, 1 uda50, 4 ra81, 1 mba, 1 tm78, 1 deuna.]
Since upgrading to 4.3BSD a few weeks ago, there have been 2 mysterious
[to me] crashes. Each has been a protection panic during an execution of
find(1) that is triggered late at night by cron(8). In each case the system
was idle. Cron kicks off /usr/adm/daily, which contains:
find / \( -name '[#,]*' -o -name '.#*' -o -name a.out -o -name core -o -name '*.CKP' -o -name '.emacs_[0-9]*' \) \
-a -atime +3 -exec rm -f {} \;
Here's what happens:
Mar 22 02:09:33 libdev vmunix: trap type 9, code = 434c, pc = 800152f9
Mar 17 02:08:51 libdev vmunix: trap type 9, code = 42d4, pc = 800152f9
The pc address is in iget. Here's what adb(1) shows:
sbr d468 slr 3770
p0br ba00 p0lr 6e p1br be00 p1lr fff0
panic: Protection fault
$c
_boot() from 80025033
_boot(0,0) from _panic+3a
_panic(8003e50f) from _trap+ac
_trap() from _Xtransflt+1d
_Xtransflt(90b,802ace00,937) from 80016c60
_namei(7ffff398) from _stat1+28
_stat1(0) from _lstat+b
_lstat() from 8002594d
_syscall() from _Xsyscall+c
_Xsyscall(6cc7,75e0) from 1343
?(6cb8,6cc7,7168) from 1441
?(6cb8,6cc0,7168) from 1441 /* calls to descend() in find */
?(6cb8,6cb9,7168) from 1441
?(6cb8,6cb9,7168) from 2bc
?(1d,7fffeaf0,7fffeb68) from 3d
?(6cb8,6cb9,7168) from 9d88
This all seems normal down the stack as far as namei. The parms point
to reasonable things like path names to real, normal files. Here's
some additional stuff from the u struct's namei section:
7ffff398: ni_dirp nameiop ni_err ni_pdir ni_bp
6cc7 0 0 0 c0000000
7ffff3a8: ni_base ni_count ni_iovec ni_iovcnt
0 0 7ffff3a8 1
7ffff3b8: ni_offset ni_segflg ni_resid
1640 0 0
7ffff3c4: ni_dent.d_inum reclen namlen name
2359 20 10 search_brs^@o^@^@
Finally, there have been some soft disk transfer errors reported on one
of the ra81's in recent weeks, but not on the one where this file resides,
and not anywhere near the times of the crashes.
I would be interested in any help or suggestions.
steve campbell
dartvax!steve
steve@dartmouth.EDU