Bug 259089 - Dolphin crash [ KFileItemActionsPrivate::~KFileItemActionsPrivate ]
Summary: Dolphin crash [ KFileItemActionsPrivate::~KFileItemActionsPrivate ]
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 4.11.97
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: reproducible
: 272122 282049 287135 287789 302531 309331 309665 310857 315099 328638 328797 333701 347766 349693 351034 368197 368804 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-07 11:24 UTC by Daniel Lipowicz
Modified: 2020-10-24 01:34 UTC (History)
27 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (9.45 KB, text/plain)
2011-07-30 12:11 UTC, zerobaba
Details
New crash information added by DrKonqi (7.34 KB, text/plain)
2012-05-01 11:48 UTC, Thibaut Renaux
Details
New crash information added by DrKonqi (13.84 KB, text/plain)
2013-04-24 21:34 UTC, Simon Andric
Details
New crash information added by DrKonqi (28.10 KB, text/plain)
2015-05-05 23:42 UTC, Xzavier Alexander
Details
attachment-20542-0.html (1.63 KB, text/html)
2020-10-24 01:17 UTC, djcole187
Details
attachment-21021-0.html (1.39 KB, text/html)
2020-10-24 01:34 UTC, djcole187
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Lipowicz 2010-12-07 11:24:24 UTC
Application: dolphin (1.5.9)
KDE Platform Version: 4.5.80 (4.6 Beta1) (Compiled from sources)
Qt Version: 4.7.1
Operating System: Linux 2.6.37-8-generic i686
Distribution: Ubuntu natty (development branch)

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

- Unusual behavior I noticed:

Dolphin crashed when closing.....................................

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7702710 (LWP 4871))]

