[dolphin] [Bug 430901] Dolphin freezes after right clicking on a file

Thomas Bertels bugzilla_noreply at kde.org
Tue Jul 23 14:36:31 BST 2024


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

Thomas Bertels <tbertels at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tbertels at gmail.com

--- Comment #4 from Thomas Bertels <tbertels at gmail.com> ---
According to the timeout (25 seconds), it looks like it's related to a DBus
call (https://doc.qt.io/qt-6/qdbusabstractinterface.html#setTimeout).

Here's a backtrace with a similar freeze related to KDE Connect.
Note that void QDBusPendingReply::waitForFinished() can't set a lower timeout
(https://doc.qt.io/qt-6/qdbuspendingreply.html#waitForFinished).

Maybe something like
 QTimer::singleShot(timeout, this, &Foo::updateCaption);
could be used to avoid this freeze
(https://doc.qt.io/qt-6/qtimer.html#details).

Thread 1 "dolphin" received signal SIGINT, Interrupt.
0x00007ffff5aa34e9 in __futex_abstimed_wait_common64 (private=0,
futex_word=0x555556542390, expected=0, op=393, abstime=0x0, cancel=true) at
futex-internal.c:57
57          return INTERNAL_SYSCALL_CANCEL (futex_time64, futex_word, op,
expected,
(gdb) bt
#0  0x00007ffff5aa34e9 in __futex_abstimed_wait_common64 (private=0,
futex_word=0x555556542390, expected=0, op=393, abstime=0x0, cancel=true) at
futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word at entry=0x555556542390,
expected=expected at entry=0, clockid=clockid at entry=0, abstime=abstime at entry=0x0, 
    private=private at entry=0, cancel=cancel at entry=true) at futex-internal.c:87
#2  0x00007ffff5aa356f in __GI___futex_abstimed_wait_cancelable64
(futex_word=futex_word at entry=0x555556542390, expected=expected at entry=0,
clockid=clockid at entry=0, 
    abstime=abstime at entry=0x0, private=private at entry=0) at futex-internal.c:139
#3  0x00007ffff5aa5ed9 in __pthread_cond_wait_common (cond=0x555556542368,
mutex=<optimized out>, clockid=0, abstime=0x0) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x555556542368, mutex=<optimized out>) at
pthread_cond_wait.c:618
#5  0x00007ffff56ce120 in QWaitConditionPrivate::wait (this=0x555556542340,
deadline=...)
    at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:102
#6  QWaitCondition::wait (this=this at entry=0x5555558ca030,
mutex=mutex at entry=0x5555558ca028, deadline=...)
    at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:180
#7  0x00007ffff6ee9534 in QDBusPendingCallPrivate::waitForFinished
(this=0x5555558c9fe0) at
/usr/src/debug/qt6-base/qtbase/src/dbus/qdbuspendingcall.cpp:206
#8  0x00007ffff6ee9651 in QDBusPendingCall::waitForFinished
(this=this at entry=0x7fffffffbc98) at
/usr/src/debug/qt6-base/qtbase/src/dbus/qdbuspendingcall.cpp:325
#9  0x00007fffd4018713 in SendFileItemAction::actions (this=0x555556f76ac0,
fileItemInfos=..., parentWidget=0x5555557fa270)
    at
/usr/src/debug/kdeconnect/kdeconnect-kde-24.05.2/fileitemactionplugin/sendfileitemaction.cpp:45
#10 0x00007ffff7c64e84 in KFileItemActionsPrivate::addPluginActionsTo(QMenu*,
QMenu*, QList<QString> const&) [clone .isra.0] (this=0x5555557f6330, 
    mainMenu=0x7fffe000f1d0, actionsMenu=0x7fffe000f1d0, excludeList=...) at
/usr/src/debug/kio/kio-6.3.0/src/widgets/kfileitemactions.cpp:583
#11 0x00005555555c5d2f in DolphinContextMenu::addAdditionalActions
(this=this at entry=0x7fffe000f1d0, props=...)
    at /usr/src/debug/dolphin/dolphin-24.05.2/src/dolphincontextmenu.cpp:467
#12 0x00005555555c9917 in DolphinContextMenu::addItemContextMenu
(this=0x7fffe000f1d0) at
/usr/src/debug/dolphin/dolphin-24.05.2/src/dolphincontextmenu.cpp:256
#13 DolphinContextMenu::addAllActions (this=0x7fffe000f1d0) at
/usr/src/debug/dolphin/dolphin-24.05.2/src/dolphincontextmenu.cpp:94
#14 DolphinContextMenu::DolphinContextMenu (this=<optimized out>,
parent=<optimized out>, fileInfo=..., selectedItems=..., baseUrl=..., 
    fileItemActions=<optimized out>, this=<optimized out>, parent=<optimized
out>, fileInfo=..., selectedItems=..., baseUrl=..., fileItemActions=<optimized
out>)
    at /usr/src/debug/dolphin/dolphin-24.05.2/src/dolphincontextmenu.cpp:54
#15 0x00005555555a7fbf in DolphinMainWindow::openContextMenu
(this=0x5555557fa270, pos=..., item=..., selectedItems=..., url=...)
    at /usr/src/debug/dolphin/dolphin-24.05.2/src/dolphinmainwindow.cpp:1405

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


More information about the kfm-devel mailing list