Bug 352702

Summary: Dolphin Right Click Crashes when selecting the Activities item
Product: [Applications] dolphin Reporter: davidsaul92426
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: ahmad19933, emmanuelpescosta099, techie.rajeev
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description davidsaul92426 2015-09-14 17:51:33 UTC
I've run dolphin from the terminal and I get the following when I reproduce the crash:

We got some errors while running 'net usershare info'
"invalid ownership on directory /var/cache/samba/msg\n"
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_41432464', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_40607104', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_41481536', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_41481536', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_41459520', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_41518048', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_41495712', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_40607104', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_41495712', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_41512672', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_41512736', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_41503808', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_41540432', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_41541536', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_41540432', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_41641440', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_41541536', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_41690640', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_41689936', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_41486176', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_41486176', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_41712288', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_41712288', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_41540432', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_41773616', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_42420560', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_42420560', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_42420240', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_42400480', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_41871024', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_42400480', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_41900240', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_41813840', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_41900944', old connection removed.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'kactivities_db_resources_41721632', old connection removed.
QThread: Destroyed while thread is still running
KCrash: Application 'dolphin' crashing...
KCrash: Attempting to start /usr/lib/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0
QSocketNotifier: Invalid socket 6 and type 'Read', disabling...
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 12 and type 'Read', disabling...
QSocketNotifier: Invalid socket 16 and type 'Read', disabling...
QSocketNotifier: Invalid socket 24 and type 'Read', disabling...
QSocketNotifier: Invalid socket 29 and type 'Read', disabling...
QSocketNotifier: Invalid socket 30 and type 'Read', disabling...

[1]+  Stopped                 dolphin

The X11 connection broke: I/O error (code 1)
XIO:  fatal IO error 9 (Bad file descriptor) on X server ":0"
      after 1083 requests (1083 known processed) with 0 events remaining.
Unable to start Dr. Konqi
[1]+  Exit 255                dolphin

Reproducible: Always

Steps to Reproduce:
1. Open Dolphin File Manager
2. Right Click a file
3. Select the Activities item

Actual Results:  
It often gets crashed

Expected Results:  
Dolphin should just display the item's submenu

The following its from the kcrash report:

Application: dolphin (15.08.0)

Qt Version: 5.5.0
Operating System: Linux 4.1.6-1-ARCH x86_64
Distribution: "Arch Linux"

-- Information about the crash:
<In detail, tell us what you were doing  when the application crashed.>

The crash can be reproduced sometimes.

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

