hg serve keeps crashing with "bad file descriptor" in book.pyo

Jaap Sperling jsperling at controll-it.de
Mon Nov 19 22:02:22 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

After running quite happily for a couple of months, our Mercurial
"server" has suddenly become really unstable. About 2 or 3 times a day
it suddenly started crashing.

Operating System: Windows 2008 R2
On same server: Artifactory server
Polled frequenlty (once a minute) by a remote TeamCity server

C:\Users\Mercurial>hg --version
Mercurial Distributed SCM (version 2.3.2)
(see http://mercurial.selenic.com for more information)
(as shipped with TortoiseHg 2.5.1 - the peeps there suggested I ask here)

Error Message
- --------------

192.168.1.97 - - [19/Nov/2012 17:15:53] Exception happened during
processing request '/alive?cmd=listkeys':
Traceback (most recent call last):
  File "mercurial\hgweb\server.pyo", line 77, in do_POST
  File "mercurial\hgweb\server.pyo", line 70, in do_write
  File "mercurial\hgweb\server.pyo", line 137, in do_hgweb
  File "mercurial\hgweb\hgwebdir_mod.pyo", line 147, in __call__
  File "mercurial\hgweb\hgwebdir_mod.pyo", line 205, in run_wsgi
  File "mercurial\hgweb\hgweb_mod.pyo", line 128, in run_wsgi
  File "mercurial\hgweb\protocol.pyo", line 76, in call
  File "mercurial\wireproto.pyo", line 351, in dispatch
  File "mercurial\wireproto.pyo", line 472, in listkeys
  File "mercurial\localrepo.pyo", line 2571, in listkeys
  File "mercurial\localrepo.pyo", line 385, in hook
  File "mercurial\hook.pyo", line 154, in hook
OSError: [Errno 9] Bad file descriptor

from Windows error code

Problem signature:
  Problem Event Name:   BEX64
  Application Name: hg.exe
  Application Version:  2.5.1.0
  Application Timestamp:    4f3f0f36
  Fault Module Name:    MSVCR90.dll
  Fault Module Version: 9.0.30729.1
  Fault Module Timestamp:   488ef624
  Exception Offset: 0000000000054fc0
  Exception Code:   c0000417
  Exception Data:   0000000000000000
  OS Version:   6.1.7601.2.1.0.272.7
  Locale ID:    1031
  Additional Information 1: 0fda
  Additional Information 2: 0fdabc4da048e07035edf55e1899d577
  Additional Information 3: fe33
  Additional Information 4: fe33bd1312daad0644202475b0b30c79

Hope you know something to help

Thanks

Jaap
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlCqrG4ACgkQIV2+BFYEoM9FdQCdEQtevd7ZRWsSWz82rapqiRFJ
hKwAn0eAtHQzz93vXm0Eb07/57AJ9V4N
=0UEX
-----END PGP SIGNATURE-----



More information about the Mercurial mailing list