Public bug reported:

I did an svn update in one of my working copies, and svn crashes after a
'diff -r HEAD' or 'update' (presumably anything that has to connect to
the server).  This could be an issue with sasl according to the stack
trace.

Other points of potential interest:
1. My working copy has svn:externals defined, and other archives which do not 
have externals defined do not share these problems.  I have not exhaustively 
ruled out that all working copies with externals defined fail and all that do 
not have them defined do not fail.
2. I'm using JavaHL/libsvn through the Eclipse IDE to do SVN updates, which is 
how I saw this originally, but I also see it when using the svn commandline.  
It's possible that Eclipse has corrupted something that now causes this to fail.

Here is the gdb stack trace with debugging symbols.  I scrubbed the
repository info but left placeholders (aaa, bbb, etc.) that synthesize
the externals definitions correctly.

warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Core was generated by `svn update'.
Program terminated with signal 11, Segmentation fault.
#0  0x0000000000000001 in ?? ()
(gdb) back
#0  0x0000000000000001 in ?? ()
#1  0x00007f3f0474ca50 in _sasl_log (conn=<optimized out>, level=5, 
    fmt=0x7f3f00777170 "DIGEST-MD5 client mech dispose")
    at ../../lib/common.c:1986
#2  0x00007f3f00770d3d in digestmd5_client_mech_dispose (utils=0x10136b0, 
    conn_context=0x1013840) at ../../plugins/digestmd5.c:4560
#3  digestmd5_client_mech_dispose (conn_context=0x1013840, utils=0x10136b0)
    at ../../plugins/digestmd5.c:4553
#4  0x00007f3f04748a04 in client_dispose (pconn=0x10124c0)
    at ../../lib/client.c:332
#5  0x00007f3f0474bb85 in sasl_dispose (pconn=0x7fff4107c888)
    at ../../lib/common.c:852
#6  0x00007f3f05a9f2f3 in sasl_dispose_cb (data=<optimized out>)
    at 
/build/buildd/subversion-1.6.12dfsg/subversion/libsvn_ra_svn/cyrus_auth.c:185
#7  0x00007f3f0648fb84 in run_cleanups () from /usr/lib/libapr-1.so.0
#8  0x00007f3f0648e999 in apr_pool_destroy () from /usr/lib/libapr-1.so.0
#9  0x00007f3f0648e97c in apr_pool_destroy () from /usr/lib/libapr-1.so.0
#10 0x00007f3f07185bcd in switch_dir_external (pool=0x7f3f07557028, 
    ctx=0x7f3f075b6a08, timestamp_sleep=0x7fff4107ce4c, 
    peg_revision=0x7f3f075638d8, revision=0x7f3f075638c8, 
    url=0x7f3f07563b80 "svn://xxx.tld/aaa/trunk/bbb", 
    path=0x7f3f075570a0 "zzz/bbb")
    at 
/build/buildd/subversion-1.6.12dfsg/subversion/libsvn_client/externals.c:240
#11 handle_external_item_change (baton=0x7fff4107ca80, key=0x7f3f07563798, 
    klen=<optimized out>, status=<optimized out>)
    at 
/build/buildd/subversion-1.6.12dfsg/subversion/libsvn_client/externals.c:976
#12 handle_external_item_change_wrapper (key=0x7f3f07563798, 
    baton=0x7fff4107ca80, klen=-1, status=<optimized out>)
    at 
/build/buildd/subversion-1.6.12dfsg/subversion/libsvn_client/externals.c:1015
#13 0x00007f3f07185f33 in handle_externals_desc_change (key=<optimized out>, 
    klen=<optimized out>, status=<optimized out>, baton=<optimized out>)
    at 
/build/buildd/subversion-1.6.12dfsg/subversion/libsvn_client/externals.c:1184
#14 0x00007f3f066c3663 in svn_hash_diff (hash_a=0x7f3f075970c0, 
    hash_b=0x7f3f07597188, 
    diff_func=0x7f3f07185c30 <handle_externals_desc_change>, 
    diff_func_baton=0x7fff4107cbb0, pool=0x7f3f07597028)
    at /build/buildd/subversion-1.6.12dfsg/subversion/libsvn_subr/hash.c:419
#15 0x00007f3f07186133 in svn_client__handle_externals (
    adm_access=0x7f3f07597320, traversal_info=0x7f3f075970a0, 
    from_url=0x7f3f075634b8 "svn://xxx.tld/aaa/trunk/ccc", 
to_path=0x7f3f07597368 "", 
    repos_root_url=0x7f3f07599e18 "svn://xxx.tld/aaa", 
    requested_depth=svn_depth_unknown, timestamp_sleep=0x7fff4107ce4c, 
    ctx=0x7f3f075b6a08, pool=0x7f3f07597028)
    at 
/build/buildd/subversion-1.6.12dfsg/subversion/libsvn_client/externals.c:1242
#16 0x00007f3f07199864 in svn_client__update_internal (
    result_rev=0x7fff4107ce40, path=0x7f3f075a4728 "", 
    revision=0x7fff4107cf68, depth=svn_depth_unknown, 
    depth_is_sticky=<optimized out>, ignore_externals=0, 
    allow_unver_obstructions=0, timestamp_sleep=0x7fff4107ce4c, 
    send_copyfrom_args=1, ctx=0x7f3f075b6a08, pool=0x7f3f07597028)
    at /build/buildd/subversion-1.6.12dfsg/subversion/libsvn_client/update.c:291
#17 0x00007f3f0719995f in svn_client_update3 (result_revs=0x0, 
    paths=0x7f3f075a4730, revision=0x7fff4107cf68, depth=svn_depth_unknown, 
    depth_is_sticky=0, ignore_externals=0, allow_unver_obstructions=0, 
    ctx=0x7f3f075b6a08, pool=0x7f3f075b6028)
    at /build/buildd/subversion-1.6.12dfsg/subversion/libsvn_client/update.c:354
#18 0x00000000004141f4 in ?? ()
#19 0x0000000000406bec in ?? ()
#20 0x00007f3f05ed630d in __libc_start_main (main=0x405210, argc=2, 
    ubp_av=0x7fff4107d2d8, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x7fff4107d2c8) at libc-start.c:226

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: libsvn1 1.6.12dfsg-4ubuntu5
ProcVersionSignature: Ubuntu 3.0.0-14.23-generic 3.0.9
Uname: Linux 3.0.0-14-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Fri Dec  9 15:59:00 2011
ProcEnviron:
 LANGUAGE=
 LC_COLLATE=C
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: subversion
UpgradeStatus: Upgraded to oneiric on 2011-11-28 (11 days ago)

** Affects: subversion (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug oneiric

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/902345

Title:
  svn (or products using libsvn) crash after operation in libsasl

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subversion/+bug/902345/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to