darcs

Issue 246 darcs 1.0.8 freezes on apply

Title darcs 1.0.8 freezes on apply
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, markstos, thorkilnaur, tommy, vmiklos
Assigned To
Topics Confirmed, Conflicts

Created on 2006-08-20.21:22:05 by vmiklos, last changed 2009-08-27.14:04:56 by admin.

Messages
msg926 (view) Author: vmiklos Date: 2006-08-20.21:22:01
hi

i've tried to push a bunch of patches from my local repo to a server
one, and darcs just hanged. then i tracked down that there is a
"special" patch that causes the hang

if i do a "strace -p" on the server's darcs process, then i get the
following loop:

--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
sigreturn()                             = ? (mask now [HUP INT ABRT PIPE
TERM])
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [HUP INT ABRT PIPE TERM], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [HUP INT ABRT PIPE TERM], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [HUP INT ABRT PIPE TERM], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [HUP INT ABRT PIPE TERM], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [HUP INT ABRT PIPE TERM], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
sigreturn()                             = ? (mask now [])

and so on.

here is the repo (can be darcs get'ed):

http://ftp.frugalware.org/pub/other/people/vmiklos/

here is the patch i'm trying to apply:
http://frugalware.org/~vmiklos/patches/darcs_hang.patch

udv / greetings,
VMiklos
msg927 (view) Author: kowey Date: 2006-08-21.04:55:18
Thanks for the gettable repo and example.

In it helps, I can confirm this behaviour on my Mac.  I did a darcs
apply --verbose; it listed out all the extra patches, said "diffing
dir..." and never came back.
msg938 (view) Author: vmiklos Date: 2006-08-26.12:38:13
any progress? :)
msg2097 (view) Author: vmiklos Date: 2007-08-24.11:21:47
sorry, i accidently removed the repo. though Dominic Steinitz in
http://article.gmane.org/gmane.comp.version-control.darcs.user/11118 also
mentions the same problem
msg2098 (view) Author: kowey Date: 2007-08-24.12:13:32
Well, the 'diffing dir...' output is incomplete; that's not the part that takes
long.  I've been meaning to submit a patch so that it adds a new output
(something like 'resolving conflicts').  That's the slow part.

I think the only real progress will be when we switch to the new way of handling
conflicts, which might not be for a while.

We're working on it! (or rather, David and Jason are!)
msg2353 (view) Author: markstos Date: 2008-01-07.05:10:53
The specific case here is not possible to work on, because test repo has gone
away, but the general case I believe has been addressed by "darcs 2", so I'm
marking this one "resolved in unstable".

It also sounds like a dupe of issue566, which remains open.
msg2360 (view) Author: vmiklos Date: 2008-01-07.14:17:49
On Mon, Jan 07, 2008 at 05:10:53AM -0000, Mark Stosberg <bugs@darcs.net> wrote:
> The specific case here is not possible to work on, because test repo has gone
> away, but the general case I believe has been addressed by "darcs 2", so I'm
> marking this one "resolved in unstable".

as i mentioned before there is an other repo in which this was
reproducible as well, but using darcs unstable, it works pretty well. so
it seems to be really resolved in unstable, yay! :)

thanks,
- VMiklos
History
Date User Action Args
2006-08-20 21:22:05vmikloscreate
2006-08-21 04:55:21koweysetstatus: unread -> unknown
nosy: + kowey
messages: + msg927
2006-08-26 12:38:16vmiklossetnosy: droundy, tommy, kowey, vmiklos
messages: + msg938
2007-08-09 07:15:37koweysetnosy: + beschmi
title: darcs 1.0.8 freezes on push with some special patch -> darcs 1.0.8 freezes on apply
2007-08-24 11:21:50vmiklossetmessages: + msg2097
2007-08-24 12:13:36koweysettopic: + Conflicts
messages: + msg2098
2008-01-07 05:10:55markstossetstatus: unknown -> resolved-in-unstable
nosy: + markstos
topic: + Confirmed
messages: + msg2353
2008-01-07 14:17:51vmiklossetmessages: + msg2360
2008-09-04 21:28:59adminsetstatus: resolved-in-unstable -> resolved
nosy: + dagit
2009-08-06 17:36:58adminsetnosy: + jast, Serware, dmitry.kurochkin, darcs-devel, zooko, mornfall, simon, thorkilnaur, - droundy, vmiklos
2009-08-06 20:33:59adminsetnosy: - beschmi
2009-08-10 21:54:42adminsetnosy: + vmiklos, - darcs-devel, zooko, jast, Serware, mornfall
2009-08-10 23:55:34adminsetnosy: - dagit
2009-08-25 17:50:54adminsetnosy: + darcs-devel, - simon
2009-08-27 14:04:56adminsetnosy: tommy, kowey, markstos, vmiklos, darcs-devel, thorkilnaur, dmitry.kurochkin