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

SVN_ERR_ASSERT with reintegrate

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 26 Mar 2012 08:22:47 +0200

Hi,

There's an SVN_ERR_ASSERT when reintegrating. From the crash statistics
I get this happens quite often. The stack trace:

libsvn_tsvn!svn_ra_get_location_segments+0x12
libsvn_tsvn!svn_client__repos_location_segments+0x9f
libsvn_tsvn!svn_client_merge4+0xff8
libsvn_tsvn!svn_client_merge4+0x172e
libsvn_tsvn!svn_client_merge_reintegrate+0x113
tortoiseproc!SVN::MergeReintegrate+0x12c

in ra_loader.c, function svn_ra_get_location_segments() the
   SVN_ERR_ASSERT(*path != '/');
is hit.

the crash dumps I got (8 of them as of now) are not very clear: I'm not
sure if it's the assert that's triggered or whether 'path' is actually
NULL. Because the crash dump result in:
0xC0000005: Access violation reading location 0x0000000000000000.

 From looking at the code I think this would happen if someone tries to
merge from or to a repo root. So instead of asserting or segfaulting,
maybe returning an error like "you can't merge from/to a repo root" or
something like that would be much better.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
Received on 2012-03-26 08:23:31 CEST

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.