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

Re: TortoiseSVN crashes

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-04-18 21:13:16 CEST

Jan Rysavy wrote:
> Hi,
>
> We have implemented support for overlay icons to our file manager
> (Windows Explorer alternative) and released a new version last
> week. Support for overlay icons was frequently requested
> by TortoiseSVN users.
>
> Now we have received several crash reports like this one:
> http://forum.altap.cz/viewtopic.php?t=1968
>
> The problem seems to be related to TortoiseSVN (faulting module
> msvcr80.dll is not used by our file manager).
>
> I would like to ask you: does your shell extension create a new
> thread when we call IShellIconOverlayIdentifier::IsMemberOf()?
> (Our threads are guarded by bug reporting system but we didn't
> catch this exception.)

No, it doesn't create separate threads at all. And it's apartment
threaded, which means it must not be called from different threads
either. If you use it from different threads, you must load a separate
instance of it for each thread.

> Do you offer some debugging (bug reporting) facility for your
> shell extension?

I've spent the last three hours running stress tests with your app and
TSVN's shell extension. I couldn't get it to crash. But if you can, you
could use a nightly build. The nightly builds have the pdb files
uploaded too (for the shell extension dll and TortoiseProc). The pdb
files are the debug symbols which you have to place in the same
directory as the dlls/exes are installed (e.g., C:\program
files\TortoiseSVN\bin). If it then crashes, you can catch the crash with
your debugger, and if it's a good debugger it will load the pdb files
and show you much more information (stacktrace, file location, ...).

Sorry I can't be of more help here, but as long as I can't reproduce it,
I can't find the problem.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Apr 18 21:13:38 2007

This is an archived mail posted to the TortoiseSVN Dev mailing list.