[dolphin] [Bug 463594] Dolphin crashed when trying to share folder

Nicolas Fella bugzilla_noreply at kde.org
Thu Dec 29 19:02:26 GMT 2022


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

--- Comment #2 from Nicolas Fella <nicolas.fella at gmx.de> ---
What happens is this:

In
https://invent.kde.org/network/kdenetwork-filesharing/-/blob/master/samba/filepropertiesplugin/qml/ACLPage.qml#L249
we call sambaPlugin.permissionsHelper.reload()

In reponse to that in
https://invent.kde.org/network/kdenetwork-filesharing/-/blob/master/samba/filepropertiesplugin/permissionshelper.cpp#L35
we call job->exec(), which spawns a nested event loop

If the user then closes the window while the job has not finished we destroy
the QML view, which crashes with "Object %p destroyed while one of its QML
signal handlers is in progress.\nMost likely the object was deleted
synchronously (use QObject::deleteLater() instead), or the application is
running a nested event loop"

Since the job usually finishes very fast it's hard to reproduce, but it can be
triggered by adding a sleep() in the statjob impl

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list