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

Re: Still hang on svn 4951 RedHat 7.3 SMP

From: David Summers <david_at_summersoft.fay.ar.us>
Date: 2003-02-19 18:31:59 CET

On 19 Feb 2003, Philip Martin wrote:
> You need to run the test manually to avoid truncating the buffered output.
>
> $ cd subversion/tests/clients/cmdline
> $ ./externals_tests.py 6 BASE_URL=svn://localhost

OK, Finally figured out how to run it manually. I've run it 20-30 times
manually and frequently (but not always) it hangs. Here is the last part
of the manual run for this one. In this particular run, I'm hanging with
8 lt-svnserve processes running (Ack!). Here are the traces of the lt-svn and
the 8 lt-svnserve processes and the results of manually running the
externals_tests.py:

RedHat 7.3 non-SMP

externals_tests.py output (run manually):
==========================================
CMD: svn "up" "working_copies/externals_tests-2.init" <TIME = 0.002711>
CMD: svnadmin "create" "repositories/externals_tests-2.other" <TIME =
0.002638>
CMD: svnadmin dump "repositories/externals_tests-2" | svnadmin load
"repositories/externals_tests-2.other" <TIME = 0.009731>
CMD: svn "pset" "-F" "working_copies/externals_tests-2.init/tmp0mU5ZY"
"svn:externals" "working_copies/externals_tests-2.init/A/B" <TIME =
0.002714>
CMD: svn "pset" "-F" "working_copies/externals_tests-2.init/tmp0mU5ZY"
"svn:externals" "working_copies/externals_tests-2.init/A/D" <TIME =
0.002633>
CMD: svn "ci" "-m" "log msg" "working_copies/externals_tests-2.init" <TIME
= 0.002701>
CMD: svn "status" "-v" "-u" "-q" "working_copies/externals_tests-2.init"
<TIME = 0.002605>
CMD: svn "checkout" "--username" "jrandom" "--password" "rayjandom"
"svn://localhost/repositories/externals_tests-2"
"working_copies/externals_tests-2" <TIME = 0.002673>
CMD: svn "checkout" "--username" "jrandom" "--password" "rayjandom"
"svn://localhost/repositories/externals_tests-2"
"working_copies/externals_tests-2.other" <TIME = 0.006195>
CMD: svn "pset" "-F" "local_tmp/tmpXoZLqH" "svn:externals"
"working_copies/externals_tests-2/A/D" <TIME = 0.002666>
CMD: svn "ci" "-m" "log msg" "--quiet"
"working_copies/externals_tests-2/A/D" <TIME = 0.002444>
CMD: svn "up" "working_copies/externals_tests-2.other" <TIME = 0.002650>
 
lt-svn
======
#0 0x420e0187 in poll () from /lib/i686/libc.so.6
#1 0x4017ba6c in apr_poll (aprset=0xbfffe5c0, num=1, nsds=0xbfffe5bc,
    timeout=-1) at poll.c:168
#2 0x4017c0c3 in apr_wait_for_io_or_timeout (f=0x0, s=0x80f26a0,
for_read=1)
    at waitio.c:92
#3 0x40172f39 in apr_socket_recv (sock=0x80f26a0,
    buf=0x80db540 "( success ( ) ) ) ) ( ) ) ", len=0xbfffe698)
    at sendrecv.c:125
#4 0x4017362c in apr_recv (sock=0x80f26a0,
    buf=0x80db540 "( success ( ) ) ) ) ( ) ) ", len=0xbfffe698)
    at sendrecv.c:1058
#5 0x4012b132 in readbuf_input (conn=0x80db530,
    data=0x80db540 "( success ( ) ) ) ) ( ) ) ", len=0xbfffe698)
    at subversion/libsvn_ra_svn/marshal.c:161
#6 0x4012b221 in readbuf_fill (conn=0x80db530)
    at subversion/libsvn_ra_svn/marshal.c:180
#7 0x4012b267 in readbuf_getchar (conn=0x80db530,
    result=0xbfffe70b
