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

Re: Tortoise 1.6.1 kills file explorer

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Tue, 05 May 2009 19:00:21 +0200

Alexander Iljin wrote:
> Hello!
>
> I'm using 1.6.1 with a debug option to show the tray icon for
> TSVNCache. Sometimes I notice that it takes about half a second for
> the Total Commander to display contents of a versioned folder (no
> network mappings are used). When I notice that, I try to
> double-click the tray icon to see if there is a crawling activity in
> the background, but the double-click does not work: the crawling
> window does not show up. If I already have it open, then it behaves
> like a hung application (does not repaint itself, all white).
> Right-clicking the tray icon does not bring up the "Exit" context
> menu. All these signs tell me that the process is hung in some sort
> of lock (CPU is idle, no tight loop), and the folder browsing delay
> is just the result of waiting for the overlay icons request. When
> the request times out, the folder contents are shown. The delay may
> be greater in the Explorer than it is in the Total Commander, I
> didn't check that. Killing the TSVN cache solves the problem.
>
> I don't know what kind of activity or inactivity triggers the bug,
> but I can tell that I don't logoff my workstation for weeks, and I
> don't run a screensaver (just turn off the monitor manually). My WCs
> are all on the local hard drives, although mounted as the TrueCrypt
> volumes, but I never had this problem with TSVN 1.5.6 (the TrueCrypt
> version never changed since then). Some repos are also on local
> drives (file://), others are remote (https://).
>
> I am familiar with the SysInternals tools and am willing to provide
> additional information, but I don't have any C compilers/debuggers
> installed.

I've uploaded the debug symbols for the cache process:
http://nightlybuilds.tortoisesvn.net/latest/win32/

Can you get those (and if you have an older nightly build, please update
to the one that's now online and matches those debug symbols).

Put them in the TSVN installation folder.

In process explorer, you can then under Options->configure symbols enter
the path to the TSVN installation folder (where you put the debug symbol
files *.pdb).

Then, a doubleclick on the TSVNCache.exe process opens the property
dialog, go to the Threads tab. You'll see all active threads of the
process. For each thread, you can click on "Stack" and see the stack
trace. I need the full stack for every thread.

Better would be if you could install the debug tools
http://www.microsoft.com/whdc/devtools/debugging/default.mspx
then start WinDbg.exe, hit F6 (or File->Attach to a process), select
TSVNCache.exe. Then type "~*kb" (without the quotes) to get a stacktrace
of all running threads.
You might also have to set the symbol path first (File->Symbol file
path) to the folder where you put the pdb files.

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=2071009
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2009-05-05 19:00:53 CEST

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