Bug 358104

Summary: Dolphin shuts down on right-click
Product: [Applications] dolphin Reporter: Istvan <xswan61>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: wbauer1
Priority: NOR Keywords: drkonqi
Version: 15.12.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: attachment-30456-0.html

Description Istvan 2016-01-17 01:23:25 UTC
Application: dolphin (15.12.0)

Qt Version: 5.5.1
Operating System: Linux 4.1.13-5-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
Dolphin often shuts down when I right-click on a file or directory using my laptops Synaptic touchpad.
I am running openSUSE Leap: 42.1 on a 64 bits system.
I had many tasks running, such as updating softwareas with Yast2, but this also happens in other circumstances. I did not encounter this issue running Dolphin in the super user mode.
The OpenSUSE Leap 42.1 setup is a complete new configuration so it is not updated from  the former version 13. It is based on the new KDE 5 desktop

The crash can be reproduced sometimes.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f6ad5fa77c0 (LWP 2014))]

Thread 4 (Thread 0x7f6abefd1700 (LWP 2015)):
#0  0x00007f6ad584ac1d in poll () at /lib64/libc.so.6
#1  0x00007f6ac8898422 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f6ac889a00f in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f6ac13263c9 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f6acf99532f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f6acb4480a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f6ad585304d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f6aad503700 (LWP 2016)):
#0  0x00007f6aca904d14 in g_mutex_unlock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f6aca8c2538 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f6aca8c2d80 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f6aca8c2f7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f6acfbc7d8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f6acfb6ed53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f6acf99061a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x00007f6acf99532f in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f6acb4480a4 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f6ad585304d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f6967d35700 (LWP 2028)):
[KCrash Handler]
#6  0x00007f6acf98dbf5 in QMutex::lock() () at /usr/lib64/libQt5Core.so.5
#7  0x00007f6acf994568 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f6acf995351 in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007f6acb4480a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f6ad585304d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f6ad5fa77c0 (LWP 2014)):
#0  0x00007f6acb44c05f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f6ac8898669 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f6ac8899d5f in  () at /usr/lib64/libxcb.so.1
#3  0x00007f6ac8899e72 in xcb_wait_for_reply () at /usr/lib64/libxcb.so.1
#4  0x00007f6ac13419c6 in  () at /usr/lib64/libQt5XcbQpa.so.5
#5  0x00007f6ac1341a48 in  () at /usr/lib64/libQt5XcbQpa.so.5
#6  0x00007f6ad055d498 in QCursor::pos(QScreen const*) () at /usr/lib64/libQt5Gui.so.5
#7  0x00007f6ad055d561 in QCursor::pos() () at /usr/lib64/libQt5Gui.so.5
#8  0x00007f6ad0e5a7b2 in QMenu::popup(QPoint const&, QAction*) () at /usr/lib64/libQt5Widgets.so.5
#9  0x00007f6ad0e5c4b0 in QMenu::internalDelayedPopup() () at /usr/lib64/libQt5Widgets.so.5
#10 0x00007f6acfba18bc in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#11 0x00007f6ad0d25f64 in QWidget::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#12 0x00007f6ad0e613db in QMenu::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#13 0x00007f6ad0ce5e7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#14 0x00007f6ad0ceacc8 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#15 0x00007f6acfb70e95 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#16 0x00007f6acfbc777d in QTimerInfoList::activateTimers() () at /usr/lib64/libQt5Core.so.5
#17 0x00007f6acfbc7aa1 in  () at /usr/lib64/libQt5Core.so.5
#18 0x00007f6aca8c2c84 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#19 0x00007f6aca8c2ed8 in  () at /usr/lib64/libglib-2.0.so.0
#20 0x00007f6aca8c2f7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#21 0x00007f6acfbc7d8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#22 0x00007f6acfb6ed53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#23 0x00007f6ad0e5ba20 in QMenu::exec(QPoint const&, QAction*) () at /usr/lib64/libQt5Widgets.so.5
#24 0x00007f6ad5b6cb72 in  () at /usr/lib64/libkdeinit5_dolphin.so
#25 0x00007f6ad5b6e12d in  () at /usr/lib64/libkdeinit5_dolphin.so
#26 0x00007f6ad5b64007 in  () at /usr/lib64/libkdeinit5_dolphin.so
#27 0x00007f6acfba073f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#28 0x00007f6ad552cf54 in DolphinView::requestContextMenu(QPoint const&, KFileItem const&, QUrl const&, QList<QAction*> const&) () at /usr/lib64/libdolphinprivate.so.5
#29 0x00007f6ad550b0ef in DolphinView::slotItemContextMenuRequested(int, QPointF const&) () at /usr/lib64/libdolphinprivate.so.5
#30 0x00007f6acfba073f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#31 0x00007f6ad552bda6 in KItemListController::itemContextMenuRequested(int, QPointF const&) () at /usr/lib64/libdolphinprivate.so.5
#32 0x00007f6ad54ce7d4 in KItemListController::mousePressEvent(QGraphicsSceneMouseEvent*, QTransform const&) () at /usr/lib64/libdolphinprivate.so.5
#33 0x00007f6ad54cd8eb in KItemListController::processEvent(QEvent*, QTransform const&) () at /usr/lib64/libdolphinprivate.so.5
#34 0x00007f6ad54df3b2 in KItemListView::event(QEvent*) () at /usr/lib64/libdolphinprivate.so.5
#35 0x00007f6ad0ce5e7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#36 0x00007f6ad0ceacc8 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#37 0x00007f6acfb70e95 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#38 0x00007f6ad0ff473f in  () at /usr/lib64/libQt5Widgets.so.5
#39 0x00007f6ad0ff4b25 in  () at /usr/lib64/libQt5Widgets.so.5
#40 0x00007f6ad0ffda52 in  () at /usr/lib64/libQt5Widgets.so.5
#41 0x00007f6ad0ffde99 in QGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent*) () at /usr/lib64/libQt5Widgets.so.5
#42 0x00007f6ad10072e0 in QGraphicsScene::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#43 0x00007f6ad0ce5e7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#44 0x00007f6ad0ceacc8 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#45 0x00007f6acfb70e95 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#46 0x00007f6ad1020f27 in QGraphicsView::mousePressEvent(QMouseEvent*) () at /usr/lib64/libQt5Widgets.so.5
#47 0x00007f6ad0d263ba in QWidget::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#48 0x00007f6ad0e2043e in QFrame::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#49 0x00007f6ad1022b53 in QGraphicsView::viewportEvent(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#50 0x00007f6acfb710d3 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#51 0x00007f6ad0ce5e5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#52 0x00007f6ad0ceb2cb in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#53 0x00007f6acfb70e95 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#54 0x00007f6ad0cea191 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib64/libQt5Widgets.so.5
#55 0x00007f6ad0d3f13b in  () at /usr/lib64/libQt5Widgets.so.5
#56 0x00007f6ad0d41353 in  () at /usr/lib64/libQt5Widgets.so.5
#57 0x00007f6ad0ce5e7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#58 0x00007f6ad0ceacc8 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#59 0x00007f6acfb70e95 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#60 0x00007f6ad0553804 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib64/libQt5Gui.so.5
#61 0x00007f6ad0555015 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib64/libQt5Gui.so.5
#62 0x00007f6ad053a118 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Gui.so.5
#63 0x00007f6ac1351200 in  () at /usr/lib64/libQt5XcbQpa.so.5
#64 0x00007f6aca8c2c84 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#65 0x00007f6aca8c2ed8 in  () at /usr/lib64/libglib-2.0.so.0
#66 0x00007f6aca8c2f7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#67 0x00007f6acfbc7d6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#68 0x00007f6acfb6ed53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#69 0x00007f6acfb768f6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#70 0x00007f6ad5b755f1 in kdemain () at /usr/lib64/libkdeinit5_dolphin.so
#71 0x00007f6ad578fb05 in __libc_start_main () at /lib64/libc.so.6
#72 0x00000000004007ee in _start ()

