FS#76761 - [libsasl] [subversion] svn commit segfaults with libsasl 2.1.28-3
Attached to Project:
Arch Linux
Opened by Drew Holzworth (hol430) - Wednesday, 07 December 2022, 00:50 GMT
Last edited by David Runge (dvzrv) - Saturday, 02 September 2023, 13:28 GMT
Opened by Drew Holzworth (hol430) - Wednesday, 07 December 2022, 00:50 GMT
Last edited by David Runge (dvzrv) - Saturday, 02 September 2023, 13:28 GMT
|
Details
Description: Attempting to `svn commit` fails with
segmentation fault when libsasl 2.1.28-3 is installed.
Downgrading libsasl to 2.1.28-1 causes the command to run
successfully. Changing installed versions of svn makes no
difference. I can commit successfully to the same repo using
the same version of svn (1.14.2) from another computer
(MacOS) with no problems.
I have attached to this issue a stacktrace of the svn process at time of failure. This problem started occurring after I upgraded several packages (including libsasl) via `pacman -Syu`. Prior to this upgrade, I was able to commit with impunity. I'm unsure what additional info would be available and useful. I don't know what logging options are available for libsasl/openssl and I don't think I can increase svn's verbosity for a commit. However I'm happy to run any tests as needed. I also apologise if this is the wrong place to report the issue -- I'm not sure if this is a packaging problem or an upstream bug (or some kind of local mis-configuration on my part). Package Versions: libsasl 2.1.28-3 subversion 1.14.2-1 openssl 3.0.7-2 Steps to reproduce: ``` $ svn checkout -q $repo repo $ cd repo $ touch file $ svn commit file -m "test commit" Segmentation fault (core dumped) ``` |
This task depends upon
Closed by David Runge (dvzrv)
Saturday, 02 September 2023, 13:28 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with libsasl 2.1.28-4
Saturday, 02 September 2023, 13:28 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with libsasl 2.1.28-4
[1] https://www.openssl.org/docs/man3.0/man7/OSSL_PROVIDER-legacy.html
[2] https://github.com/cyrusimap/cyrus-sasl/issues/665
Do you know if you're using sasl auth on your Arch pkg svn server? If not, that will be why it's working for you. I uploaded a full repro script to [1], and if I disable sasl authentication on the svn server, then I have no problems at all.
[1] https://github.com/cyrusimap/cyrus-sasl/issues/751
[1] https://github.com/cyrusimap/cyrus-sasl/pull/668
PKGBUILD.cyrus-sasl.diff (4 KiB)
[1] https://github.com/cyrusimap/cyrus-sasl/issues/751#issuecomment-1352087781
[1] https://github.com/cyrusimap/cyrus-sasl/commit/887dbc0435056ec58ee48c4d803f110ade1e4c39