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

Re: svn segfault

From: Karol Szkudlarek <karol_at_mikronika.com.pl>
Date: 2005-05-11 09:23:27 CEST

Philip Martin wrote:
> Karol Szkudlarek <karol@mikronika.com.pl> writes:
>
>
>>karol@karol:~/var/svn/maprepos/asc> gdb ~/usr/subversion/bin/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 lock 0001.asc
>>Starting program: /home/karol/usr/subversion/bin/svn lock 0001.asc
>>[Thread debugging using libthread_db enabled]
>>[New Thread 182923852160 (LWP 30474)]
>>
>>Program received signal SIGSEGV, Segmentation fault.
>>[Switching to Thread 182923852160 (LWP 30474)]
>>apr_xml_quote_string (p=Variable "p" is not available.
>>) at /home/karol/var/svn/repossvn/trunk/apr-util/xml/apr_xml.c:538
>>538 for (scan = s; (c = *scan) != '\0'; ++scan, ++len) {
>>(gdb) where
>>#0 apr_xml_quote_string (p=Variable "p" is not available.
>
>
> It looks like apr got a null comment which should have been fixed by
> r14057 last month, are you using old libraries?
>
>
>>) at /home/karol/var/svn/repossvn/trunk/apr-util/xml/apr_xml.c:538
>>#1 0x0000002a9733954c in svn_ra_dav__lock (session=Variable "session"
>>is not available.
>>) at ../repossvn/trunk/subversion/libsvn_ra_dav/session.c:1011
>>#2 0x0000002a958c0346 in svn_ra_lock (session=Variable "session" is not
>>available.
>>) at ../repossvn/trunk/subversion/libsvn_ra/ra_loader.c:514
>>#3 0x0000002a95685c88 in svn_client_lock (targets=Variable "targets" is
>>not available.
>>) at ../repossvn/trunk/subversion/libsvn_client/locking_commands.c:369
>>#4 0x000000000040762a in svn_cl__lock (os=Variable "os" is not available.
>>) at ../repossvn/trunk/subversion/clients/cmdline/lock-cmd.c:100
>>#5 0x000000000040974b in main (argc=Variable "argc" is not available.
>>) at ../repossvn/trunk/subversion/clients/cmdline/main.c:1446
>
>

Hi!

I checked my subversion/lib directory and as you suspected I have one
old library: libsvn_ra_dav library. I removed binaries from
subversion/lib then I rebuild whole subversion tree.
Now svn lock works fine.

My repos was fsfs backend and working copy comes via webdav (http
layer). This segfault was independent of the contents of the file.

Karol

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 11 09:24:57 2005

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.