"\210\022@\005\bh\r\bH\211\022@0\r\b\005\b<D\022@T\022@V\022@X0\r\b\210\022@\005\b\026\022@0\r\b\005\bD\022@T\022@\002")
at subversion/libsvn_ra_svn/marshal.c:189
#8 0x4012b29e in readbuf_getchar_skip_whitespace (conn=0x80db530,
    result=0xbfffe70b
"\210\022@\005\bh\r\bH\211\022@0\r\b\005\b<D\022@T\022@V\022@X0\r\b\210\022@\005\b\026\022@0\r\b\005\bD\
022@T\022@\002") at subversion/libsvn_ra_svn/marshal.c:199
#9 0x4012b9ee in svn_ra_svn_read_item (conn=0x80db530, pool=0x805deb0,
    item=0xbfffe73c) at subversion/libsvn_ra_svn/marshal.c:446
#10 0x4012be89 in svn_ra_svn_read_tuple (conn=0x80db530, pool=0x805deb0,
    fmt=0x4012c544 "wl") at subversion/libsvn_ra_svn/marshal.c:557
#11 0x4012bf16 in svn_ra_svn_read_cmd_response (conn=0x80db530,
    pool=0x805deb0, fmt=0x4012c4c2 "")
    at subversion/libsvn_ra_svn/marshal.c:581
#12 0x40128271 in ra_svn_set_path (baton=0x80dd968, path=0x4003fcfb "",
rev=5,
    pool=0x805deb0) at subversion/libsvn_ra_svn/client.c:169
#13 0x4002ce66 in svn_wc_crawl_revisions (
    path=0x8095900 "working_copies/externals_tests-2.other/A/B/exdir_G",
    adm_access=0x80f1638, reporter=0x4012d020, report_baton=0x80dd968,
    restore_files=1, recurse=1, notify_func=0x804bc28 <notify>,
    notify_baton=0x805ecf0, traversal_info=0x8095938, pool=0x805deb0)
    at subversion/libsvn_wc/adm_crawler.c:383
#14 0x40024d15 in svn_client__update_internal (
    path=0x8095900 "working_copies/externals_tests-2.other/A/B/exdir_G",
    revision=0x8095818, recurse=1, timestamp_sleep=0xbfffeb48,
ctx=0xbfffed70,
    pool=0x805deb0) at subversion/libsvn_client/update.c:138
#15 0x40020c91 in handle_external_item_change (key=0x8095538, klen=7,
    status=svn_hash_diff_key_both, baton=0xbfffe9f0)
    at subversion/libsvn_client/externals.c:456
#16 0x401375cf in svn_hash_diff (hash_a=0x80953e0, hash_b=0x8095668,
    diff_func=0x40020a5c <handle_external_item_change>,
    diff_func_baton=0xbfffe9f0, pool=0x805deb0)
    at subversion/libsvn_subr/hash.c:300
#17 0x40020dc8 in handle_externals_desc_change (key=0x80980c8, klen=42,
    status=svn_hash_diff_key_both, baton=0xbfffeaa0)
    at subversion/libsvn_client/externals.c:545
#18 0x401375cf in svn_hash_diff (hash_a=0x805ed18, hash_b=0x805ed78,
    diff_func=0x40020d04 <handle_externals_desc_change>,
    diff_func_baton=0xbfffeaa0, pool=0x805deb0)
    at subversion/libsvn_subr/hash.c:300
#19 0x40020e3f in svn_client__handle_externals (traversal_info=0x805ed08,
    update_unchanged=1, timestamp_sleep=0xbfffeb48, ctx=0xbfffed70,
    pool=0x805deb0) at subversion/libsvn_client/externals.c:571
#20 0x40024d5f in svn_client__update_internal (
    path=0x805ec38 "working_copies/externals_tests-2.other",
    revision=0xbfffed90, recurse=1, timestamp_sleep=0x0, ctx=0xbfffed70,
    pool=0x805deb0) at subversion/libsvn_client/update.c:160
#21 0x40024dbe in svn_client_update (
    path=0x805ec38 "working_copies/externals_tests-2.other",
    revision=0xbfffed90, recurse=1, ctx=0xbfffed70, pool=0x805deb0)
    at subversion/libsvn_client/update.c:181
