[darcs-devel] [issue969] Darcs infinite loop
Simon Peyton-Jones
bugs at darcs.net
Wed Jul 23 21:09:32 UTC 2008
New submission from Simon Peyton-Jones <simonpj at microsoft.com>:
I am horribly depressed to report another Darcs failure. Both Darcs 1.0.9 and Darcs 2.0 go into an infinite loop when pulling 18 patches from the GHC head repo.
My own repo is pristine: I don't have any local changes. Ahem... except I removed utils/hsc2hs as per a message from Ian. But that should not cause a loop should it?
Below is the dump from my screen. I killed the process after it had consumed 100% of the CPU for five minutes.
What really worries me is that this stuff happens on a regular basis. I just don't trust Darcs any more.
PS: I did a 'darcs revert -a' to put back the missing utils/hsc2hs directory. Then 'darcs2 pull -av' went through just fine. So this time I'm not stuck. But going into an infinite loop because of a local change just isn't confidence building.
Simon
sh-2.04$ darcs2 pull -av
Identifying repository http://darcs.haskell.org/ghc format
Identifying repository http://darcs.haskell.org/ghc inventory
Reading inventory of repository http://darcs.haskell.org/ghc inventory
Reading inventory of repository c:/simonpj/darcs/HEAD-new-igloo inventory
Pulling from "http://darcs.haskell.org/ghc"...
This is the GHC darcs repository (HEAD branch)
For more information, visit the GHC developer wiki at
http://hackage.haskell.org/trac/ghc
**********************
We have the following new (to them) patches:
They have the following patches to pull:
Sun Jul 20 23:06:22 GMT Daylight Time 2008 Ian Lynagh <igloo at earth.li>
* haddock the stage2 compiler if HADDOCK_DOCS is YES
Mon Jul 21 10:52:56 GMT Daylight Time 2008 Ian Lynagh <igloo at earth.li>
* Fixes for haddock 0.8
Tue Jul 22 13:57:43 GMT Daylight Time 2008 Ian Lynagh <igloo at earth.li>
* Fix the stage3 build
Tue Jul 22 17:33:08 GMT Daylight Time 2008 Ian Lynagh <igloo at earth.li>
* Add replacements for the -optdep flags, and deprecate the old ones
Tue Jul 22 18:05:42 GMT Daylight Time 2008 Ian Lynagh <igloo at earth.li>
* Clean stage 3
Tue Jul 22 18:07:54 GMT Daylight Time 2008 Ian Lynagh <igloo at earth.li>
* We need to clean the utils on "distclean", as well as "clean"
Tue Jul 22 21:36:46 GMT Daylight Time 2008 Ian Lynagh <igloo at earth.li>
* Sync hsc2hs's Main.hs with the Cabal repo
Wed Jul 23 00:55:50 GMT Daylight Time 2008 Ian Lynagh <igloo at earth.li>
* Warn about unrecognised pragmas; these often mean we've typoed
Mon Jul 14 15:50:40 GMT Daylight Time 2008 Simon Marlow <marlowsd at gmail.com>
* add NetBSD to some of the #ifdefs (patch partly from 6.8 branch)
Tue Jul 15 11:11:19 GMT Daylight Time 2008 Simon Marlow <marlowsd at gmail.com>
* update the text about header files and -#include
Tue Jul 15 14:03:16 GMT Daylight Time 2008 Simon Marlow <marlowsd at gmail.com>
* non-threaded RTS: don't assume deadlock if there are signal handlers to run
Tue Jul 22 10:21:13 GMT Daylight Time 2008 Simon Marlow <marlowsd at gmail.com>
* refactoring/tidyup: (not.is64BitInteger) -> is32BitInteger
Wed Jul 23 10:00:50 GMT Daylight Time 2008 Simon Marlow <marlowsd at gmail.com>
* debug message tweaks
Wed Jul 23 11:43:22 GMT Daylight Time 2008 Simon Marlow <marlowsd at gmail.com>
* fix bug in sparkPoolSize (affects debug output only)
Wed Jul 23 13:52:05 GMT Daylight Time 2008 Simon Marlow <marlowsd at gmail.com>
* Undo fix for #2185: sparks really should be treated as roots
Unless sparks are roots, strategies don't work at all: all the sparks
get GC'd. We need to think about this some more.
Wed Jul 23 01:12:02 GMT Daylight Time 2008 Ian Lynagh <igloo at earth.li>
* Tell Cabal where gcc is
Wed Jul 23 15:38:04 GMT Daylight Time 2008 Ian Lynagh <igloo at earth.li>
* Remove some redundancy in darcs-all
Wed Jul 23 16:50:21 GMT Daylight Time 2008 Ian Lynagh <igloo at earth.li>
* Use the upstream hsc2hs repo
Getting and merging the following patches:
Sun Jul 20 23:06:22 GMT Daylight Time 2008 Ian Lynagh <igloo at earth.li>
* haddock the stage2 compiler if HADDOCK_DOCS is YES
Mon Jul 21 10:52:56 GMT Daylight Time 2008 Ian Lynagh <igloo at earth.li>
* Fixes for haddock 0.8
Tue Jul 22 13:57:43 GMT Daylight Time 2008 Ian Lynagh <igloo at earth.li>
* Fix the stage3 build
Tue Jul 22 17:33:08 GMT Daylight Time 2008 Ian Lynagh <igloo at earth.li>
* Add replacements for the -optdep flags, and deprecate the old ones
Tue Jul 22 18:05:42 GMT Daylight Time 2008 Ian Lynagh <igloo at earth.li>
* Clean stage 3
Tue Jul 22 18:07:54 GMT Daylight Time 2008 Ian Lynagh <igloo at earth.li>
* We need to clean the utils on "distclean", as well as "clean"
Tue Jul 22 21:36:46 GMT Daylight Time 2008 Ian Lynagh <igloo at earth.li>
* Sync hsc2hs's Main.hs with the Cabal repo
Wed Jul 23 00:55:50 GMT Daylight Time 2008 Ian Lynagh <igloo at earth.li>
* Warn about unrecognised pragmas; these often mean we've typoed
Mon Jul 14 15:50:40 GMT Daylight Time 2008 Simon Marlow <marlowsd at gmail.com>
* add NetBSD to some of the #ifdefs (patch partly from 6.8 branch)
Tue Jul 15 11:11:19 GMT Daylight Time 2008 Simon Marlow <marlowsd at gmail.com>
* update the text about header files and -#include
Tue Jul 15 14:03:16 GMT Daylight Time 2008 Simon Marlow <marlowsd at gmail.com>
* non-threaded RTS: don't assume deadlock if there are signal handlers to run
Tue Jul 22 10:21:13 GMT Daylight Time 2008 Simon Marlow <marlowsd at gmail.com>
* refactoring/tidyup: (not.is64BitInteger) -> is32BitInteger
Wed Jul 23 10:00:50 GMT Daylight Time 2008 Simon Marlow <marlowsd at gmail.com>
* debug message tweaks
Wed Jul 23 11:43:22 GMT Daylight Time 2008 Simon Marlow <marlowsd at gmail.com>
* fix bug in sparkPoolSize (affects debug output only)
Wed Jul 23 13:52:05 GMT Daylight Time 2008 Simon Marlow <marlowsd at gmail.com>
* Undo fix for #2185: sparks really should be treated as roots
Unless sparks are roots, strategies don't work at all: all the sparks
get GC'd. We need to think about this some more.
Wed Jul 23 01:12:02 GMT Daylight Time 2008 Ian Lynagh <igloo at earth.li>
* Tell Cabal where gcc is
Wed Jul 23 15:38:04 GMT Daylight Time 2008 Ian Lynagh <igloo at earth.li>
* Remove some redundancy in darcs-all
Merging them 6/18
----------
files: unnamed
messages: 5238
nosy: beschmi, dagit, igloo, simonmar, simonpj, tommy
status: unread
title: Darcs infinite loop
__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue969>
__________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osuosl.org/pipermail/darcs-devel/attachments/20080723/b447f223/attachment-0003.htm
More information about the darcs-devel
mailing list