Bug 426408 - Dolphin crashed when closed on Wayland after unsuccessful drag and drop operation
Summary: Dolphin crashed when closed on Wayland after unsuccessful drag and drop opera...
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi, wayland
Depends on:
Blocks:
 
Reported: 2020-09-11 13:38 UTC by Patrick Silva
Modified: 2022-10-06 13:09 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2020-09-11 13:38:01 UTC
Application: dolphin (20.11.70)

Qt Version: 5.15.0
Frameworks Version: 5.74.0
Operating System: Linux 5.4.0-47-generic x86_64
Windowing system: Wayland
Distribution: KDE neon Unstable Edition

-- Information about the crash:
- What I was doing when the application crashed:
open Dolphin on Wayland, drag a file to the breadcrumb, move cursor horizontally while keep the mouse button pressed, releae the mouse button. Repeat these steps a few times, at some point you will not be able to drag a file. Then close Dolphin and Plasma shows a crash notification.

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Content of s_kcrashErrorMessage: (null)
[New LWP 2571]
[New LWP 2572]
[New LWP 2573]
[New LWP 2574]
[New LWP 2575]
[New LWP 2576]
[New LWP 2630]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f685bfd496f in __GI___poll (fds=fds@entry=0x7fff3b8d8768, nfds=nfds@entry=1, timeout=timeout@entry=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
[Current thread is 1 (Thread 0x7f685548a800 (LWP 2570))]

Thread 8 (Thread 0x7f2832ffd700 (LWP 2630)):
#0  0x00007f685bfd496f in __GI___poll (fds=0x7f2814005240, nfds=1, timeout=9264) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f6857adb1ae in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6857adb2e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6859d4aeab in QEventDispatcherGlib::processEvents (this=0x7f2814000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f6859cef1bb in QEventLoop::exec (this=this@entry=0x7f2832ffcda0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f6859b0d082 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f6859b0e20c in QThreadPrivate::start (arg=0x55994e030e50) at thread/qthread_unix.cpp:342
#7  0x00007f685849a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#8  0x00007f685bfe1103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f683aba6700 (LWP 2576)):
#0  0x00007f6857b2833d in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f6857ada73a in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6857adb0db in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6857adb2e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6859d4aeab in QEventDispatcherGlib::processEvents (this=0x7f6834000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f6859cef1bb in QEventLoop::exec (this=this@entry=0x7f683aba5da0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007f6859b0d082 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f6859b0e20c in QThreadPrivate::start (arg=0x55994e0c4970) at thread/qthread_unix.cpp:342
#8  0x00007f685849a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f685bfe1103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f685095b700 (LWP 2575)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55994dd0e728) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55994dd0e6d8, cond=0x55994dd0e700) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55994dd0e700, mutex=0x55994dd0e6d8) at pthread_cond_wait.c:638
#3  0x00007f68528eb97b in cnd_wait (mtx=0x55994dd0e6d8, cond=0x55994dd0e700) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55994dee65f0) at ../src/util/u_queue.c:275
#5  0x00007f68528eb58b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f685849a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f685bfe1103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f685115c700 (LWP 2574)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55994dd0e728) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55994dd0e6d8, cond=0x55994dd0e700) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55994dd0e700, mutex=0x55994dd0e6d8) at pthread_cond_wait.c:638
#3  0x00007f68528eb97b in cnd_wait (mtx=0x55994dd0e6d8, cond=0x55994dd0e700) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55994dee65b0) at ../src/util/u_queue.c:275
#5  0x00007f68528eb58b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f685849a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f685bfe1103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f685195d700 (LWP 2573)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55994dd0e728) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55994dd0e6d8, cond=0x55994dd0e700) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55994dd0e700, mutex=0x55994dd0e6d8) at pthread_cond_wait.c:638
#3  0x00007f68528eb97b in cnd_wait (mtx=0x55994dd0e6d8, cond=0x55994dd0e700) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55994dee63b0) at ../src/util/u_queue.c:275
#5  0x00007f68528eb58b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f685849a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f685bfe1103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f685215e700 (LWP 2572)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55994dd0e728) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55994dd0e6d8, cond=0x55994dd0e700) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x55994dd0e700, mutex=0x55994dd0e6d8) at pthread_cond_wait.c:638
#3  0x00007f68528eb97b in cnd_wait (mtx=0x55994dd0e6d8, cond=0x55994dd0e700) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x55994ddbb6f0) at ../src/util/u_queue.c:275
#5  0x00007f68528eb58b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f685849a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f685bfe1103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f68546ed700 (LWP 2571)):
#0  0x00007f685bfd496f in __GI___poll (fds=0x7f684c005240, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f6857adb1ae in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6857adb2e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6859d4aeab in QEventDispatcherGlib::processEvents (this=0x7f684c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f6859cef1bb in QEventLoop::exec (this=this@entry=0x7f68546ecd70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f6859b0d082 in QThread::exec (this=this@entry=0x7f685a07cd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f6859ff9f2b in QDBusConnectionManager::run (this=0x7f685a07cd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#7  0x00007f6859b0e20c in QThreadPrivate::start (arg=0x7f685a07cd80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:342
#8  0x00007f685849a609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#9  0x00007f685bfe1103 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f685548a800 (LWP 2570)):
[KCrash Handler]
#6  0x00007f685a1c6bd9 in QAccessible::queryAccessibleInterface (object=0x7f684c007100) at accessible/qaccessible.cpp:683
#7  0x00007f685a1c76d3 in QAccessibleEvent::accessibleInterface (this=0x7fff3b8d90c0) at accessible/qaccessible.cpp:1764
#8  0x00007f685a1c7bd1 in QAccessible::updateAccessibility (event=0x7fff3b8d90c0) at accessible/qaccessible.cpp:862
#9  0x00007f685be16297 in KItemListController::startDragging (this=this@entry=0x55994e0e6320) at ./src/kitemviews/kitemlistcontroller.cpp:1212
#10 0x00007f685be16496 in KItemListController::mouseMoveEvent (this=this@entry=0x55994e0e6320, event=event@entry=0x7fff3b8d9990, transform=...) at ./src/kitemviews/kitemlistcontroller.cpp:687
#11 0x00007f685be165aa in KItemListController::processEvent (this=this@entry=0x55994e0e6320, event=event@entry=0x7fff3b8d9990, transform=...) at ./src/kitemviews/kitemlistcontroller.cpp:1045
#12 0x00007f685be25b06 in KItemListView::event (this=0x55994dcc11f0, event=0x7fff3b8d9990) at ./src/kitemviews/kitemlistview.cpp:900
#13 0x00007f685a905cc3 in QApplicationPrivate::notify_helper (this=this@entry=0x55994dad46c0, receiver=receiver@entry=0x55994dcc11f0, e=e@entry=0x7fff3b8d9990) at kernel/qapplication.cpp:3671
#14 0x00007f685a90ec70 in QApplication::notify (this=0x7fff3b8da920, receiver=0x55994dcc11f0, e=0x7fff3b8d9990) at kernel/qapplication.cpp:3417
#15 0x00007f6859cf06aa in QCoreApplication::notifyInternal2 (receiver=0x55994dcc11f0, event=0x7fff3b8d9990) at ../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#16 0x00007f685ac3aa23 in QGraphicsScenePrivate::sendEvent (this=<optimized out>, event=0x7fff3b8d9990, item=0x55994dcc1200) at graphicsview/qgraphicsscene.cpp:1254
#17 QGraphicsScenePrivate::sendEvent (this=<optimized out>, item=0x55994dcc1200, event=0x7fff3b8d9990) at graphicsview/qgraphicsscene.cpp:1234
#18 0x00007f685ac3ae67 in QGraphicsScenePrivate::sendMouseEvent (this=this@entry=0x55994df12570, mouseEvent=mouseEvent@entry=0x7fff3b8d9990) at graphicsview/qgraphicsscene.cpp:1335
#19 0x00007f685ac3feea in QGraphicsScene::mouseMoveEvent (this=<optimized out>, mouseEvent=0x7fff3b8d9990) at graphicsview/qgraphicsscene.cpp:4097
#20 0x00007f685ac4cf61 in QGraphicsScene::event (this=0x55994e1155e0, event=0x7fff3b8d9990) at graphicsview/qgraphicsscene.cpp:3429
#21 0x00007f685a905cc3 in QApplicationPrivate::notify_helper (this=this@entry=0x55994dad46c0, receiver=receiver@entry=0x55994e1155e0, e=e@entry=0x7fff3b8d9990) at kernel/qapplication.cpp:3671
#22 0x00007f685a90ec70 in QApplication::notify (this=0x7fff3b8da920, receiver=0x55994e1155e0, e=0x7fff3b8d9990) at kernel/qapplication.cpp:3417
#23 0x00007f6859cf06aa in QCoreApplication::notifyInternal2 (receiver=0x55994e1155e0, event=0x7fff3b8d9990) at ../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#24 0x00007f685ac68a42 in QGraphicsViewPrivate::mouseMoveEventHandler (this=0x55994e0fbc60, event=0x7fff3b8d9fd0) at /usr/include/c++/9/bits/atomic_base.h:413
#25 0x00007f685a948db6 in QWidget::event (this=this@entry=0x55994e2193f0, event=event@entry=0x7fff3b8d9fd0) at kernel/qwidget.cpp:8671
#26 0x00007f685a9f9062 in QFrame::event (this=0x55994e2193f0, e=0x7fff3b8d9fd0) at widgets/qframe.cpp:550
#27 0x00007f685ac6b551 in QGraphicsView::viewportEvent (this=0x55994e2193f0, event=0x7fff3b8d9fd0) at graphicsview/qgraphicsview.cpp:3014
#28 0x00007f6859cf0413 in QCoreApplicationPrivate::sendThroughObjectEventFilters (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.cpp:1187
#29 QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x55994e0bb0e0, event=event@entry=0x7fff3b8d9fd0) at kernel/qcoreapplication.cpp:1176
#30 0x00007f685a905cb2 in QApplicationPrivate::notify_helper (this=this@entry=0x55994dad46c0, receiver=receiver@entry=0x55994e0bb0e0, e=e@entry=0x7fff3b8d9fd0) at kernel/qapplication.cpp:3665
#31 0x00007f685a90eec3 in QApplication::notify (this=<optimized out>, receiver=0x55994e0bb0e0, e=0x7fff3b8d9fd0) at kernel/qapplication.cpp:3115
#32 0x00007f6859cf06aa in QCoreApplication::notifyInternal2 (receiver=0x55994e0bb0e0, event=0x7fff3b8d9fd0) at ../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#33 0x00007f685a90dfd7 in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x55994e0bb0e0, event=event@entry=0x7fff3b8d9fd0, alienWidget=alienWidget@entry=0x55994e0bb0e0, nativeWidget=0x55994db1cd20, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2603
#34 0x00007f685a963ffd in QWidgetWindow::handleMouseEvent (this=0x55994dd72f00, event=0x7fff3b8da450) at /usr/include/c++/9/bits/atomic_base.h:413
#35 0x00007f685a9674dc in QWidgetWindow::event (event=0x7fff3b8da450, this=0x55994dd72f00) at kernel/qwidgetwindow.cpp:295
#36 QWidgetWindow::event (this=0x55994dd72f00, event=0x7fff3b8da450) at kernel/qwidgetwindow.cpp:238
#37 0x00007f685a905cc3 in QApplicationPrivate::notify_helper (this=this@entry=0x55994dad46c0, receiver=receiver@entry=0x55994dd72f00, e=e@entry=0x7fff3b8da450) at kernel/qapplication.cpp:3671
#38 0x00007f685a90ec70 in QApplication::notify (this=0x7fff3b8da920, receiver=0x55994dd72f00, e=0x7fff3b8da450) at kernel/qapplication.cpp:3417
#39 0x00007f6859cf06aa in QCoreApplication::notifyInternal2 (receiver=0x55994dd72f00, event=0x7fff3b8da450) at ../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#40 0x00007f685a1fbf78 in QGuiApplicationPrivate::processMouseEvent (e=e@entry=0x55994e1ff640) at kernel/qguiapplication.cpp:2214
#41 0x00007f685a1fd5b5 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x55994e1ff640) at kernel/qguiapplication.cpp:1946
#42 0x00007f685a1d52cb in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1175
#43 0x00007f6854e3bd64 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#44 0x00007f6857adafbd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007f6857adb240 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007f6857adb2e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007f6859d4ae92 in QEventDispatcherGlib::processEvents (this=0x55994db06340, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#48 0x00007f6859cef1bb in QEventLoop::exec (this=this@entry=0x7fff3b8da7f0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#49 0x00007f6859cf7354 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#50 0x00007f685a1efd10 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#51 0x00007f685a905c39 in QApplication::exec () at kernel/qapplication.cpp:2811
#52 0x00007f685c1002af in kdemain (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:193
#53 0x00007f685bee60b3 in __libc_start_main (main=0x55994c97d060 <main>, argc=1, argv=0x7fff3b8daac8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff3b8daab8) at ../csu/libc-start.c:308
#54 0x000055994c97d09e in _start ()
[Inferior 1 (process 2570) detached]

Possible duplicates by query: bug 378500, bug 363982, bug 361535, bug 359738, bug 305931.

Reported using DrKonqi
Comment 1 Justin Zobel 2022-10-06 06:37:25 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 2 Patrick Silva 2022-10-06 13:09:49 UTC
Cannot reproduce on neon unstable.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.26.80
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Graphics Platform: Wayland