[darcs-users] darcs-beta crashes on whatsnew
Petr Rockai
me at mornfall.net
Fri Jul 10 11:41:02 UTC 2009
Hi,
Benjamin Franksen <ben.franksen at online.de> writes:
> I just installed the new beta 2 and again got a crash with a bad index file.
> When I move the bad index file it works fine. I attached the good (new) and
> the bad (old) index file in a tar ball (this is a different repository than
> the one where I encountered the problem the first time).
this should definitely not happen. : - ( Moreover, it works correctly for me
with darcs beta 2 (copying your index into an empty repo, the index.bad gets
correctly replaced by a new-format index). More debug data would probably help:
can you give --exact-version of your binary? Have you built from a tarball or
from hackage? Can you reproduce the problem when you cp _darcs/index.bad
_darcs/index?
Oh OK. I see the bug now (after reading the code again): I can crash darcs by
copying in the bad index and then doing touch _darcs/index_invalid: then, doing
darcs wh gives a segfault. So nevermind about the extra data I asked: I will
fix the problem... (it should be much rarer than before, interesting that you
keep running into the issue).
Thanks,
Petr.
More information about the darcs-users
mailing list