Hi, Ganesh Sittampalam <[email protected]> writes: > darcs: _darcs/patches/pending.new-0: openBinaryFile: resource busy (file is > locked) > > It seems to be triggered by the following patch: > > Wed Jun 3 21:37:02 BST 2009 Petr Rockai <[email protected]> > * Fix index invalidation in the move command. > Ignore-this: e2fa46552a1ac28aea587c96c0932298
I have managed to reproduce this a few times in various tests. It seems that issue1248.sh is just the one that fails "most often", with a number of other tests failing from time to time. I have seen issue1248.sh pass with same binary that usually fails, too. All this with stock Debian GHC 6.8.2 (stable). I have never seen the problem happen with GHC 6.10.3. Moreover, the mentioned patch does not seem to change anything about this behaviour for me. The code that is failing seems to reside in Darcs.Lock, likely the atomic write file operations: writeAtomicFilePS and its helpers. I haven't had more time to isolate the problem so far. I'll try to resolve this in time for beta 2 though. Yours, Petr. -- Petr Ročkai | http://web.mornfall.net A physicist is an atom's way of knowing about atoms. (George Wald) _______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
