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

SIGSEGV during adding directory tree

From: Karol Szkudlarek <karol_at_mikronika.com.pl>
Date: 2005-04-22 09:23:49 CEST

Hi!

I have svn compiled from trunk (linked with apr 0.9.5) and when I want
add directory tree (recursive) via command: svn add * I got randomly
SIGSEGV. See my example of gdb session:

(gdb) karol@karol:~/pgr/thirdparty/boost_1_32_0/boost/numeric> gdb svn
GNU gdb 6.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-suse-linux"...Using host libthread_db
library "/lib64/tls/libthread_db.so.1".

(gdb) r add *
Starting program: /home/karol/usr/subversion/bin/svn add *
[Thread debugging using libthread_db enabled]
[New Thread 182924926816 (LWP 32100)]
A conversion
A conversion/int_float_mixture_enum.hpp
A conversion/converter_policies.hpp
A conversion/udt_builtin_mixture_enum.hpp
A conversion/sign_mixture_enum.hpp
A conversion/sign_mixture.hpp
A conversion/detail
A conversion/detail/meta.hpp
A conversion/detail/sign_mixture.hpp
A conversion/detail/bounds.hpp
A conversion/detail/converter.hpp
A conversion/detail/is_subranged.hpp
A conversion/detail/udt_builtin_mixture.hpp
A conversion/detail/int_float_mixture.hpp
A conversion/detail/conversion_traits.hpp

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 182924926816 (LWP 32100)]
0x0000002a97119df0 in strlen () from /lib64/tls/libc.so.6
(gdb) where
#0 0x0000002a97119df0 in strlen () from /lib64/tls/libc.so.6
#1 0x0000002a968ca720 in apr_vformatter () from /usr/lib64/libapr-0.so.0
#2 0x0000002a968da16b in apr_pvsprintf () from /usr/lib64/libapr-0.so.0
#3 0x0000002a9626431b in svn_error_wrap_apr (status=Variable "status"
is not available.
) at ../repossvn/trunk/subversion/libsvn_subr/error.c:171
#4 0x0000002a9626523e in svn_io_dir_read (finfo=Variable "finfo" is not
available.
) at ../repossvn/trunk/subversion/libsvn_subr/io.c:2548
#5 0x0000002a95673fa5 in add_dir_recursive (dirname=Variable "dirname"
is not available.
) at ../repossvn/trunk/subversion/libsvn_client/add.c:304
#6 0x0000002a95674094 in add_dir_recursive (dirname=Variable "dirname"
is not available.
) at ../repossvn/trunk/subversion/libsvn_client/add.c:334
#7 0x0000002a95674239 in add (path=Variable "path" is not available.
) at ../repossvn/trunk/subversion/libsvn_client/add.c:396
#8 0x0000002a956742f8 in svn_client_add2 (path=Variable "path" is not
available.
) at ../repossvn/trunk/subversion/libsvn_client/add.c:459
#9 0x0000000000405013 in svn_cl__add (os=Variable "os" is not available.
) at ../repossvn/trunk/subversion/clients/cmdline/add-cmd.c:66
#10 0x00000000004095db in main (argc=Variable "argc" is not available.
) at ../repossvn/trunk/subversion/clients/cmdline/main.c:1442
(gdb)

I would like to know whether this is svn problem or not. Maybe apr lib?

My platform is: Suse 9.1

uname -a says

Linux karol 2.6.5-7.151-default #1 Fri Mar 18 11:31:21 UTC 2005 x86_64
x86_64 x86_64 GNU/Linux

Any ideas appreciated,
Karol

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 22 09:24:30 2005

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