Summary: | Dolphin crashes when closing terminal via "Close Session" | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Andreas Kohlbecker <ak> |
Component: | kpart | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | a.samirh78, andythe_great, arshad.husain1, ases, elvis.angelaccio, fella, jan-bugs, kde, kfm-devel, leadpogrommer, nate, sanderbartsantema2, sorelz.ff, wbauer1, yjcoshc |
Priority: | NOR | Keywords: | drkonqi |
Version: | 20.04.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 20.04.2 | |
Sentry Crash Report: |
Description
Andreas Kohlbecker
2020-04-28 07:08:19 UTC
*** Bug 420810 has been marked as a duplicate of this bug. *** I apologize but I can't seem to replicate this bug. I have the same KF5 version and the same distro but my Qt5 version is 5.14.2. I have a hunch that whatever it was that was causing this issue was fixed in Qt 5.14.2. FYI I have the same KF5 version but my my Qt Version is 5.13.2 on this F32 box and I can produce the same crash 99% of the time. KDE Plasma Version: 5.18.4 KDE Frameworks Version: 5.69.0 Qt Version: 5.14.1 I can also reliably crash Dolphin by right-clicking the terminal window and selecting close or hitting Ctrl-Shift-W. Hitting Ctrl-D also makes it crash. (In reply to arshad.husain1@gmail.com from comment #2) > I apologize but I can't seem to replicate this bug. I have the same KF5 > version and the same distro but my Qt5 version is 5.14.2. I have a hunch > that whatever it was that was causing this issue was fixed in Qt 5.14.2. I can reproduce it in 5.14.2, so it's not fixed. I'm currently looking into it. Valgrind log: Invalid read of size 8 ==10778== at 0x73C3881: ??? (in /usr/lib/libQt5Core.so.5.15.0) ==10778== by 0x73C43BD: QObject::disconnect(QObject const*, char const*, QObject const*, char const*) (in /usr/lib/libQt5Core.so.5.15.0) ==10778== by 0x5347CA0: KActionCollection::removeAssociatedWidget(QWidget*) (dev/kde/kxmlgui/src/kactioncollection.cpp:834) ==10778== by 0x53B24A9: KXMLGUIClient::prepareXMLUnplug(QWidget*) (dev/kde/kxmlgui/src/kxmlguiclient.cpp:796) ==10778== by 0x53B5DFD: KXMLGUIFactory::removeClient(KXMLGUIClient*) (dev/kde/kxmlgui/src/kxmlguifactory.cpp:464) ==10778== by 0x1B16A052: Konsole::SessionController::~SessionController() (in /usr/lib/libkonsoleprivate.so.20.04.0) ==10778== by 0x1B16A2A9: Konsole::SessionController::~SessionController() (in /usr/lib/libkonsoleprivate.so.20.04.0) ==10778== by 0x73C26CF: QObject::event(QEvent*) (in /usr/lib/libQt5Core.so.5.15.0) ==10778== by 0x63D7391: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.15.0) ==10778== by 0x63E05A8: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.15.0) ==10778== by 0x7395379: QCoreApplication::notifyInternal2(QObject*, QEvent*) (in /usr/lib/libQt5Core.so.5.15.0) ==10778== by 0x7397CE2: QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (in /usr/lib/libQt5Core.so.5.15.0) ==10778== Address 0x19434230 is 64 bytes inside a block of size 440 free'd ==10778== at 0x483B08B: operator delete(void*, unsigned long) (vg_replace_malloc.c:595) ==10778== by 0x73C9DF1: QObject::~QObject() (in /usr/lib/libQt5Core.so.5.15.0) ==10778== by 0x6416739: QWidget::~QWidget() (in /usr/lib/libQt5Widgets.so.5.15.0) ==10778== by 0x1B179159: Konsole::TerminalDisplay::~TerminalDisplay() (in /usr/lib/libkonsoleprivate.so.20.04.0) ==10778== by 0x73C26CF: QObject::event(QEvent*) (in /usr/lib/libQt5Core.so.5.15.0) ==10778== by 0x641AE68: QWidget::event(QEvent*) (in /usr/lib/libQt5Widgets.so.5.15.0) ==10778== by 0x63D7391: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.15.0) ==10778== by 0x63E05A8: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.15.0) ==10778== by 0x7395379: QCoreApplication::notifyInternal2(QObject*, QEvent*) (in /usr/lib/libQt5Core.so.5.15.0) ==10778== by 0x7397CE2: QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (in /usr/lib/libQt5Core.so.5.15.0) ==10778== by 0x73EF983: ??? (in /usr/lib/libQt5Core.so.5.15.0) ==10778== by 0x92396BD: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.6400.2) ==10778== Block was alloc'd at ==10778== at 0x4839DEF: operator new(unsigned long) (vg_replace_malloc.c:344) ==10778== by 0x641CA5D: QWidget::QWidget(QWidget*, QFlags<Qt::WindowType>) (in /usr/lib/libQt5Widgets.so.5.15.0) ==10778== by 0x1B17C438: Konsole::TerminalDisplay::TerminalDisplay(QWidget*) (in /usr/lib/libkonsoleprivate.so.20.04.0) ==10778== by 0x1B195098: Konsole::ViewManager::createTerminalDisplay(Konsole::Session*) (in /usr/lib/libkonsoleprivate.so.20.04.0) ==10778== by 0x1B197670: Konsole::ViewManager::createView(Konsole::Session*) (in /usr/lib/libkonsoleprivate.so.20.04.0) ==10778== by 0x1A61C6BE: ??? (in /usr/lib/qt/plugins/konsolepart.so) ==10778== by 0x1A61D18A: ??? (in /usr/lib/qt/plugins/konsolepart.so) ==10778== by 0x1A61E532: ??? (in /usr/lib/qt/plugins/konsolepart.so) ==10778== by 0x704A12D: KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) (dev/kde/kcoreaddons/src/lib/plugin/kpluginfactory.cpp:133) ==10778== by 0x4905E17: KParts::ReadOnlyPart* KPluginFactory::create<KParts::ReadOnlyPart>(QObject*, QList<QVariant> const&) (install/include/KF5/KCoreAddons/kpluginfactory.h:545) ==10778== by 0x49041E1: TerminalPanel::showEvent(QShowEvent*) (terminalpanel.cpp:151) ==10778== by 0x641AEBD: QWidget::event(QEvent*) (in /usr/lib/libQt5Widgets.so.5.15.0) moving to konsole. *** Bug 420647 has been marked as a duplicate of this bug. *** Might be related to bug 420820, could you try upgrading to KF 5.70 (KBookmarks specifically)? It's been released a couple of days ago. Still seeing the crash with frameworks 5.70, FYI Dolphin Version 20.04.0 (In reply to Ahmad Samir from comment #8) > Might be related to bug 420820, could you try upgrading to KF 5.70 > (KBookmarks specifically)? It's been released a couple of days ago. I have kbookmarks at commit 2fbb2ff9b6 and I could reproduce the crash. (In reply to Elvis Angelaccio from comment #10) > (In reply to Ahmad Samir from comment #8) > > Might be related to bug 420820, could you try upgrading to KF 5.70 > > (KBookmarks specifically)? It's been released a couple of days ago. > > I have kbookmarks at commit 2fbb2ff9b6 and I could reproduce the crash. The fix from the bug I mentioned was in commit 5603e1252251a23bca0 which was pushed to 5.70.0 tag AFAICS. https://commits.kde.org/kbookmarks/5603e1252251a23bca0f2cc48b9310d9bdfdfee7 I tested on Tumbleweed, which has recent-ish git master checkouts, I don't get a crash... but then again that issue was/is complicated. Tried again with 5603e1252251a23bca0f2cc48b9310d9bdfdfee7 applied, still crashes :( Probably related to the same underlying bug affecting Yakuake Bug #415762 Should be fixed by either https://invent.kde.org/utilities/konsole/-/commit/76f3764b47985f5fe50532d46b2e043ba8e31e4a or https://invent.kde.org/utilities/konsole/-/commit/d40e3c72f2ad9262d6028bc62bc2837067b824a0 . (In reply to Wolfgang Bauer from comment #14) > Should be fixed by either > https://invent.kde.org/utilities/konsole/-/commit/ > 76f3764b47985f5fe50532d46b2e043ba8e31e4a or > https://invent.kde.org/utilities/konsole/-/commit/ > d40e3c72f2ad9262d6028bc62bc2837067b824a0 . Mageia applied both patches and I can confirm that I can't crash neither Yakuake nor Dolphin's terminal the way I used to. THANKS! *** Bug 422767 has been marked as a duplicate of this bug. *** |