Bug 422767

Summary: Dolphin segmentation fault when click "Close Session" in terminal panel.
Product: [Applications] dolphin Reporter: Andy Great <andythe_great>
Component: panels: terminalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kfm-devel, mail
Priority: NOR    
Version: 20.04.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andy Great 2020-06-10 18:20:01 UTC
Right click on Dolphin terminal and click Close Session will crash Dolphin.

Application: Dolphin (dolphin), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f9b585df77e in QListData::size (this=0x555c95f22f30) at ../../include/QtCore/../../src/corelib/tools/qlist.h:1032
#5  QtPrivate::indexOf<QAction*, QAction*> (from=0, u=@0x7ffdbff16718: 0x555c95f077c0, list=...) at ../../include/QtCore/../../src/corelib/tools/qlist.h:1038
#6  QList<QAction*>::indexOf (from=0, t=@0x7ffdbff16718: 0x555c95f077c0, this=0x555c95f22f30) at ../../include/QtCore/../../src/corelib/tools/qlist.h:1026
#7  QList<QAction*>::removeAll (this=0x555c95f22f30, _t=@0x7ffdbff16718: 0x555c95f077c0) at ../../include/QtCore/../../src/corelib/tools/qlist.h:936
#8  0x00007f9b58617a27 in QWidget::removeAction (this=0x555c95f051a0, action=<optimized out>) at kernel/qwidget.cpp:3169
#9  0x00007f9b5902f6e9 in KActionCollection::removeAssociatedWidget (this=0x555c95eefdb0, widget=<optimized out>) at /usr/src/debug/kxmlgui-5.70.0-1.2.x86_64/src/kactioncollection.cpp:830
#10 0x00007f9b5906308b in KXMLGUIClient::prepareXMLUnplug (this=0x555c95dd6158, w=0x555c95f051a0) at /usr/src/debug/kxmlgui-5.70.0-1.2.x86_64/src/kxmlguiclient.cpp:796
#11 0x00007f9b5906e301 in KXMLGUIFactory::removeClient (this=0x555c96287730, client=<optimized out>, client@entry=0x555c95dd6158) at /usr/src/debug/kxmlgui-5.70.0-1.2.x86_64/src/kxmlguifactory.cpp:464
#12 0x00007f9b32767096 in Konsole::SessionController::~SessionController (this=<optimized out>, this=<optimized out>) at /usr/src/debug/konsole-20.04.1-1.2.x86_64/src/SessionController.cpp:241
#13 0x00007f9b327673d9 in Konsole::SessionController::~SessionController (this=<optimized out>, this=<optimized out>) at /usr/src/debug/konsole-20.04.1-1.2.x86_64/src/SessionController.cpp:243
#14 0x00007f9b579fb7ef in QObject::event (this=0x555c95dd6130, e=0x555c96026090) at kernel/qobject.cpp:1301
#15 0x00007f9b585e10cf in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x555c95dd6130, e=0x555c96026090) at kernel/qapplication.cpp:3671
#16 0x00007f9b579cfb0a in QCoreApplication::notifyInternal2 (receiver=0x555c95dd6130, event=0x555c96026090) at ../../include/QtCore/5.15.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#17 0x00007f9b579d2531 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x555c957e2770) at kernel/qcoreapplication.cpp:1815
#18 0x00007f9b57a278c3 in postEventSourceDispatch (s=0x555c958d5d00) at kernel/qeventdispatcher_glib.cpp:277
#19 0x00007f9b558482c7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#20 0x00007f9b55848648 in ?? () from /usr/lib64/libglib-2.0.so.0
#21 0x00007f9b558486ff in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#22 0x00007f9b57a26f4f in QEventDispatcherGlib::processEvents (this=0x555c958dc660, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#23 0x00007f9b579ce4cb in QEventLoop::exec (this=this@entry=0x7ffdbff16c20, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#24 0x00007f9b579d6730 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#25 0x00007f9b59a97a0b in kdemain (argc=<optimized out>, argv=0x7ffdbff16d70) at /usr/src/debug/dolphin-20.04.1-1.2.x86_64/src/main.cpp:172
#26 0x00007f9b598a6cca in __libc_start_main () from /lib64/libc.so.6
#27 0x0000555c954dd08a in _start () at ../sysdeps/x86_64/start.S:120
[Inferior 1 (process 27973) detached]

Operating System: openSUSE Tumbleweed 20200609
KDE Plasma Version: 5.19.0
KDE Frameworks Version: 5.70.0
Qt Version: 5.15.0
Kernel Version: 5.6.14-1-default
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-3770 CPU @ 3.40GHz
Memory: 7.5 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4000
Comment 1 Julian Steinmann 2020-06-14 11:16:58 UTC
Cannot reproduce with Dolphin 20.07.70 on KDE neon Unstable Edition. Might be a Qt 5.15 bug - I'm still on 5.14.2.
Comment 2 Christoph Feck 2020-07-05 13:10:28 UTC

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