[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


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 where I have seen the
problem again.



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



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:




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


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



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

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










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



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




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.