[konsole] [Bug 420695] Dolphin crashes when closing terminal via "Close Session"

Elvis Angelaccio bugzilla_noreply at kde.org
Sun May 3 17:40:28 BST 2020


https://bugs.kde.org/show_bug.cgi?id=420695

Elvis Angelaccio <elvis.angelaccio at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Product|dolphin                     |konsole
          Component|general                     |kpart
           Assignee|dolphin-bugs-null at kde.org   |konsole-devel at kde.org
                 CC|                            |elvis.angelaccio at kde.org

--- Comment #6 from Elvis Angelaccio <elvis.angelaccio at kde.org> ---
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the kfm-devel mailing list