[Bug 881862] Re: svn up Segmentation Fault with sasl enabled repositories
Evan Broder
evan at ebroder.net
Sat Feb 4 00:47:18 UTC 2012
** Also affects: subversion (Ubuntu Oneiric)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to subversion in Ubuntu.
https://bugs.launchpad.net/bugs/881862
Title:
svn up Segmentation Fault with sasl enabled repositories
Status in “subversion” package in Ubuntu:
Fix Released
Status in “subversion” source package in Oneiric:
New
Status in “subversion” package in Debian:
Fix Released
Bug description:
[impact]
svn crashes often when doing basic commands (checkout, update, ...) on repositories which use sasl authentification served with svnserve
[Development Fix]
the issue was fixed in 1.6.17dfsg-2ubuntu1 avaiable in precise by picking a patch from upstream vcs
[Stable Fix]
the same patch applies to the version in oneiric, according to upstream vcs no further corrections for this issue where applied between the version in oneiric and precise.
[Test Case]
create a repository with sasl authentification.
svnadm create repo
relevant contents of svnserve.conf:
[general]
anon-access = none
realm = test
[sasl]
use-sasl = true
min-encryption = 128
max-encryption = 256
pwcheck_method: auxprop
auxprop_plugin: sasldb
mech_list: DIGEST-MD5
create sasl account:
sudo saslpasswd2 -c -u test username
start svnserve:
sudo svnserve --daemon --root /path/to/repo
checkout and update:
svn co svn://repo wc
cd wc
svn up
expected result:
successful checkout and update
result:
sometimes segmentation faults.
if it does not crash run the checkout under valgrind and one will see many "Invalid read of size X" errors.
the patch fixes the crashes and the valgrind errors.
[regression impact]
low, the patch is small and simple. It has been released in precise and debian since a while with no regressions.
svn has a quite large testsuite which stillsucceeds with the patch.
original report:
after upgrade to ubuntu 11.10 svn up is segfaulting after updating local copy (svn up)
in one case the working copy was left in unclean state (some files
locked) after svn up
everything was working fine in ubuntu 10.04
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: subversion 1.6.12dfsg-4ubuntu5
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Wed Oct 26 10:30:52 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
SourcePackage: subversion
UpgradeStatus: Upgraded to oneiric on 2011-10-24 (1 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subversion/+bug/881862/+subscriptions
More information about the foundations-bugs
mailing list