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

Segfault in libsvn_subr.so.1 - subversion-1.3.2

From: Ben Timby <ben_at_gohelios.com>
Date: 2006-11-22 23:58:42 CET

I am receiving the following error whenever I use an SVN client to
access a repos via apache2 (mod_dav + svn.

/var/log/apache2/error_log:

--
[notice] child pid 5068 exit signal Segmentation fault (11)
--
Using gdb, I have the following stack trace:
--
# gdb /usr/sbin/apache2
GNU gdb 6.4
Copyright 2005 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 "i386-pc-linux-gnu"...(no debugging symbols 
found)
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) break svn_stringbuf_dup
Function "svn_stringbuf_dup" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (svn_stringbuf_dup) pending.
(gdb) run -D DAV -D SVN -X
Starting program: /usr/sbin/apache2 -D DAV -D SVN -X
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 8907)]
Breakpoint 2 at 0xb7a1f889
Pending breakpoint "svn_stringbuf_dup" resolved
warning: Temporarily disabling breakpoints for unloaded shared library
"/usr/local/lib/libsvn_subr-1.so.0"
[snip...]
[Switching to Thread 16384 (LWP 8907)]
Breakpoint 2, 0xb79dc879 in svn_stringbuf_dup () from 
/usr/lib/libsvn_subr-1.so.0
(gdb) backtrace
#0  0xb79dc879 in svn_stringbuf_dup () from /usr/lib/libsvn_subr-1.so.0
#1  0xb7a30f58 in dav_svn_walk () from 
/usr/lib/apache2/modules/mod_dav_svn.so
#2  0xb7a4871c in dav_run_gather_propsets () from 
/usr/lib/apache2/modules/mod_dav.so
#3  0x08068ed5 in ap_run_handler ()
#4  0x0806934c in ap_invoke_handler ()
#5  0x08066118 in ap_process_request ()
#6  0x08061008 in _start ()
(gdb) step
Single stepping until exit from function svn_stringbuf_dup,
which has no line number information.
Program received signal SIGSEGV, Segmentation fault.
0xb7a1f8a1 in svn_stringbuf_dup () from /usr/local/lib/libsvn_subr-1.so.0
--
I am using the following Gentoo packages:
apache-2.0.58-r2
mod_dav-1.0.3-r3
subversion-1.3.2-r3
I have so far been unable to get debugging symbols built in subversion 
so that I might debug this. I did try passing configure 
--enable-maintainer-mode, but gdb still did not locate symbols...
Any hints where to go from here?
Thanks.
-- 
Ben Timby
Senior Software Architect
Helios, LLC
(p) 317-554-3619
(f) 317-554-8997
www.gohelios.com

Received on Wed Nov 22 23:59:23 2006

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.