Thread 4 (Thread 0xb547db70 (LWP 4872)):
#0  0x01ee8264 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb547d0dc) at kernel/qeventdispatcher_glib.cpp:136
#1  0x01ee82fd in timerSourcePrepare (source=0x9c11c78, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#2  0x02575044 in g_main_context_prepare (context=<value optimized out>, priority=0xb547d14c) at /build/buildd/glib2.0-2.27.4/glib/gmain.c:2757
#3  0x02575ed3 in g_main_context_iterate (context=0x9bff578, block=1, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.27.4/glib/gmain.c:3067
#4  0x02576594 in g_main_context_iteration (context=0x9bff578, may_block=1) at /build/buildd/glib2.0-2.27.4/glib/gmain.c:3150
#5  0x01ee8aa7 in QEventDispatcherGlib::processEvents (this=0x9be2310, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0x01eba7d9 in QEventLoop::processEvents (this=0xb547d290, flags=...) at kernel/qeventloop.cpp:149
#7  0x01ebaa72 in QEventLoop::exec (this=0xb547d290, flags=...) at kernel/qeventloop.cpp:201
#8  0x01dc4be8 in QThread::exec (this=0x9be5e10) at thread/qthread.cpp:490
#9  0x01e9c71b in QInotifyFileSystemWatcherEngine::run (this=0x9be5e10) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x01dc7669 in QThreadPrivate::start (arg=0x9be5e10) at thread/qthread_unix.cpp:285
#11 0x00d40cc9 in start_thread (arg=0xb547db70) at pthread_create.c:304
#12 0x001e16be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb4c48b70 (LWP 4873)):
#0  0x00110416 in __kernel_vsyscall ()
#1  0x001d2df6 in __poll (fds=0x26aff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x0258688b in g_poll (fds=0x9be12d8, nfds=1, timeout=-1) at /build/buildd/glib2.0-2.27.4/glib/gpoll.c:132
#3  0x0257621f in g_main_context_poll (context=0x9bc34d0, block=39348320, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.27.4/glib/gmain.c:3400
#4  g_main_context_iterate (context=0x9bc34d0, block=39348320, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.27.4/glib/gmain.c:3082
#5  0x02576594 in g_main_context_iteration (context=0x9bc34d0, may_block=1) at /build/buildd/glib2.0-2.27.4/glib/gmain.c:3150
#6  0x01ee8aa7 in QEventDispatcherGlib::processEvents (this=0x9bea330, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#7  0x01eba7d9 in QEventLoop::processEvents (this=0xb4c482b0, flags=...) at kernel/qeventloop.cpp:149
#8  0x01ebaa72 in QEventLoop::exec (this=0xb4c482b0, flags=...) at kernel/qeventloop.cpp:201
#9  0x01dc4be8 in QThread::exec (this=0x9bea500) at thread/qthread.cpp:490
#10 0x069b2571 in Herqq::Upnp::HControlPointThread::run() () from /usr/lib/libHUpnp.so.0
#11 0x01dc7669 in QThreadPrivate::start (arg=0x9bea500) at thread/qthread_unix.cpp:285
#12 0x00d40cc9 in start_thread (arg=0xb4c48b70) at pthread_create.c:304
#13 0x001e16be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb30ddb70 (LWP 4876)):
#0  __i686.get_pc_thunk.bx () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/sem_post.S:170
#1  0x00d433b7 in __pthread_mutex_lock (mutex=0x9ed5444) at pthread_mutex_lock.c:47
#2  0x001eef86 in pthread_mutex_lock (mutex=0x9ed5444) at forward.c:182
#3  0x0257602e in g_main_context_poll (context=0x9ed5440, block=2027344, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.27.4/glib/gmain.c:3395
#4  g_main_context_iterate (context=0x9ed5440, block=2027344, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.27.4/glib/gmain.c:3082
#5  0x02576594 in g_main_context_iteration (context=0x9ed5440, may_block=1) at /build/buildd/glib2.0-2.27.4/glib/gmain.c:3150
#6  0x01ee8aa7 in QEventDispatcherGlib::processEvents (this=0x9e9b5d8, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#7  0x01eba7d9 in QEventLoop::processEvents (this=0xb30dd290, flags=...) at kernel/qeventloop.cpp:149
#8  0x01ebaa72 in QEventLoop::exec (this=0xb30dd290, flags=...) at kernel/qeventloop.cpp:201
#9  0x01dc4be8 in QThread::exec (this=0x9ecde08) at thread/qthread.cpp:490
#10 0x01e9c71b in QInotifyFileSystemWatcherEngine::run (this=0x9ecde08) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x01dc7669 in QThreadPrivate::start (arg=0x9ecde08) at thread/qthread_unix.cpp:285
#12 0x00d40cc9 in start_thread (arg=0xb30ddb70) at pthread_create.c:304
#13 0x001e16be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7702710 (LWP 4871)):
[KCrash Handler]
#7  0x00a43183 in qDeleteAll<QList<KAction*>::const_iterator> (this=0x9fc46f0, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:322
#8  qDeleteAll<QList<KAction*> > (this=0x9fc46f0, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:330
#9  KFileItemActionsPrivate::~KFileItemActionsPrivate (this=0x9fc46f0, __in_chrg=<value optimized out>) at ../../kio/kio/kfileitemactions.cpp:107
#10 0x00a43242 in KFileItemActionsPrivate::~KFileItemActionsPrivate (this=0x9fc46f0, __in_chrg=<value optimized out>) at ../../kio/kio/kfileitemactions.cpp:108
#11 0x00a42b84 in KFileItemActions::~KFileItemActions (this=0xbf8e83c0, __in_chrg=<value optimized out>) at ../../kio/kio/kfileitemactions.cpp:184
#12 0x00f063fc in DolphinContextMenu::openViewportContextMenu (this=0xa01b998) at ../../../../apps/dolphin/src/dolphincontextmenu.cpp:354
#13 0x00f0712e in DolphinContextMenu::open (this=0xa01b998) at ../../../../apps/dolphin/src/dolphincontextmenu.cpp:134
#14 0x00efc2fa in DolphinMainWindow::openContextMenu (this=0x9bae7a8, item=..., url=..., customActions=...) at ../../../../apps/dolphin/src/dolphinmainwindow.cpp:1253
#15 0x00eff372 in DolphinMainWindow::qt_metacall (this=0x9bae7a8, _c=QMetaObject::InvokeMetaMethod, _id=67, _a=0xbf8e8620) at ./dolphinmainwindow.moc:260
#16 0x01ec1c0a in QMetaObject::metacall (object=0x9bae7a8, cl=QMetaObject::InvokeMetaMethod, idx=113, argv=0xbf8e8620) at kernel/qmetaobject.cpp:237
#17 0x01ed19ff in QMetaObject::activate (sender=0x9d1a9a0, m=0x73576c, local_signal_index=15, argv=0xbf8e8620) at kernel/qobject.cpp:3280
#18 0x006fcdff in DolphinView::requestContextMenu (this=0x9d1a9a0, _t1=..., _t2=..., _t3=...) at ./dolphinview.moc:340
#19 0x006fcf34 in DolphinView::openContextMenu (this=0x9d1a9a0, pos=..., customActions=...) at ../../../../apps/dolphin/src/views/dolphinview.cpp:812
#20 0x00701236 in DolphinView::qt_metacall (this=0x9d1a9a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf8e87c4) at ./dolphinview.moc:214
#21 0x01ec1c0a in QMetaObject::metacall (object=0x9d1a9a0, cl=QMetaObject::InvokeMetaMethod, idx=67, argv=0xbf8e87c4) at kernel/qmetaobject.cpp:237
#22 0x01ed19ff in QMetaObject::activate (sender=0x9cbdd68, m=0x7363a4, local_signal_index=1, argv=0xbf8e87c4) at kernel/qobject.cpp:3280
#23 0x00719d49 in DolphinViewController::requestContextMenu (this=0x9cbdd68, _t1=..., _t2=...) at ./dolphinviewcontroller.moc:148
#24 0x0071a99a in DolphinViewController::triggerContextMenuRequest (this=0x9cbdd68, pos=..., customActions=...) at ../../../../apps/dolphin/src/views/dolphinviewcontroller.cpp:79
#25 0x00708c97 in DolphinIconsView::contextMenuEvent (this=0x9d31f68, event=0xbf8e90ac) at ../../../../apps/dolphin/src/views/dolphiniconsview.cpp:164
#26 0x014613f8 in QWidget::event (this=0x9d31f68, event=0xbf8e90ac) at kernel/qwidget.cpp:8367
#27 0x01850fb3 in QFrame::event (this=0x9d31f68, e=0xbf8e90ac) at widgets/qframe.cpp:557
#28 0x018df062 in QAbstractScrollArea::viewportEvent (this=0x9d31f68, e=0xbf8e90ac) at widgets/qabstractscrollarea.cpp:1043
#29 0x0197f5c7 in QAbstractItemView::viewportEvent (this=0x9d31f68, event=0xbf8e90ac) at itemviews/qabstractitemview.cpp:1619
#30 0x018e1955 in viewportEvent (this=0x9d317b0, o=0x9d31220, e=0xbf8e90ac) at widgets/qabstractscrollarea_p.h:100
#31 QAbstractScrollAreaFilter::eventFilter (this=0x9d317b0, o=0x9d31220, e=0xbf8e90ac) at widgets/qabstractscrollarea_p.h:116
#32 0x01ebb7aa in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9b11818, receiver=0x9d31220, event=0xbf8e90ac) at kernel/qcoreapplication.cpp:847
#33 0x014087f0 in QApplicationPrivate::notify_helper (this=0x9b11818, receiver=0x9d31220, e=0xbf8e90ac) at kernel/qapplication.cpp:4441
#34 0x0140d6b2 in QApplication::notify (this=0xbf8e9920, receiver=0x9d31220, e=0xbf8e90ac) at kernel/qapplication.cpp:4085
#35 0x01111d4a in KApplication::notify (this=0xbf8e9920, receiver=0x9d31220, event=0xbf8e90ac) at ../../kdeui/kernel/kapplication.cpp:311
#36 0x01ebb60b in QCoreApplication::notifyInternal (this=0xbf8e9920, receiver=0x9d31220, event=0xbf8e90ac) at kernel/qcoreapplication.cpp:732
#37 0x01491563 in sendSpontaneousEvent (this=0x9bae7a8, event=0xbf8e95ac) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#38 QETWidget::translateMouseEvent (this=0x9bae7a8, event=0xbf8e95ac) at kernel/qapplication_x11.cpp:4443
#39 0x0148f957 in QApplication::x11ProcessEvent (this=0xbf8e9920, event=0xbf8e95ac) at kernel/qapplication_x11.cpp:3564
#40 0x014bae74 in x11EventSourceDispatch (s=0x9b0f740, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#41 0x02575b18 in g_main_dispatch (context=0x9b0ea98) at /build/buildd/glib2.0-2.27.4/glib/gmain.c:2436
#42 g_main_context_dispatch (context=0x9b0ea98) at /build/buildd/glib2.0-2.27.4/glib/gmain.c:3009
#43 0x025762e0 in g_main_context_iterate (context=0x9b0ea98, block=39348320, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.27.4/glib/gmain.c:3087
#44 0x02576594 in g_main_context_iteration (context=0x9b0ea98, may_block=1) at /build/buildd/glib2.0-2.27.4/glib/gmain.c:3150
#45 0x01ee8a6c in QEventDispatcherGlib::processEvents (this=0x9b09d90, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#46 0x014baa65 in QGuiEventDispatcherGlib::processEvents (this=0x9b09d90, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x01eba7d9 in QEventLoop::processEvents (this=0xbf8e9874, flags=...) at kernel/qeventloop.cpp:149
#48 0x01ebaa72 in QEventLoop::exec (this=0xbf8e9874, flags=...) at kernel/qeventloop.cpp:201
#49 0x01ebf41c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#50 0x014066b7 in QApplication::exec () at kernel/qapplication.cpp:3719
#51 0x00f0879d in kdemain (argc=5, argv=0xbf8e9b14) at ../../../../apps/dolphin/src/main.cpp:98
#52 0x080485bb in main (argc=5, argv=0xbf8e9b14) at dolphin_dummy.cpp:3