Reported using DrKonqi
Comment 1 Wolfgang Bauer 2016-02-23 10:50:13 UTC
Probably related to bug#351485. It should only happen if you move the mouse pointer over the "Activities" context menu entry, right?

Is this still reproducible?
We released an update for Leap 42.1 that should fix that crash meanwhile.
Comment 2 Istvan 2016-02-25 08:05:33 UTC
Created attachment 97550 [details]
attachment-30456-0.html

Hello.
I am not sure about the mouse pointer moving over the "Activies" context
menu causing the issue. It happend most often on a "right click" on a file
or directory, but also in other no more reproductible cases.
Since the recent Leap update, Dolphin is running real fine.
Thanks for this bug fix.
Le 23 févr. 2016 11:50, "Wolfgang Bauer via KDE Bugzilla" <
bugzilla_noreply@kde.org> a écrit :

> https://bugs.kde.org/show_bug.cgi?id=358104
>
> Wolfgang Bauer <wbauer@tmo.at> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |wbauer@tmo.at
>
> --- Comment #1 from Wolfgang Bauer <wbauer@tmo.at> ---
> Probably related to bug#351485. It should only happen if you move the mouse
> pointer over the "Activities" context menu entry, right?
>
> Is this still reproducible?
> We released an update for Leap 42.1 that should fix that crash meanwhile.
>
> --
> You are receiving this mail because:
> You reported the bug.
>
Comment 3 Wolfgang Bauer 2016-02-25 21:17:56 UTC
(In reply to Istvan from comment #2)
> I am not sure about the mouse pointer moving over the "Activies" context
> menu causing the issue. It happend most often on a "right click" on a file
> or directory,

There is an entry named "Activities" in the menu that opens when you right-click on a file or directory. If you move the mouse over it, it could cause dolphin to crash.

> but also in other no more reproductible cases.

Probably different problems. I know of two particular other crashes that got fixed as well in the last weeks.

> Since the recent Leap update, Dolphin is running real fine.

Ok, so at least your problems are fixed.
I will mark this as duplicate, as I think this was the most likely reason for the reported problem.
And the backtrace does look exactly like the one in bug#358379 e.g. (another duplicate of bug#351485)

*** This bug has been marked as a duplicate of bug 351485 ***