[issue1453] hg for Windows crashes or fails when asked for any http auth as of version 1.1

James Van Lommel mercurial-bugs at selenic.com
Wed Dec 31 13:11:31 CST 2008


New submission from James Van Lommel <jamesvl at gmail.com>:

Communicating with a repository being served by hgwebdir.cgi (version 1.1 or
1.1.1 of Mercurial) causes Mercurial to crash if that repository requires any
kind of http authentication.

Step to reproduce:

  * using Mercurial 1.1+, create a new repo served by hgwebdir.cgi. Add a test
file. The repo directory must have the "Require valid-user" Apache directive in
a <Limit POST PUT> section.
  * from a client, check out that repo
  * make and commit a change
  * push the change back to the server
  * watch hg.exe crash

Expected to see: successful "push" or other communication with the repo.

Actually saw: the crash dialog asking if I want to send a report to Microsoft
about the issue. (On Windows XP SP3 machine)

Actually saw: nothing - hg.exe just failed silently (on Windows Server 2k3 SP2)

System Setup:

Server: Apache 2.2.9 or Apache 2.2.11 on Windows Server 2k3 SP2
Mercurial: binary releases of versions 1.1, 1.1+20081203, and 1.1.1
(crash *not* present on versions less than 1.1)
http auth: basic, digest, and mod_auth_sspi all produced the same results
commands used: push & pull (depending on which commands the "Require valid-user"
directive was applied to)

Client: Mercurial 1.1+ (same as above) on Windows XP SP3 (issue not present on a
Linux version of Mercurial that I compiled myself). I'm using the binaries
available from http://mercurial.berkwood.com/ (the first page linked under the
Mercurial Binaries wiki)

----------
messages: 8317
nosy: JamesVanLommel
priority: critical
status: unread
title: hg for Windows crashes or fails when asked for any http auth as of version 1.1
topic: hgweb, windows

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1453>
____________________________________________________



More information about the Mercurial-devel mailing list