Reported using DrKonqi
Comment 1 Dario Andres 2010-12-14 16:14:38 UTC
[Comment from a bug triager]
- Have you experienced this crash again ? 
Looking at the backtrace it seems that a context menu operation was involved
Regards
Comment 2 Frank Reininghaus 2011-05-02 20:39:49 UTC
From bug 272122 (reported for KDE 4.6.2):

-- Information about the crash:
After I installed Natty Narwhal, I searched for text in files, and had clicked
on one of the search results (an IMap message).  Nothing seemed to happen, and
I closed Dolphin.  Then I got this crash.
Comment 3 Frank Reininghaus 2011-05-02 20:40:12 UTC
*** Bug 272122 has been marked as a duplicate of this bug. ***
Comment 4 zerobaba 2011-07-30 12:11:35 UTC
Created attachment 62336 [details]
New crash information added by DrKonqi

dolphin (1.6.1) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:

Closed one of the Dolphin windows.
There were several other Dolphin windows open, one of them in the same directory - if this of any import.

-- Backtrace (Reduced):
#7  0x00007f19aa4093de in qDeleteAll<QList<KAction*>::const_iterator> (this=0x2bd8960, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:322
#8  qDeleteAll<QList<KAction*> > (this=0x2bd8960, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:330
#9  KFileItemActionsPrivate::~KFileItemActionsPrivate (this=0x2bd8960, __in_chrg=<value optimized out>) at ../../kio/kio/kfileitemactions.cpp:107
#10 0x00007f19aa409459 in KFileItemActionsPrivate::~KFileItemActionsPrivate (this=0x2bd8960, __in_chrg=<value optimized out>) at ../../kio/kio/kfileitemactions.cpp:108
#11 0x00007f19aa408e91 in KFileItemActions::~KFileItemActions (this=0x7fff2d19fae0, __in_chrg=<value optimized out>) at ../../kio/kio/kfileitemactions.cpp:184
Comment 5 Jekyll Wu 2011-11-23 03:39:50 UTC
[From bug 287135 (using KDE 4.7.2) ]

