Bug 145887

Summary: UI Crash after deleting a file in Remote Files dialog and closing it
Product: LibreOffice Reporter: Gabor Kelemen (allotropia) <kelemeng>
Component: UIAssignee: Not Assigned <libreoffice-bugs>
Status: VERIFIED FIXED    
Severity: normal CC: caolan.mcnamara
Priority: medium Keywords: bibisected, bisected, regression
Version: 6.4.0.3 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Deleting a file from the share in RF dialog
Backtrace of the crash on a recent master

Description Gabor Kelemen (allotropia) 2021-11-25 11:46:22 UTC
Created attachment 176496 [details]
Deleting a file from the share in RF dialog

When a file is deleted in the Remote Files dialog from a WebDAV share and the RF dialog is closed, LO crashes.

1. Have a WebDAV share set up in the Remote Files dialog, I used a NextCloud one
2. Right click a file and select Delete from the context menu
3. In the confirmation dialog select Delete
4. Close the Remote Files dialog with the Cancel or Open button (after selecting another file) -> crash.

Version: 7.3.0.0.alpha1+ / LibreOffice Community
Build ID: 515682539623c9d61921c4f89302ffa0a4cb8d24
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded

Bibisected with linux-6.4 to:

https://git.libreoffice.org/core/+/09e3d45cdc5c739e5246388a83ccfc6d76bf66e9

author	Caolán McNamara <caolanm@redhat.com>	Mon Oct 21 14:20:12 2019 +0100
committer	Caolán McNamara <caolanm@redhat.com>	Tue Oct 29 13:58:47 2019 +0100

weld fpicker cluster

Adding CC to: Caolán McNamara
Comment 1 Gabor Kelemen (allotropia) 2021-11-25 11:46:56 UTC
Created attachment 176497 [details]
Backtrace of the crash on a recent master
Comment 2 Caolán McNamara 2021-11-25 12:17:25 UTC
This is probably fixed in trunk by https://gerrit.libreoffice.org/c/core/+/125792 which was part of https://gerrit.libreoffice.org/c/core/+/125793 recently pushed to 7-2
Comment 3 Gabor Kelemen (allotropia) 2021-11-25 12:40:05 UTC
(In reply to Caolán McNamara from comment #2)
> This is probably fixed in trunk by
> https://gerrit.libreoffice.org/c/core/+/125792 which was part of
> https://gerrit.libreoffice.org/c/core/+/125793 recently pushed to 7-2

Indeed, after a quick pull and build it no longer crashes. Thanks for fixing it!

Version: 7.3.0.0.alpha1+ / LibreOffice Community
Build ID: b041897b767ea4d6c64f4d22036d23f61d6907f5
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded