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

svnserve crash

From: Eric Hodel <eric_at_robotcoop.com>
Date: 2005-06-30 22:56:10 CEST

On an svn update, svnserve consistently crashes. If I cd into the
directory tree and svn up far enough, it stops crashing and starts
updating. Then when I back out to the original start point, it goes OK.

Client:

$ svn --version
svn, version 1.2.0 (r14790)
    compiled May 24 2005, 10:52:16

Copyright (C) 2000-2005 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://
www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV)
protocol.
   - handles 'http' scheme
   - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network
protocol.
   - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
   - handles 'file' scheme

$ svn up
svn: Connection closed unexpectedly
$ cd root
./root
$ svn up
At revision 3843.
$ cd ..
$ cd boot/
./boot/
$ svn up
At revision 3843.
$ cd ../etc/
$ svn up
[... update stuff]
Updated to revision 3843.
$ cd ../usr/
$ svn up
[... update stuff]
Updated to revision 3843.
$ cd ..
$ svn up
At revision 3843.

Server:

$ svnserve.bin --version
svnserve, version 1.2.0 (r14790)
    compiled Jun 28 2005, 15:19:18

Copyright (C) 2000-2005 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://
www.Collab.Net/).

The following repository back-end (FS) modules are available:

* fs_fs : Module for working with a plain file (FSFS) repository.

$ uname -a
FreeBSD RUR-5.coop.robotcoop.com 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-
p1 #1: Tue May 17 12:34:03 PDT 2005
root@RUR-5.coop.robotcoop.com:/usr/obj/usr/src/sys/RUR i386

svnserve.bin backtrace:

(gdb) where
#0 0x2808a07f in update_entry (b=Cannot access memory at address
0xbfad1de8) at subversion/libsvn_repos/reporter.c:631
#1 0x28089fb6 in delta_dirs (b=0x807a310, s_rev=3523,
     s_path=0x81360a8 "/config/branches/nestor/usr/local/etc/apache/
vhosts",
     t_path=0x8136070 "/config/branches/nestor/usr/local/etc/apache/
vhosts",
     dir_baton=0x8136130, e_path=0x8136050 "usr/local/etc/apache/
vhosts",
     start_empty=135609408, pool=0x8136018)
     at subversion/libsvn_repos/reporter.c:857
#2 0x2808a4d8 in update_entry (b=0x807a310, s_rev=3523,
     s_path=0x81360a8 "/config/branches/nestor/usr/local/etc/apache/
vhosts",
     s_entry=0x8129878,
     t_path=0x8136070 "/config/branches/nestor/usr/local/etc/apache/
vhosts",
     t_entry=0x8133fd8, dir_baton=0x8111510,
     e_path=0x8136050 "usr/local/etc/apache/vhosts", info=0x0,
recurse=1,
     pool=0x8136018) at subversion/libsvn_repos/reporter.c:719
#3 0x28089fb6 in delta_dirs (b=0x807a310, s_rev=3523,
     s_path=0x80fe098 "/config/branches/nestor/usr/local/etc/apache",
     t_path=0x80fe068 "/config/branches/nestor/usr/local/etc/apache",
     dir_baton=0x8111510, e_path=0x80fe050 "usr/local/etc/apache",
     start_empty=135479256, pool=0x80fe018)
     at subversion/libsvn_repos/reporter.c:857
#4 0x2808a4d8 in update_entry (b=0x807a310, s_rev=3523,
     s_path=0x80fe098 "/config/branches/nestor/usr/local/etc/apache",
     s_entry=0x81113d0,
     t_path=0x80fe068 "/config/branches/nestor/usr/local/etc/apache",
     t_entry=0x8100448, dir_baton=0x80ef4e0,
     e_path=0x80fe050 "usr/local/etc/apache", info=0x8106050, recurse=1,
     pool=0x80fe018) at subversion/libsvn_repos/reporter.c:719
#5 0x28089d5e in delta_dirs (b=0x807a310, s_rev=3843,
     s_path=0x80e8088 "/config/branches/nestor/usr/local/etc",
     t_path=0x80e8060 "/config/branches/nestor/usr/local/etc",
     dir_baton=0x80ef4e0, e_path=0x80e8050 "usr/local/etc",
     start_empty=135267400, pool=0x80e8018)
     at subversion/libsvn_repos/reporter.c:802
