[darcs-devel] [issue2400] clone from/to remote: couldn't fetch XXX from sources

noreply bugs at darcs.net
Fri Oct 16 19:17:42 UTC 2015


noreply <noreply at darcs.net> added the comment:

The following patch sent by Ben Franksen <benjamin.franksen at helmholtz-berlin.de> updated issue issue2400 with
status=resolved;resolvedin=2.12.0 HEAD

* resolve issue2400: use async package to keep track of unpack threads 
Ignore-this: 19824275268ecdf0fb78ebc720827c17

The main difference is that we now cancel all threads when the job is done.
The previous implementation left one of the threads running and I suspect
(but haven't strictly verified) that this caused the error message. There is
rather strong evidence though: turning on debug messages makes the problem
disappear, as did turning off the concurrency (by commenting out the
forkIO), both of which suggests a race condition. Then there is the fact
that the clone actually succeeded despite the error message. Last not least,
with this patch in effect I can no longer reproduce the problem.

----------
resolvedin:  -> 2.12.0 HEAD
status: needs-diagnosis/design -> resolved

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue2400>
__________________________________


More information about the darcs-devel mailing list