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

Re: svn 1.8.1: segmentation fault on merge

From: Matthias Vorwerk <mvorwerk_at_xtux.de>
Date: Tue, 03 Sep 2013 18:06:46 +0200

I encountered the same problem with subversion-1.8.3
(CentOS5, httpd-2.4.6):
svn merge ends with sengmentation fault.

I re-compiled svn with the --enable-maintainer-mode configure option.

Here is what I get:
---------------------------------
% libtool --mode=execute gdb --args /opt/local/bin/bin/svn merge
--non-interactive --dry-run http://reposrv/p1/branches/branch1/work .
/usr/bin/libtool: line 6823: LC_ALL: command not found
/usr/bin/libtool: line 6823: LC_CTYPE: command not found
/usr/bin/libtool: line 6823: LC_COLLATE: command not found
/usr/bin/libtool: line 6823: LC_MESSAGES: command not found
GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-37.el5)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /opt/local/bin/bin/svn...done.
(gdb) r
Starting program: /opt/local/bin/bin/svn merge --non-interactive --dry-run
http://reposrv/p1/branches/branch1/work .
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x00002aaaaab0e2db in filter_log_entry_with_rangelist
(baton=0x7fffffff9530, log_entry=0x9c2510, pool=0x9c2498)
    at subversion/libsvn_client/mergeinfo.c:1399
1399 svn_merge_range_t *youngest_range = APR_ARRAY_IDX(
(gdb)
---------------------------------

Now, when I run:

svn mergeinfo --show-revs eligible http://reposrv/p1/branches/branch1/work .

I get:

rXXXX
...
...
rYYYY

And now using the --revision option to merge:

svn merge --revision XXXX:YYYY --non-interactive --dry-run
http://reposrv/p1/branches/branch1/work .

it works. So without --revision it segfaults, using --revision it works.
I should mention that there already exists a mergeinfo containing a
number of already merged revisions which do not appear in the mergeinfo
list (as expected).
Received on 2013-09-03 18:10:21 CEST

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

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