in reply to Re^3: rmtree() is failing after some time
in thread rmtree() is failing after some time

I am calling rmtree() in DESTROY() method of a class. Here is the exact error message Thu Apr 23 18:08:24 2009 - WARN: cannot fetch initial working directory: No such file or directory at Basecamp/Setup.pm line 265 thread 6 Code is scattered in different files so I am not able to post more code.
  • Comment on Re^4: rmtree() is failing after some time

Replies are listed 'Best First'.
Re^5: rmtree() is failing after some time
by dHarry (Abbot) on Apr 23, 2009 at 14:28 UTC

    Code is scattered in different files so I am not able to post more code

    Sure you can, or is it secret code;)

    Without code it's a bit hard/impossible to diagnose the problem correctly. My guess right now is that in some thread some piece of code tries to access a directory which has just been deleted by the rmtree in another thread?!