[darcs-users] darcs 2 infinite loop
Lele Gaifax
lele at nautilus.homeip.net
Sun Aug 3 11:17:42 UTC 2008
On Sat, 02 Aug 2008 17:23:26 +0700
"Alexandr N. Zamaraev" <tonal.promsoft at gmail.com> wrote:
> I have repository 'cabal-install' ~5.5mb
> If calling command "darcs pull -a" darcs buzz using 100% CPU
There must be something strange with the cabal-install repository. Two
days ago I tried several times to get it, and got different
results. Repeating them again now I got this:
$ darcs get http://darcs.haskell.org/cabal-install
darcs: bug in darcs!
Possible bug in URL.waitNextUrl: http://darcs.haskell.org/cabal-install/_darcs/inventories/20080603005057-adfee-4d360cb0bc3b2fa6868ec9c8a34859e09f23509f.gz at src/URL.hs:109 compiled Jun 24 2008 13:38:46
I'm unable to check http://darcs.net/maintenance to see if this version is supported.
If it is is supported, please report this to bugs at darcs.net
If possible include the output of 'darcs --exact-version'.
darcs: bug in darcs!
Another possible bug in URL.waitNextUrl: http://darcs.haskell.org/cabal-install/_darcs/inventories/20080603005057-adfee-4d360cb0bc3b2fa6868ec9c8a34859e09f23509f.gz select() failed at src/URL.hs:114 compiled Jun 24 2008 13:38:46
I'm unable to check http://darcs.net/maintenance to see if this version is supported.
If it is is supported, please report this to bugs at darcs.net
If possible include the output of 'darcs --exact-version'.
$
$ rm -rf cabal-install/
$ darcs get http://darcs.haskell.org/cabal-install
darcs: bug in darcs!
Possible bug in URL.waitNextUrl: ....
$
$ rm -rf cabal-install/
$ darcs get -v http://darcs.haskell.org/cabal-install
Copying patch 23/1376
After which darcs hangs and starts eating all the CPU: it needs a
"kill -9" to stop.
In a previous test I got this instead:
$ darcs get -v http://darcs.haskell.org/cabal-install
darcs: ./darcs22832-new: renameFile: does not exist (No such file or directory)
darcs: ./darcs22832-new: renameFile: does not exist (No such file or directory)
$
Using strace on it seems darcs is falling into a loop, where the load
keeps raising and the only output is a boring repetition of the
following lines:
rt_sigreturn(0x1a) = 140414570367298
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
rt_sigreturn(0x1a) = 140414570429024
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
rt_sigreturn(0x1a) = 140414570549440
--- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
rt_sigreturn(0x1a) = 12309817
This is with darcs 2, on a 64bit machine:
$ darcs --exact-version
darcs compiled on Jun 24 2008, at 13:41:53
# configured Tue Jun 24 13:38:13 CEST 2008
./configure /usr/local/share/config.site /usr/local/etc/config.site
Context:
[TAG 2.0.2
David Roundy <droundy at darcs.net>**20080624012041]
hth,
ciao, lele.
--
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele at nautilus.homeip.net | -- Fortunato Depero, 1929.
More information about the darcs-users
mailing list