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

segfault in 1.6.5 when merging

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 02 Oct 2009 19:45:15 +0200

Hi,

I'm currently going through the crash dumps sent for TSVN.
There's a segfault in
libsvn_wc\props.c, line 1519

       if (got_conflict)
         *conflict = svn_string_createf
             (pool,
              _("Trying to delete property '%s' with value '%s'\n"
                "but the local value is '%s'."),
              propname, base_val->data, working_val->data);

the segfault happens because 'propname' is NULL, as is base_val and
working_val.

But I'm not sure if that's the 'real' problem, because the crash dump
indicates a memory problem (looks like a stack overflow) and in such
cases the stacktrace and other data isn't very reliable.
Problem is, I now got that same crash in three dumps already.

The line before is in the same file, line 1036:
   SVN_ERR(svn_wc__merge_props(state, adm_access, path, baseprops, NULL,
NULL,
                               propchanges, base_merge, dry_run,
                               conflict_func, conflict_baton, pool,
&log_accum));

with 'state' as svn_wc_notify_state_changed, path points to a directory
in c:\documents and folders\..., propchanges has 'nelts' as 1,
base_merge is 0, and dry_run is 1.

nothing more upwards in the stack trace which might help, sorry.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2403020
Received on 2009-10-02 19:45:24 CEST

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