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

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

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 07 Aug 2009 07:40:26 +0200

On 06.08.2009 19:10, Chris St John wrote:
> 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

Since you have VS and a debugger, could you again use the latest nightly
build, but this time also download the debug symbols? That way, you'll
get a much better stack trace which might help more finding out what's
going on.

The debug symbols are also available from the nightly build server.

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=2381179
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-08-07 07:40:55 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.