- What I was doing when the application crashed:

I had downloaded the source for kdiff3 and tried deleting the folder containing
all source files.Even after trying multiple times,it wasn't getting deleted.I
then minimized the window and saw the crash notification.
Comment 6 Jekyll Wu 2011-11-23 03:40:06 UTC
*** Bug 287135 has been marked as a duplicate of this bug. ***
Comment 7 Jekyll Wu 2011-12-04 18:25:51 UTC
*** Bug 287789 has been marked as a duplicate of this bug. ***
Comment 8 Thibaut Renaux 2012-05-01 11:48:03 UTC
Created attachment 70790 [details]
New crash information added by DrKonqi

dolphin (1.7) on KDE Platform 4.7.4 (4.7.4) using Qt 4.7.4

- What I was doing when the application crashed:

I closed Dolphin after opening a PDF file.

-- Backtrace (Reduced):
#7  0x00007f097ec92c8e in qDeleteAll<QList<KAction*>::const_iterator> (end=<optimized out>, begin=<optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:322
#8  qDeleteAll<QList<KAction*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#9  KFileItemActionsPrivate::~KFileItemActionsPrivate (this=0x1bde780, __in_chrg=<optimized out>) at ../../kio/kio/kfileitemactions.cpp:107
#10 0x00007f097ec92d39 in KFileItemActionsPrivate::~KFileItemActionsPrivate (this=0x1bde780, __in_chrg=<optimized out>) at ../../kio/kio/kfileitemactions.cpp:108
#11 0x00007f097ec92771 in KFileItemActions::~KFileItemActions (this=0x7fff98ad52b0, __in_chrg=<optimized out>) at ../../kio/kio/kfileitemactions.cpp:186
Comment 9 Jekyll Wu 2012-07-05 11:29:52 UTC
*** Bug 282049 has been marked as a duplicate of this bug. ***
Comment 10 Jekyll Wu 2012-07-05 11:30:52 UTC
*** Bug 302531 has been marked as a duplicate of this bug. ***
Comment 11 Marty Felker 2012-07-05 18:11:15 UTC
Thanks for the link.  However I am running kernel 3.5.0.-x.  Makes no 
difference to me what happens with kernel 2.6

