Issue #599 resolved

App Crash If Network Share No Longer Available

Anonymous created an issue

1) TortoiseHg opens a repository on a remote network share (Windows) 2) remote PC is shutdown (hence network share no longer available) 3) TortoiseHg will crash. Bug report below.

I'm not sure how long the crash takes - I did step 1 on a Friday step 2 happened on Sunday night and I didn't know the crash until Monday morning

{{{

!python

Mercurial version (1.8.1). TortoiseHg version (2.0.2) Command: --nofork workbench CWD: \devsvr\Hg\Visual Studio 2008\atlmfc Extensions loaded: fixfrozenexts, rebase Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit (AMD64)] Windows version: (6, 1, 7601, 2, 'Service Pack 1') Processor architecture: x64 Qt-4.7.1 PyQt-4.8.2 Traceback (most recent call last): File "tortoisehg\hgqt\repowidget.pyo", line 427, in showEvent File "tortoisehg\hgqt\repowidget.pyo", line 638, in reload File "tortoisehg\hgqt\repowidget.pyo", line 645, in rebuildGraph File "mercurial\localrepo.pyo", line 218, in len File "mercurial\util.pyo", line 169, in get File "mercurial\localrepo.pyo", line 175, in changelog File "mercurial\changelog.pyo", line 102, in init File "mercurial\revlog.pyo", line 244, in init File "mercurial\store.pyo", line 314, in fncacheopener File "mercurial\util.pyo", line 935, in call File "mercurial\windows.pyo", line 20, in posixfile IOError: [Errno 22] \devsvr\Hg\Visual Studio 2008\atlmfc.hg/store\00changelog.i: The specified network name is no longer available Traceback (most recent call last): File "tortoisehg\hgqt\workbench.pyo", line 449, in repoTabCloseSelf File "tortoisehg\hgqt\repowidget.pyo", line 792, in closeRepoWidget File "mercurial\localrepo.pyo", line 206, in getitem File "mercurial\context.pyo", line 25, in init File "mercurial\util.pyo", line 169, in get File "mercurial\localrepo.pyo", line 175, in changelog File "mercurial\changelog.pyo", line 102, in init File "mercurial\revlog.pyo", line 244, in init File "mercurial\store.pyo", line 314, in fncacheopener File "mercurial\util.pyo", line 935, in call File "mercurial\windows.pyo", line 20, in posixfile IOError: [Errno 22] \devsvr\Hg\Visual Studio 2008\atlmfc.hg/store\00changelog.i: The specified network name is no longer available Traceback (most recent call last): File "tortoisehg\hgqt\repomodel.pyo", line 402, in data File "tortoisehg\hgqt\repomodel.pyo", line 358, in graphctx File "tortoisehg\hgqt\thgrepo.pyo", line 516, in thgwdparent File "mercurial\localrepo.pyo", line 580, in parents File "mercurial\context.pyo", line 122, in parents File "mercurial\util.pyo", line 169, in get File "mercurial\context.pyo", line 669, in _parents File "mercurial\dirstate.pyo", line 203, in parents File "mercurial\util.pyo", line 169, in get File "mercurial\dirstate.pyo", line 83, in _pl File "mercurial\util.pyo", line 935, in call File "mercurial\windows.pyo", line 20, in posixfile IOError: [Errno 22] \devsvr\Hg\Visual Studio 2008\atlmfc.hg\dirstate: The specified network name is no longer available Traceback (most recent call last): File "tortoisehg\hgqt\repomodel.pyo", line 409, in data File "tortoisehg\hgqt\repomodel.pyo", line 421, in rawdata File "tortoisehg\hgqt\repomodel.pyo", line 500, in getrev File "mercurial\context.pyo", line 125, in p1 File "mercurial\util.pyo", line 169, in get File "mercurial\context.pyo", line 669, in _parents File "mercurial\dirstate.pyo", line 203, in parents File "mercurial\util.pyo", line 169, in get File "mercurial\dirstate.pyo", line 83, in _pl File "mercurial\util.pyo", line 935, in call File "mercurial\windows.pyo", line 20, in posixfile IOError: [Errno 22] \devsvr\Hg\Visual Studio 2008\atlmfc.hg\dirstate: The specified network name is no longer available

}}}

Comments (4)

  1. Log in to comment