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

Segmentation fault during svnadmin dump (Branch 1.5.x)

From: Björn Willnus <B.Willnus_at_gmx.net>
Date: Thu, 15 May 2008 09:31:45 +0200


i have an issue with svnadmin dump or svnadmin verify, but only with one of our repositories. While dumping Revision 4096 svnadmin exists with a segmentation fault.

Here is the backtrace:


Core was generated by `svnadmin verify -r 1:HEAD /data/subversion/DOKUMENTE'.
Program terminated with signal 11, Segmentation fault.
#0 0x00002adb86edb982 in apr_hashfunc_default () from /usr/lib64/libapr-1.so.0
(gdb) bt
#0 0x00002adb86edb982 in apr_hashfunc_default () from /usr/lib64/libapr-1.so.0
#1 0x00002adb86edbb27 in ?? () from /usr/lib64/libapr-1.so.0
#2 0x00002adb86edbebf in apr_hash_set () from /usr/lib64/libapr-1.so.0
#3 0x00002adb861abfb1 in svn_fs_fs__rev_get_root (root_id_p=0x7fff24c4d9b8, fs=<value optimized out>, rev=<value optimized out>, pool=0x555555679968)
    at subversion/libsvn_fs_fs/fs_fs.c:1920
#4 0x00002adb861a93f6 in svn_fs_fs__dag_revision_root (node_p=0x7fff24c4d9f0, fs=0x7fff24c4d8f8, rev=-1, pool=0xffffffffffffffff)
    at subversion/libsvn_fs_fs/dag.c:464
#5 0x00002adb861b71f3 in svn_fs_fs__revision_root (root_p=0x555555e39f60, fs=0x55555566e910, rev=4097, pool=0x555555679968)
    at subversion/libsvn_fs_fs/tree.c:332
#6 0x00002adb85f8032b in svn_repos_dump_fs2 (repos=<value optimized out>, stream=0x555555676a88, feedback_stream=0x555555676a10, start_rev=1, end_rev=5816,
    incremental=1, use_deltas=0, cancel_func=0x5555555575a0 <check_cancel>, cancel_baton=0x0, pool=0x5555556698e8) at subversion/libsvn_repos/dump.c:825
#7 0x0000555555557a2b in dump_repo (os=<value optimized out>, baton=0x7fff24c4dbc0, pool=0x5555556698e8, dump_contents=0, incremental=1)
    at subversion/svnadmin/main.c:690
#8 0x000055555555977e in main (argc=<value optimized out>, argv=<value optimized out>) at subversion/svnadmin/main.c:1593


My system: SuSE SLE 10 SP1 (x86_64) with Apache 2.2.8 and libapr1-1.2.12.

Subversion: Revision 28821 of the 1.5.x branch (provided as RPM by SuSE).

It must have something to do with revision 1 (backreference?), because if i start the dump starting with revision 2, there is no segmentation fault.

The same issue happens with svnadmin verify.

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-15 10:28:59 CEST

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.