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

svn hung at end of commit operation

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2006-03-23 02:19:50 CET

Committing to the Subversion repository just now using Subversion trunk r18992,
I got:

> ~/src/subversion> svn ci -F p && rm p
> Sending subversion/include/svn_xml.h
> Sending subversion/libsvn_client/prop_commands.c
> Sending subversion/libsvn_subr/xml.c
> Transmitting file data ...

and no further output. "svn log" from a separate terminal shows that the
commit has succeeded in the repository, creating r18995. Attaching GDB gives:

> (gdb) bt
> #0 0xffffe410 in ?? ()
> #1 0xbfbf34c8 in ?? ()
> #2 0x00000000 in ?? ()
> #3 0xbfbf3430 in ?? ()
> #4 0x4051df2d in ___newselect_nocancel () from /lib/tls/libc.so.6
> #5 0x402e55ce in readable_raw ()
> from /home/julianfoad/build/subversion/neon/src/.libs/libneon.so.24
> #6 0x402e56e5 in read_raw ()
> from /home/julianfoad/build/subversion/neon/src/.libs/libneon.so.24
> #7 0x402e5a72 in ne_sock_readline ()
> from /home/julianfoad/build/subversion/neon/src/.libs/libneon.so.24
> #8 0x402df910 in send_request ()
> from /home/julianfoad/build/subversion/neon/src/.libs/libneon.so.24
> #9 0x402dff65 in ne_begin_request ()
> from /home/julianfoad/build/subversion/neon/src/.libs/libneon.so.24
> #10 0x402e0321 in ne_request_dispatch ()
> from /home/julianfoad/build/subversion/neon/src/.libs/libneon.so.24
> #11 0x40105bf7 in parsed_request (sess=0x827f730, method=0x40107d44 "MERGE",
> url=0x8085270 "/repos/svn/trunk/subversion",
> body=0x8274948 "<?xml version=\"1.0\" encoding=\"utf-8\"?><D:merge xmlns:D=\"DAV:\"><D:source><D:href>/repos/svn/!svn/act/f214a7fe-9e0f-0410-bd38-c950c51accf2</D:href></D:source><D:no-auto-merge/><D:no-checkout/><D:prop><D"...,
> body_file=0x0, set_parser=0, elements=0x4010a460, use_neon_shim=1,
> validate_compat_cb=0x400fe27f <validate_element>,
> startelm_compat_cb=0x400fe4da <start_element>,
> endelm_compat_cb=0x400fe5fe <end_element>, startelm_cb=0, cdata_cb=0,
> endelm_cb=0, baton=0xbfbf3820, extra_headers=0x82748c8, status_code=0x0,
> spool_response=0, pool=0x8072230)
> at /home/julianfoad/src/subversion/subversion/libsvn_ra_dav/util.c:715
> #12 0x4010602a in svn_ra_dav__parsed_request_compat (sess=0x827f730,
> method=0x40107d44 "MERGE", url=0x8085270 "/repos/svn/trunk/subversion",
> body=0x8274948 "<?xml version=\"1.0\" encoding=\"utf-8\"?><D:merge xmlns:D=\"DAV:\"><D:source><D:href>/repos/svn/!svn/act/f214a7fe-9e0f-0410-bd38-c950c51accf2</D:href></D:source><D:no-auto-merge/><D:no-checkout/><D:prop><D"...,
> body_file=0x0, set_parser=0, elements=0x4010a460,
> validate_cb=0x400fe27f <validate_element>,
> startelm_cb=0x400fe4da <start_element>,
> endelm_cb=0x400fe5fe <end_element>, baton=0xbfbf3820,
> extra_headers=0x82748c8, status_code=0x0, spool_response=0,
> pool=0x8072230)
> at /home/julianfoad/src/subversion/subversion/libsvn_ra_dav/util.c:876
> #13 0x400fedb4 in svn_ra_dav__merge_activity (new_rev=0x8274800,
> committed_date=0x8274804, committed_author=0x8274808,
> post_commit_err=0x827480c, ras=0x8093a98,
> repos_url=0x8085270 "/repos/svn/trunk/subversion",
> activity_url=0x8093e78 "/repos/svn/!svn/act/f214a7fe-9e0f-0410-bd38-c950c51accf2", valid_targets=0x8093ba0, lock_tokens=0x8093958, keep_locks=0,
> disable_merge_response=0, pool=0x8072230)
> at /home/julianfoad/src/subversion/subversion/libsvn_ra_dav/merge.c:737
> #14 0x400f7321 in commit_close_edit (edit_baton=0x8093b68, pool=0x8072230)
> at /home/julianfoad/src/subversion/subversion/libsvn_ra_dav/commit.c:1462
> #15 0x40027659 in svn_client__do_commit (
> base_url=0x80938d0 "http://svn.collab.net/repos/svn/trunk/subversion",
> commit_items=0x824ddb8, adm_access=0x80a84e8, editor=0x809d5b0,
> edit_baton=0x8093b68,
> notify_path_prefix=0x809d718 "/home/julianfoad/src/subversion",
> tempfiles=0xbfbf3a84, digests=0xbfbf3a80, ctx=0x80871d8, pool=0x8072230)
> at /home/julianfoad/src/subversion/subversion/libsvn_client/commit_util.c:1344
> #16 0x40024b8b in svn_client_commit3 (commit_info_p=0xbfbf3b7c,
> targets=0x808a940, recurse=1, keep_locks=0, ctx=0x80871d8,
> pool=0x8072230)
> at /home/julianfoad/src/subversion/subversion/libsvn_client/commit.c:1499
> #17 0x0804ceec in svn_cl__commit (os=0x8072348, baton=0xbfbf3c90,
> pool=0x8072230)
> at /home/julianfoad/src/subversion/subversion/svn/commit-cmd.c:94
> #18 0x0805292e in main (argc=4, argv=0xbfbf3e34)
> at /home/julianfoad/src/subversion/subversion/svn/main.c:1440

Any ideas?

I will note that I see a similar effect occasionally with the package
installation tool "apt": sometimes it downloads 100% of a file and then freezes
waiting for some sort of end indication, which makes me suspect some subtle
problem with my network connection - software, options, firewall, router, etc.
  However, I have never seen such a problem with Subversion.

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 23 02:20:18 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.