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

Re: [TSVN] bugreport: windows-tooltip causing crashes of personal applications

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-04-30 17:13:18 CEST

Matthias Grumet wrote:
> Hallo,
>
> I develop a C++ application using VisualStudio.NET2003 and the
> Tortoise Explorer Integration is causing my application to crash.

Well, if that were really true, then almost every application would
crash if TSVN was installed!

> I use a standard WinAPI File Open Dialog Box to load a textfile into
> my application.
>
> This works fine, if I open the file fastly.
> But if I mouseover the file so that the Windows-tooltip appears, my
> application crashes in random places with memory reading violations.

Please post the part of your code where you initialize and show the file
open dialog.

> This only happens with files that are also part of my svn-repository.
> According to VisualStudio the following happens when the tooltip is
> loaded:
>
> 'ruleset.exe': Loaded 'C:\Programme\TortoiseSVN\iconv\windows-1252.so', No symbols loaded.
> 'ruleset.exe': Unloaded 'C:\Programme\TortoiseSVN\iconv\windows-1252.so'
> 'ruleset.exe': Loaded 'C:\Programme\TortoiseSVN\iconv\_tbl_simple.so', No symbols loaded.
> 'ruleset.exe': Loaded 'C:\Programme\TortoiseSVN\iconv\windows-1252.so', No symbols loaded.
> 'ruleset.exe': Loaded 'C:\Programme\TortoiseSVN\iconv\utf-8.so', No symbols loaded.
> 'ruleset.exe': Unloaded 'C:\Programme\TortoiseSVN\iconv\windows-1252.so'
> 'ruleset.exe': Unloaded 'C:\Programme\TortoiseSVN\iconv\_tbl_simple.so'
> 'ruleset.exe': Unloaded 'C:\Programme\TortoiseSVN\iconv\utf-8.so'
> 'ruleset.exe': Loaded 'C:\Programme\TortoiseSVN\iconv\windows-1252.so', No symbols loaded.
> 'ruleset.exe': Unloaded 'C:\Programme\TortoiseSVN\iconv\windows-1252.so'
> 'ruleset.exe': Loaded 'C:\Programme\TortoiseSVN\iconv\_tbl_simple.so', No symbols loaded.
> 'ruleset.exe': Loaded 'C:\Programme\TortoiseSVN\iconv\windows-1252.so', No symbols loaded.
> 'ruleset.exe': Loaded 'C:\Programme\TortoiseSVN\iconv\utf-8.so', No symbols loaded.
> 'ruleset.exe': Unloaded 'C:\Programme\TortoiseSVN\iconv\windows-1252.so'
> 'ruleset.exe': Unloaded 'C:\Programme\TortoiseSVN\iconv\_tbl_simple.so'
> 'ruleset.exe': Unloaded 'C:\Programme\TortoiseSVN\iconv\utf-8.so'

Sure, but where's the stacktrace?

> As I said, the crash does not happen with "normal" files (not having
> one of the little tortoise icons) that's why I'm pretty sure this is a
> Tortoise bug.

Well, it's definitely not a Tortoise bug. Think about it: your app is
not the only one using file open dialogs. Almost *every* application
does that. If TortoiseSVN really would have such a bug, they all would
crash too and that bug would have been found centuries ago.

Oh, and you didn't mention which version of TSVN you've got installed.

Please make sure that you initialize *all* necessary fields in the
OPENFILENAME structure. Maybe your app has a bug which only shows if
shell extensions show some overlays...

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 Sat Apr 30 17:13:39 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.