Thread 5 (Thread 0x7f90a637f700 (LWP 11916)):
#0  0x00007f90bd4e818d in poll () from /usr/lib/libc.so.6
#1  0x00007f90b030aae2 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f90b030c757 in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3  0x00007f90a7a9aca9 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f90b76d5a9e in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007f90b2aeb4a4 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f90bd4f113d in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7f909c7ce700 (LWP 11917)):
#0  0x00007f90b2af107f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f909fa172da in ?? () from /usr/lib/xorg/modules/dri/r600_dri.so
#2  0x00007f909fa16a37 in ?? () from /usr/lib/xorg/modules/dri/r600_dri.so
#3  0x00007f90b2aeb4a4 in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f90bd4f113d in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7f909b350700 (LWP 11918)):
#0  0x00007f90bd4e818d in poll () from /usr/lib/libc.so.6
#1  0x00007f90b23b8c7c in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f90b23b8d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f90b790d25b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007f90b78b426a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f90b76d0af4 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f90b76d5a9e in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007f90b2aeb4a4 in start_thread () from /usr/lib/libpthread.so.0
#8  0x00007f90bd4f113d in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f90937fe700 (LWP 12062)):
[KCrash Handler]
#5  0x00007f90b76d3a63 in QThreadStorageData::finish(void**) () from /usr/lib/libQt5Core.so.5
#6  0x00007f90b76d4c45 in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007f90b76d5abf in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007f90b2aeb4a4 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f90bd4f113d in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f90bdb8d800 (LWP 11915)):
#0  0x00007f90b2af107f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f90b030ad39 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f90b030c497 in ?? () from /usr/lib/libxcb.so.1
#3  0x00007f90b030c5a1 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#4  0x00007f90a7aaff13 in QXcbWindow::setKeyboardGrabEnabled(bool) () from /usr/lib/libQt5XcbQpa.so.5
#5  0x00007f90b8a7bea6 in ?? () from /usr/lib/libQt5Widgets.so.5
#6  0x00007f90b8a82bd8 in QApplicationPrivate::closePopup(QWidget*) () from /usr/lib/libQt5Widgets.so.5
#7  0x00007f90b8abefef in QWidgetPrivate::hide_helper() () from /usr/lib/libQt5Widgets.so.5
#8  0x00007f90b8ac3750 in QWidget::setVisible(bool) () from /usr/lib/libQt5Widgets.so.5
#9  0x00007f90b8abf2a1 in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () from /usr/lib/libQt5Widgets.so.5
#10 0x00007f90b8c012a2 in ?? () from /usr/lib/libQt5Widgets.so.5
#11 0x00007f90b8c016f1 in QMenu::internalDelayedPopup() () from /usr/lib/libQt5Widgets.so.5
#12 0x00007f90b78e5e63 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#13 0x00007f90b8ac3c5b in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#14 0x00007f90b8c06a23 in QMenu::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#15 0x00007f90b8a8100c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#16 0x00007f90b8a864e6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#17 0x00007f90b78b689b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#18 0x00007f90b790c05d in QTimerInfoList::activateTimers() () from /usr/lib/libQt5Core.so.5
#19 0x00007f90b790c561 in ?? () from /usr/lib/libQt5Core.so.5
#20 0x00007f90b23b89fd in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#21 0x00007f90b23b8ce0 in ?? () from /usr/lib/libglib-2.0.so.0
#22 0x00007f90b23b8d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#23 0x00007f90b790d23f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#24 0x00007f90b78b426a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#25 0x00007f90b8c00e20 in QMenu::exec(QPoint const&, QAction*) () from /usr/lib/libQt5Widgets.so.5
#26 0x00007f90bd801e37 in ?? () from /usr/lib/libkdeinit5_dolphin.so
#27 0x00007f90bd803b55 in ?? () from /usr/lib/libkdeinit5_dolphin.so
#28 0x00007f90bd7f8055 in ?? () from /usr/lib/libkdeinit5_dolphin.so
#29 0x00007f90b78e4e77 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#30 0x00007f90bd1c8264 in DolphinView::requestContextMenu(QPoint const&, KFileItem const&, QUrl const&, QList<QAction*> const&) () from /usr/lib/libdolphinprivate.so.5
#31 0x00007f90bd19da4f in DolphinView::slotItemContextMenuRequested(int, QPointF const&) () from /usr/lib/libdolphinprivate.so.5
#32 0x00007f90b78e4e77 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#33 0x00007f90bd1c6716 in KItemListController::itemContextMenuRequested(int, QPointF const&) () from /usr/lib/libdolphinprivate.so.5
#34 0x00007f90bd1518dd in KItemListController::mousePressEvent(QGraphicsSceneMouseEvent*, QTransform const&) () from /usr/lib/libdolphinprivate.so.5
#35 0x00007f90bd15293c in KItemListController::processEvent(QEvent*, QTransform const&) () from /usr/lib/libdolphinprivate.so.5
#36 0x00007f90bd1665d2 in KItemListView::event(QEvent*) () from /usr/lib/libdolphinprivate.so.5
#37 0x00007f90b8a8100c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#38 0x00007f90b8a864e6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#39 0x00007f90b78b689b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#40 0x00007f90b8da5253 in ?? () from /usr/lib/libQt5Widgets.so.5
#41 0x00007f90b8da5d01 in ?? () from /usr/lib/libQt5Widgets.so.5
#42 0x00007f90b8dae476 in ?? () from /usr/lib/libQt5Widgets.so.5
#43 0x00007f90b8dae8b9 in QGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent*) () from /usr/lib/libQt5Widgets.so.5
#44 0x00007f90b8db7de0 in QGraphicsScene::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#45 0x00007f90b8a8100c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#46 0x00007f90b8a864e6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#47 0x00007f90b78b689b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#48 0x00007f90b8dd1fff in QGraphicsView::mousePressEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5
#49 0x00007f90b8ac434f in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#50 0x00007f90b8bc2f6e in QFrame::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#51 0x00007f90b8dd33f3 in QGraphicsView::viewportEvent(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#52 0x00007f90b78b668c in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#53 0x00007f90b8a80fec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#54 0x00007f90b8a86be9 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#55 0x00007f90b78b689b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#56 0x00007f90b8a85af2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQt5Widgets.so.5
#57 0x00007f90b8ade74b in ?? () from /usr/lib/libQt5Widgets.so.5
#58 0x00007f90b8ae0cfb in ?? () from /usr/lib/libQt5Widgets.so.5
#59 0x00007f90b8a8100c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#60 0x00007f90b8a864e6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#61 0x00007f90b78b689b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#62 0x00007f90b82a6c81 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5
#63 0x00007f90b82a8955 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#64 0x00007f90b828de08 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#65 0x00007f90a7acb9f0 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#66 0x00007f90b23b89fd in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#67 0x00007f90b23b8ce0 in ?? () from /usr/lib/libglib-2.0.so.0
#68 0x00007f90b23b8d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#69 0x00007f90b790d23f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#70 0x00007f90b78b426a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#71 0x00007f90b78bc20c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#72 0x00007f90bd80bda4 in kdemain () from /usr/lib/libkdeinit5_dolphin.so
#73 0x00007f90bd428610 in __libc_start_main () from /usr/lib/libc.so.6
#74 0x0000000000400779 in _start ()
Comment 1 Rajeev Bhatta 2015-09-14 19:24:58 UTC
I tried to replicate the bug, I am unable to replicate it exactly, however I do notice that Dolphin starts misbehaving when selecting the Activities Sub Menu in the right click menu. 

I am on Manjaro Linux with Kernel 4.1.6
Comment 2 Emmanuel Pescosta 2015-09-14 19:29:58 UTC
Thanks! The bug has been reported already and is fixed in KF 5.14.

*** This bug has been marked as a duplicate of bug 352207 ***
Comment 3 ahmadkruiz 2016-01-01 08:31:39 UTC
Thanks for your efforts, but I still have this bug.
Comment 4 ahmadkruiz 2016-01-01 08:32:18 UTC
(In reply to Emmanuel Pescosta from comment #2)
> Thanks! The bug has been reported already and is fixed in KF 5.14.
> 
> *** This bug has been marked as a duplicate of bug 352207 ***

Thanks for your efforts, but I still have this bug.