darcs

Issue 1510 deadlock fetching over http?

Title deadlock fetching over http?
Priority bug Status given-up
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, thorkilnaur
Assigned To
Topics HTTP

Created on 2009-08-04.15:57:31 by kowey, last changed 2010-04-03.12:00:58 by kowey.

Messages
msg8005 (view) Author: kowey Date: 2009-08-04.15:57:29
Hi Dmitry,

On darcs.net, I tried to darcs get http://repos.mornfall.net/darcs/branch-2.2
and it got stuck on Copying pristine 6/22 : GNUmakefile

Running an strace -p `pgrep darcs` gave me this in a loop:
futex(0x861f738, FUTEX_WAIT, 27, NULL)  = -1 EINTR (Interrupted system call)
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
write(4, "\377"..., 1)                  = 1
sigreturn()                             = ? (mask now [])

Any clues?

We're running Darcs 2.2.98.2 (the Darcs 2.3 beta; we really ought to upgrade :-))
msg8006 (view) Author: kowey Date: 2009-08-04.15:58:21
Naturally, this is not reproducible.  The fetch succeeds if we repeat it.
msg8249 (view) Author: kowey Date: 2009-08-18.12:32:09
I suppose we should first try to reproduce this by hand maybe using a shell
srcipt to repeat darcs get.

Then we need to somehow boil it down to a simpler setup that makes the stuckness
more likely to occur.
msg10645 (view) Author: kowey Date: 2010-04-03.12:00:57
Can't reproduce this.  Just need somebody else to complain of a similar
thing.  Hopefully we'll manage to dig this bug up when it strikes again.
History
Date User Action Args
2009-08-04 15:57:31koweycreate
2009-08-04 15:58:23koweysetstatus: unread -> unknown
nosy: kowey, simon, thorkilnaur, dmitry.kurochkin
messages: + msg8006
2009-08-11 18:05:21koweysettopic: + HTTP
nosy: kowey, simon, thorkilnaur, dmitry.kurochkin
2009-08-18 12:32:11koweysetstatus: unknown -> needs-reproduction
nosy: kowey, simon, thorkilnaur, dmitry.kurochkin
messages: + msg8249
2009-08-25 17:46:35adminsetnosy: + darcs-devel, - simon
2009-08-27 14:26:51adminsetnosy: kowey, darcs-devel, thorkilnaur, dmitry.kurochkin
2010-04-03 12:00:58koweysetstatus: needs-reproduction -> given-up
messages: + msg10645