darcs

Issue 1728 mmap of index failed

Title mmap of index failed
Priority urgent Status given-up
Milestone 2.4.x Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, mornfall, twb, volothamp
Assigned To
Topics Regression

Created on 2010-01-07.16:32:10 by volothamp, last changed 2010-06-15.21:31:08 by admin.

Messages
msg9746 (view) Author: volothamp Date: 2010-01-07.16:32:08
Hello, I've just found a strange behaviour on darcs 2.3.1 (+ 310 patches) on 
Windows Vista.

Pushing a patch to a remote repo, gives me:

darcs: mmap of '_darcs/index' failed: does not exist (No such file or directory)
msg9747 (view) Author: twb Date: 2010-01-08.06:28:35
Luca Molteni wrote:
> Hello, I've just found a strange behaviour on darcs 2.3.1 (+ 310
> patches) on Windows Vista.  Pushing a patch to a remote repo, gives
> me: darcs: mmap of '_darcs/index' failed: does not exist (No such
> file or directory)

What is the version of Darcs on the remote host?
What does "darcs show repo" show for that repo, on the remote host?
msg9749 (view) Author: volothamp Date: 2010-01-08.09:35:46
The remote repo was created with darcs 2.3.1 stable.

          Type: darcs
        Format: hashed, darcs-2
          Root: M:/myproj/
      Pristine: HashedPristine
         Cache: thisrepo:M:/myproj,
cache:C:\Users\lmolteni\AppData\Roaming\darcs\cache, repo:c
:/workdir/myproj
Default Remote: c:/workdir/myproj
   Num Patches: 77


L.M.



2010/1/8 Trent W. Buck <bugs@darcs.net>:
>
> Trent W. Buck <trentbuck@gmail.com> added the comment:
>
> Luca Molteni wrote:
>> Hello, I've just found a strange behaviour on darcs 2.3.1 (+ 310
>> patches) on Windows Vista.  Pushing a patch to a remote repo, gives
>> me: darcs: mmap of '_darcs/index' failed: does not exist (No such
>> file or directory)
>
> What is the version of Darcs on the remote host?
> What does "darcs show repo" show for that repo, on the remote host?
>
> ----------
> nosy: +twb
>
> __________________________________
> Darcs bug tracker <bugs@darcs.net>
> <http://bugs.darcs.net/issue1728>
> __________________________________
>
msg9757 (view) Author: kowey Date: 2010-01-09.17:52:19
Hi Petr,

Think you might be able to have a look?  Thanks!
msg10094 (view) Author: kowey Date: 2010-03-01.13:16:58
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 :-(
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>
> __________________________________
>
msg10141 (view) Author: kowey Date: 2010-03-09.20:02:01
Thanks Luca, I'm going to mark this as presumed-dead (I suppose we don't
really know how resolved this is; just that it doesn't seem to happen
anymore with new Darcs) and open a new ticket for the new message.
History
Date User Action Args
2010-01-07 16:32:10volothampcreate
2010-01-08 06:28:37twbsetnosy: + twb
messages: + msg9747
2010-01-08 09:35:48volothampsetmessages: + msg9749
2010-01-09 17:52:25koweysetpriority: bug
status: unknown -> needs-reproduction
topic: + Regression, Target-2.4
messages: + msg9757
nosy: + kowey, mornfall
2010-01-09 18:48:12koweysetassignedto: mornfall
2010-03-01 13:17:00koweysetpriority: bug -> urgent
messages: + msg10094
2010-03-02 17:11:34volothampsetmessages: + msg10105
2010-03-09 20:02:04koweysetstatus: needs-reproduction -> given-up
assignedto: mornfall ->
messages: + msg10141
2010-06-15 21:31:07adminsetmilestone: 2.4.x
2010-06-15 21:31:08adminsettopic: - Target-2.4