update crashes on password protected server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subversion (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hello,
The current version of Subversion on Ubuntu Bionic has a bug related with gpg-agent.
The problem is when you run "svn up" with multiple directories and/or files as arguments on a already checked out repository. This only happens on a UN/PW protected Subversion repository via https.
Steps to reproduce:
rm -rf ~/.subversion [if you don't do this its harder to reproduce]
cd private_repo
svn up dir1 dir2/foo dir3/bar myfile.txt
Output:
Updating 'dir1':
Authentication realm: <https:/
Password for 'falso': <enter>
Authentication realm: <https:/
Username: myuser
Password for 'myuser': mypass
-------
ATTENTION! Your password for authentication realm:
<https:/
can only be stored to disk unencrypted! You are advised to configure
your system so that Subversion can store passwords encrypted, if
possible. See the documentation for details.
You can avoid future appearances of this warning by setting the value
of the 'store-
'/home/
-------
Store password unencrypted (yes/no)? no
U dir1/test.txt
U dir1/test2.txt
Updated to revision 71.
Updating 'dir2/foo':
-------
ATTENTION! Your password for authentication realm:
<https:/
can only be stored to disk unencrypted! You are advised to configure
your system so that Subversion can store passwords encrypted, if
possible. See the documentation for details.
You can avoid future appearances of this warning by setting the value
of the 'store-
'/home/
-------
Store password unencrypted (yes/no)? no
U dir2/foo/test.txt
Updated to revision 71.
Updating 'dir3/bar':
U dir3/bar/test.txt
Updated to revision 71.
Updating 'myfile.txt':
Segmentation fault
--
The version on bionic is 1.9.7. So went digging in the Subversion source code and tried to see if it was fixed in newer releases of this same branch.
I built every version from the 1.9 branch until I found it was fixed in version 1.9.10, so I used git bisect to figure out which commit fixed it.
Its this one: https:/
In that commit it mentions r1691952 of the Subversion repository: https:/
And that one mentions a bug in the Subversion bug tracker: https:/
I tried that patch (the github one) on 1.9.7 and it fixes the crash.
--
To submit this bug I tried to follow this: https:/
But in the process of running: pbuilder-dist bionic ../subversion_
The compilation fails with some other unrelated problem:
/bin/bash: /usr/lib/
From what I've found javah has been deprecated - https:/
--
$ lsb_release -rd
Description: Ubuntu 18.04.4 LTS
Release: 18.04
$ apt-cache policy subversion
subversion:
Installed: 1.9.7-4ubuntu1
Candidate: 1.9.7-4ubuntu1
Version table:
*** 1.9.7-4ubuntu1 500
500 http://
100 /var/lib/
description: | updated |
Status changed to 'Confirmed' because the bug affects multiple users.