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

100% CPU load related to new svn:externals file feature

From: Chris St John <csj_at_cambridge-design.co.uk>
Date: Thu, 6 Aug 2009 18:10:47 +0100

Background:

Windows XP SP 3, Intel Code 2 Duo
I first noticed this problem with 1.6.3, then after checking the forum I
upgraded to the latest nightly build 1.6.99.16806 where I have seen the
problem again.

 

Symptoms:

The computer gets a bit sluggish; on checking Task Manager TSVNCache is
using 50% cpu (ie. a whole core)

 

Investigation:

I attached Visual Studio Professional 2008 to the process and break. The
program counter is at wcsstr. Run & break again the program counter is
at __addlocaleref. Break and start again a few times more: each time
it's the same thread and it's in wcsstr, wcslen or __addlocaleref (the
debugger has symbols and source for MSVCR90.dll). The parameters to
__addlocaleref don't make much sense but both wcslen and wcsstr contain
a path to a file that I recently imported using the new svn:externals
file feature:

 

wcsstr("C:/projects/Zeo/ZeoDiagnosticUtility/bin/CDP.ANP.Yellow.dll",
"file:////");

 

I freeze the offending thread and get my CPU back - TSVNCache.exe is
only using a trivial amount. Thaw the thread and it's back up to 50%.

 

Stack Trace:

 

                msvcr90.dll!wcsstr(const wchar_t * wcs1=0x02c20818,
const wchar_t * wcs2=0x0047d5d4) Line 40 C

                TSVNCache.exe!00419cac()

                [Frames below may be incorrect and/or missing, no
symbols loaded for TSVNCache.exe]

                TSVNCache.exe!004291a8()

                TSVNCache.exe!00408914()

                msvcr90.dll!__addlocaleref(threadlocaleinfostruct *
ptloci=0x0000000c) Line 248 + 0xe bytes C

                msvcr90.dll!_initptd(_tiddata * ptd=0x77a80000,
threadlocaleinfostruct * ptloci=0x00000000) Line 544 + 0x7 bytes
C

                crypt32.dll!77a816df()

                oleaut32.dll!771215a8()

                ntdll.dll!7c90118a()

                ntdll.dll!7c90de9a()

                ntdll.dll!7c90d06a()

                ntdll.dll!7c90e45f()

                ntdll.dll!7c9100b8()

                ntdll.dll!7c910041()

                ntdll.dll!7c91005d()

                msvcr90.dll!_threadstartex(void * ptd=0x003df650) Line
326 + 0x5 bytes C

                kernel32.dll!7c80b729()

 

More Info:

The svn:externals import partially failed because it's a .DLL (I'm using
it for configuration control of the output of a different project) and
that has known problems with file type - see issue #6638

 

Chris

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-08-06 21:23:21 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.