Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jan 2012 12:42:09 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        freebsd-current@freebsd.org
Subject:   svn stuck in read()
Message-ID:  <20120116204208.GA74223@troutmask.apl.washington.edu>

next in thread | raw e-mail | index | archive | help
Is anyone else seeing svn getting stuck while 
updating /usr/src on an update-to-date freebsd-current?

laptop:kargl[211] svn update
Updating '.':

^Z
Suspended
laptop:kargl[212] fg
svn update
load: 0.07  cmd: svn 62029 [sbwait] 4717.28r 1.65u 1.09s 0% 9260k
load: 0.07  cmd: svn 62029 [sbwait] 4720.43r 1.65u 1.09s 0% 9260k
load: 0.03  cmd: svn 62029 [suspended] 4773.48r 1.65u 1.09s 0% 9260k
load: 0.02  cmd: svn 62029 [sbwait] 4798.48r 1.65u 1.09s 0% 9260k
load: 0.01  cmd: svn 62029 [sbwait] 4799.95r 1.65u 1.09s 0% 9260k
load: 0.03  cmd: svn 62029 [sbwait] 4940.39r 1.65u 1.09s 0% 9260k

The [suspended] occurred when I attached gdb.

(gdb) bt
#0  0x489d57b1 in read () from /lib/libc.so.7
#1  0x488c5002 in read () from /lib/libthr.so.3
#2  0x48467eaa in apr_socket_recv (sock=0x48c75358, 
    buf=0x48d12020 "( success ( ( ) 0: ) ) ( target-rev ( 183218 ) ) ( open-root ( ( 183217 ) 2:d0 ) ) ( change-dir-prop ( 2:d0 23:svn:entry:committed-rev ( 6:183218 ) ) ) ( change-dir-prop ( 2:d0 24:svn:entry:committed-"..., 
    len=0xbfbfddd8) at network_io/unix/sendrecv.c:81
#3  0x48308e70 in sock_read_cb (baton=0x48d140b8, 
    buffer=0x48d12020 "( success ( ( ) 0: ) ) ( target-rev ( 183218 ) ) ( open-root ( ( 183217 ) 2:d0 ) ) ( change-dir-prop ( 2:d0 23:svn:entry:committed-rev ( 6:183218 ) ) ) ( change-dir-prop ( 2:d0 24:svn:entry:committed-"..., 
    len=0xbfbfddd8) at subversion/libsvn_ra_svn/streams.c:153
#4  0x48378c47 in svn_stream_read (stream=0x48d140d0, 
    buffer=0x48d12020 "( success ( ( ) 0: ) ) ( target-rev ( 183218 ) ) ( open-root ( ( 183217 ) 2:d0 ) ) ( change-dir-prop ( 2:d0 23:svn:entry:committed-rev ( 6:183218 ) ) ) ( change-dir-prop ( 2:d0 24:svn:entry:committed-"..., 
    len=0xbfbfddd8) at subversion/libsvn_subr/stream.c:141
#5  0x48308abd in svn_ra_svn__stream_read (stream=0x48d140c0, 
    data=0x48d12020 "( success ( ( ) 0: ) ) ( target-rev ( 183218 ) ) ( open-root ( ( 183217 ) 2:d0 ) ) ( change-dir-prop ( 2:d0 23:svn:entry:committed-rev ( 6:183218 ) ) ) ( change-dir-prop ( 2:d0 24:svn:entry:committed-"..., 
    len=0xbfbfddd8) at subversion/libsvn_ra_svn/streams.c:241
#6  0x48306f68 in readbuf_input (conn=0x48d12018, 
    data=0x48d12020 "( success ( ( ) 0: ) ) ( target-rev ( 183218 ) ) ( open-root ( ( 183217 ) 2:d0 ) ) ( change-dir-prop ( 2:d0 23:svn:entry:committed-rev ( 6:183218 ) ) ) ( change-dir-prop ( 2:d0 24:svn:entry:committed-"..., 
    len=0xbfbfddd8, pool=0x48c79018) at subversion/libsvn_ra_svn/marshal.c:291
#7  0x4830736e in readbuf_fill (conn=0x48d12018, pool=0x48c79018)
    at subversion/libsvn_ra_svn/marshal.c:316
#8  0x4830806a in readbuf_getchar_skip_whitespace (conn=0x48d12018, 
    pool=0x48c79018, result=0xbfbfde67 "1(ß¿¿À¸0H\002")
