Date: Fri, 1 Mar 1996 01:42:11 +5000 (EET) From: Juha Inkari <inkari@snakemail.hut.fi> To: freebsd-current@freebsd.org Subject: rename panics Message-ID: <199602292342.BAA03741@lk-hp-20.hut.fi>
next in thread | raw e-mail | index | archive | help
Resently I got a "panic : vrele : negative reference count".
The vrele() was called from rename().
I tried a simple script to exercise rename (attached below) and a
current system seems to panic (trapped in ufs_rename). There's a race
condition lurking, it seems. I havent tried other than the sticky /tmp
directory as the source and target files parent directory. Also the
test was run under root's account, if it matters.
Rename exercise:
------
#!/bin/sh
a=/tmp/foo.now
b=/tmp/foo.prev
while true
do
for n in 1 2 3 4 5 6 7 8 9 0
do
(mv $a $b ; touch $a) &
done
wait
done
------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602292342.BAA03741>
