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

svn dumps core on commit of move operation with lots of files

From: Shigeya Suzuki <shigeya_at_wide.ad.jp>
Date: 2006-02-24 05:22:40 CET

Hi,

I'm currently running a experimental require generation of more than
50000 files, each files are less than few K bytes. I want to keep
these on subversion.

OS and Machine: FreeBSD 5.4R, Xeon 3.8G x 4, SMP Kernel, 4G memory
                       Generic SMP kernel + process data limit = 2G option

subversion: version 1.3.0 (r17949) with ra_dav, ra_svn, ra_locl
            running via apache 2.0.55
    (everything installed via latest FreeBSD ports, built from src)

Firstly, I created these files in a directory.

# Yes, I'm stupid enough. I know..

Then try to comit about 10% of files. It takes long time, thus I
decided to create these files in subdirectories (about 1800, at this
moment)

I have to move already created files onto subdirectories according to
some rule. I created a batch script to run "svn mv" each files to
directory. Finally, I ran commit.

What happend was, svn process keep growing and hit resource limit
(512M first) then dumps core. I raised its limit to 2G, but it *STILL*
dumps core.

# I did svn cleanup and some of .svn/log file removal by hand, to
# continue.

Is there any known reason?

attached please find stacktrace

shigeya

------------------------------

(gdb) bt
#0 0x885da37b in kill () from /lib/libc.so.5
#1 0x885cf422 in raise () from /lib/libc.so.5
#2 0x88641c1b in abort () from /lib/libc.so.5
#3 0x8817a974 in abort_on_pool_failure ()
   from /usr/local/lib/libsvn_subr-1.so.0
#4 0x88366434 in apr_palloc () from /usr/local/lib/apache2/libapr-0.so.9
#5 0x8817e27b in my__realloc () from /usr/local/lib/libsvn_subr-1.so.0
#6 0x8817e78c in svn_stringbuf_ensure ()
   from /usr/local/lib/libsvn_subr-1.so.0
#7 0x8817e7c0 in svn_stringbuf_appendbytes ()
   from /usr/local/lib/libsvn_subr-1.so.0
#8 0x8818107f in xml_escape_attr () from /usr/local/lib/libsvn_subr-1.so.0
#9 0x88181262 in svn_xml_escape_attr_cstring ()
   from /usr/local/lib/libsvn_subr-1.so.0
#10 0x8818190a in svn_xml_make_open_tag_hash ()
   from /usr/local/lib/libsvn_subr-1.so.0
#11 0x880bd82e in write_entry () from /usr/local/lib/libsvn_wc-1.so.0
#12 0x880bd9d8 in svn_wc__entries_write () from /usr/local/lib/libsvn_wc-1.so.0
#13 0x880c313e in svn_wc__run_log () from /usr/local/lib/libsvn_wc-1.so.0
#14 0x880b6947 in svn_wc_process_committed2 ()
   from /usr/local/lib/libsvn_wc-1.so.0
#15 0x88097e44 in svn_client_commit3 ()
   from /usr/local/lib/libsvn_client-1.so.0
#16 0x0804ca79 in svn_cl__commit ()
#17 0x08050c8a in main ()
(gdb) q

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 24 05:23:52 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.