[Bug 4979] New: dirstate corruption causes appcrash
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Wed Dec 2 13:03:07 UTC 2015
https://bz.mercurial-scm.org/show_bug.cgi?id=4979
Bug ID: 4979
Summary: dirstate corruption causes appcrash
Product: Mercurial
Version: 3.6.1
Hardware: PC
OS: Windows
Status: UNCONFIRMED
Severity: bug
Priority: wish
Component: Mercurial
Assignee: bugzilla at selenic.com
Reporter: kubelsmieci at gmail.com
CC: mercurial-devel at selenic.com
Created attachment 1880
--> https://bz.mercurial-scm.org/attachment.cgi?id=1880&action=edit
corrupted dirstate file
Somehow (probably failed restore from hibernated system) my 'dirstate' file was
corrupted: 190kB with only 0x00 bytes in all file.
Any 'hg' command causes hg.exe to crash:
========================
Podpis problemu:
Nazwa zdarzenia problemu: APPCRASH
Nazwa aplikacji: hg.exe
Wersja aplikacji: 3.6.1.0
Sygnatura czasowa aplikacji: 4918017b
Nazwa moduÅu z bÅÄdem: MSVCR90.dll
Wersja moduÅu z bÅÄdem: 9.0.30729.6161
Sygnatura czasowa moduÅu z bÅÄdem: 4dace4e7
Kod wyjÄ
tku: c0000005
PrzesuniÄcie wyjÄ
tku: 000000000001e51d
Wersja systemu operacyjnego: 6.1.7601.2.1.0.256.48
Identyfikator ustawieÅ regionalnych: 1045
Dodatkowe informacje 1: 2ad9
Dodatkowe informacje 2:
2ad922288d1197cb0e39ebfca1c9763d
Dodatkowe informacje 3: 5787
Dodatkowe informacje 4:
5787facdad846807ec2517374d75d1a1
========================
'hg debugrebuildstate -r tip' also causes appcrash.
Only 'hg clone' from outside of repo worked. Cloned repo worked.
Deleting 'dirstate' from broken repo - hg commands stopped crashed, but working
directory is broken:
========================
λ hg sum
parent: -1:000000000000 (no revision checked out)
branch: sralgs
commit: 2830 unknown (new branch)
update: 6227 new changesets (update)
phases: 1034 draft
========================
(I understate this is expected)
After copied 'dirstate' from cloned repo to broken repo, working directory
seems ok:
========================
λ hg sum
parent: 6569:0b005c2a028c tip
my last commit message
branch: sralgs
commit: 1 modified
update: (current)
phases: 1034 draft
========================
λ hg verify -v
repository uses revlog format 1
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
8843 files, 6570 changesets, 28581 total revisions
========================
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list