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

Re: TortoiseSVN (libapr_tsvn!apr_pool_create_ex+43) causes Explorer crashes

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sun, 16 Nov 2014 14:26:47 +0100

On 16.11.2014 13:44, André Ziegler wrote:
>> On 16.11.2014 11:26, André Ziegler wrote:
>>> I get some explorer crashes caused by TSVN:
>> [snip]
>> Please get the debug symbols to get a much better exception analysis:
>> http://tortoisesvn.net/faq.html#debug
> I have the symbols and source loaded:

Ups, sorry. Haven't seen that in all that mess a stacktrace produces.

Ok, here's the important part:

0d 00000000`0386c6c0 000007fa`0fcd514a libapr_tsvn!apr_pool_create_ex(
            struct apr_pool_t ** newpool = 0x00000000`00000000,
            struct apr_pool_t * parent = 0x000007fa`1a7a4a98,
            <function> * abort_fn = 0x00000000`0386c8e0,
            struct apr_allocator_t * allocator = 0x00000000`0386c270)+0x43
0e 00000000`0386c700 00000000`748e3f7a libsvn_tsvn!svn_dso_​

Now, as you can see, the function
svn_dso_initialize2() is called. This calls:

  dso_pool = svn_pool_create(NULL);

and svn_pool_create calls

  apr_pool_t *pool;
  apr_pool_create_ex(&pool, parent_pool, abort_on_pool_failure, allocator);

But with 'parent_pool' and 'allocator' set unconditionally to NULL.

You can check the source code yourself if you like.

So: your stack trace clearly shows that apr_pool_create_ex is called
with both 'parent' and 'allocator' being NOT zero. Which can only mean
one thing: the memory is already corrupted. And memory corruptions can
appear anywhere, but most likely NOT in this stack trace.

My guess is that some other shell extension you've loaded corrupts the
memory and TSVN is the one suffering from it.


  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest interface to (Sub)version control
   /_/   \_\     http://tortoisesvn.net
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-11-16 14:26:44 CET

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