Bug 463847

Summary: Plasma crashes when hovering over the options from the context menu of a popup
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: FolderAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: akselmo, hein, nate
Priority: NOR    
Version: 5.26.90   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 6.1
Sentry Crash Report:
Attachments: Massive backtrace

Description Patrick Silva 2023-01-04 20:03:29 UTC
STEPS TO REPRODUCE
1. create a folder on desktop
2. hover over the folder and click on the up arrow in the upper left corner - a popup opens
3. right-click inside the popup and hover over the options from the context menu repeatedly.
At some point Plasma crashes.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Graphics Platform: Wayland


Thread 20 (Thread 0x7f24214b26c0 (LWP 7875)):
#0  0x00007f24271140bf in __GI___poll (fds=fds@entry=0x7f24214b1ab0, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f2428322d0d in poll (__timeout=-1, __nfds=2, __fds=0x7f24214b1ab0) at /usr/include/bits/poll2.h:39
#2  QtWaylandClient::EventThread::run() (this=0x55fe66e03a70) at /usr/src/debug/qt5-wayland/qtwayland/src/client/qwaylanddisplay.cpp:208
#3  0x00007f24276e42ea in QThreadPrivate::start(void*) (arg=0x55fe66e03a70) at thread/qthread_unix.cpp:330
#4  0x00007f242709f8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#5  0x00007f2427121a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 19 (Thread 0x7f23b87c96c0 (LWP 7932)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55fe6b3b43b4) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55fe6b3b43b4, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f242709c51f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55fe6b3b43b4, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f242709ecd0 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55fe6b3b4360, cond=0x55fe6b3b4388) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55fe6b3b4388, mutex=0x55fe6b3b4360) at pthread_cond_wait.c:618
#5  0x00007f24276eb784 in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x55fe6b3b4360) at thread/qwaitcondition_unix.cpp:146
#6  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x55fe6b3b3dd8, mutex=mutex@entry=0x55fe6b3b3dd0, deadline=...) at thread/qwaitcondition_unix.cpp:225
#7  0x00007f24293fd293 in QSGRenderThreadEventQueue::takeEvent(bool) (wait=true, this=0x55fe6b3b3dc8) at /usr/src/debug/qt5-declarative/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:257
#8  QSGRenderThread::processEventsAndWaitForMore() (this=0x55fe6b3b3d30) at /usr/src/debug/qt5-declarative/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:935
#9  QSGRenderThread::run() (this=0x55fe6b3b3d30) at /usr/src/debug/qt5-declarative/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1052
#10 0x00007f24276e42ea in QThreadPrivate::start(void*) (arg=0x55fe6b3b3d30) at thread/qthread_unix.cpp:330
#11 0x00007f242709f8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#12 0x00007f2427121a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 18 (Thread 0x7f23b8fca6c0 (LWP 7931)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55fe6b5a3070) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55fe6b5a3070, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f242709c51f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55fe6b5a3070, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f242709ecd0 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55fe6b5a3020, cond=0x55fe6b5a3048) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55fe6b5a3048, mutex=0x55fe6b5a3020) at pthread_cond_wait.c:618
#5  0x00007f241250c50e in cnd_wait () at ../mesa-22.3.2/src/c11/impl/threads_posix.c:135
#6  0x00007f24124bc89c in util_queue_thread_func () at ../mesa-22.3.2/src/util/u_queue.c:290
#7  0x00007f241250c43c in impl_thrd_routine () at ../mesa-22.3.2/src/c11/impl/threads_posix.c:67
#8  0x00007f242709f8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#9  0x00007f2427121a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 17 (Thread 0x7f23b97cb6c0 (LWP 7930)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55fe6b4f5580) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55fe6b4f5580, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f242709c51f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55fe6b4f5580, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f242709ecd0 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55fe6b4f5530, cond=0x55fe6b4f5558) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55fe6b4f5558, mutex=0x55fe6b4f5530) at pthread_cond_wait.c:618
#5  0x00007f241250c50e in cnd_wait () at ../mesa-22.3.2/src/c11/impl/threads_posix.c:135
#6  0x00007f24124bc89c in util_queue_thread_func () at ../mesa-22.3.2/src/util/u_queue.c:290
#7  0x00007f241250c43c in impl_thrd_routine () at ../mesa-22.3.2/src/c11/impl/threads_posix.c:67
#8  0x00007f242709f8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#9  0x00007f2427121a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 16 (Thread 0x7f23fbfff6c0 (LWP 7888)):
#0  pselect64_syscall (sigmask=0x0, timeout=<optimized out>, exceptfds=0x0, writefds=0x0, readfds=0x7f23fbff69d0, nfds=5) at ../sysdeps/unix/sysv/linux/pselect.c:34
#1  __pselect (nfds=nfds@entry=5, readfds=readfds@entry=0x7f23fbff69d0, writefds=writefds@entry=0x0, exceptfds=exceptfds@entry=0x0, timeout=<optimized out>, timeout@entry=0x7f23fbff69c0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/pselect.c:56
#2  0x00007f2425425524 in usbmuxd_listen_inotify () at libusbmuxd.c:923
#3  0x00007f24254268a9 in usbmuxd_listen () at libusbmuxd.c:979
#4  device_monitor (data=<optimized out>) at libusbmuxd.c:1107
#5  0x00007f242709f8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#6  0x00007f2427121a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 15 (Thread 0x7f2421cb36c0 (LWP 7874)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55fe66e09244) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55fe66e09244, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f242709c51f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55fe66e09244, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f242709ecd0 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55fe66e091f0, cond=0x55fe66e09218) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55fe66e09218, mutex=0x55fe66e091f0) at pthread_cond_wait.c:618
#5  0x00007f24276eb784 in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x55fe66e091f0) at thread/qwaitcondition_unix.cpp:146
#6  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x55fe66e09450, mutex=mutex@entry=0x55fe66e09448, deadline=...) at thread/qwaitcondition_unix.cpp:225
#7  0x00007f2428322cb4 in QtWaylandClient::EventThread::waitForReading() (this=0x55fe66e09410) at /usr/src/debug/qt5-wayland/qtwayland/src/client/qwaylanddisplay.cpp:242
#8  QtWaylandClient::EventThread::run() (this=0x55fe66e09410) at /usr/src/debug/qt5-wayland/qtwayland/src/client/qwaylanddisplay.cpp:206
#9  0x00007f24276e42ea in QThreadPrivate::start(void*) (arg=0x55fe66e09410) at thread/qthread_unix.cpp:330
#10 0x00007f242709f8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#11 0x00007f2427121a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 14 (Thread 0x7f24227ff6c0 (LWP 7873)):
#0  0x00007f24271140bf in __GI___poll (fds=0x7f241c0053e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f2425d6dbef in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f241c0053e0, timeout=<optimized out>, context=0x7f241c001cf0) at ../glib/glib/gmain.c:4553
#2  g_main_context_iterate.constprop.0 (context=0x7f241c001cf0, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4243
#3  0x00007f2425d15132 in g_main_context_iteration (context=0x7f241c001cf0, may_block=1) at ../glib/glib/gmain.c:4313
#4  0x00007f24278d7c6f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f241c000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f242788573c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f24227fea90, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#6  0x00007f24276e721f in QThread::exec() (this=this@entry=0x7f242914c560 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f24290f0cba in QDBusConnectionManager::run() (this=0x7f242914c560 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /usr/src/debug/qt5-base/qtbase/src/dbus/qdbusconnection.cpp:179
#8  0x00007f24276e42ea in QThreadPrivate::start(void*) (arg=0x7f242914c560 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:330
#9  0x00007f242709f8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#10 0x00007f2427121a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 13 (Thread 0x7f23ca1ff6c0 (LWP 7908)):
#0  0x00007f24271140bf in __GI___poll (fds=0x7f23bc004a40, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f2425d6dbef in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f23bc004a40, timeout=<optimized out>, context=0x7f23bc000c30) at ../glib/glib/gmain.c:4553
#2  g_main_context_iterate.constprop.0 (context=0x7f23bc000c30, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4243
#3  0x00007f2425d15132 in g_main_context_iteration (context=0x7f23bc000c30, may_block=1) at ../glib/glib/gmain.c:4313
#4  0x00007f24278d7c4c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f23bc000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f242788573c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f23ca1feaa0, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#6  0x00007f24276e721f in QThread::exec() (this=this@entry=0x55fe68afae30) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f23ca67412e in QQuickXmlQueryEngine::run() (this=0x55fe68afae30) at /usr/src/debug/qtxmlpatterns/src/imports/xmllistmodel/qqmlxmllistmodel.cpp:325
#8  0x00007f24276e42ea in QThreadPrivate::start(void*) (arg=0x55fe68afae30) at thread/qthread_unix.cpp:330
#9  0x00007f242709f8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#10 0x00007f2427121a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 12 (Thread 0x7f23de5fd6c0 (LWP 7979)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x7f23de5fca20, op=137, expected=0, futex_word=0x7f23cc3d11d0) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x7f23cc3d11d0, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7f23de5fca20, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f242709c51f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7f23cc3d11d0, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7f23de5fca20, private=private@entry=0) at futex-internal.c:139
#3  0x00007f242709efd4 in __pthread_cond_wait_common (abstime=0x7f23de5fca20, clockid=1, mutex=0x7f23cc3d1180, cond=0x7f23cc3d11a8) at pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x7f23cc3d11a8, mutex=0x7f23cc3d1180, abstime=0x7f23de5fca20) at pthread_cond_wait.c:643
#5  0x00007f24276eb714 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (deadline=..., this=0x7f23cc3d1180) at thread/qwaitcondition_unix.cpp:136
#6  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x7f23cc3d1180) at thread/qwaitcondition_unix.cpp:144
#7  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=<optimized out>, mutex=0x55fe679e3818, deadline=...) at thread/qwaitcondition_unix.cpp:225
#8  0x00007f24276e82b7 in QThreadPoolThread::run() (this=0x7f23cc3d0f20) at thread/qthreadpool.cpp:140
#9  0x00007f24276e42ea in QThreadPrivate::start(void*) (arg=0x7f23cc3d0f20) at thread/qthread_unix.cpp:330
#10 0x00007f242709f8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#11 0x00007f2427121a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 11 (Thread 0x7f23c99fe6c0 (LWP 7909)):
#0  0x00007f24271140bf in __GI___poll (fds=0x55fe686d2ba0, nfds=1, timeout=9990) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f2425d6dbef in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x55fe686d2ba0, timeout=<optimized out>, context=0x55fe68c10a70) at ../glib/glib/gmain.c:4553
#2  g_main_context_iterate.constprop.0 (context=0x55fe68c10a70, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4243
#3  0x00007f2425d15132 in g_main_context_iteration (context=0x55fe68c10a70, may_block=1) at ../glib/glib/gmain.c:4313
#4  0x00007f24278d7c4c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55fe6845e440, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f242788573c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f23c99fdac0, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#6  0x00007f24276e721f in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f24276e42ea in QThreadPrivate::start(void*) (arg=0x55fe6802cdb0) at thread/qthread_unix.cpp:330
#8  0x00007f242709f8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#9  0x00007f2427121a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 10 (Thread 0x7f23dddfc6c0 (LWP 7901)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x7f23dddfba20, op=137, expected=0, futex_word=0x7f23cc3d16d4) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x7f23cc3d16d4, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7f23dddfba20, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f242709c51f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7f23cc3d16d4, expected=expected@entry=0, clockid=clockid@entry=1, abstime=abstime@entry=0x7f23dddfba20, private=private@entry=0) at futex-internal.c:139
#3  0x00007f242709efd4 in __pthread_cond_wait_common (abstime=0x7f23dddfba20, clockid=1, mutex=0x7f23cc3d1680, cond=0x7f23cc3d16a8) at pthread_cond_wait.c:503
#4  ___pthread_cond_timedwait64 (cond=0x7f23cc3d16a8, mutex=0x7f23cc3d1680, abstime=0x7f23dddfba20) at pthread_cond_wait.c:643
#5  0x00007f24276eb714 in QWaitConditionPrivate::wait_relative(QDeadlineTimer) (deadline=..., this=0x7f23cc3d1680) at thread/qwaitcondition_unix.cpp:136
#6  QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x7f23cc3d1680) at thread/qwaitcondition_unix.cpp:144
#7  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=<optimized out>, mutex=0x55fe679e3818, deadline=...) at thread/qwaitcondition_unix.cpp:225
#8  0x00007f24276e82b7 in QThreadPoolThread::run() (this=0x7f23cc3d0e90) at thread/qthreadpool.cpp:140
#9  0x00007f24276e42ea in QThreadPrivate::start(void*) (arg=0x7f23cc3d0e90) at thread/qthread_unix.cpp:330
#10 0x00007f242709f8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#11 0x00007f2427121a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 9 (Thread 0x7f23df7fe6c0 (LWP 7899)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55fe68857640) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55fe68857640, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f242709c51f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55fe68857640, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f242709ecd0 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55fe688575f0, cond=0x55fe68857618) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55fe68857618, mutex=0x55fe688575f0) at pthread_cond_wait.c:618
#5  0x00007f24276eb784 in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x55fe688575f0) at thread/qwaitcondition_unix.cpp:146
#6  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x55fe688574b8, mutex=mutex@entry=0x55fe688574b0, deadline=...) at thread/qwaitcondition_unix.cpp:225
#7  0x00007f24293fd293 in QSGRenderThreadEventQueue::takeEvent(bool) (wait=true, this=0x55fe688574a8) at /usr/src/debug/qt5-declarative/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:257
#8  QSGRenderThread::processEventsAndWaitForMore() (this=0x55fe68857410) at /usr/src/debug/qt5-declarative/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:935
#9  QSGRenderThread::run() (this=0x55fe68857410) at /usr/src/debug/qt5-declarative/qtdeclarative/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1052
#10 0x00007f24276e42ea in QThreadPrivate::start(void*) (arg=0x55fe68857410) at thread/qthread_unix.cpp:330
#11 0x00007f242709f8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#12 0x00007f2427121a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 8 (Thread 0x7f23dffff6c0 (LWP 7898)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55fe68925b30) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55fe68925b30, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f242709c51f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55fe68925b30, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f242709ecd0 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55fe68925ae0, cond=0x55fe68925b08) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55fe68925b08, mutex=0x55fe68925ae0) at pthread_cond_wait.c:618
#5  0x00007f241250c50e in cnd_wait () at ../mesa-22.3.2/src/c11/impl/threads_posix.c:135
#6  0x00007f24124bc89c in util_queue_thread_func () at ../mesa-22.3.2/src/util/u_queue.c:290
#7  0x00007f241250c43c in impl_thrd_routine () at ../mesa-22.3.2/src/c11/impl/threads_posix.c:67
#8  0x00007f242709f8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#9  0x00007f2427121a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 7 (Thread 0x7f23e545b6c0 (LWP 7897)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55fe68877df4) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55fe68877df4, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f242709c51f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55fe68877df4, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f242709ecd0 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55fe68877da0, cond=0x55fe68877dc8) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55fe68877dc8, mutex=0x55fe68877da0) at pthread_cond_wait.c:618
#5  0x00007f241250c50e in cnd_wait () at ../mesa-22.3.2/src/c11/impl/threads_posix.c:135
#6  0x00007f24124bc89c in util_queue_thread_func () at ../mesa-22.3.2/src/util/u_queue.c:290
#7  0x00007f241250c43c in impl_thrd_routine () at ../mesa-22.3.2/src/c11/impl/threads_posix.c:67
#8  0x00007f242709f8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#9  0x00007f2427121a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 6 (Thread 0x7f23e5c5c6c0 (LWP 7896)):
#0  0x00007f24271140bf in __GI___poll (fds=0x7f23e0005880, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f2425d6dbef in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f23e0005880, timeout=<optimized out>, context=0x7f23e0000c30) at ../glib/glib/gmain.c:4553
#2  g_main_context_iterate.constprop.0 (context=0x7f23e0000c30, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4243
#3  0x00007f2425d15132 in g_main_context_iteration (context=0x7f23e0000c30, may_block=1) at ../glib/glib/gmain.c:4313
#4  0x00007f24278d7c4c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f23e0000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f242788573c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f23e5c5ba80, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#6  0x00007f24276e721f in QThread::exec() (this=this@entry=0x55fe687c2340) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f2429355caf in QQuickPixmapReader::run() (this=0x55fe687c2340) at /usr/src/debug/qt5-declarative/qtdeclarative/src/quick/util/qquickpixmapcache.cpp:1024
#8  0x00007f24276e42ea in QThreadPrivate::start(void*) (arg=0x55fe687c2340) at thread/qthread_unix.cpp:330
#9  0x00007f242709f8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#10 0x00007f2427121a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 5 (Thread 0x7f24095ff6c0 (LWP 7881)):
#0  0x00007f24271140bf in __GI___poll (fds=0x7f23f40029e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f2425d6dbef in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f23f40029e0, timeout=<optimized out>, context=0x7f23f4000c30) at ../glib/glib/gmain.c:4553
#2  g_main_context_iterate.constprop.0 (context=0x7f23f4000c30, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4243
#3  0x00007f2425d15132 in g_main_context_iteration (context=0x7f23f4000c30, may_block=1) at ../glib/glib/gmain.c:4313
#4  0x00007f24278d7c4c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f23f4000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f242788573c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f24095feaa0, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#6  0x00007f24276e721f in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f2428ec0370 in  () at /usr/lib/libQt5Qml.so.5
#8  0x00007f24276e42ea in QThreadPrivate::start(void*) (arg=0x55fe672cd180) at thread/qthread_unix.cpp:330
#9  0x00007f242709f8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#10 0x00007f2427121a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7f240a9fe6c0 (LWP 7880)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55fe67008000) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55fe67008000, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f242709c51f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55fe67008000, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f242709ecd0 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55fe67007fb0, cond=0x55fe67007fd8) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55fe67007fd8, mutex=0x55fe67007fb0) at pthread_cond_wait.c:618
#5  0x00007f241250c50e in cnd_wait () at ../mesa-22.3.2/src/c11/impl/threads_posix.c:135
#6  0x00007f24124bc89c in util_queue_thread_func () at ../mesa-22.3.2/src/util/u_queue.c:290
#7  0x00007f241250c43c in impl_thrd_routine () at ../mesa-22.3.2/src/c11/impl/threads_posix.c:67
#8  0x00007f242709f8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#9  0x00007f2427121a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7f240b1ff6c0 (LWP 7879)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55fe66f91d90) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55fe66f91d90, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f242709c51f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55fe66f91d90, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f242709ecd0 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55fe66f91d40, cond=0x55fe66f91d68) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55fe66f91d68, mutex=0x55fe66f91d40) at pthread_cond_wait.c:618
#5  0x00007f241250c50e in cnd_wait () at ../mesa-22.3.2/src/c11/impl/threads_posix.c:135
#6  0x00007f24124bc89c in util_queue_thread_func () at ../mesa-22.3.2/src/util/u_queue.c:290
#7  0x00007f241250c43c in impl_thrd_routine () at ../mesa-22.3.2/src/c11/impl/threads_posix.c:67
#8  0x00007f242709f8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#9  0x00007f2427121a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7f24208026c0 (LWP 7876)):
#0  __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55fe66ed76d8) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55fe66ed76d8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007f242709c51f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55fe66ed76d8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f242709ecd0 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55fe66ed7688, cond=0x55fe66ed76b0) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55fe66ed76b0, mutex=0x55fe66ed7688) at pthread_cond_wait.c:618
#5  0x00007f241250c50e in cnd_wait () at ../mesa-22.3.2/src/c11/impl/threads_posix.c:135
#6  0x00007f24124bc89c in util_queue_thread_func () at ../mesa-22.3.2/src/util/u_queue.c:290
#7  0x00007f241250c43c in impl_thrd_routine () at ../mesa-22.3.2/src/c11/impl/threads_posix.c:67
#8  0x00007f242709f8fd in start_thread (arg=<optimized out>) at pthread_create.c:442
#9  0x00007f2427121a60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7f2422b80ac0 (LWP 7872)):
#0  __GI___pthread_sigmask (how=1, newmask=<optimized out>, oldmask=0x0) at pthread_sigmask.c:43
#1  0x00007f2427051bfd in __GI___sigprocmask (how=<optimized out>, set=<optimized out>, oset=<optimized out>) at ../sysdeps/unix/sysv/linux/sigprocmask.c:25
#2  0x00007f2429a0e1eb in KCrash::setCrashHandler(void (*)(int)) (handler=handler@entry=0x0) at /usr/src/debug/kcrash/kcrash-5.101.0/src/kcrash.cpp:415
#3  0x00007f2429a1085f in KCrash::defaultCrashHandler(int) (sig=11) at /usr/src/debug/kcrash/kcrash-5.101.0/src/kcrash.cpp:632
#4  0x00007f2427051a00 in <signal handler called> () at /usr/lib/libc.so.6
#5  0x00007f242775f99a in QString::size() const (this=0x55fe6cfa5a08, this=<optimized out>) at ../../include/QtCore/../../src/corelib/text/qstring.h:277
#6  QStringView::QStringView<QString, true>(QString const&) (str=..., this=<optimized out>, this=<optimized out>, str=<optimized out>) at ../../include/QtCore/../../src/corelib/text/qstringview.h:211
#7  operator<(QString const&, QString const&) (s1=..., s2=...) at text/qstring.cpp:3494
#8  0x00007f24299d6ba5 in qMapLessThanKey<QString>(QString const&, QString const&) (key2=..., key1=...) at /usr/include/qt/QtCore/qmap.h:68
#9  QMapNode<QString, QAction*>::lowerBound(QString const&) (akey=<optimized out>, this=<optimized out>) at /usr/include/qt/QtCore/qmap.h:153
#10 QMapData<QString, QAction*>::findNode(QString const&) const [clone .isra.0] (akey=..., this=<optimized out>) at /usr/include/qt/QtCore/qmap.h:288
#11 0x00007f2429982eb3 in QMap<QString, QAction*>::value(QString const&, QAction* const&) const (adefaultValue=<optimized out>, akey=..., this=<optimized out>) at /usr/include/qt/QtCore/qmap.h:665
#12 KActionCollection::action(QString const&) const (this=<optimized out>, name=...) at /usr/src/debug/kxmlgui/kxmlgui-5.101.0/src/kactioncollection.cpp:139
#13 0x00007f23eff0a2b6 in operator() (__closure=0x55fe69f36210) at /usr/include/qt/QtCore/qstring.h:967
#14 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, FolderModel::openContextMenu(QQuickItem*, Qt::KeyboardModifiers)::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/qt/QtCore/qobjectdefs_impl.h:146
#15 QtPrivate::Functor<FolderModel::openContextMenu(QQuickItem*, Qt::KeyboardModifiers)::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/qt/QtCore/qobjectdefs_impl.h:256
#16 QtPrivate::QFunctorSlotObject<FolderModel::openContextMenu(QQuickItem*, Qt::KeyboardModifiers)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x55fe69f36200, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt/QtCore/qobjectdefs_impl.h:443
#17 0x00007f24278bda51 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffdcce3f500, r=<optimized out>, this=0x55fe69f36200, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#18 doActivate<false>(QObject*, int, void**) (sender=0x55fe6b9afdf0, signal_index=8, argv=0x7ffdcce3f500) at kernel/qobject.cpp:3919
#19 0x00007f24286f3429 in QMenu::hideEvent(QHideEvent*) (this=0x55fe6b9afdf0) at widgets/qmenu.cpp:2749
#20 0x00007f24285af35c in QWidget::event(QEvent*) (this=0x55fe6b9afdf0, event=0x7ffdcce3f6d0) at kernel/qwidget.cpp:8891
#21 0x00007f2428578b1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55fe6b9afdf0, e=0x7ffdcce3f6d0) at kernel/qapplication.cpp:3637
#22 0x00007f242788cf98 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55fe6b9afdf0, event=0x7ffdcce3f6d0) at kernel/qcoreapplication.cpp:1064
#23 0x00007f24285ad1f8 in QWidgetPrivate::hide_helper() (this=this@entry=0x55fe6bfa6730) at kernel/qwidget.cpp:7970
#24 0x00007f24285ae929 in QWidgetPrivate::setVisible(bool) (this=0x55fe6bfa6730, visible=<optimized out>) at kernel/qwidget.cpp:8156
#25 0x00007f24285ae051 in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) (mode=<optimized out>, this=0x55fe6bfa6730) at kernel/qwidget.cpp:8272
#26 QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) (this=0x55fe6bfa6730, mode=<optimized out>) at kernel/qwidget.cpp:8247
#27 0x00007f24285d02f7 in QWidgetWindow::handleCloseEvent(QCloseEvent*) (event=0x7ffdcce3f9d0, this=0x55fe6c2ba380) at kernel/qwidgetwindow.cpp:848
#28 QWidgetWindow::event(QEvent*) (this=0x55fe6c2ba380, event=0x7ffdcce3f9d0) at kernel/qwidgetwindow.cpp:256
#29 0x00007f2428578b1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55fe6c2ba380, e=0x7ffdcce3f9d0) at kernel/qapplication.cpp:3637
#30 0x00007f242788cf98 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55fe6c2ba380, event=0x7ffdcce3f9d0) at kernel/qcoreapplication.cpp:1064
#31 0x00007f2427d4086f in QGuiApplicationPrivate::processCloseEvent(QWindowSystemInterfacePrivate::CloseEvent*) (e=0x55fe6a627760) at kernel/qguiapplication.cpp:2642
#32 QGuiApplicationPrivate::processCloseEvent(QWindowSystemInterfacePrivate::CloseEvent*) (e=0x55fe6a627760) at kernel/qguiapplication.cpp:2632
#33 0x00007f2427d289a5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=...) at kernel/qwindowsysteminterface.cpp:1169
#34 0x00007f242835e9f5 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /usr/lib/libQt5WaylandClient.so.5
#35 0x00007f2425d1687b in g_main_dispatch (context=0x7f241c005010) at ../glib/glib/gmain.c:3454
#36 g_main_context_dispatch (context=0x7f241c005010) at ../glib/glib/gmain.c:4172
#37 0x00007f2425d6dc89 in g_main_context_iterate.constprop.0 (context=0x7f241c005010, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4248
#38 0x00007f2425d15132 in g_main_context_iteration (context=0x7f241c005010, may_block=1) at ../glib/glib/gmain.c:4313
#39 0x00007f24278d7c4c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55fe66dafb50, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#40 0x00007f242788573c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffdcce3fc90, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#41 0x00007f2427890269 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#42 0x00007f2427d3a102 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870
#43 0x00007f2428576f2a in QApplication::exec() () at kernel/qapplication.cpp:2829
#44 0x000055fe65b871ef in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma-workspace/plasma-workspace-5.26.5/shell/main.cpp:233
Comment 1 Nate Graham 2023-01-09 20:33:14 UTC
Hmm, can't reproduce no matter how much I hover the popup's context menu iotions.
Comment 2 Patrick Silva 2023-01-23 19:51:29 UTC
I can reproduce even on Plasma 5.27 beta.