#22 0x0804fc82 in svn_cl__update (os=0x805dfd0, baton=0xbfffec10,
    pool=0x805deb0) at subversion/clients/cmdline/update-cmd.c:70
#23 0x0804dc3e in main (argc=3, argv=0xbfffeea4)
    at subversion/clients/cmdline/main.c:994
#24 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6

lt-svnserve #1
==============
#0 0x420e8132 in accept () from /lib/i686/libc.so.6
#1 0x401db593 in accept () from /lib/i686/libpthread.so.0
#2 0x4014c830 in apr_socket_accept (new=0xbfffe1bc, sock=0x8052930,
    connection_context=0x80646b0) at sockets.c:201
#3 0x4014cd48 in apr_accept (new=0xbfffe1bc, sock=0x8052930,
    connection_context=0x80646b0) at sockets.c:420
#4 0x0804a6a6 in main (argc=4, argv=0xbfffe374)
    at subversion/svnserve/main.c:161
#5 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6

lt-svnserve #2
==============
#0 0x420e19ee in select () from /lib/i686/libc.so.6
#1 0x400dc77c in __DTOR_END__ () from /usr/lib/libdb-4.0.so
#2 0x400be5e5 in __os_yield () from /usr/lib/libdb-4.0.so
#3 0x4005987d in __db_tas_mutex_lock () from /usr/lib/libdb-4.0.so
#4 0x400b4839 in __log_put_int () from /usr/lib/libdb-4.0.so
#5 0x400b43b1 in __log_put () from /usr/lib/libdb-4.0.so
#6 0x400ccc69 in __txn_ckp_log () from /usr/lib/libdb-4.0.so
#7 0x400cc661 in __txn_checkpoint () from /usr/lib/libdb-4.0.so
#8 0x4002ff95 in cleanup_fs (fs=0x807f7c0) at
subversion/libsvn_fs/fs.c:168
#9 0x40030051 in cleanup_fs_apr (data=0x807f7c0)
    at subversion/libsvn_fs/fs.c:294
#10 0x40153275 in run_cleanups (cref=0x807f798) at apr_pools.c:1976
#11 0x40152642 in apr_pool_destroy (pool=0x807f788) at apr_pools.c:755
#12 0x40152626 in apr_pool_destroy (pool=0x80646b0) at apr_pools.c:752
#13 0x40152626 in apr_pool_destroy (pool=0x80522d0) at apr_pools.c:752
#14 0x40152626 in apr_pool_destroy (pool=0x804e250) at apr_pools.c:752
#15 0x4015215c in apr_pool_terminate () at apr_pools.c:585
#16 0x4014f523 in apr_terminate () at start.c:117
#17 0x4202bc5b in exit () from /lib/i686/libc.so.6
#18 0x0804a7dd in main (argc=4, argv=0xbfffe374)
    at subversion/svnserve/main.c:204
#19 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6

lt-svnserve #3
==============
#0 0x420e19ee in select () from /lib/i686/libc.so.6
#1 0x400dc77c in __DTOR_END__ () from /usr/lib/libdb-4.0.so
#2 0x400be5e5 in __os_yield () from /usr/lib/libdb-4.0.so
#3 0x4005987d in __db_tas_mutex_lock () from /usr/lib/libdb-4.0.so
#4 0x400b4839 in __log_put_int () from /usr/lib/libdb-4.0.so
#5 0x400b43b1 in __log_put () from /usr/lib/libdb-4.0.so
#6 0x400ccc69 in __txn_ckp_log () from /usr/lib/libdb-4.0.so
#7 0x400cc661 in __txn_checkpoint () from /usr/lib/libdb-4.0.so
#8 0x4002ff95 in cleanup_fs (fs=0x807f7c0) at
subversion/libsvn_fs/fs.c:168
#9 0x40030051 in cleanup_fs_apr (data=0x807f7c0)
    at subversion/libsvn_fs/fs.c:294
