Bug 441586 - Yakuake crashes when I click the quit button
Summary: Yakuake crashes when I click the quit button
Status: RESOLVED DUPLICATE of bug 441206
Alias: None
Product: yakuake
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Eike Hein
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-08-26 20:29 UTC by Matija Skala
Modified: 2021-08-27 12:11 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matija Skala 2021-08-26 20:29:56 UTC
Application: yakuake (21.04.3)

Qt Version: 5.15.2
Frameworks Version: 5.82.0
Operating System: Linux 5.10.58-gentoo-x86_64 x86_64
Windowing System: X11
Drkonqi Version: 5.21.5
Distribution: "Gentoo Base System release 2.7"

-- Information about the crash:
What I was doing when the application crashed:
- opened yakuake
- clicked the quit button
- yakuake crashed

The konsole version I have on my system is 21.04.3-r2 and includes the following patch: https://github.com/KDE/konsole/commit/4a3cab03f5d853f4dd48531979fc3fb57dde5e2e. If I rebuild konsole without that patch, yakuake stops crashing.

The crash can be reproduced every time.

-- Backtrace:
Application: Yakuake (yakuake), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f2baa36c8da in QStackedLayout::widget(int) const () from /usr/lib64/libQt5Widgets.so.5
#5  0x00007f2b9426b40a in Konsole::TabbedViewContainer::viewSplitterAt (this=0x55efa68c9c30, index=0) at /var/tmp/portage/kde-apps/konsole-21.04.3-r2/work/konsole-21.04.3/src/widgets/ViewContainer.cpp:145
#6  0x00007f2b9426b3e8 in Konsole::TabbedViewContainer::activeViewSplitter (this=0x55efa68c9c30) at /var/tmp/portage/kde-apps/konsole-21.04.3-r2/work/konsole-21.04.3/src/widgets/ViewContainer.cpp:140
#7  0x00007f2b9426b43c in Konsole::TabbedViewContainer::currentTabViewCount (this=0x55efa68c9c30) at /var/tmp/portage/kde-apps/konsole-21.04.3-r2/work/konsole-21.04.3/src/widgets/ViewContainer.cpp:150
#8  0x00007f2b941ef70b in Konsole::ViewManager::sessionFinished (this=0x55efa69072d0) at /var/tmp/portage/kde-apps/konsole-21.04.3-r2/work/konsole-21.04.3/src/ViewManager.cpp:466
#9  0x00007f2b941f9bc4 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (Konsole::ViewManager::*)()>::call(void (Konsole::ViewManager::*)(), Konsole::ViewManager*, void**) (f=(void (Konsole::ViewManager::*)(Konsole::ViewManager * const)) 0x7f2b941ef69e <Konsole::ViewManager::sessionFinished()>, o=0x55efa69072d0, arg=0x7ffc07a33380) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152
#10 0x00007f2b941f9446 in QtPrivate::FunctionPointer<void (Konsole::ViewManager::*)()>::call<QtPrivate::List<>, void>(void (Konsole::ViewManager::*)(), Konsole::ViewManager*, void**) (f=(void (Konsole::ViewManager::*)(Konsole::ViewManager * const)) 0x7f2b941ef69e <Konsole::ViewManager::sessionFinished()>, o=0x55efa69072d0, arg=0x7ffc07a33380) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185
#11 0x00007f2b941f86bb in QtPrivate::QSlotObject<void (Konsole::ViewManager::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x55efa68cc880, r=0x55efa69072d0, a=0x7ffc07a33380, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418
#12 0x00007f2ba992eaee in ?? () from /usr/lib64/libQt5Core.so.5
#13 0x00007f2b941565a9 in Konsole::Session::finished (this=0x55efa69a8730) at src/session/konsolesession_autogen/EWIEGA46WW/moc_Session.cpp:687
#14 0x00007f2b9415f86e in Konsole::Session::done (this=0x55efa69a8730, exitCode=1, exitStatus=QProcess::CrashExit) at /var/tmp/portage/kde-apps/konsole-21.04.3-r2/work/konsole-21.04.3/src/session/Session.cpp:973
#15 0x00007f2b9416bfc7 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1>, QtPrivate::List<int, QProcess::ExitStatus>, void, void (Konsole::Session::*)(int, QProcess::ExitStatus)>::call (f=(void (Konsole::Session::*)(Konsole::Session * const, int, QProcess::ExitStatus)) 0x7f2b9415f76a <Konsole::Session::done(int, QProcess::ExitStatus)>, o=0x55efa69a8730, arg=0x7ffc07a33630) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152
#16 0x00007f2b9416afd0 in QtPrivate::FunctionPointer<void (Konsole::Session::*)(int, QProcess::ExitStatus)>::call<QtPrivate::List<int, QProcess::ExitStatus>, void> (f=(void (Konsole::Session::*)(Konsole::Session * const, int, QProcess::ExitStatus)) 0x7f2b9415f76a <Konsole::Session::done(int, QProcess::ExitStatus)>, o=0x55efa69a8730, arg=0x7ffc07a33630) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185
#17 0x00007f2b94169c25 in QtPrivate::QSlotObject<void (Konsole::Session::*)(int, QProcess::ExitStatus), QtPrivate::List<int, QProcess::ExitStatus>, void>::impl (which=1, this_=0x55efa6706700, r=0x55efa69a8730, a=0x7ffc07a33630, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418
#18 0x00007f2ba992eaee in ?? () from /usr/lib64/libQt5Core.so.5
#19 0x00007f2ba9885d5f in QProcess::finished(int, QProcess::ExitStatus) () from /usr/lib64/libQt5Core.so.5
#20 0x00007f2ba988a163 in ?? () from /usr/lib64/libQt5Core.so.5
#21 0x00007f2ba988dcf3 in ?? () from /usr/lib64/libQt5Core.so.5
#22 0x00007f2b9415ea23 in Konsole::Session::kill (this=0x55efa69a8730, signal=1) at /var/tmp/portage/kde-apps/konsole-21.04.3-r2/work/konsole-21.04.3/src/session/Session.cpp:837
#23 0x00007f2b9415f1f7 in Konsole::Session::closeInNormalWay (this=0x55efa69a8730) at /var/tmp/portage/kde-apps/konsole-21.04.3-r2/work/konsole-21.04.3/src/session/Session.cpp:885
#24 0x00007f2b9415ea58 in Konsole::Session::close (this=0x55efa69a8730) at /var/tmp/portage/kde-apps/konsole-21.04.3-r2/work/konsole-21.04.3/src/session/Session.cpp:846
#25 0x00007f2b9415c10c in Konsole::Session::removeView (this=0x55efa69a8730, widget=0x55efa6991f70) at /var/tmp/portage/kde-apps/konsole-21.04.3-r2/work/konsole-21.04.3/src/session/Session.cpp:383
#26 0x00007f2b9415c052 in Konsole::Session::viewDestroyed (this=0x55efa69a8730, view=0x55efa6991f70) at /var/tmp/portage/kde-apps/konsole-21.04.3-r2/work/konsole-21.04.3/src/session/Session.cpp:361
#27 0x00007f2b9416c5bf in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QObject*>, void, void (Konsole::Session::*)(QObject*)>::call (f=(void (Konsole::Session::*)(Konsole::Session * const, QObject *)) 0x7f2b9415c018 <Konsole::Session::viewDestroyed(QObject*)>, o=0x55efa69a8730, arg=0x7ffc07a33a70) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152
#28 0x00007f2b9416b1f8 in QtPrivate::FunctionPointer<void (Konsole::Session::*)(QObject*)>::call<QtPrivate::List<QObject*>, void> (f=(void (Konsole::Session::*)(Konsole::Session * const, QObject *)) 0x7f2b9415c018 <Konsole::Session::viewDestroyed(QObject*)>, o=0x55efa69a8730, arg=0x7ffc07a33a70) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185
#29 0x00007f2b9416a3b7 in QtPrivate::QSlotObject<void (Konsole::Session::*)(QObject*), QtPrivate::List<QObject*>, void>::impl (which=1, this_=0x55efa6712ec0, r=0x55efa69a8730, a=0x7ffc07a33a70, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418
#30 0x00007f2ba992eaee in ?? () from /usr/lib64/libQt5Core.so.5
#31 0x00007f2ba9928bbf in QObject::destroyed(QObject*) () from /usr/lib64/libQt5Core.so.5
#32 0x00007f2baa383b0b in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5
#33 0x00007f2b9424ab1c in Konsole::TerminalDisplay::~TerminalDisplay (this=0x55efa6991f70, __in_chrg=<optimized out>) at /var/tmp/portage/kde-apps/konsole-21.04.3-r2/work/konsole-21.04.3/src/terminalDisplay/TerminalDisplay.cpp:346
#34 0x00007f2b9424ab44 in Konsole::TerminalDisplay::~TerminalDisplay (this=0x55efa6991f70, __in_chrg=<optimized out>) at /var/tmp/portage/kde-apps/konsole-21.04.3-r2/work/konsole-21.04.3/src/terminalDisplay/TerminalDisplay.cpp:362
#35 0x00007f2ba99268ea in QObjectPrivate::deleteChildren() () from /usr/lib64/libQt5Core.so.5
#36 0x00007f2baa3839a6 in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5
#37 0x00007f2b941c2fa8 in Konsole::ViewSplitter::~ViewSplitter (this=0x55efa67131c0, __in_chrg=<optimized out>) at src/konsoleprivate_autogen/IMAN36LHMA/../../../../konsole-21.04.3/src/widgets/ViewSplitter.h:36
#38 0x00007f2b941c2fca in Konsole::ViewSplitter::~ViewSplitter (this=0x55efa67131c0, __in_chrg=<optimized out>) at src/konsoleprivate_autogen/IMAN36LHMA/../../../../konsole-21.04.3/src/widgets/ViewSplitter.h:36
#39 0x00007f2ba99268ea in QObjectPrivate::deleteChildren() () from /usr/lib64/libQt5Core.so.5
#40 0x00007f2baa3839a6 in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5
#41 0x00007f2baa4f9ad9 in QStackedWidget::~QStackedWidget() () from /usr/lib64/libQt5Widgets.so.5
#42 0x00007f2ba99268ea in QObjectPrivate::deleteChildren() () from /usr/lib64/libQt5Core.so.5
#43 0x00007f2baa3839a6 in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5
#44 0x00007f2b9426b375 in Konsole::TabbedViewContainer::~TabbedViewContainer (this=0x55efa68c9c30, __in_chrg=<optimized out>) at /var/tmp/portage/kde-apps/konsole-21.04.3-r2/work/konsole-21.04.3/src/widgets/ViewContainer.cpp:130
#45 0x00007f2b9426b3a6 in Konsole::TabbedViewContainer::~TabbedViewContainer (this=0x55efa68c9c30, __in_chrg=<optimized out>) at /var/tmp/portage/kde-apps/konsole-21.04.3-r2/work/konsole-21.04.3/src/widgets/ViewContainer.cpp:136
#46 0x00007f2ba99268ea in QObjectPrivate::deleteChildren() () from /usr/lib64/libQt5Core.so.5
#47 0x00007f2baa3839a6 in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5
#48 0x000055efa55972ae in Splitter::~Splitter (this=<optimized out>, __in_chrg=<optimized out>) at /var/tmp/portage/kde-apps/yakuake-21.04.3/work/yakuake-21.04.3/app/splitter.cpp:16
#49 0x000055efa55972c3 in Splitter::~Splitter (this=0x7f2b98005a60, __in_chrg=<optimized out>) at /var/tmp/portage/kde-apps/yakuake-21.04.3/work/yakuake-21.04.3/app/splitter.cpp:18
#50 0x000055efa5591eaa in Session::~Session (this=0x55efa67cb1f0, __in_chrg=<optimized out>) at /var/tmp/portage/kde-apps/yakuake-21.04.3/work/yakuake-21.04.3/app/session.cpp:33
#51 0x000055efa5591fc5 in Session::~Session (this=0x55efa67cb1f0, __in_chrg=<optimized out>) at /var/tmp/portage/kde-apps/yakuake-21.04.3/work/yakuake-21.04.3/app/session.cpp:36
#52 0x00007f2ba99268ea in QObjectPrivate::deleteChildren() () from /usr/lib64/libQt5Core.so.5
#53 0x00007f2baa3839a6 in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5
#54 0x000055efa558e52e in SessionStack::~SessionStack (this=0x55efa65795d0, __in_chrg=<optimized out>) at /var/tmp/portage/kde-apps/yakuake-21.04.3/work/yakuake-21.04.3/app/sessionstack.cpp:34
#55 0x000055efa558e559 in SessionStack::~SessionStack (this=0x55efa65795d0, __in_chrg=<optimized out>) at /var/tmp/portage/kde-apps/yakuake-21.04.3/work/yakuake-21.04.3/app/sessionstack.cpp:36
#56 0x00007f2ba99268ea in QObjectPrivate::deleteChildren() () from /usr/lib64/libQt5Core.so.5
#57 0x00007f2baa3839a6 in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5
#58 0x00007f2bab0a79e7 in KMainWindow::~KMainWindow() () from /usr/lib64/libKF5XmlGui.so.5
#59 0x000055efa557bb1e in MainWindow::~MainWindow (this=0x7ffc07a34200, __in_chrg=<optimized out>) at /var/tmp/portage/kde-apps/yakuake-21.04.3/work/yakuake-21.04.3/app/mainwindow.cpp:140
#60 0x000055efa557148a in main (argc=<optimized out>, argv=0x7ffc07a34200) at /var/tmp/portage/kde-apps/yakuake-21.04.3/work/yakuake-21.04.3/app/main.cpp:68
[Inferior 1 (process 17301) detached]

Reported using DrKonqi
Comment 1 Ahmad Samir 2021-08-27 12:11:58 UTC

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