| 
Created on 2010-03-09.20:10:19 by admin, last changed 2017-07-31.00:44:38 by gh. 
 
  
   | msg10105 (view) | Author: volothamp | Date: 2010-03-02.17:11:30 |  |  
   | Hello Eric, I've tried the 2.4 windows binary from Salvatore, and
there is still a little bug.
The error message changed to:
Tue Mar  2 17:50:13 W. Europe Standard Time 2010  Luca Molteni <>
  * Patch prova
Shall I push this patch? (1/1)  [ynWsfvplxdaqjk], or ? for help: y
darcs: _darcs/index: MoveFileEx: permission denied (The process cannot
access the file because it is being used by anoth
er process.)
Apply failed!
The good news is that this happens in only one of my work's
repositories (on a network share on Windows), and deleting the
_darcs/index files all works without problems.
Maybe it happened because I used different versions of darcs.
I wonder if we can close the bug?
Bye,
L.M.
On 1 March 2010 14:17, Eric Kow <bugs@darcs.net> wrote:
>
> Eric Kow <kowey@darcs.net> added the comment:
>
> I just noticed this was still open will trying to look for things
> related to issue1753.  In case it was related.  Since this was a target
> 2.4 regression, I'm going to bump the urgency on it.
>
> Sorry, folks!  I should have been doing more issue management before
> this release :-(
>
> ----------
> priority: bug -> urgent
>
> __________________________________
> Darcs bug tracker <bugs@darcs.net>
> <http://bugs.darcs.net/issue1728>
> __________________________________
> |  
   | msg10142 (view) | Author: kowey | Date: 2010-03-09.20:12:43 |  |  
   | I copied this from issue1728.  This seems fairly obscure and hard to
reproduce.  I think we should just wait and see if anybody else submits
a similar report.
The network share on Windows seems like an important variable. |  
   | msg10742 (view) | Author: shcheklein | Date: 2010-04-16.20:05:41 |  |  
   | Darcs 2.4 release. Doesn't work at all. To reproduce clean cache and run:
C:\Projects>darcs get http://modis.ispras.ru/src/sedna
darcs: C:\Documents and Settings\admin\Application
Data\darcs\cache/pristine.has
hed/0000001393-45b2ef897392615593d4af1a7cd02c9fb51fd789dfa291ed99fd15a7e72b30d8-
new_ff1d776eae193da59b9891ab1b03e9c0: MoveFileEx: permission denied
(▲B:070=> 2
4>ABC?5.)
Copying pristine 35 done, 16 queued. QuickStart
... hangs here and hangs if run it again (cache is not empty). |  
   | msg10747 (view) | Author: kowey | Date: 2010-04-17.12:19:16 |  |  
   | Thanks. How about the darcs-2.4.1 release? |  
   | msg10779 (view) | Author: shcheklein | Date: 2010-04-20.19:19:37 |  |  
   | It was 2.4.1 (I thought that build version number is not important). 
Now I have to use 2.2.0. |  
   | msg10846 (view) | Author: kowey | Date: 2010-04-27.10:09:52 |  |  
   | I've determined that msg10742 msg10747 and msg10779 belong on their own
ticket so I'm restoring this bug to its presumed-dead state and
continuing the discussion on issue1831 |  
   | msg14602 (view) | Author: kowey | Date: 2011-07-24.22:30:29 |  |  
   | This got reported again on issue2091.  Looks like our first step is to 
reproduce difficulty using darcs on network shares under Windows. |  
   | msg14604 (view) | Author: davidsarah | Date: 2011-07-26.02:08:53 |  |  
   | I'm having a similar problem to issue2019, also involving VirtualBox
shared folders. When a Windows XP SP3 *guest* has a darcs repository on
a drive that is mapped to a Shared Folder (in this case to a filesystem
on the Linux host), then many operations that write to the repository
(such as 'darcs pull', but not all such operations, e.g. not the initial
'get') fail with an error like:
darcs: _darcs/tentative_hashed_inventory: hClose: invalid argument
(Invalid argument)
The path is not always '_darcs/tentative_hashed_inventory', but the rest
of the error is always the same.
When the same files are copied to a normal Windows drive on the guest,
the same operations work correctly. (This indicates that the files
weren't corrupted, it was just the access that failed on the shared folder.)
Note that although issue2019 was closed as a duplicate of this issue,
I'm not sure there was enough evidence to come to that conclusion. I
agree it is *plausible* that the same bug might affect both network
drives and VirtualBox shared folders, since both use the IFS driver
interface I think, albeit different drivers. However, the error messages
are quite different: issue1759 looks like a file is locked by another
process, whereas the message in issue2091 doesn't say anything about
that. Also, issue2091 seems to happen for all repositories, and deleting
_darcs/index makes no difference. So I think that these bugs should be
unduplicated unless and until there is more evidence that they are the same. |  
   | msg14605 (view) | Author: davidsarah | Date: 2011-07-26.02:10:47 |  |  
   | I should have mentioned that this is with the 2.5.2 Windows release of
darcs, and VirtualBox 3.2.8_OSE r64453 on an Ubuntu 10.10 host. |  
   | msg14609 (view) | Author: davidsarah | Date: 2011-07-26.02:27:21 |  |  
   | I meant issue2091, not issue2019. (Sorry for the multiple comment noise.) |  
   | msg14611 (view) | Author: kowey | Date: 2011-07-26.06:51:04 |  |  
   | No problem about the noise, davidsarah.  Folks (I mentioned this on 
issue2091), note the possibility of reproducing something like this error 
with the help of VirtualBox |  
   | msg14613 (view) | Author: mornfall | Date: 2011-07-26.16:48:53 |  |  
   | I don't think issue1831 is related to this. Also, network shares and 
MoveFileEx error is a different story from virtualbox and invalid 
argument. The latter is just memory mapping of files not supported by 
virtualbox shares at all. The former is *probably* a problem with 
writing over recently deleted files. I don't think there's a fix other 
than adding a sleep between the delete and the move-over operations. 
Sucks, doesn't it? Welcome to wonderful world of Windows. |  
   | msg15949 (view) | Author: dixiecko | Date: 2012-08-05.11:16:22 |  |  
   | only small modification of existing idea described by mornfall:
other possible solution instead of "sleep for a while" before operation,
is to do operation but when this error happens, re-try after "sleep for
a while". |  |
 
| Date | User | Action | Args |  | 2010-03-09 20:10:19 | admin | create |  |  | 2010-03-09 20:12:49 | kowey | set | priority: bug status: unread -> given-up
 topic:
  + Windows, Hashed
 messages:
  + msg10142
 nosy:
  + wglozer, eivuokko, kirby, jaredj
 |  | 2010-04-16 20:05:42 | shcheklein | set | priority: bug -> urgent status: given-up -> needs-reproduction
 messages:
  + msg10742
 nosy:
  + shcheklein
 |  | 2010-04-17 12:19:17 | kowey | set | status: needs-reproduction -> waiting-for assignedto: shcheklein
 messages:
  + msg10747
 |  | 2010-04-20 19:19:38 | shcheklein | set | messages:
  + msg10779 |  | 2010-04-27 10:09:55 | kowey | set | status: waiting-for -> given-up topic:
  + Target-2.4
 messages:
  + msg10846
 assignedto: shcheklein ->
 |  | 2010-04-27 10:10:51 | kowey | set | topic:
  - Target-2.4 |  | 2011-07-24 22:27:40 | kowey | set | title: _darcs/index: MoveFileEx: permission denied -> _darcs/index: MoveFileEx: permission denied (network share) |  | 2011-07-24 22:30:30 | kowey | set | priority: urgent -> bug status: given-up -> needs-reproduction
 messages:
  + msg14602
 nosy:
  + mandras, - darcs-devel
 |  | 2011-07-24 22:35:19 | kowey | link | issue2091 superseder |  | 2011-07-26 02:08:55 | davidsarah | set | nosy:
  + davidsarah messages:
  + msg14604
 |  | 2011-07-26 02:10:48 | davidsarah | set | messages:
  + msg14605 |  | 2011-07-26 02:27:22 | davidsarah | set | messages:
  + msg14609 |  | 2011-07-26 06:51:05 | kowey | set | messages:
  + msg14611 |  | 2011-07-26 09:50:03 | mandras | set | nosy:
  kowey, wglozer, eivuokko, twb, jaredj, dmitry.kurochkin, mornfall, kirby, volothamp, davidsarah, shcheklein, mandras |  | 2011-07-26 16:48:53 | mornfall | set | messages:
  + msg14613 |  | 2012-08-05 11:16:23 | dixiecko | set | messages:
  + msg15949 |  | 2012-08-05 11:18:46 | dixiecko | set | nosy:
  + dixiecko |  | 2017-07-31 00:44:38 | gh | set | status: needs-reproduction -> given-up | 
 |