#10 0x40153275 in run_cleanups (cref=0x807f798) at apr_pools.c:1976
#11 0x40152642 in apr_pool_destroy (pool=0x807f788) at apr_pools.c:755
#12 0x40152626 in apr_pool_destroy (pool=0x80646b0) at apr_pools.c:752
#13 0x40152626 in apr_pool_destroy (pool=0x80522d0) at apr_pools.c:752
#14 0x40152626 in apr_pool_destroy (pool=0x804e250) at apr_pools.c:752
#15 0x4015215c in apr_pool_terminate () at apr_pools.c:585
#16 0x4014f523 in apr_terminate () at start.c:117
#17 0x4202bc5b in exit () from /lib/i686/libc.so.6
#18 0x0804a7dd in main (argc=4, argv=0xbfffe374)
    at subversion/svnserve/main.c:204
#19 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6

lt-svnserve #4
==============
#0 0x420e19ee in select () from /lib/i686/libc.so.6
#1 0x400dc77c in __DTOR_END__ () from /usr/lib/libdb-4.0.so
#2 0x400be5e5 in __os_yield () from /usr/lib/libdb-4.0.so
#3 0x4005987d in __db_tas_mutex_lock () from /usr/lib/libdb-4.0.so
#4 0x400b4839 in __log_put_int () from /usr/lib/libdb-4.0.so
#5 0x400b43b1 in __log_put () from /usr/lib/libdb-4.0.so
#6 0x400ccc69 in __txn_ckp_log () from /usr/lib/libdb-4.0.so
#7 0x400cc661 in __txn_checkpoint () from /usr/lib/libdb-4.0.so
#8 0x4002ff95 in cleanup_fs (fs=0x807f7c0) at
subversion/libsvn_fs/fs.c:168
#9 0x40030051 in cleanup_fs_apr (data=0x807f7c0)
    at subversion/libsvn_fs/fs.c:294
#10 0x40153275 in run_cleanups (cref=0x807f798) at apr_pools.c:1976
#11 0x40152642 in apr_pool_destroy (pool=0x807f788) at apr_pools.c:755
#12 0x40152626 in apr_pool_destroy (pool=0x80646b0) at apr_pools.c:752
#13 0x40152626 in apr_pool_destroy (pool=0x80522d0) at apr_pools.c:752
#14 0x40152626 in apr_pool_destroy (pool=0x804e250) at apr_pools.c:752
#15 0x4015215c in apr_pool_terminate () at apr_pools.c:585
#16 0x4014f523 in apr_terminate () at start.c:117
#17 0x4202bc5b in exit () from /lib/i686/libc.so.6
#18 0x0804a7dd in main (argc=4, argv=0xbfffe374)
    at subversion/svnserve/main.c:204
#19 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6

lt-svnserve #5
==============
#0 0x420e19ee in select () from /lib/i686/libc.so.6
#1 0x400dc77c in __DTOR_END__ () from /usr/lib/libdb-4.0.so
#2 0x400be5e5 in __os_yield () from /usr/lib/libdb-4.0.so
#3 0x4005987d in __db_tas_mutex_lock () from /usr/lib/libdb-4.0.so
#4 0x400b4839 in __log_put_int () from /usr/lib/libdb-4.0.so
#5 0x400b43b1 in __log_put () from /usr/lib/libdb-4.0.so
#6 0x400ccc69 in __txn_ckp_log () from /usr/lib/libdb-4.0.so
#7 0x400cc661 in __txn_checkpoint () from /usr/lib/libdb-4.0.so
#8 0x4002ff95 in cleanup_fs (fs=0x807f7c0) at
subversion/libsvn_fs/fs.c:168
#9 0x40030051 in cleanup_fs_apr (data=0x807f7c0)
    at subversion/libsvn_fs/fs.c:294
