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

Strange crashes

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-04-09 17:50:05 CEST

Hi,

As you know, I get crashreports sent in from users where TSVN crashes.
Now I've already received several of those for every version we
released, but I just can't think of a reason why a program can crash there:

if (cachedDir)
  return m_mostRecentStatus = cachedDir->GetStatusForMember(...);

The crash happens on the second line, because 'cachedDir' is NULL!
Now, how can it crash there? The if() statement above should make sure
that 'cachedDir' isn't NULL when the second line is executed.
Really, I'm lost here.
Does anyone of you have an idea why a program could crash that way? Did
I miss something?

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 Sun Apr 9 17:50:23 2006

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.