https://bugs.kde.org/show_bug.cgi?id=507598

Fabio <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|BACKTRACE                   |---
     Ever confirmed|1                           |0
             Status|NEEDSINFO                   |REPORTED

--- Comment #6 from Fabio <[email protected]> ---
Trying to run xdg-desktop-portal-kde under gdb and stop/kill it while it's
blocked lead to this backtrace:
---
Thread 1 "xdg-desktop-por" received signal SIGINT, Interrupt.
0x00007ffff35134c7 in access () from /lib64/libc.so.6
(gdb) bt full
#0  0x00007ffff35134c7 in access () at /lib64/libc.so.6
#1  0x00007ffff413e388 in ??? () at /usr/lib64/libQt6Core.so.6
#2  0x00007ffff3ee7792 in QFileInfo::exists(QString const&) () at
/usr/lib64/libQt6Core.so.6
#3  0x00007ffff7b8bb53 in KUrlComboBox::setUrls(QList<QString> const&,
KUrlComboBox::OverLoadResolving) () at /usr/lib64/libKF6KIOWidgets.so.6
#4  0x00007ffff7d03031 in ??? () at /usr/lib64/libKF6KIOFileWidgets.so.6
#5  0x00007ffff7d0b7c2 in KFileWidget::KFileWidget(QUrl const&, QWidget*) () at
/usr/lib64/libKF6KIOFileWidgets.so.6
---

I also did the same running xdg-desktop-portal-kde under strace and this is it:
---
write(5, "\1\0\0\0\0\0\0\0", 8)         = 8
access("/home/fabio/Pictures/", F_OK)   = 0
access("/home/fabio/Documents/", F_OK)  = 0
access("/run/user/1000/kio-fuse-cfSTBM/smb/192.168.249.241/archivio/chiuse/XX.2025.7603/",
F_OK) = 0
>>>> FREEZE HERE
access("/run/user/1000/kio-fuse-cfSTBM/smb/192.168.249.241/archivio/chiuse/XX.2025.4930/",
F_OK) = 0
access("/home/fabio/Desktop/", F_OK)    = 0
access("/home/fabio/", F_OK)            = 0
access("/home/fabio/Downloads/", F_OK)  = 0
---

My ~/.local/state/xdg-desktop-portal-kdestaterc contains (reformatted for
better readability):
---
[KFileDialog Settings]
Recent Files[$e]=file:$HOME/Downloads/KVIrc-5.2.8-Quasar-x86_64.exe
Recent URLs[$e]=
smb://192.168.249.241/archivio/chiuse/XX.2025.5263/,
smb://192.168.249.241/archivio/chiuse/XX.2025.4327/,
file:$HOME/Pictures/,
smb://192.168.249.241/archivio/XX.2025.2913/PP1328-2024/,
file:$HOME/Documents/,
smb://192.168.249.241/archivio/chiuse/XX.2025.7603/,
file:///run/user/1000/kio-fuse-cfSTBM/smb/192.168.249.241/archivio/chiuse/XX.2025.7603/,
file:///run/user/1000/kio-fuse-cfSTBM/smb/192.168.249.241/archivio/chiuse/XX.2025.4930/,
file:$HOME/Desktop/,
file:$HOME/,
file:$HOME/Downloads/
---

So it seems it's the file:// urls pointing to kio-fuse mounted directories
causing the problem, at least for me.
smb:// urls gets skipped while checking for QFileInfo::exists(), i guess those
kio-fuse urls should be skipped aswell
I'll have a look at kfiledialog

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to