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

Crash on 'recursive' WC switching

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-11-08 18:39:12 CET

Hi,

The report below is also reproducible with the CL client. (Compiled from
r27712).

The stacktrace (interesting part):

> msvcr80d.dll!strlen(unsigned char * buf=0x032ffa5c) Line 81 Asm
          TortoiseProc.exe!svn_path_uri_decode(const char * path=0x00000000,
apr_pool_t * pool=0x01fa87e8) Line 1096 + 0x9 bytes C
          TortoiseProc.exe!svn_client__switch_internal(long *
result_rev=0x00000000, const char * path=0x01fb7978, const char *
switch_url=0x01fba7c0, const svn_opt_revision_t *
peg_revision=0x0012eec4, const svn_opt_revision_t * revision=0x0012eec4,
svn_depth_t depth=svn_depth_unknown, int * timestamp_sleep=0x00000000,
int ignore_externals=0, int allow_unver_obstructions=1, svn_client_ctx_t
* ctx=0x01f4a058, apr_pool_t * pool=0x01fa87e8) Line 156 + 0x2a bytes C
          TortoiseProc.exe!svn_client_switch2(long * result_rev=0x00000000,
const char * path=0x01fb7978, const char * switch_url=0x01fba7c0, const
svn_opt_revision_t * peg_revision=0x0012eec4, const svn_opt_revision_t *
revision=0x0012eec4, svn_depth_t depth=svn_depth_unknown, int
ignore_externals=0, int allow_unver_obstructions=1, svn_client_ctx_t *
ctx=0x01f4a058, apr_pool_t * pool=0x01fa87e8) Line 292 + 0x2f bytes C

The problem:
switching from a child folder to a parent folder seems to trigger this.
(I know, not a good idea to do, but segfaults are bad)

Stefan

-------- Original Message --------
Subject: Crash on 'recursive' WC switching
Date: Thu, 8 Nov 2007 20:00:00 +1000
From: Alexander Klenin <klenin@gmail.com>
Reply-To: dev@tortoisesvn.tigris.org
To: dev@tortoisesvn.tigris.org

1) Unpack attached test repository.
2) Checkout 'test_branch' branch.
3) Try switching working copy to 'root' branch => TortoiseProc crashes.

Tested at work on build 11269, not sure if I will have time to
investigate it myself.

-- 
Alexander S. Klenin
Insight Experts Ltd.
-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Thu Nov 8 19:21:14 2007

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.