[darcs-users] Endless loop when pushing

Stephane Bortzmeyer bortzmeyer at nic.fr
Sun Nov 28 18:26:52 UTC 2004


I try to push a patch to another repository on a remote machine and I
can observe that the patch is copied (my network monitor shows the
traffic, then nothing when the copy is over) but the "darcs push"
never ends:

~/Debian/Packages % darcs push bortzmeyer at vespucci.nic.fr:Debian/Packages
Pushing to bortzmeyer at vespucci.nic.fr:Debian/Packages...

Fri Nov 26 20:40:46 CET 2004  stephane at laperouse.internatif.org
  * Add echoping package
Shall I push this patch? (1/1) [ynWvxqdjk?] y

[And then no return to the shell]

The patch is just the addition of a directory (31 megabytes).

On the remote machine, vespucci.nic.fr, I can see darcs running
forever at full CPU speed. top shows:

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND           
12397 bortzmey  16   0 46792  45m 2444 R 99.9  9.1  19:18.62 darcs             

strace indicates nothing:

vespucci:~ % strace -p 12397
Process 12397 attached - interrupt to quit
rt_sigprocmask(SIG_BLOCK, [HUP INT ABRT PIPE ALRM TERM], [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [HUP INT ABRT PIPE ALRM TERM], [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [HUP INT ABRT PIPE ALRM TERM], [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [HUP INT ABRT PIPE ALRM TERM], [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [HUP INT ABRT PIPE ALRM TERM], [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
Process 12397 detached

How can I debug such a problem?







More information about the darcs-users mailing list