#10 0x40153275 in run_cleanups (cref=0x807f798) at apr_pools.c:1976
#11 0x40152642 in apr_pool_destroy (pool=0x807f788) at apr_pools.c:755
#12 0x40152626 in apr_pool_destroy (pool=0x80646b0) at apr_pools.c:752
#13 0x40152626 in apr_pool_destroy (pool=0x80522d0) at apr_pools.c:752
#14 0x40152626 in apr_pool_destroy (pool=0x804e250) at apr_pools.c:752
#15 0x4015215c in apr_pool_terminate () at apr_pools.c:585
#16 0x4014f523 in apr_terminate () at start.c:117
#17 0x4202bc5b in exit () from /lib/i686/libc.so.6
#18 0x0804a7dd in main (argc=4, argv=0xbfffe374)
    at subversion/svnserve/main.c:204
#19 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6

lt-svnserve #6
==============
#0 0x420e19ee in select () from /lib/i686/libc.so.6
#1 0x400dc77c in __DTOR_END__ () from /usr/lib/libdb-4.0.so
#2 0x400be5e5 in __os_yield () from /usr/lib/libdb-4.0.so
#3 0x4005987d in __db_tas_mutex_lock () from /usr/lib/libdb-4.0.so
#4 0x400b4839 in __log_put_int () from /usr/lib/libdb-4.0.so
#5 0x400b43b1 in __log_put () from /usr/lib/libdb-4.0.so
#6 0x400ccc69 in __txn_ckp_log () from /usr/lib/libdb-4.0.so
#7 0x400cc661 in __txn_checkpoint () from /usr/lib/libdb-4.0.so
#8 0x4002ff95 in cleanup_fs (fs=0x807b7b0) at
subversion/libsvn_fs/fs.c:168
#9 0x40030051 in cleanup_fs_apr (data=0x807b7b0)
    at subversion/libsvn_fs/fs.c:294
#10 0x40153275 in run_cleanups (cref=0x807b788) at apr_pools.c:1976
#11 0x40152642 in apr_pool_destroy (pool=0x807b778) at apr_pools.c:755
#12 0x40152626 in apr_pool_destroy (pool=0x80646b0) at apr_pools.c:752
#13 0x40152626 in apr_pool_destroy (pool=0x80522d0) at apr_pools.c:752
#14 0x40152626 in apr_pool_destroy (pool=0x804e250) at apr_pools.c:752
#15 0x4015215c in apr_pool_terminate () at apr_pools.c:585
#16 0x4014f523 in apr_terminate () at start.c:117
#17 0x4202bc5b in exit () from /lib/i686/libc.so.6
#18 0x0804a7dd in main (argc=4, argv=0xbfffe374)
    at subversion/svnserve/main.c:204
#19 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6

lt-svnserve #7
==============
#0 0x420e19ee in select () from /lib/i686/libc.so.6
#1 0x400dc77c in __DTOR_END__ () from /usr/lib/libdb-4.0.so
#2 0x400be5e5 in __os_yield () from /usr/lib/libdb-4.0.so
#3 0x4005987d in __db_tas_mutex_lock () from /usr/lib/libdb-4.0.so
#4 0x400b4839 in __log_put_int () from /usr/lib/libdb-4.0.so
#5 0x400b43b1 in __log_put () from /usr/lib/libdb-4.0.so
#6 0x400ccc69 in __txn_ckp_log () from /usr/lib/libdb-4.0.so
#7 0x400cc661 in __txn_checkpoint () from /usr/lib/libdb-4.0.so
#8 0x4002ff95 in cleanup_fs (fs=0x807f7c0) at
subversion/libsvn_fs/fs.c:168
#9 0x40030051 in cleanup_fs_apr (data=0x807f7c0)
    at subversion/libsvn_fs/fs.c:294
#10 0x40153275 in run_cleanups (cref=0x807f798) at apr_pools.c:1976
#11 0x40152642 in apr_pool_destroy (pool=0x807f788) at apr_pools.c:755
#12 0x40152626 in apr_pool_destroy (pool=0x80646b0) at apr_pools.c:752
#13 0x40152626 in apr_pool_destroy (pool=0x80522d0) at apr_pools.c:752
#14 0x40152626 in apr_pool_destroy (pool=0x804e250) at apr_pools.c:752
#15 0x4015215c in apr_pool_terminate () at apr_pools.c:585
#16 0x4014f523 in apr_terminate () at start.c:117
#17 0x4202bc5b in exit () from /lib/i686/libc.so.6
#18 0x0804a7dd in main (argc=4, argv=0xbfffe374)
    at subversion/svnserve/main.c:204
