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

Re: [TSVN] status cache, mutexes

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-01-06 21:09:41 CET

Will Dean wrote:

> The usual thing I do with CritSecs is forget to initialise them.
> (Actually, I always use something like CComAutoCriticalSection nowadays,
> so that's not a problem any more.)

It get's initialized when the dll is loaded. So that shouldn't be a problem.

>
>> The critical sections never made it into the repository - I had a
>> crash right at the beginning when I tried them. I then switched to
>> Mutexes and tested again where I didn't get a crash. Seems the crashs
>> weren't because of the critical sections - maybe the crash didn't
>> happen with the mutexes because they're slower? I don't know.
>
>
> Yes, maybe.

Ok, I just found a way to get a crash:
- browse to the TSVN working copy
- Select a file in there, press Ctrl-C
- now press Ctrl-V several times
- after the second or third copy a crash happens: somehow the critical
section object becomes invalid!

I don't know why this happens (yet). I'm trying to find it out...

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 Jan 6 21:10:25 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.