Bug 347766

Summary: Pressing Alt+F4 twice crashed dolphin
Product: [Applications] dolphin Reporter: axrkde
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description axrkde 2015-05-15 15:15:43 UTC
Application: dolphin (14.12.3)
KDE Platform Version: 4.14.6
Qt Version: 4.8.6
Operating System: Linux 3.16.7-21-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: One file was currently selected. I pressed Alt+F4 twice in succession since the first press did not seem to register. I was then taken to the crash reporting assistant. 
Dolpin was opened from Konsole using xdg-open

The crash does not seem to be reproducible.

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

Thread 2 (Thread 0x7f110165f700 (LWP 24895)):
#0  0x00007f111e9fdc3d in poll () at /lib64/libc.so.6
#1  0x00007f1115711be4 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f1115711cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f111aa380de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#4  0x00007f111aa09e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#5  0x00007f111aa0a165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#6  0x00007f111a9070bf in QThread::exec() () at /usr/lib64/libQtCore.so.4
#7  0x00007f111a9eb783 in  () at /usr/lib64/libQtCore.so.4
#8  0x00007f111a90979f in  () at /usr/lib64/libQtCore.so.4
#9  0x00007f1118dc90a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f111ea0606d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f111f0e3800 (LWP 24886)):
[KCrash Handler]
#5  0x0000000002c4d480 in  ()
#6  0x00007f111c8d8a9e in  () at /usr/lib64/libkio.so.5
#7  0x00007f111c8d8b29 in  () at /usr/lib64/libkio.so.5
#8  0x00007f111c8d53f1 in KFileItemActions::~KFileItemActions() () at /usr/lib64/libkio.so.5
#9  0x00007f111ed17b7b in  () at /usr/lib64/libkdeinit4_dolphin.so
#10 0x00007f111ed17dc2 in  () at /usr/lib64/libkdeinit4_dolphin.so
#11 0x00007f111ed0fab6 in  () at /usr/lib64/libkdeinit4_dolphin.so
#12 0x00007f111ed11db8 in  () at /usr/lib64/libkdeinit4_dolphin.so
#13 0x00007f111aa1f1fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4
#14 0x00007f111dd612d4 in DolphinView::requestContextMenu(QPoint const&, KFileItem const&, KUrl const&, QList<QAction*> const&) () at /usr/lib64/libdolphinprivate.so.4
#15 0x00007f111dd61db8 in DolphinView::slotViewContextMenuRequested(QPointF const&) () at /usr/lib64/libdolphinprivate.so.4
#16 0x00007f111dd67649 in  () at /usr/lib64/libdolphinprivate.so.4
#17 0x00007f111aa1f1fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4
#18 0x00007f111dd2d8f5 in KItemListController::viewContextMenuRequested(QPointF const&) () at /usr/lib64/libdolphinprivate.so.4
#19 0x00007f111dd2ea1c in KItemListController::mousePressEvent(QGraphicsSceneMouseEvent*, QTransform const&) () at /usr/lib64/libdolphinprivate.so.4
#20 0x00007f111dd2ce1b in KItemListController::processEvent(QEvent*, QTransform const&) () at /usr/lib64/libdolphinprivate.so.4
#21 0x00007f111dd3da32 in KItemListView::event(QEvent*) () at /usr/lib64/libdolphinprivate.so.4
#22 0x00007f111b41976c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#23 0x00007f111b41fcad in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#24 0x00007f111c131cea in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#25 0x00007f111aa0b2ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#26 0x00007f111b9e46e1 in  () at /usr/lib64/libQtGui.so.4
#27 0x00007f111b9e4b9f in  () at /usr/lib64/libQtGui.so.4
#28 0x00007f111b9f0ab6 in  () at /usr/lib64/libQtGui.so.4
#29 0x00007f111b9f0f49 in QGraphicsScene::mousePressEvent(QGraphicsSceneMouseEvent*) () at /usr/lib64/libQtGui.so.4
#30 0x00007f111b9f9d90 in QGraphicsScene::event(QEvent*) () at /usr/lib64/libQtGui.so.4
#31 0x00007f111b41976c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#32 0x00007f111b41fcad in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#33 0x00007f111c131cea in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#34 0x00007f111aa0b2ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#35 0x00007f111ba106cf in QGraphicsView::mousePressEvent(QMouseEvent*) () at /usr/lib64/libQtGui.so.4
#36 0x00007f111b468a7b in QWidget::event(QEvent*) () at /usr/lib64/libQtGui.so.4
#37 0x00007f111b8055ee in QFrame::event(QEvent*) () at /usr/lib64/libQtGui.so.4
#38 0x00007f111ba11429 in QGraphicsView::viewportEvent(QEvent*) () at /usr/lib64/libQtGui.so.4
#39 0x00007f111aa0b416 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#40 0x00007f111b41974c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#41 0x00007f111b41fdea in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#42 0x00007f111c131cea in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#43 0x00007f111aa0b2ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#44 0x00007f111b41f5e3 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib64/libQtGui.so.4
#45 0x00007f111b490c9b in  () at /usr/lib64/libQtGui.so.4
#46 0x00007f111b48f70c in QApplication::x11ProcessEvent(_XEvent*) () at /usr/lib64/libQtGui.so.4
#47 0x00007f111b4b65c2 in  () at /usr/lib64/libQtGui.so.4
#48 0x00007f1115711a04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#49 0x00007f1115711c48 in  () at /usr/lib64/libglib-2.0.so.0
#50 0x00007f1115711cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#51 0x00007f111aa380be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#52 0x00007f111b4b6676 in  () at /usr/lib64/libQtGui.so.4
#53 0x00007f111aa09e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#54 0x00007f111aa0a165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#55 0x00007f111aa0f5b9 in QCoreApplication::exec() () at /usr/lib64/libQtCore.so.4
#56 0x00007f111ed1d17e in kdemain () at /usr/lib64/libkdeinit4_dolphin.so
#57 0x00007f111e942b05 in __libc_start_main () at /lib64/libc.so.6
#58 0x000000000040075e in _start ()

Reported using DrKonqi
Comment 1 Frank Reininghaus 2015-05-15 15:22:07 UTC
Thanks for the bug report! This issue is known already. It happens if opening a context menu freezes the application for a while (which can happen for different reasons which are outside Dolphin's control), and the application is closed while that happens. Unfortunately, it's not easy to come up with a clean and reliable solution because the nested event loop that is run by the context menu complicates the program flow considerably.

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