On 07/05/2012 07:30 AM, Jekyll Wu wrote:
> https://bugs.kde.org/show_bug.cgi?id=259089
>
> Jekyll Wu <adaptee@gmail.com> changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                   CC|                            |martyfelker@gmail.com
>
> --- Comment #10 from Jekyll Wu <adaptee@gmail.com> ---
> *** Bug 302531 has been marked as a duplicate of this bug. ***
>
Comment 12 Jeroen van Meeuwen (Kolab Systems) 2012-08-24 16:19:57 UTC
Resetting assignee to default as per bug #305719
Comment 13 Frank Reininghaus 2012-10-31 21:38:05 UTC
*** Bug 309331 has been marked as a duplicate of this bug. ***
Comment 14 Jekyll Wu 2012-11-06 17:06:42 UTC
*** Bug 309665 has been marked as a duplicate of this bug. ***
Comment 15 Frank Reininghaus 2012-11-29 08:08:41 UTC
*** Bug 310857 has been marked as a duplicate of this bug. ***
Comment 16 Frank Reininghaus 2013-02-13 07:57:18 UTC
This bug is most likely not in Dolphin, but in one of the plugins that adds actions, which are performed by external applications, to the context menu.

Anyone who can reproduce this crash could help us by disabling the plugins ('Services' section of the settings dialog) one by one to find out which one is responsible for the crash. Thanks for your help!
Comment 17 Frank Reininghaus 2013-02-14 08:48:15 UTC
*** Bug 315099 has been marked as a duplicate of this bug. ***
Comment 18 Thomas Tanghus 2013-04-03 10:43:42 UTC
With Dolphin 2.2 on KDE 4.10.1 the "File to activity linking plugin" causes Dolphin to freeze and crash with similar backtrace when right-clicking in a folder.
Problem is I can't find the service menu for it in either /usr/share/kde4/services/ServiceMenus/ or ~/.kde/share/kde4/services/ServiceMenus/ but I found a similar report at http://lists.opensuse.org/opensuse-kde/2013-02/msg00077.html
Comment 19 Simon Andric 2013-04-24 21:34:57 UTC
Created attachment 79426 [details]
New crash information added by DrKonqi

dolphin (2.2) on KDE Platform 4.10.2 using Qt 4.8.4

- What I was doing when the application crashed:

hello!


dolphin crashed, and i just left it open during the night. it wasnt doing any special job ...

thank you :)
nice day

Simon

-- Backtrace (Reduced):
#8  0xb6ca0fa6 in qDeleteAll<QList<KAction*>::const_iterator> (end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#9  qDeleteAll<QList<KAction*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#10 KFileItemActionsPrivate::~KFileItemActionsPrivate (this=0x8bf2fe0, __in_chrg=<optimized out>) at ../../kio/kio/kfileitemactions.cpp:108
#11 0xb6ca1052 in KFileItemActionsPrivate::~KFileItemActionsPrivate (this=0x8bf2fe0, __in_chrg=<optimized out>) at ../../kio/kio/kfileitemactions.cpp:109
#12 0xb6c9b1d4 in KFileItemActions::~KFileItemActions (this=0xbfb094fc, __in_chrg=<optimized out>) at ../../kio/kio/kfileitemactions.cpp:187
Comment 20 Frank Reininghaus 2013-06-12 14:56:27 UTC
Still no useful information after my request in comment 12 -> I'll close this report. If anyone can reproduce the crash in KDE 4.10.4 or later will *all* "Services" disabled, please reopen this report. Thanks for your help.
Comment 21 Frank Reininghaus 2013-12-13 10:17:26 UTC
I think I know what's going on now (even though I'm still not exactly sure why it happens).

It seems that the main window and its DolphinContextMenu child are deleted inside a nested event loop in DolphinContextMenu::openViewportContextMenu(). After returning to that function, which is a member of the now deleted DolphinContextMenu, we get a crash in the destructor of the KFileItemActions instance which lives on the stack. Creating it on the heap with the DolphinContextMenu as the parent seems to fix the problem.

