Discussion:
TortoiseSVN hangs up sometimes
Stephen Ciricillo
2012-09-11 14:45:01 UTC
Permalink
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.

Thanks in advance.
Stephen Ciricillo

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3005044

To unsubscribe from this discussion, e-mail: [users-***@tortoisesvn.tigris.org].
Stefan Küng
2012-09-12 12:17:50 UTC
Permalink
Post by Stephen Ciricillo
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.
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-***@tortoisesvn.tigris.org].
Stephen Ciricillo
2012-09-12 15:55:12 UTC
Permalink
Danke Herr Küng,
I tried the nightly build as you suggested. The version I'm now using is TortoiseSVN 1.7.9, Build 23270 - 64 Bit -dev, 2012/09/07 21:58:24. I also have our Anti-Virus turned off. Sadly I still have the problem.

Is it possible to detect or log the fact that a server request has been missed or deliberately denied? Perhaps even a way to pace the requests (strictly for test and diagnosis of course) or to single thread them? I'm just looking for methods to help us solve the problem. If this is a network issue on our end (possible) then I'll need ammunition and evidence with which to motivate our systems department.

Or could it even be the hardware of our multicore workstations that is somehow incompatible with TSVN's multithreaded paradigm?

Again, many thanks.
P.S. Do you recommend I revert to the TSVN release version in the meantime to avoid any other risks from the nightly build?

Best regards,
Stephen Ciricillo

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3005398

To unsubscribe from this discussion, e-mail: [users-***@tortoisesvn.tigris.org].
Stefan Küng
2012-09-12 16:07:23 UTC
Permalink
Danke Herr Küng, I tried the nightly build as you suggested. The
version I'm now using is TortoiseSVN 1.7.9, Build 23270 - 64 Bit
-dev, 2012/09/07 21:58:24. I also have our Anti-Virus turned off.
Sadly I still have the problem.
Is it possible to detect or log the fact that a server request has
been missed or deliberately denied? Perhaps even a way to pace the
requests (strictly for test and diagnosis of course) or to single
thread them? I'm just looking for methods to help us solve the
problem. If this is a network issue on our end (possible) then I'll
need ammunition and evidence with which to motivate our systems
department.
Or could it even be the hardware of our multicore workstations that
is somehow incompatible with TSVN's multithreaded paradigm?
Settings dialog->advanced->DebugOutputString
set this to true.

Then get the dbgview from here:
http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx

start dbgview and start monitoring.
Then open the repo browser. You will get tons of diagnostic messages
from TSVN. Maybe that will help to diagnose the problem.

Don't forget to set the DebugOutputString to false after testing,
otherwise TSVN will keep sending those strings to the debug output
(which won't do any good, only slow it down a little bit).
Again, many thanks. P.S. Do you recommend I revert to the TSVN
release version in the meantime to avoid any other risks from the
nightly build?
not necessary. Those nightly builds from the stable branch will become
the next release anyway. Those are the release builds plus the bug fixes
applied, but without any of the features we work on currently on the trunk.

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=3005400

To unsubscribe from this discussion, e-mail: [users-***@tortoisesvn.tigris.org].
Stephen Ciricillo
2012-09-12 17:27:54 UTC
Permalink
Attached is output from DebugView. This is simply Right click, Repo Browser, hang...

Hope it helps. In the meantime our systems people are investigating the network for any issues.

Thank you,
Stephen Ciricillo

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3005409

To unsubscribe from this discussion, e-mail: [users-unsubscribe-6zjzXkf2FExf8fUKLXF2/HdfcadvtA/***@public.gmane.org].
Stefan Küng
2012-09-13 06:43:33 UTC
Permalink
Post by Stephen Ciricillo
Attached is output from DebugView. This is simply Right click, Repo Browser, hang...
Hope it helps. In the meantime our systems people are investigating the network for any issues.
You can see in your log that the last line is the problem:
TSVN asks for the HEAD revision but never gets a response from the
server (there's no line indicating 'done' for that thread).

You can also see that TSVN makes 14 requests to the server within about
300ms - maybe something on your server thinks of this as a DOS and
blocks further requests?

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=3005528

To unsubscribe from this discussion, e-mail: [users-unsubscribe-6zjzXkf2FExf8fUKLXF2/HdfcadvtA/***@public.gmane.org].
Loading...