overwriting running text file?

Wieger Opmeer (wieger@cal44a034.student.utwente.nl)
Wed, 3 Jul 1996 05:09:05 +0200 (MET DST)

A weird thing happened to my system today: after running 1.99.12 for 27
days I discovered a few stuck processes. These processes were the children
of a daemon that had been killed. When I killed these processes one turned
into a zombie, the other got stuck in disk wait.
After a bit of research I found out that the text file of this process had
been overwritten by a newer version of the daemon. /proc/<pid>/exe
pointed to an inode that contained a file several hours newer than the
start time of the process.
I wonder how this could have happened, why was there no 'text file busy'
error? Maybe because the parent of these processes was being debugged with
gdb at the time?

Wieger Opmeer