#19 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6

lt-svnserve #8
==============
#0 0x420e19ee in select () from /lib/i686/libc.so.6
#1 0x400dc77c in __DTOR_END__ () from /usr/lib/libdb-4.0.so
#2 0x400be5e5 in __os_yield () from /usr/lib/libdb-4.0.so
#3 0x4005987d in __db_tas_mutex_lock () from /usr/lib/libdb-4.0.so
#4 0x400b4839 in __log_put_int () from /usr/lib/libdb-4.0.so
#5 0x400b43b1 in __log_put () from /usr/lib/libdb-4.0.so
#6 0x400cc938 in __txn_regop_log () from /usr/lib/libdb-4.0.so
#7 0x400cb742 in __txn_commit () from /usr/lib/libdb-4.0.so
#8 0x400339f7 in commit_trail (trail=0x808d108, fs=0x807f7c0)
    at subversion/libsvn_fs/trail.c:100
#9 0x40033aad in svn_fs__retry_txn (fs=0x807f7c0,
    txn_body=0x400379c4 <txn_body_begin_txn>, baton=0xbfffdf10,
pool=0x808ced8)
    at subversion/libsvn_fs/trail.c:136
#10 0x40037a78 in svn_fs_begin_txn (txn_p=0x808d0a4, fs=0x807f7c0, rev=5,
    pool=0x808ced8) at subversion/libsvn_fs/txn.c:134
#11 0x4001b7e8 in svn_repos_fs_begin_txn_for_update (txn_p=0x808d0a4,
    repos=0x8069650, rev=5, author=0x808d0e0 "anonymous", pool=0x808ced8)
    at subversion/libsvn_repos/fs-wrap.c:127
#12 0x4001dd73 in svn_repos_set_path (report_baton=0x808d0a0,
    path=0x808efc8 "", revision=5, pool=0x808eee0)
    at subversion/libsvn_repos/reporter.c:173
#13 0x0804a8aa in set_path (conn=0x80666b8, pool=0x808eee0,
params=0x808efa0,
    baton=0xbfffe048) at subversion/svnserve/serve.c:96
#14 0x4010015e in svn_ra_svn_handle_commands (conn=0x80666b8,
pool=0x808ced8,
    commands=0x804cdc4, baton=0xbfffe048, pass_through_errors=0)
    at subversion/libsvn_ra_svn/marshal.c:637
#15 0x0804ab23 in handle_report (conn=0x80666b8, pool=0x808ced8,
    repos_url=0x8064ca0
"svn://localhost/repositories/externals_tests-2.other", baton=0x808d0a0)
at subversion/svnserve/serve.c:169
#16 0x0804bbb9 in update (conn=0x80666b8, pool=0x808ced8,
params=0x808cf88,
    baton=0xbfffe140) at subversion/svnserve/serve.c:592
#17 0x4010015e in svn_ra_svn_handle_commands (conn=0x80666b8,
pool=0x80646b0,
    commands=0x804ce0c, baton=0xbfffe140, pass_through_errors=0)
    at subversion/libsvn_ra_svn/marshal.c:637
#18 0x0804c89f in serve (conn=0x80666b8,
    root=0x8052830
"/home/dsummers/rpms/build/subversion-0.17.1/subversion/tests/clients/cmdline",
tunnel=0, read_only=0, pool=0x80646b0)
    at subversion/svnserve/serve.c:986
#19 0x0804a7bc in main (argc=4, argv=0xbfffe374)
    at subversion/svnserve/main.c:201
#20 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6

Whew! Hope this helps!

-- 
David Wayne Summers          "Linux: Because reboots are for hardware upgrades!"
david_at_summersoft.fay.ar.us   PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  C0 E0 4F 50 DD A9 B6 2B  60 A1 31 7E D2 28 6D A8 
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Feb 19 18:48:07 2003

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