[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: <kfogel_at_collab.net>
Date: 2005-05-10 18:04:25 CEST

Karol Szkudlarek <karol@mikronika.com.pl> writes:
> I'm trying to lock file with the latest svn from trunk and after:
>
> svn lock 0001.asc
>
> I got segfault. Here is the gdb session:

Can you tell us everything? Where did the working copy come from?
What are the contents of the file? What other properties are on it?
What kind of repository, FSFS or BDB?

We need a reproduction recipe to debug this.

I can't reproduce with r14672 of trunk, in an FSFS repository over
http://, by the way. The file is empty, and there's nothing else in
the repository. I just did the simplest thing: created the file
"0001.asc" and locked it:

   $ svn lock 0001.asc
   Authentication realm: <http://localhost:80> Subversion repository
   Password for 'kfogel': ********
   
   '0001.asc' locked by user 'kfogel'.
   $

-Karl

> 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.
> ) 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
> (gdb)
>
> Regards,
> Karol
>
> ps.
>
> My platform is:
> 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
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue May 10 18:39:47 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.