#6 0x2808a4d8 in update_entry (b=0x807a310, s_rev=3843,
     s_path=0x80e8088 "/config/branches/nestor/usr/local/etc",
     s_entry=0x80ef3b8,
     t_path=0x80e8060 "/config/branches/nestor/usr/local/etc",
     t_entry=0x80e56f0, dir_baton=0x80d9458, e_path=0x80e8050 "usr/
local/etc",
     info=0x80d0050, recurse=1, pool=0x80e8018)
     at subversion/libsvn_repos/reporter.c:719
#7 0x28089d5e in delta_dirs (b=0x807a310, s_rev=3843,
     s_path=0x80d2088 "/config/branches/nestor/usr/local",
     t_path=0x80d2060 "/config/branches/nestor/usr/local",
dir_baton=0x80d9458,
     e_path=0x80d2050 "usr/local", start_empty=135157488,
pool=0x80d2018)
     at subversion/libsvn_repos/reporter.c:802
#8 0x2808a4d8 in update_entry (b=0x807a310, s_rev=3843,
     s_path=0x80d2088 "/config/branches/nestor/usr/local",
s_entry=0x80d9338,
     t_path=0x80d2060 "/config/branches/nestor/usr/local",
t_entry=0x80cf6e0,
     dir_baton=0x80c3428, e_path=0x80d2050 "usr/local", info=0x80be050,
     recurse=1, pool=0x80d2018) at subversion/libsvn_repos/reporter.c:
719
#9 0x28089d5e in delta_dirs (b=0x807a310, s_rev=3843,
     s_path=0x80b8078 "/config/branches/nestor/usr",
     t_path=0x80b8058 "/config/branches/nestor/usr",
dir_baton=0x80c3428,
     e_path=0x80b8050 "usr", start_empty=135067360, pool=0x80b8018)
     at subversion/libsvn_repos/reporter.c:802
#10 0x2808a4d8 in update_entry (b=0x807a310, s_rev=3843,
     s_path=0x80b8078 "/config/branches/nestor/usr", s_entry=0x80c3320,
     t_path=0x80b8058 "/config/branches/nestor/usr", t_entry=0x80b5c70,
     dir_baton=0x80af3f8, e_path=0x80b8050 "usr", info=0x80ba050,
recurse=1,
     pool=0x80b8018) at subversion/libsvn_repos/reporter.c:719
#11 0x28089d5e in delta_dirs (b=0x807a310, s_rev=3843,
     s_path=0x80852d0 "/config/branches/nestor",
     t_path=0x807a388 "/config/branches/nestor", dir_baton=0x80af3f8,
     e_path=0x2808d68c "", start_empty=134962288, pool=0x8080018)
     at subversion/libsvn_repos/reporter.c:802
#12 0x2808aead in svn_repos_finish_report (baton=0x807a310,
pool=0x8080018)
     at subversion/libsvn_repos/reporter.c:913
#13 0x0804bdf7 in finish_report (conn=0x807a310, pool=0x8080018,
     params=0x80800d8, baton=0xbfbfe850) at subversion/svnserve/
serve.c:367
#14 0x280e605b in svn_ra_svn_handle_commands (conn=0x806e018,
pool=0x8079018,
     commands=0x804f3c0, baton=0xbfbfe850)
     at subversion/libsvn_ra_svn/marshal.c:816
#15 0x0804bee1 in accept_report (conn=0x806e018, pool=0x8079018,
b=0xbfbfe960,
     rev=3843, target=0x80791a8 "", tgt_path=0x0, text_deltas=1,
recurse=1,
     ignore_ancestry=0) at subversion/svnserve/serve.c:418
#16 0x0804d09d in update (conn=0x806e018, pool=0x8079018,
params=0x80790c8,
     baton=0xbfbfe960) at subversion/svnserve/serve.c:984
#17 0x280e605b in svn_ra_svn_handle_commands (conn=0x806e018,
pool=0x806c018,
     commands=0x804f2a0, baton=0xbfbfe960)
     at subversion/libsvn_ra_svn/marshal.c:816
#18 0x0804e704 in serve (conn=0x806e018, params=0x0, pool=0x806c018)
     at subversion/svnserve/serve.c:1765
#19 0x0804b4f0 in main (argc=4, argv=0xbfbfea48)
     at subversion/svnserve/main.c:531
(gdb)

-- 
Eric Hodel - eric_at_robotcoop.com - http://www.43things.com/people/view/ 
drbrain
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 30 23:19:53 2005

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