[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Tortoise SVN crash when showing the SSL certificate prompt on Windows 7

From: Franck Pascutti <franck.pascutti_at_thomsonreuters.com>
Date: Tue, 6 Dec 2011 07:19:43 -0800 (PST)

I guess this is related to this other issue: http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2890925

Apart from the workaround listed there (using the command-line tool and downgrading), it is possible to make it work by copying a file from another computer where the certificate was permanently accepted.
The file is located into the "%APPDATA%\Subversion\auth\svn.ssl.server\" directory. You will need to get it from another computer and copy it locally.

This workaround is similar to the one using the command-line tool in that it works by making the certificate accepted (thus the buggy TaskDialog UI is not displayed).

> I just installed Tortoise SVN 7.2 x64 on my Windows 7 machine. I have a systematic crash when commiting when TortoiseProc tries to prompt me for certificate information.
> To reproduce the issue :
> 1. Setup a SVN server with SSL encryption using a non-recognized certificate,
> 2. Use TortoiseSVN on a Windows 7 machine to connect to this server,
> 3. The crash should occur.
> The crash occurs in the following function:
> TortoiseProc.exe!SVNPrompt::sslserverprompt(svn_auth_cred_ssl_server_trust_t * * cred_p, void * baton, const char * realm, unsigned int failures, const svn_auth_ssl_server_cert_info_t * cert_info, int may_save, apr_pool_t * pool) Line 279 C++
> The cause seems to be that Tortoise SVN sets the default command control of the TaskDialog to "IDCUSTOM3" even though only "IDCUSTOM1" and "IDCUSTOM2" were added to the TaskDialog.
> See the source code at:
> http://code.google.com/p/tortoisesvn/source/browse/trunk/src/SVN/SVNPrompt.cpp#sl_svn22343_278


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-12-06 16:19:50 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.