---Type <return> to continue, or q <return> to quit---
    at subversion/libsvn_ra_svn/marshal.c:326
#9  0x48308342 in read_item (conn=0x48d12018, pool=0x48c79018, 
    item=0x48c79108, first_char=<value optimized out>, level=3)
    at subversion/libsvn_ra_svn/marshal.c:701
#10 0x4830832d in read_item (conn=0x48d12018, pool=0x48c79018, 
    item=0x48c7908c, first_char=<value optimized out>, level=2)
    at subversion/libsvn_ra_svn/marshal.c:705
#11 0x4830832d in read_item (conn=0x48d12018, pool=0x48c79018, 
    item=0x48c79058, first_char=<value optimized out>, level=1)
    at subversion/libsvn_ra_svn/marshal.c:705
#12 0x4830860b in svn_ra_svn_read_item (conn=0x48d12018, pool=0x48c79018, 
    item=0xbfbfdfa8) at subversion/libsvn_ra_svn/marshal.c:725
#13 0x48308640 in svn_ra_svn_read_tuple (conn=0x48d12018, pool=0x48c79018, 
    fmt=0x4830986a "wl") at subversion/libsvn_ra_svn/marshal.c:854
#14 0x48303d86 in svn_ra_svn_drive_editor2 (conn=0x48d12018, pool=0x48c6f018, 
    editor=0x48c6f948, edit_baton=0x48c6f988, aborted=0x0, for_replay=0)
    at subversion/libsvn_ra_svn/editorp.c:909
#15 0x482fe742 in ra_svn_finish_report (baton=0x48c6faf0, pool=0x48c6f018)
    at subversion/libsvn_ra_svn/client.c:299
#16 0x4811b339 in svn_wc_crawl_revisions5 (wc_ctx=0x48c5f8b8, 
    local_abspath=0x48c6f0f8 "/usr/home/kargl/gcc/gcc4x", reporter=0x4830bb68, 
    report_baton=0x48c6faf0, restore_files=1, depth=svn_depth_unknown, 
    honor_depth_exclude=1, depth_compatibility_trick=0, use_commit_times=0, 
    cancel_func=0x8054c50 <svn_cl__check_cancel>, cancel_baton=0x0, 
    notify_func=0x8057cb0 <svn_cl__check_externals_failed_notify_wrapper>, 
    notify_baton=0xbfbfe3f0, scratch_pool=0x48c6f018)
    at subversion/libsvn_wc/adm_crawler.c:861
#17 0x481067fa in update_internal (result_rev=0xbfbfe374, 
    local_abspath=0x48c6f0f8 "/usr/home/kargl/gcc/gcc4x", 
    anchor_abspath=0x48c6f4d0 "/usr/home/kargl/gcc/gcc4x", 
    revision=0xbfbfe30c, depth=svn_depth_unknown, depth_is_sticky=0, 
---Type <return> to continue, or q <return> to quit---
    ignore_externals=0, allow_unver_obstructions=0, adds_as_modification=1, 
    timestamp_sleep=<value optimized out>, notify_summary=1, ctx=0x48c5f858, 
    pool=0x48c6f018) at subversion/libsvn_client/update.c:399
#18 0x48106e77 in svn_client__update_internal (result_rev=0xbfbfe374, 
    local_abspath=0x48c6f0f8 "/usr/home/kargl/gcc/gcc4x", revision=0xbfbfe4a0, 
    depth=svn_depth_unknown, depth_is_sticky=0, ignore_externals=0, 
    allow_unver_obstructions=0, adds_as_modification=1, make_parents=0, 
    innerupdate=0, timestamp_sleep=0xbfbfe378, ctx=0x48c5f858, pool=0x48c6f018)
    at subversion/libsvn_client/update.c:541
#19 0x48107014 in svn_client_update4 (result_revs=0xbfbfe404, 
    paths=0x48d11990, revision=0xbfbfe4a0, depth=svn_depth_unknown, 
    depth_is_sticky=0, ignore_externals=0, allow_unver_obstructions=0, 
    adds_as_modification=1, make_parents=0, ctx=0x48c5f858, pool=0x48c5f018)
    at subversion/libsvn_client/update.c:598
#20 0x0805e83d in svn_cl__update (os=0x48c5f1c0, baton=0xbfbfe628, 
    scratch_pool=0x48c5f018) at subversion/svn/update-cmd.c:157
#21 0x08056675 in main (argc=Cannot access memory at address 0x0


-- 
Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120116204208.GA74223>