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

crash when getting status with remote

From: SteveKing <steveking_at_gmx.ch>
Date: 2004-04-22 18:04:24 CEST

Hi,

Even though this is about a crash in TortoiseSVN, I think that the
problem lies somewhere in the subversion library. So please read on (if
it turns out that I'm wrong, then beat me later :)

For some time now I'm receiving crash reports for TortoiseSVN from users
who used the "Check for Updates" dialog. In this dialog, TSVN uses the
svn_client_status() function with the update flag set to TRUE (so that
the repository is contacted).

The analysis of those crashreports didn't help me much finding the bug.
All I can say is that I really checked the TSVN source and couldn't find
anything. The crash occurs in the file libsvn_wc/status.c, line 1325
(from the 1.0.2 tag). But no stacktrace available to find parent functions.

The previous line (on where the crash occurs) is:
dir_status = apr_hash_get (pb->statii, db->path, APR_HASH_KEY_STRING);
I think that here the dir_status gets set to zero (because of the crash
in the next line), but I have no idea what could cause this to become zero.

Some users also reported that this crash doesn't occur all the time, and
only if a folder got deleted in the repository by another user.

I'd really appreciate it if someone more familliar with that part of the
subversion code could give me a hint on how to track this bug down.

Stefan

---
Children in backseats cause accidents. Accidents in backseats cause 
children.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 22 18:05:59 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.