Closing a webdav document is extremly slow (works fine with previous releases). Same problem with version 25.8.2
Closing webdav documents is really slow (works fine with previous versions). Same issue with version 28.5.2
Are all components (eg. Impress, Writer, Calc) affected?
I have only tested it with writer.
(In reply to David Carliez from comment #3) > I have only tested it with writer. As I have not any webdav server, it's hard to test the problem. Would now be nice to get a bibisect of the bug - https://wiki.documentfoundation.org/QA/HowToBibisect Please could you do it? If you need help - feel free to jump into the QA Chat: http://webchat.freenode.net/?channels=libreoffice-qa
A simple way to test it, is to start a webdav server with docker Eg: mkdir -p /tmp/dav/data cp <any odt> /tmp/dav/data sudo chown -R 82:82 /tmp/dav docker run --rm -d -v /tmp/dav:/var/lib/dav -e AUTH_TYPE=Digest -e USERNAME=alice -e PASSWORD=secret1234 --publish 80:80 -d bytemark/webdav Open writer. Open the file "http://localhost/<any odt>
To open the file a login/password is required. Use alice:secret1234
Managed to reproduce this in linux 25.8, with the steps in comment #5. Bibisect shows this commit as starting point: https://cgit.freedesktop.org/libreoffice/core/commit/?id=96a4272a84a33b939411bb99d1024cbb2bdaf046 commit 96a4272a84a33b939411bb99d1024cbb2bdaf046 Author: Caolán McNamara <caolan.mcnamara@collabora.com> Date: Tue Feb 18 08:35:27 2025 +0000 cid#1642989 Double lock since: commit 867d380b0b8e2c59689eb42665c75aad34733bbc Commit: Michael Stahl <michael.stahl@allotropia.de> tdf#161168 Improve constant repetitive loop thread Before this commit opening the file was causing a loop at the first try. Then a /tmp/dav/DavLock.pag file was created and for a second time, it opened and closed fine. Somehow this lock file makes a lot of difference while investigating this issue, when I did not remove it like: sudo rm /tmp/dav/DavLock.pag ; instdir/program/swriter http://localhost/lorem.odt bibisect brougt nonsense results. After this commit opening the file does not cause a loop, but closing with Ctrl-W does. In 26.2 master however, it seems like the previous behavior is back, since: commit 7aab3f08de24bb4cbd95aedce981eeb62314baa7 Author: Caolán McNamara <caolan.mcnamara@collabora.com> Date: Mon Aug 18 11:59:53 2025 +0100 cid#1662039 Data race condition So it is differently bad.
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/4d897b5f02aa87cee4db99b65bebe70e8c61cbe5 tdf#168672 Closing webdav documents is extremely slow It will be available in 26.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-25-8": https://git.libreoffice.org/core/commit/ada7b49a5ab88711b5e2296ebc753fe042e53111 Related: tdf#168672 ; cid#1642989 Wait without held lock It will be available in 25.8.4. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-25-8": https://git.libreoffice.org/core/commit/917e73ac2372b341dfde32eea64875df46e6fded tdf#168672 Closing webdav documents is extremly slow It will be available in 25.8.4. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
This seems good for me now in 25.8 and master .
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-25-8-3": https://git.libreoffice.org/core/commit/8980b0e5d443f45404b86dbf592ebe2ffb6adc24 Related: tdf#168672 ; cid#1642989 Wait without held lock It will be available in 25.8.3. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-25-8-3": https://git.libreoffice.org/core/commit/cd8e1a8b6a863bdbd6917880302e3b770de93be8 tdf#168672 Closing webdav documents is extremly slow It will be available in 25.8.3. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
*** Bug 169272 has been marked as a duplicate of this bug. ***
Verified in Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 1ac14eb0fa8fe80b5b3afd89311bf44241a86138 CPU threads: 8; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: hu-HU (hu_HU.UTF-8); UI: hu-HU Calc: threaded Now opening or closing the example file works, there is no endless loop.