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

svn+ssh crash on checkout

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: Fri, 19 Dec 2008 00:11:32 -0600

I just attempted to checkout a working copy via svn+ssh:

hyrum-wrights-macbook-pro:dev Hyrum$ svnd co svn+ssh://example.com/var/svn/sdp out
hwright_at_example.com's password:
Bus error

Running the same command in the debugger gives the following backtrace:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x0018acb6
0x000fdbce in try_auth (sess=0x1021490, sasl_ctx=0x1024400, success=0xbfffeed4,
last_err=0xbfffeee0, mechstring=0x18acb6 "EXTERNAL", pool=0x766018) at
subversion/libsvn_ra_svn/cyrus_auth.c:406
/Users/Hyrum/dev/svn-trunk/subversion/libsvn_ra_svn/cyrus_auth.c:406:13280:beg:0xfdbce
No source file named address.
(gdb) backtrace
#0 0x000fdbce in try_auth (sess=0x1021490, sasl_ctx=0x1024400,
success=0xbfffeed4, last_err=0xbfffeee0, mechstring=0x18acb6 "EXTERNAL",
pool=0x766018) at subversion/libsvn_ra_svn/cyrus_auth.c:406
#1 0x000fed27 in svn_ra_svn__do_cyrus_auth (sess=0x1021490, mechlist=0x1023c40,
realm=0x1023d08 "", pool=0x1021418) at subversion/libsvn_ra_svn/cyrus_auth.c:800
#2 0x000f5c01 in handle_auth_request (sess=0x1021490, pool=0x1021418) at
subversion/libsvn_ra_svn/client.c:240
#3 0x000f6ae5 in open_session (sess_p=0xbffff0b4, url=0x101d480
"svn+ssh://128.83.198.188/var/svn/sdp", uri=0xbffff080, tunnel_argv=0x101f500,
callbacks=0x101f458, callbacks_baton=0x101f480, pool=0x1021418) at
subversion/libsvn_ra_svn/client.c:595
#4 0x000f6e2a in ra_svn_open (session=0x101f4d0, url=0x101d480
"svn+ssh://128.83.198.188/var/svn/sdp", callbacks=0x101f458,
callback_baton=0x101f480, config=0x1011a90, pool=0x101f418) at
subversion/libsvn_ra_svn/client.c:684
#5 0x00091458 in svn_ra_open3 (session_p=0xbffff2ec, repos_URL=0x101d480
"svn+ssh://128.83.198.188/var/svn/sdp", uuid=0x0, callbacks=0x101f458,
callback_baton=0x101f480, config=0x1011a90, pool=0x101f418) at
subversion/libsvn_ra/ra_loader.c:483
#6 0x0004b88d in svn_client__open_ra_session_internal (ra_session=0xbffff2ec,
base_url=0x101d480 "svn+ssh://128.83.198.188/var/svn/sdp", base_dir=0x0,
base_access=0x0, commit_items=0x0, use_admin=0, read_only_wc=0, ctx=0x1011a40,
pool=0x101f418) at subversion/libsvn_client/ra.c:294
#7 0x0004bd4d in svn_client__ra_session_from_path (ra_session_p=0xbffff38c,
rev_p=0xbffff388, url_p=0xbffff384, path_or_url=0x101d480
"svn+ssh://128.83.198.188/var/svn/sdp", base_access=0x0,
peg_revision_p=0xbffff494, revision=0xbffff4a0, ctx=0x1011a40, pool=0x101f418)
at subversion/libsvn_client/ra.c:444
#8 0x0001ec2f in svn_client__checkout_internal (result_rev=0x0, url=0x101d480
"svn+ssh://128.83.198.188/var/svn/sdp", path=0x762bd0 "out",
peg_revision=0xbffff494, revision=0xbffff4a0, ra_cache=0x0,
depth=svn_depth_unknown, ignore_externals=0, allow_unver_obstructions=0,
timestamp_sleep=0x0, ctx=0x1011a40, pool=0x101d418) at
subversion/libsvn_client/checkout.c:109
#9 0x0001f293 in svn_client_checkout3 (result_rev=0x0, URL=0x101d458
"svn+ssh://128.83.198.188/var/svn/sdp", path=0x762bd0 "out",
peg_revision=0xbffff494, revision=0xbffff4a0, depth=svn_depth_unknown,
ignore_externals=0, allow_unver_obstructions=0, ctx=0x1011a40, pool=0x101d418)
at subversion/libsvn_client/checkout.c:246
#10 0x00003f74 in svn_cl__checkout (os=0x10115c0, baton=0xbffff618,
pool=0x1011418) at subversion/svn/checkout-cmd.c:160
#11 0x0000eebb in main (argc=4, argv=0xbffff7cc) at subversion/svn/main.c:2027
(gdb)

This seems to be a pretty serious bug in the client, but I don't know how many
people it will impact. Hopefully the stack trace helps somebody debug this.

-Hyrum

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=987196

Received on 2008-12-19 07:11:53 CET

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