[K42-discussion] crash in FileSystemGlobal::FSFileGlobal::rename

Andrew Baumann andrewb at cse.unsw.edu.au
Sat Sep 10 09:53:28 EST 2005


On Sat, 10 Sep 2005 08:41 am, Livio Soares wrote:
>   I'm on  a bit of a run  here, so I didn't  quite look at your  bug
> report. But there is a tiny chance this can help you. Try the following
> patch...

This seems to have fixed it for me, thanks (and well done :)!

For the list, the patch was:

--- lib/libc/sys/MountPointMgrCommon.C  29 Apr 2005 05:49:28 -0000      1.33
+++ lib/libc/sys/MountPointMgrCommon.C  17 May 2005 22:11:36 -0000
@@ -860,6 +860,11 @@ MountPointMgrCommon::reInit()
            curPath->destroy(curPathLen);
            curPath = prev->pth;
            curPathLen = prev->pthLen;
+
+           // remove current component from parent's list, then delete it
+           prev->comp->removeChild(curComp);
+           delete curComp;
+
            curComp = prev->comp;
            tmp = prev;
            prev = prev->prev;


Andrew



More information about the K42-discussion mailing list