Bug 477288

Summary: Crash in KItemListController::onRelease
Product: [Applications] dolphin Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: akselmo, danii.dias, davidbryant, fmauro, kde, kfm-devel, mailinglist, nate, stefanchrisostomus13
Priority: HI Keywords: qt6
Version: 24.01.75   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 24.02
Sentry Crash Report:

Description Patrick Silva 2023-11-20 15:30:49 UTC
Operating System: Arch Linux 
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Graphics Platform: Wayland


Thread 8 (Thread 0x7f388bbff6c0 (LWP 17307)):
#0  0x00007f38f505ff6f in __GI___poll (fds=fds@entry=0x7f38c0003320, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f38f28f58c7 in poll (__timeout=-1, __nfds=2, __fds=0x7f38c0003320) at /usr/include/bits/poll2.h:39
#2  poll_func (ufds=0x7f38c0003320, nfds=2, timeout=-1, userdata=0x56436525ae40) at ../pulseaudio/src/pulse/thread-mainloop.c:70
#3  0x00007f38f28df46c in pa_mainloop_poll (m=m@entry=0x56436525ad40) at ../pulseaudio/src/pulse/mainloop.c:863
#4  0x00007f38f28e942c in pa_mainloop_iterate (m=m@entry=0x56436525ad40, block=block@entry=1, retval=retval@entry=0x0) at ../pulseaudio/src/pulse/mainloop.c:945
#5  0x00007f38f28e94e1 in pa_mainloop_run (m=0x56436525ad40, retval=0x0) at ../pulseaudio/src/pulse/mainloop.c:963
#6  0x00007f38f28f9c02 in thread (userdata=0x56436525acf0) at ../pulseaudio/src/pulse/thread-mainloop.c:101
#7  0x00007f38f09a5c67 in internal_thread_func (userdata=0x564365063b60) at ../pulseaudio/src/pulsecore/thread-posix.c:81
#8  0x00007f38f4fe99eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#9  0x00007f38f506d7cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 7 (Thread 0x7f38e4dfe6c0 (LWP 16110)):
#0  0x00007f38f506a561 in pselect64_syscall (sigmask=0x0, timeout=<optimized out>, exceptfds=0x0, writefds=0x0, readfds=0x7f38e4df5b20, nfds=5) at ../sysdeps/unix/sysv/linux/pselect.c:34
#1  __pselect (nfds=nfds@entry=5, readfds=readfds@entry=0x7f38e4df5b20, writefds=writefds@entry=0x0, exceptfds=exceptfds@entry=0x0, timeout=<optimized out>, timeout@entry=0x7f38e4df5b10, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/pselect.c:56
#2  0x00007f38f115a6f9 in usbmuxd_listen_inotify () at /usr/src/debug/libusbmuxd/libusbmuxd-2.0.2/src/libusbmuxd.c:923
#3  0x00007f38f115b3cc in usbmuxd_listen () at /usr/src/debug/libusbmuxd/libusbmuxd-2.0.2/src/libusbmuxd.c:979
#4  device_monitor (data=<optimized out>) at /usr/src/debug/libusbmuxd/libusbmuxd-2.0.2/src/libusbmuxd.c:1107
#5  0x00007f38f4fe99eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#6  0x00007f38f506d7cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 6 (Thread 0x7f38e55ff6c0 (LWP 16107)):
#0  0x00007f38f4fe64ae in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x564363f8e290) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x564363f8e290, 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  0x00007f38f4fe652f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x564363f8e290, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f38f4fe8d40 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x564363f8e240, cond=0x564363f8e268) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x564363f8e268, mutex=0x564363f8e240) at pthread_cond_wait.c:618
#5  0x00007f38e56d1b5c in cnd_wait () at ../mesa-23.2.1/src/c11/impl/threads_posix.c:135
#6  util_queue_thread_func() () at ../mesa-23.2.1/src/util/u_queue.c:290
#7  0x00007f38e571ca0c in impl_thrd_routine() () at ../mesa-23.2.1/src/c11/impl/threads_posix.c:67
#8  0x00007f38f4fe99eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#9  0x00007f38f506d7cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 5 (Thread 0x7f38ed7ff6c0 (LWP 16104)):
#0  0x00007f38f505ff6f in __GI___poll (fds=0x564363e41d50, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f38f20cc276 in g_main_context_poll_unlocked (priority=2147483647, n_fds=1, fds=0x564363e41d50, timeout=<optimized out>, context=0x7f38e8000c80) at ../glib/glib/gmain.c:4653
#2  g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f38e8000c80, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4344
#3  0x00007f38f206c162 in g_main_context_iteration (context=0x7f38e8000c80, may_block=1) at ../glib/glib/gmain.c:4414
#4  0x00007f38f3b9795a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f38e8000b70, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventdispatcher_glib.cpp:395
#5  0x00007f38f396cc5e in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=..., this=0x7f38ed7feb30) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventloop.cpp:100
#6  QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f38ed7feb30, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventloop.cpp:182
#7  0x00007f38f3a49d6f in QThread::exec() (this=this@entry=0x7f38f5251b80 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_116Q_QGS__q_managerEEEE8instanceEvE6holder.lto_priv.0>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/global/qflags.h:74
#8  0x00007f38f51ca7ff in QDBusConnectionManager::run() (this=0x7f38f5251b80 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_116Q_QGS__q_managerEEEE8instanceEvE6holder.lto_priv.0>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/dbus/qdbusconnection.cpp:131
#9  0x00007f38f3ac97b3 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:324
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:260
#11 QThreadPrivate::start(void*) (arg=0x7f38f5251b80 <_ZZN13QGlobalStaticIN14QtGlobalStatic6HolderIN12_GLOBAL__N_116Q_QGS__q_managerEEEE8instanceEvE6holder.lto_priv.0>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:283
#12 0x00007f38f4fe99eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#13 0x00007f38f506d7cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 4 (Thread 0x7f38ecbff6c0 (LWP 16105)):
#0  0x00007f38f4fe64ae in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x564363ee5e04) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x564363ee5e04, 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  0x00007f38f4fe652f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x564363ee5e04, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007f38f4fe8d40 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x564363ee5db0, cond=0x564363ee5dd8) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x564363ee5dd8, mutex=0x564363ee5db0) at pthread_cond_wait.c:618
#5  0x00007f38f3acc950 in QWaitConditionPrivate::wait(QDeadlineTimer) (deadline=..., this=0x564363ee5db0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qwaitcondition_unix.cpp:103
#6  QWaitCondition::wait(QMutex*, QDeadlineTimer) (this=this@entry=0x564363e9a7b0, mutex=mutex@entry=0x564363e9a7a8, deadline=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qwaitcondition_unix.cpp:181
#7  0x00007f38f137e998 in QtWaylandClient::EventThread::waitForReading() (this=0x564363e9a770) at /usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.6.0/src/client/qwaylanddisplay.cpp:218
#8  QtWaylandClient::EventThread::run() (this=0x564363e9a770) at /usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.6.0/src/client/qwaylanddisplay.cpp:179
#9  0x00007f38f3ac97b3 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:324
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:260
#11 QThreadPrivate::start(void*) (arg=0x564363e9a770) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:283
#12 0x00007f38f4fe99eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#13 0x00007f38f506d7cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x7f38ce29a6c0 (LWP 16114)):
#0  0x00007ffc69d46ae6 in clock_gettime ()
#1  0x00007f38f50326dd in __GI___clock_gettime (clock_id=<optimized out>, tp=tp@entry=0x7f38ce299960) at ../sysdeps/unix/sysv/linux/clock_gettime.c:42
#2  0x00007f38f206f085 in sysprof_clock_get_current_time () at /usr/include/sysprof-6/sysprof-clock.h:88
#3  g_main_context_check_unlocked (context=0x7f38bc000c60, max_priority=<optimized out>, fds=<optimized out>, n_fds=<optimized out>) at ../glib/glib/gmain.c:4169
#4  0x00007f38f20cc190 in g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f38bc000c60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4346
#5  0x00007f38f206c162 in g_main_context_iteration (context=0x7f38bc000c60, may_block=1) at ../glib/glib/gmain.c:4414
#6  0x00007f38f3b9795a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f38bc000b70, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventdispatcher_glib.cpp:395
#7  0x00007f38f396cc5e in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=..., this=0x7f38ce299b90) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventloop.cpp:100
#8  QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f38ce299b90, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventloop.cpp:182
#9  0x00007f38f3a49e6f in QThread::exec() (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread.cpp:578
#10 QThread::run() (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread.cpp:699
#11 0x00007f38f3ac97b3 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:324
#12 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:260
#13 QThreadPrivate::start(void*) (arg=0x564364476440) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:283
#14 0x00007f38f4fe99eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#15 0x00007f38f506d7cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x7f38e7fff6c0 (LWP 16106)):
#0  0x00007f38f505ff6f in __GI___poll (fds=fds@entry=0x7f38e7ffeb70, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f38f137ea18 in poll (__timeout=-1, __nfds=2, __fds=0x7f38e7ffeb70) at /usr/include/bits/poll2.h:39
#2  QtWaylandClient::EventThread::run() (this=0x564363e98820) at /usr/src/debug/qt6-wayland/qtwayland-everywhere-src-6.6.0/src/client/qwaylanddisplay.cpp:184
#3  0x00007f38f3ac97b3 in operator() (__closure=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:324
#4  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:260
#5  QThreadPrivate::start(void*) (arg=0x564363e98820) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/thread/qthread_unix.cpp:283
#6  0x00007f38f4fe99eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#7  0x00007f38f506d7cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x7f38edc259c0 (LWP 16103)):
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007f38f4feb8a3 in __pthread_kill_internal (signo=11, threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007f38f4f9b668 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#3  0x00007f38f5ad4960 in KCrash::defaultCrashHandler(int) (sig=11) at /usr/src/debug/kcrash/kcrash-5.245.0/src/kcrash.cpp:612
#4  0x00007f38f4f9b710 in <signal handler called> () at /usr/lib/libc.so.6
#5  0x00007f38f612785a in KItemListController::onRelease(QPointF const&, QFlags<Qt::KeyboardModifier>, QFlags<Qt::MouseButton>, bool) (this=this@entry=0x5643643c6af0, pos=..., modifiers=..., modifiers@entry=..., buttons=buttons@entry=..., touch=touch@entry=false) at /usr/src/debug/dolphin/dolphin-24.01.75/src/kitemviews/kitemlistcontroller.cpp:1780
#6  0x00007f38f61279d0 in KItemListController::mouseReleaseEvent(QGraphicsSceneMouseEvent*, QTransform const&) (this=0x5643643c6af0, event=0x7ffc69c51480, transform=...) at /usr/src/debug/dolphin/dolphin-24.01.75/src/kitemviews/kitemlistcontroller.cpp:687
#7  0x00007f38f612a42b in KItemListController::processEvent(QEvent*, QTransform const&) (this=<optimized out>, event=<optimized out>, transform=<optimized out>) at /usr/src/debug/dolphin/dolphin-24.01.75/src/kitemviews/kitemlistcontroller.cpp:1208
#8  0x00007f38f612f9fe in KItemListView::event(QEvent*) (this=0x5643643e0bf0, event=0x7ffc69c51480) at /usr/src/debug/dolphin/dolphin-24.01.75/src/kitemviews/kitemlistview.cpp:1032
#9  0x00007f38f497318b in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x5643643e0bf0, e=0x7ffc69c51480) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/kernel/qapplication.cpp:3290
#10 0x00007f38f39626d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5643643e0bf0, event=0x7ffc69c51480) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1118
#11 0x00007f38f396272d in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1550
#12 0x00007f38f4d0652f in qt_sendSpontaneousEvent(QObject*, QEvent*) (event=0x7ffc69c51480, receiver=0x5643643e0bf0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/kernel/qapplication.cpp:3682
#13 QGraphicsScenePrivate::sendEvent(QGraphicsItem*, QEvent*) (this=this@entry=0x564364334800, item=item@entry=0x5643643e0c00, event=event@entry=0x7ffc69c51480) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/graphicsview/qgraphicsscene.cpp:1220
#14 0x00007f38f4d0ac92 in QGraphicsScenePrivate::sendMouseEvent(QGraphicsSceneMouseEvent*) (this=0x564364334800, mouseEvent=0x7ffc69c51480) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/graphicsview/qgraphicsscene.cpp:1301
#15 0x00007f38f4d14c50 in QGraphicsScene::mouseReleaseEvent(QGraphicsSceneMouseEvent*) (this=<optimized out>, mouseEvent=0x7ffc69c51480) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/graphicsview/qgraphicsscene.cpp:4009
#16 0x00007f38f4d1259b in QGraphicsScene::event(QEvent*) (this=0x5643643347e0, event=0x7ffc69c51480) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/graphicsview/qgraphicsscene.cpp:3318
#17 0x00007f38f497318b in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x5643643347e0, e=0x7ffc69c51480) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/kernel/qapplication.cpp:3290
#18 0x00007f38f39626d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5643643347e0, event=0x7ffc69c51480) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1118
#19 0x00007f38f396272d in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1550
#20 0x00007f38f4d42b3c in qt_sendSpontaneousEvent(QObject*, QEvent*) (event=0x7ffc69c51480, receiver=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/kernel/qapplication.cpp:3682
#21 QGraphicsView::mouseReleaseEvent(QMouseEvent*) (this=0x5643643347b0, event=0x7ffc69c51a60) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/graphicsview/qgraphicsview.cpp:3357
#22 0x00007f38f49c3e65 in QWidget::event(QEvent*) (this=0x5643643347b0, event=0x7ffc69c51a60) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/kernel/qwidget.cpp:8988
#23 0x00007f38f4a52926 in QFrame::event(QEvent*) (this=0x5643643347b0, e=0x7ffc69c51a60) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/widgets/qframe.cpp:515
#24 0x00007f38f3960cf8 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (receiver=receiver@entry=0x564364394630, event=event@entry=0x7ffc69c51a60) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1250
#25 0x00007f38f497317b in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x564363e369b0, receiver=receiver@entry=0x564364394630, e=e@entry=0x7ffc69c51a60) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/kernel/qapplication.cpp:3284
#26 0x00007f38f49759e8 in QApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x564364394630, e=0x7ffc69c51a60) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/kernel/qapplication.cpp:2777
#27 0x00007f38f39626d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x564364394630, event=0x7ffc69c51a60) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1118
#28 0x00007f38f396272d in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1550
#29 0x00007f38f4971137 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) (receiver=0x564364394630, event=0x7ffc69c51a60, alienWidget=0x564364394630, nativeWidget=0x564363fa0560, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/kernel/qapplication.cpp:2361
#30 0x00007f38f49d697b in QWidgetWindow::handleMouseEvent(QMouseEvent*) (this=0x564364502130, event=event@entry=0x7ffc69c51dd0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/kernel/qwidgetwindow.cpp:627
#31 0x00007f38f49d7cc0 in QWidgetWindow::event(QEvent*) (this=0x564364502130, event=0x7ffc69c51dd0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/kernel/qwidgetwindow.cpp:241
#32 0x00007f38f497318b in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x564364502130, e=0x7ffc69c51dd0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/kernel/qapplication.cpp:3290
#33 0x00007f38f39626d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x564364502130, event=0x7ffc69c51dd0) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1118
#34 0x00007f38f396272d in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qcoreapplication.cpp:1550
#35 0x00007f38f3fa5355 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x7f38e0004630) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/gui/kernel/qguiapplication.cpp:2315
#36 0x00007f38f40105dc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/gui/kernel/qwindowsysteminterface.cpp:1109
#37 0x00007f38f43e5d84 in userEventSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/gui/platform/unix/qeventdispatcher_glib.cpp:38
#38 0x00007f38f206df69 in g_main_dispatch (context=0x7f38e8000ef0) at ../glib/glib/gmain.c:3476
#39 0x00007f38f20cc327 in g_main_context_dispatch_unlocked (context=0x7f38e8000ef0) at ../glib/glib/gmain.c:4284
#40 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f38e8000ef0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4349
#41 0x00007f38f206c162 in g_main_context_iteration (context=0x7f38e8000ef0, may_block=1) at ../glib/glib/gmain.c:4414
#42 0x00007f38f3b97934 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x564363e3a450, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventdispatcher_glib.cpp:393
#43 0x00007f38f396cc5e in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=..., this=0x7ffc69c52290) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventloop.cpp:100
#44 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffc69c52290, flags=...) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/kernel/qeventloop.cpp:182
#45 0x00007f38f3965178 in QCoreApplication::exec() () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/corelib/global/qflags.h:74
#46 0x00007f38f496fd1a in QApplication::exec() () at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.0/src/widgets/kernel/qapplication.cpp:2569
#47 0x0000564363600fe7 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/dolphin/dolphin-24.01.75/src/main.cpp:255
Comment 1 David Edmundson 2023-11-27 09:53:20 UTC
*** Bug 477540 has been marked as a duplicate of this bug. ***
Comment 2 David Edmundson 2023-11-27 09:53:40 UTC
https://bugs.kde.org/show_bug.cgi?id=477540 has some useful notes
Comment 3 David Edmundson 2023-11-27 09:53:45 UTC
*** Bug 477097 has been marked as a duplicate of this bug. ***
Comment 4 David Edmundson 2023-11-27 09:53:48 UTC
*** Bug 470296 has been marked as a duplicate of this bug. ***
Comment 5 David Edmundson 2023-11-27 09:53:51 UTC
*** Bug 439635 has been marked as a duplicate of this bug. ***
Comment 6 David Edmundson 2023-11-27 09:53:54 UTC
*** Bug 437832 has been marked as a duplicate of this bug. ***
Comment 7 Akseli Lahtinen 2023-11-28 08:34:09 UTC
I am unable to reproduce this even after following the notes in https://bugs.kde.org/show_bug.cgi?id=477540#c5

However, I think it might be related to https://bugs.kde.org/show_bug.cgi?id=477607  since the treeview being broken and thinking some files are expandable files could cause problems.
Comment 8 David Edmundson 2023-11-28 10:28:23 UTC
To reproduce:
 - enable selection mode (at least once) with the space key
 -         setStyle(QApplication::style());  calls once
 - change the qstyle in systemsettings
 - click on something

the previously set style is now dangling
Comment 9 Akseli Lahtinen 2023-11-29 16:00:44 UTC
Git commit 697d1648b796b6ba5c08dc01a86ed2e324690abf by Akseli Lahtinen.
Committed on 29/11/2023 at 17:00.
Pushed by akselmo into branch 'master'.

Set style to nullptr before painting listview

Resolves any possible dangling pointers
if application style is changed after
toggling the selection mode

M  +2    -2    src/views/dolphinview.cpp

https://invent.kde.org/system/dolphin/-/commit/697d1648b796b6ba5c08dc01a86ed2e324690abf
Comment 10 Akseli Lahtinen 2023-12-08 11:50:28 UTC
*** Bug 444430 has been marked as a duplicate of this bug. ***