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

Re: [TSVN] Explorer hangups

From: SteveKing <stefankueng_at_gmail.com>
Date: 2005-04-01 15:00:41 CEST

On Apr 1, 2005 2:50 PM, Molle Bestefich <molle.bestefich@gmail.com> wrote:

> The 2946 nightly works great in the debugger, and it locks up like the old
> ones used to.
>
> Thanks again :-D.
>
> I'm still perfecting my debugging skills, so apologies to everybody for the
> noise I'm generating.
>
> Here's what I've got so far by:
> - kill --force TSVNCache
> - right-click folder (causes explorer to hang)
> - fire up visual studio, attach to tsvncache process.
>
> Only one of the four threads seem to be doing something actively.
> It's the WndMain/WndProc() thread spinning around inside while (bRun) { ...
> }.

That's ok.

> The others seem to be hung, judged by:
> - every time I pause the cache process, they are at the same source
> location...
>
> Details on where they *seem* to be sort-of stuck:
>
> PipeThread:
> PipeThread():
> fConnected = ConnectNamedPipe(hPipe, NULL) ? TRUE : (GetLastError()
> == ERROR_PIPE_CONNECTED);

No problem here. That's supposed to 'hang' (wait for a connection).

> InstanceThread:
> CloneData():
> if( !pData->IsLocked() && (pNewStringMgr == pData->pStringMgr) )

Can you please give us here the complete stacktrace?
(you can find that in the stacktrace window, maybe you have to show it
first via debug->windows->stacktrace).

> CFolderCrawler :
> CloneData():
> workingPath = m_foldersToUpdate.front();

here too, a stacktrace would be nice.

> I'm thinking that PipeThread and WndProc is fine, they're supposed to
> sit+spin there.

correct.

> But CFolderCrawler and InstanceThread seems to me like they should be
> moving on, and they're not...
> Hmmmmm.......
>
> Please give me more information if you have anything to offer (esp. you
> Steve ^_^).
>
> I'll be working on trying to figure out how the cache works and what goes
> wrong myself in the meanwhile...

I'll be at home in about an hour, which means from then on I'm 'all yours' ;)

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 Fri Apr 1 15:01:20 2005

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.