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

Re: TortoiseSVN hangs up sometimes

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 12 Sep 2012 14:17:50 +0200

On 11.09.2012 16:45, Stephen Ciricillo wrote:
> Hello,
> I am seeking help to resolve an issue where my computer sometimes locks up when using certain SVN functions. Others in my department can duplicate the issue on their computers as well. We are all using Win7 64-bit, SP1. We are not however, all using the same version of SVN.
> Symptoms:
> Right click Desktop, select SVN Checkout from context menu. Checkout dialog box appears with URL of repository and Checkout directories filled in from previous usage. If I click on the “browse” button next to the URL of repository, several possibilities occur:
> 1. Repository browser appears with a “Please wait while the respository browser is initializing…” message. The Windows spinning wheel (hourglass) appears and the program is hung. Cancel button doesn’t work, Close (X) doesn’t work and it’s time for Windows Task Manager to be invoked to end the program.
> 2. Repository browser appears correctly with a populated file and folder tree. I mouse to the desired source folder, click OK and the browser closes, populating the Url of repository field of the Checkout dialog box with my chosen folder. The dialog box is now hung however. I cannot click on the Checkout directory, OK, Cancel, etc. Dialog box title bar says Checkout (Not Responding). Only functioning button is Close (X). Clicking that opens a “TortoiseSVN client is not responding” box with an option to Close or Wait. Clicking the Close option closes out the SVN Checkout function and I’m done.
> 3. Everything works fine.
> Also, sometimes clicking Repo-browser from the right click context menu results in the same Repository Browser hang described in 1. above.
>
> I am using latest available Tortoise version (1.7.9, Build 23248 - 64 Bit, 2012/08/30 18:25:37 with Subversion 1.7.6. My colleagues are using older versions however yet experience similar or identical symptoms.
>
> I’m inclined to thing it’s something on our end, server configuration, version conflicts(?) or like that but have no knowledge of how to proceed to troubleshoot. Are there log files or can log file capability be turned on to record what happened and why the SVN client hung?
>
> Any comments/ assistance is appreciated. We can continue on in the meantime as functions do sometimes work. Commits and Updates seem to work flawlessly.

The repo browser uses multiple threads (as many threads as your
processor(s) have cores) to fetch the file info. This leads to multiple
network connection in a very short period of time.

Since the repo browser appears to hang, that means at least one of the
threads is waiting for a response from the server.

Now, there can be multiple reasons why that answer isn't arriving:
* the server missed/dismissed one of the multiple requests and therefore
doesn't send an answer
* the request sent by TSVN got somehow lost on the network
* the answer the server sent got somehow lost on the newtork
* a virus scanner/proxy is blocking the requests: since there are
multiple requests in a very short time period, a lot of virus scanners
think of this as suspicious (possible DOS attack) and start blocking
those requests.

There was also a bug in TSVN which shows up with those multiple repo
browser threads, but that usually only has the effect that an
authentication failed and you're asked to enter username/password and/or
provide the client certificate.
In case this could be the reason, you can check that by using a nightly
build from the stable branch:
http://nightlybuilds.tortoisesvn.net/1.7.x/
which has this particular bug fixed. But as I said, it is most likely
not the bug that affects you.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3005334
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-09-12 14:18:02 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.