Bug 471024

Summary: XDG Desktop Portal segfaults with KIO 5.107
Product: [Frameworks and Libraries] frameworks-kio Reporter: Patrick Auernig <patrick.auernig>
Component: Open/save dialogsAssignee: KIO Bugs <kio-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdelibs-bugs, nicolas.fella
Priority: NOR    
Version: 5.107.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Patrick Auernig 2023-06-14 15:24:42 UTC
SUMMARY
***
After upgrading my system's KIO package to version 5.107 the file chooser portal segfaults with hints to KIO being the culprit.

Log output is too big for attachment, and it is missing debug symbols
<https://gist.github.com/valeth/4f8c67594e1f8f06cbdaeae219eea814#file-journalctl-log>

STEPS TO REPRODUCE
1. Upgrade framerworks to 5.107
2. Try opening the file dialog through any flatpak application
3. Dialog shows up and then crashes

OBSERVED RESULT
The file chooser dialog shows up for a split second, and then closes itself immediately.
Downgrading to kio version 5.106 mitigates the issue.

EXPECTED RESULT
File chooser does not crash the portal.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.3.7
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.107.0
Qt Version: 5.25.9
Comment 1 Nicolas Fella 2023-06-14 20:10:55 UTC

*** This bug has been marked as a duplicate of bug 470845 ***