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

Re: 100% CPU in TSVNCache thread #2

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-02-09 18:03:49 CET

Brian S O'Neill wrote:
> After I perform any SVN operation through TortoiseSVN (or SVN command
> line followed by F5 in explorer), the TSVNCache process goes to 100%.
> During this time, explorer hangs until I kill TSVNCache. Thread #2 is in
> an infinite loop.
>
> I am unable to build TSVNCache, but I've still been trying to isolate
> where the problem is. Because thread #2 is idle priority, it is either
> FolderCrawler or ShellUpdater. These are the only two lowest priority
> threads created.
>
> When I use Filemon from sysinternals, it appears that TSVNCache is stuck
> reading the root directory of my working copy. "FASTIO_QUERY_OPEN". The
> root directory is a locally mounted file system, drive C. This little
> loop here has makes me suspicious, but since I cannot build or debug, I
> cannot check:
>
> do
> {
> workingPath =
> workingPath.GetContainingDirectory(); }
> while(workingPath.IsAdminDir());
>
> I think the problem is that I have a .svn directory located at the root:
> C:\.svn. I think this loop needs to check if it is at the root and stop.

Thanks for the report. The bug is not in the place you've mentioned. But
your last sentence helped me to find the bug on my own :)

Fixed in revision 5669

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Feb 9 18:37:16 2006

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

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