Operating System: Arch Linux 
KDE Plasma Version: 5.26.90
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Graphics Platform: Wayland
Comment 3 Patrick Silva 2023-11-14 21:52:12 UTC
This crash is still reproducible on neon unstable and Arch Linux.

Operating System: Arch Linux 
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Graphics Platform: Wayland
Comment 4 Akseli Lahtinen 2024-06-06 12:53:05 UTC
Managed to get this crash to happen, however I think it had something to do with closing the popup.

Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.80
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.1
Kernel Version: 6.8.11-300.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600
Comment 5 Akseli Lahtinen 2024-06-06 12:56:31 UTC
Created attachment 170203 [details]
Massive backtrace

Got a massive backtrace, heres thread 1

Thread 1 (Thread 0x7f4e9444fb80 (LWP 74555)):
[KCrash Handler]
#5  QStringView::QStringView<QChar, true> (this=<optimized out>, str=Python Exception <class 'gdb.MemoryError'>: Cannot access memory at address 0x7300730065009a
#6  QStringView::QStringView<QString, true> (this=<optimized out>, str=...) at /usr/include/qt6/QtCore/qstringview.h:162
#7  operator< (s1=..., s2=...) at /usr/include/qt6/QtCore/qstring.h:752
#8  std::less<QString>::operator() (this=<optimized out>, __x=..., __y=...) at /usr/include/c++/14/bits/stl_function.h:405
#9  std::_Rb_tree<QString, std::pair<QString const, QAction*>, std::_Select1st<std::pair<QString const, QAction*> >, std::less<QString>, std::allocator<std::pair<QString const, QAction*> > >::_M_lower_bound (this=0x4fcfc18, __x=0x73007300650072, __y=<optimized out>, __k=...) at /usr/include/c++/14/bits/stl_tree.h:1964
#10 std::_Rb_tree<QString, std::pair<QString const, QAction*>, std::_Select1st<std::pair<QString const, QAction*> >, std::less<QString>, std::allocator<std::pair<QString const, QAction*> > >::find (this=this@entry=0x4fcfc18, __k=...) at /usr/include/c++/14/bits/stl_tree.h:2541
#11 0x00007f4e9d9ea652 in std::map<QString, QAction*, std::less<QString>, std::allocator<std::pair<QString const, QAction*> > >::find (this=0x4fcfc18, __x=...) at /usr/include/c++/14/bits/stl_map.h:1244
#12 QMap<QString, QAction*>::value (this=<optimized out>, key=..., defaultValue=<optimized out>) at /usr/include/qt6/QtCore/qmap.h:360
#13 KActionCollection::action (this=<optimized out>, name=...) at /home/akseli/Repositories/kde/src/kxmlgui/src/kactioncollection.cpp:139
#14 0x00007f4e6c10e4a9 in operator() (__closure=0xf83580) at /home/akseli/Repositories/kde/src/plasma-desktop/containments/desktop/plugins/folder/foldermodel.cpp:1903
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, FolderModel::openContextMenu(QQuickItem*, Qt::KeyboardModifiers)::<lambda()> >::call (f=..., arg=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:137
#16 QtPrivate::FunctorCallable<FolderModel::openContextMenu(QQuickItem*, Qt::KeyboardModifiers)::<lambda()> >::call<QtPrivate::List<>, void> (f=..., arg=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:345
#17 QtPrivate::QCallableObject<FolderModel::openContextMenu(QQuickItem*, Qt::KeyboardModifiers)::<lambda()>, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0xf83570, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:555
#18 0x00007f4e99ffa752 in QtPrivate::QSlotObjectBase::call (this=0xf83570, r=<optimized out>, a=0x7ffc5f59b178) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qobjectdefs_impl.h:469
#19 doActivate<false> (sender=0x4ffa770, signal_index=8, argv=0x7ffc5f59b178) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qobject.cpp:4086
#20 0x00007f4e99ff0b47 in QMetaObject::activate (sender=sender@entry=0x4ffa770, m=m@entry=0x7f4e9cf69660, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qobject.cpp:4146
#21 0x00007f4e9cb71a77 in QMenu::aboutToHide (this=this@entry=0x4ffa770) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/redhat-linux-build/src/widgets/Widgets_autogen/include/moc_qmenu.cpp:292
#22 0x00007f4e9cb7daea in QMenu::hideEvent (this=0x4ffa770) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/widgets/widgets/qmenu.cpp:2716
#23 0x00007f4e9c9ebf90 in QWidget::event (this=0x4ffa770, event=0x7ffc5f59b400) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/widgets/kernel/qwidget.cpp:9402
#24 0x00007f4e9c98b168 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x4ffa770, e=0x7ffc5f59b400) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/widgets/kernel/qapplication.cpp:3287
#25 0x00007f4e99f95b18 in QCoreApplication::notifyInternal2 (receiver=0x4ffa770, event=0x7ffc5f59b400) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1134
#26 0x00007f4e99f95d7d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1575
#27 0x00007f4e9c9e6086 in QWidgetPrivate::hide_helper (this=this@entry=0x51f5a40) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/widgets/kernel/qwidget.cpp:8267
#28 0x00007f4e9c9eac3a in QWidgetPrivate::setVisible (this=0x51f5a40, visible=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/widgets/kernel/qwidget.cpp:8460
#29 0x00007f4e9c9e6387 in QWidgetPrivate::handleClose (this=0x51f5a40, mode=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/widgets/kernel/qwidget.cpp:8627
#30 0x00007f4e9c9fdb17 in QWidgetWindow::closeEvent (this=<optimized out>, event=0x7ffc5f59b790) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/widgets/kernel/qwidgetwindow.cpp:832
#31 0x00007f4e9aa45e32 in QWindow::event (this=0x5046920, ev=0x7ffc5f59b790) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/gui/kernel/qwindow.cpp:2573
#32 0x00007f4e9c98b168 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5046920, e=0x7ffc5f59b790) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/widgets/kernel/qapplication.cpp:3287
#33 0x00007f4e99f95b18 in QCoreApplication::notifyInternal2 (receiver=0x5046920, event=0x7ffc5f59b790) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1134
#34 0x00007f4e99f95d8d in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1589
#35 0x00007f4e9a9e2852 in QGuiApplicationPrivate::processCloseEvent (e=0x53a5bb0) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/gui/kernel/qguiapplication.cpp:2745
#36 QGuiApplicationPrivate::processCloseEvent (e=0x53a5bb0) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/gui/kernel/qguiapplication.cpp:2733
#37 0x00007f4e9aa4952c in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/gui/kernel/qwindowsysteminterface.cpp:1114
#38 0x00007f4e9af54e74 in userEventSourceDispatch (source=<optimized out>) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/gui/platform/unix/qeventdispatcher_glib.cpp:38
#39 0x00007f4e993046ac in g_main_dispatch (context=0x7f4e80000f00) at ../glib/gmain.c:3344
#40 g_main_context_dispatch_unlocked (context=0x7f4e80000f00) at ../glib/gmain.c:4152
#41 0x00007f4e99365708 in g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f4e80000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4217
#42 0x00007f4e99305b23 in g_main_context_iteration (context=0x7f4e80000f00, may_block=1) at ../glib/gmain.c:4282
#43 0x00007f4e9a27cb53 in QEventDispatcherGlib::processEvents (this=0x969e60, flags=...) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#44 0x00007f4e99fa2713 in QEventLoop::exec (this=this@entry=0x7ffc5f59ba70, flags=..., flags@entry=...) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/global/qflags.h:34
#45 0x00007f4e99f9e69c in QCoreApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/global/qflags.h:74
#46 0x00007f4e9a9d53dd in QGuiApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/gui/kernel/qguiapplication.cpp:1926
#47 0x00007f4e9c98b0d9 in QApplication::exec () at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/widgets/kernel/qapplication.cpp:2555
#48 0x0000000000426996 in main (argc=<optimized out>, argv=<optimized out>) at /home/akseli/Repositories/kde/src/plasma-workspace/shell/main.cpp:188
Comment 6 Bug Janitor Service 2024-06-07 08:12:13 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2296
Comment 7 Akseli Lahtinen 2024-06-07 12:08:22 UTC
Git commit 2772401d010bc59affa1367002f55a459d2d166d by Akseli Lahtinen.
Committed on 07/06/2024 at 12:08.
Pushed by akselmo into branch 'master'.

foldermodel.cpp: add context to menu connection

Menu connection was missing "this" as context, so it would be called
even if "this" was not there anymore.

The bug I've linked before is very difficult to reproduce, it seems to 
be a race condition that triggers rarely for some, more often for others.
I have only gotten it happen once, but the backtrace indicates this seems
to be the problem.

M  +1    -1    containments/desktop/plugins/folder/foldermodel.cpp

https://invent.kde.org/plasma/plasma-desktop/-/commit/2772401d010bc59affa1367002f55a459d2d166d
Comment 8 Bug Janitor Service 2024-06-07 12:08:50 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2297
Comment 9 Nate Graham 2024-06-07 16:09:25 UTC
Nice! Let's call it fixed then, and we can always re-open this if it happens again after Plasma 6.1 is released.
Comment 10 Nate Graham 2024-06-08 13:21:30 UTC
Git commit 2a1ad12c5cc46109f79db682a5ecb72d9641bfd3 by Nate Graham, on behalf of Akseli Lahtinen.
Committed on 08/06/2024 at 13:10.
Pushed by ngraham into branch 'Plasma/6.1'.

foldermodel.cpp: add context to menu connection

Menu connection was missing "this" as context, so it would be called
even if "this" was not there anymore.

The bug I've linked before is very difficult to reproduce, it seems to 
be a race condition that triggers rarely for some, more often for others.
I have only gotten it happen once, but the backtrace indicates this seems
to be the problem.


(cherry picked from commit 2772401d010bc59affa1367002f55a459d2d166d)

8e83c02d foldermodel.cpp: add context to menu connection

Co-authored-by: Akseli Lahtinen <akselmo@akselmo.dev>

M  +1    -1    containments/desktop/plugins/folder/foldermodel.cpp

https://invent.kde.org/plasma/plasma-desktop/-/commit/2a1ad12c5cc46109f79db682a5ecb72d9641bfd3