My way to reproduce the crash:

1. Make sure that only one Dolphin window is open.

2. In a Konsole, type

sleep 5; qdbus `qdbus | grep dolphin` /dolphin/Dolphin_1/actions/file_quit trigger

3. Right-click a file in the Dolphin window.

4. Wait until the window is closed, and the crash dialog appears.
Comment 22 Frank Reininghaus 2013-12-13 10:18:00 UTC
*** Bug 328638 has been marked as a duplicate of this bug. ***
Comment 23 Jekyll Wu 2013-12-14 14:47:12 UTC
*** Bug 328797 has been marked as a duplicate of this bug. ***
Comment 24 Frank Reininghaus 2014-04-22 06:12:16 UTC
*** Bug 333701 has been marked as a duplicate of this bug. ***
Comment 25 Xzavier Alexander 2015-05-05 23:42:48 UTC
Created attachment 92441 [details]
New crash information added by DrKonqi

dolphin (14.12.3) on KDE Platform 4.14.6 using Qt 4.8.6

- Custom settings of the application:
When using KDE Connect to transfer music files to another deviece.

-- Backtrace (Reduced):
#7  0x00007fed7caeb42e in qDeleteAll<QList<KAction*>::const_iterator> (end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#8  qDeleteAll<QList<KAction*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#9  KFileItemActionsPrivate::~KFileItemActionsPrivate (this=0x121d900, __in_chrg=<optimized out>) at ../../kio/kio/kfileitemactions.cpp:108
#10 0x00007fed7caeb50b in ~KFileItemActionsPrivate (this=0x121d900, __in_chrg=<optimized out>) at ../../kio/kio/kfileitemactions.cpp:109
#11 KFileItemActions::~KFileItemActions (this=0x7ffd640e4d90, __in_chrg=<optimized out>) at ../../kio/kio/kfileitemactions.cpp:187
Comment 26 Frank Reininghaus 2015-05-15 15:22:07 UTC
*** Bug 347766 has been marked as a duplicate of this bug. ***
Comment 27 Frank Reininghaus 2015-07-07 19:15:19 UTC
*** Bug 349693 has been marked as a duplicate of this bug. ***
Comment 28 Frank Reininghaus 2015-08-09 15:56:10 UTC
*** Bug 351034 has been marked as a duplicate of this bug. ***
Comment 29 Elvis Angelaccio 2016-12-10 17:14:59 UTC
*** Bug 368197 has been marked as a duplicate of this bug. ***
Comment 30 Elvis Angelaccio 2016-12-10 17:20:22 UTC
*** Bug 368804 has been marked as a duplicate of this bug. ***
Comment 31 Justin Zobel 2020-10-24 00:53:03 UTC
Daniel can you please confirm this is still an issue with the most recent version of Dolphin.
Comment 32 djcole187 2020-10-24 01:17:20 UTC
Created attachment 132676 [details]
attachment-20542-0.html

I have no idea!!!! I wish i had my desktop going. Though I've been living
off grid in the bush for 4 years now :D i only just found out recently that
Wayland is in use!!! Omg! Hahaha

On Sat., 24 Oct. 2020, 11:53 Justin, <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=259089
>
> Justin <justin.zobel@gmail.com> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|CONFIRMED                   |NEEDSINFO
>                  CC|                            |justin.zobel@gmail.com
>          Resolution|---                         |WAITINGFORINFO
>
> --- Comment #31 from Justin <justin.zobel@gmail.com> ---
> Daniel can you please confirm this is still an issue with the most recent
> version of Dolphin.
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
Comment 33 Justin Zobel 2020-10-24 01:31:09 UTC
Well for now I'll mark the bug as resolved, if you get your desktop going try it out again and give wayland a try!

If the issue persists with the newer version we can open a new bug report.
Comment 34 djcole187 2020-10-24 01:34:31 UTC
Created attachment 132677 [details]
attachment-21021-0.html

Legend! Love ya work!

On Sat., 24 Oct. 2020, 12:31 Justin, <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=259089
>
> Justin <justin.zobel@gmail.com> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|NEEDSINFO                   |RESOLVED
>          Resolution|WAITINGFORINFO              |FIXED
>
> --- Comment #33 from Justin <justin.zobel@gmail.com> ---
> Well for now I'll mark the bug as resolved, if you get your desktop going
> try
> it out again and give wayland a try!
>
> If the issue persists with the newer version we can open a new bug report.
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.