Bug 357712 - Dolphin sometimes crashes when right-clicking icons
Summary: Dolphin sometimes crashes when right-clicking icons
Status: RESOLVED DUPLICATE of bug 354558
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 15.08.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-01-08 21:36 UTC by Jesse Talavera-Greenberg
Modified: 2016-01-26 06:20 UTC (History)
3 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 Jesse Talavera-Greenberg 2016-01-08 21:36:26 UTC
Application: dolphin (15.08.2)

Qt Version: 5.5.1
Operating System: Linux 4.2.0-23-generic x86_64
Distribution: Ubuntu 15.10

-- Information about the crash:
- What I was doing when the application crashed:

Testing out a custom service menu.  Also crashes when I try to configure it under Configure Dolphin

- Custom settings of the application:

Custom service menu

The crash can be reproduced sometimes.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb686c3c800 (LWP 5747))]

Thread 4 (Thread 0x7fb67a63e700 (LWP 5778)):
#0  0x00007fb6995f98dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fb6903961ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb6903962fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb69466b50b in QEventDispatcherGlib::processEvents (this=0x7fb6740008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007fb69461250a in QEventLoop::exec (this=this@entry=0x7fb67a63ddc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fb69442eac4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007fb694433a6e in QThreadPrivate::start (arg=0x1d017d0) at thread/qthread_unix.cpp:331
#7  0x00007fb690acc6aa in start_thread (arg=0x7fb67a63e700) at pthread_create.c:333
#8  0x00007fb699604eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fb67962f700 (LWP 5783)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fb694434c46 in QWaitConditionPrivate::wait_relative (time=30000, this=0x1e0fed0) at thread/qwaitcondition_unix.cpp:126
#2  QWaitConditionPrivate::wait (time=30000, this=0x1e0fed0) at thread/qwaitcondition_unix.cpp:134
#3  QWaitCondition::wait (this=this@entry=0x1e10550, mutex=mutex@entry=0x1e10480, time=30000) at thread/qwaitcondition_unix.cpp:208
#4  0x00007fb6944306f3 in QThreadPoolThread::run (this=0x1e10540) at thread/qthreadpool.cpp:127
#5  0x00007fb694433a6e in QThreadPrivate::start (arg=0x1e10540) at thread/qthread_unix.cpp:331
#6  0x00007fb690acc6aa in start_thread (arg=0x7fb67962f700) at pthread_create.c:333
#7  0x00007fb699604eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fb678e2e700 (LWP 5784)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fb694434c46 in QWaitConditionPrivate::wait_relative (time=30000, this=0x213b240) at thread/qwaitcondition_unix.cpp:126
#2  QWaitConditionPrivate::wait (time=30000, this=0x213b240) at thread/qwaitcondition_unix.cpp:134
#3  QWaitCondition::wait (this=this@entry=0x1df6470, mutex=mutex@entry=0x1e10480, time=30000) at thread/qwaitcondition_unix.cpp:208
#4  0x00007fb6944306f3 in QThreadPoolThread::run (this=0x1df6460) at thread/qthreadpool.cpp:127
#5  0x00007fb694433a6e in QThreadPrivate::start (arg=0x1df6460) at thread/qthread_unix.cpp:331
#6  0x00007fb690acc6aa in start_thread (arg=0x7fb678e2e700) at pthread_create.c:333
#7  0x00007fb699604eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fb686c3c800 (LWP 5747)):
[KCrash Handler]
#6  QBasicAtomicPointer<QtSharedPointer::ExternalRefCountData>::load (this=0x6a) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:254
#7  QtSharedPointer::ExternalRefCountData::getAndRef (obj=obj@entry=0x1f81d20) at tools/qsharedpointer.cpp:1330
#8  0x00007fb6951772d5 in QWeakPointer<QObject>::QWeakPointer<QObject> (ptr=0x1f81d20, this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qsharedpointer_impl.h:696
#9  QWeakPointer<QObject>::assign<QObject> (ptr=0x1f81d20, this=0x7fb69564bb00 <qt_last_mouse_receiver>) at ../../include/QtCore/../../src/corelib/tools/qsharedpointer_impl.h:692
#10 QPointer<QWidget>::operator= (p=0x1f81d20, this=0x7fb69564bb00 <qt_last_mouse_receiver>) at ../../include/QtCore/../../src/corelib/kernel/qpointer.h:67
#11 QWidgetWindow::handleMouseEvent (this=this@entry=0x1ec6fb0, event=event@entry=0x7ffdb435ea70) at kernel/qwidgetwindow.cpp:453
#12 0x00007fb69517952b in QWidgetWindow::event (this=0x1ec6fb0, event=0x7ffdb435ea70) at kernel/qwidgetwindow.cpp:210
#13 0x00007fb6951199dc in QApplicationPrivate::notify_helper (this=this@entry=0x1751f10, receiver=receiver@entry=0x1ec6fb0, e=e@entry=0x7ffdb435ea70) at kernel/qapplication.cpp:3716
#14 0x00007fb69511eea6 in QApplication::notify (this=0x7ffdb435fe30, receiver=0x1ec6fb0, e=0x7ffdb435ea70) at kernel/qapplication.cpp:3499
#15 0x00007fb694614d7b in QCoreApplication::notifyInternal (this=0x7ffdb435fe30, receiver=receiver@entry=0x1ec6fb0, event=event@entry=0x7ffdb435ea70) at kernel/qcoreapplication.cpp:965
#16 0x00007fb694b675f1 in QCoreApplication::sendSpontaneousEvent (event=0x7ffdb435ea70, receiver=0x1ec6fb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:227
#17 QGuiApplicationPrivate::processMouseEvent (e=0x1ff1900) at kernel/qguiapplication.cpp:1792
#18 0x00007fb694b692b5 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x1ff1900) at kernel/qguiapplication.cpp:1584
#19 0x00007fb694b4d228 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:625
#20 0x00007fb6868bf0b0 in userEventSourceDispatch (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:70
#21 0x00007fb690395ff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fb690396250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fb6903962fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fb69466b4ef in QEventDispatcherGlib::processEvents (this=0x178fe90, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#25 0x00007fb69461250a in QEventLoop::exec (this=this@entry=0x7ffdb435edf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#26 0x00007fb695299bb0 in QMenu::exec (this=<optimized out>, p=..., action=action@entry=0x0) at widgets/qmenu.cpp:2307
#27 0x00007fb6952dbffe in QToolButtonPrivate::popupTimerDone (this=0x1c8f240) at widgets/qtoolbutton.cpp:780
#28 0x00007fb6946438ea in QMetaObject::activate (sender=sender@entry=0x1d021e0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3713
#29 0x00007fb6946440e7 in QMetaObject::activate (sender=sender@entry=0x1d021e0, m=m@entry=0x7fb69563c700 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3578
#30 0x00007fb6954b40b0 in QAbstractButton::pressed (this=this@entry=0x1d021e0) at .moc/moc_qabstractbutton.cpp:290
#31 0x00007fb695216bc7 in QAbstractButtonPrivate::emitPressed (this=0x1c8f240) at widgets/qabstractbutton.cpp:548
#32 0x00007fb695216d21 in QAbstractButton::mousePressEvent (this=this@entry=0x1d021e0, e=e@entry=0x7ffdb435f570) at widgets/qabstractbutton.cpp:1105
#33 0x00007fb6952dcdef in QToolButton::mousePressEvent (this=0x1d021e0, e=0x7ffdb435f570) at widgets/qtoolbutton.cpp:600
#34 0x00007fb69515ce3f in QWidget::event (this=0x1d021e0, event=event@entry=0x7ffdb435f570) at kernel/qwidget.cpp:8674
#35 0x00007fb695218ff3 in QAbstractButton::event (this=this@entry=0x1d021e0, e=e@entry=0x7ffdb435f570) at widgets/qabstractbutton.cpp:1089
#36 0x00007fb6952dd099 in QToolButton::event (this=0x1d021e0, event=0x7ffdb435f570) at widgets/qtoolbutton.cpp:970
#37 0x00007fb6951199dc in QApplicationPrivate::notify_helper (this=this@entry=0x1751f10, receiver=receiver@entry=0x1d021e0, e=e@entry=0x7ffdb435f570) at kernel/qapplication.cpp:3716
#38 0x00007fb69511f5a9 in QApplication::notify (this=<optimized out>, receiver=0x1d021e0, e=0x7ffdb435f570) at kernel/qapplication.cpp:3276
#39 0x00007fb694614d7b in QCoreApplication::notifyInternal (this=0x7ffdb435fe30, receiver=receiver@entry=0x1d021e0, event=event@entry=0x7ffdb435f570) at kernel/qcoreapplication.cpp:965
#40 0x00007fb69511e4b2 in QCoreApplication::sendSpontaneousEvent (event=0x7ffdb435f570, receiver=0x1d021e0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:227
#41 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x1d021e0, event=event@entry=0x7ffdb435f570, alienWidget=alienWidget@entry=0x1d021e0, nativeWidget=0x17a7c60, buttonDown=buttonDown@entry=0x7fb69564bb20 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2770
#42 0x00007fb695176f6b in QWidgetWindow::handleMouseEvent (this=this@entry=0x1a5ec90, event=event@entry=0x7ffdb435f980) at kernel/qwidgetwindow.cpp:555
#43 0x00007fb69517952b in QWidgetWindow::event (this=0x1a5ec90, event=0x7ffdb435f980) at kernel/qwidgetwindow.cpp:210
#44 0x00007fb6951199dc in QApplicationPrivate::notify_helper (this=this@entry=0x1751f10, receiver=receiver@entry=0x1a5ec90, e=e@entry=0x7ffdb435f980) at kernel/qapplication.cpp:3716
#45 0x00007fb69511eea6 in QApplication::notify (this=0x7ffdb435fe30, receiver=0x1a5ec90, e=0x7ffdb435f980) at kernel/qapplication.cpp:3499
#46 0x00007fb694614d7b in QCoreApplication::notifyInternal (this=0x7ffdb435fe30, receiver=receiver@entry=0x1a5ec90, event=event@entry=0x7ffdb435f980) at kernel/qcoreapplication.cpp:965
#47 0x00007fb694b675f1 in QCoreApplication::sendSpontaneousEvent (event=0x7ffdb435f980, receiver=0x1a5ec90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:227
#48 QGuiApplicationPrivate::processMouseEvent (e=0x203eb60) at kernel/qguiapplication.cpp:1792
#49 0x00007fb694b692b5 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x203eb60) at kernel/qguiapplication.cpp:1584
#50 0x00007fb694b4d228 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:625
#51 0x00007fb6868bf0b0 in userEventSourceDispatch (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:70
#52 0x00007fb690395ff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#53 0x00007fb690396250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#54 0x00007fb6903962fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#55 0x00007fb69466b4ef in QEventDispatcherGlib::processEvents (this=0x178fe90, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#56 0x00007fb69461250a in QEventLoop::exec (this=this@entry=0x7ffdb435fd00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#57 0x00007fb69461a5ec in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#58 0x00007fb694b5ed1c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1530
#59 0x00007fb695115e15 in QApplication::exec () at kernel/qapplication.cpp:2976
#60 0x00007fb6999261c4 in kdemain (argc=1, argv=<optimized out>) at ../../src/main.cpp:146
#61 0x00007fb69951ea40 in __libc_start_main (main=0x400730 <main(int, char**)>, argc=1, argv=0x7ffdb435ffb8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdb435ffa8) at libc-start.c:289
#62 0x0000000000400769 in _start ()

Reported using DrKonqi
Comment 1 John Choate 2016-01-14 01:19:19 UTC
See if doing the following in Dolphin helps:
Configure Dolphin > Services > Uncheck 'File to activity linking plugin'.

Plasmashell and dolphin have not crashed when hovering mouse in the context menu since I did that. Perhaps you are having the same issue when right-clicking on icons.
Comment 2 Frank Reininghaus 2016-01-26 06:20:26 UTC
Thanks for the bug report. This will be fixed in Dolphin 15.12.2. As a workaround, wait some time before you click "Configure Dolphin" after moving the mouse pointer there. The crash only happens if there is a submenu (like Extras or Help) open while you click.

> Testing out a custom service menu. Also crashes when I try to configure it under Configure Dolphin

You backtrace seems to be about the "Configure Dolphin" issue, so I'll mark your report as a duplicate. If you still see the context menu crash and comment 1 does not help, please file a new bug report and provide a backtrace for that crash.

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