Bug 450227 - konsole crashes after moving splitview
Summary: konsole crashes after moving splitview
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 21.12.2
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-02-14 15:37 UTC by maxmustermann1884
Modified: 2023-03-05 03:45 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot2 (33.59 KB, image/png)
2022-02-14 15:41 UTC, maxmustermann1884
Details
screenshot1 (35.17 KB, image/png)
2022-02-14 15:41 UTC, maxmustermann1884
Details

Note You need to log in before you can comment on or make changes to this bug.
Description maxmustermann1884 2022-02-14 15:37:08 UTC
Application: konsole (21.12.2)

Qt Version: 5.15.2
Frameworks Version: 5.90.0
Operating System: Linux 5.16.8-zen1-1-zen x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 5.24.0 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
open konsole, 1st splitview tiled vertically, 2nd and 3rd splitview tiled vertically (see screenshot1)
close first splitview, then move split view 3 to the right in order to get a vertical layout (screenshot2)

konsole quits immediately, no crash report is shown
if there's a running process in splitview 2 or 3, a 'confirm quit' prompt is shown, konsole quits anyway and a crash notification is shown

The crash can be reproduced every time.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault

[KCrash Handler]
#4  QObject::parent (this=<optimized out>, this=<optimized out>) at /usr/include/qt/QtCore/qobject.h:519
#5  QWidget::parentWidget (this=<optimized out>, this=<optimized out>) at /usr/include/qt/QtWidgets/qwidget.h:875
#6  Konsole::ViewSplitter::getToplevelSplitter (this=<optimized out>) at /usr/src/debug/konsole-21.12.2/src/widgets/ViewSplitter.cpp:310
#7  0x00007f029cc501d6 in Konsole::TabbedViewContainer::updateActivity (this=0x55bce9b64e10, item=<optimized out>) at /usr/src/debug/konsole-21.12.2/src/widgets/ViewContainer.cpp:580
#8  0x00007f029b9aad93 in ?? () from /usr/lib/libQt5Core.so.5
#9  0x00007f029cbcefc7 in Konsole::ViewProperties::activity (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/build/src/konsoleprivate_autogen/EWIEGA46WW/moc_ViewProperties.cpp:294
#10 0x00007f029b9aad93 in ?? () from /usr/lib/libQt5Core.so.5
#11 0x00007f029cbe1fba in Konsole::Emulation::showBulk (this=0x55bcea2a6460) at /usr/src/debug/konsole-21.12.2/src/Emulation.cpp:271
#12 0x00007f029b9aad93 in ?? () from /usr/lib/libQt5Core.so.5
#13 0x00007f029b9ad0ff in QTimer::timeout(QTimer::QPrivateSignal) () from /usr/lib/libQt5Core.so.5
#14 0x00007f029b99de06 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#15 0x00007f029c48e1a6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#16 0x00007f029b97a16a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#17 0x00007f029b9c4ca5 in QTimerInfoList::activateTimers() () from /usr/lib/libQt5Core.so.5
#18 0x00007f029b9c528a in ?? () from /usr/lib/libQt5Core.so.5
#19 0x00007f0299bb4f13 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#20 0x00007f0299c0b0d9 in ?? () from /usr/lib/libglib-2.0.so.0
#21 0x00007f0299bb2485 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#22 0x00007f029b9c544a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#23 0x00007f029b97244b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#24 0x00007f029c688106 in QDialog::exec() () from /usr/lib/libQt5Widgets.so.5
#25 0x00007f029b01c7c9 in KMessageBox::createKMessageBox(QDialog*, QDialogButtonBox*, QIcon const&, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&, QMessageBox::Icon) () from /usr/lib/libKF5WidgetsAddons.so.5
#26 0x00007f029b01cec5 in KMessageBox::createKMessageBox(QDialog*, QDialogButtonBox*, QMessageBox::Icon, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&) () from /usr/lib/libKF5WidgetsAddons.so.5
#27 0x00007f029b01e404 in ?? () from /usr/lib/libKF5WidgetsAddons.so.5
#28 0x00007f029cd1c4f1 in Konsole::MainWindow::queryClose (this=0x55bce9af6540) at /usr/src/debug/konsole-21.12.2/src/MainWindow.cpp:605
#29 0x00007f029cb04bf5 in KMainWindow::closeEvent(QCloseEvent*) () from /usr/lib/libKF5XmlGui.so.5
#30 0x00007f029c4c467d in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#31 0x00007f029cb3585e in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libKF5XmlGui.so.5
#32 0x00007f029c48e1a6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#33 0x00007f029b97a16a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#34 0x00007f029c4c2f42 in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () from /usr/lib/libQt5Widgets.so.5
#35 0x00007f029b9aad93 in ?? () from /usr/lib/libQt5Core.so.5
#36 0x00007f029b9aad93 in ?? () from /usr/lib/libQt5Core.so.5
#37 0x00007f029b9aad93 in ?? () from /usr/lib/libQt5Core.so.5
#38 0x00007f029b906bdd in QProcess::finished(int, QProcess::ExitStatus) () from /usr/lib/libQt5Core.so.5
#39 0x00007f029b9033e2 in ?? () from /usr/lib/libQt5Core.so.5
#40 0x00007f029b908005 in QProcess::waitForFinished(int) () from /usr/lib/libQt5Core.so.5
#41 0x00007f029cc58fe5 in Konsole::Session::kill (this=<optimized out>, this=<optimized out>, signal=<optimized out>) at /usr/src/debug/konsole-21.12.2/src/session/Session.cpp:828
#42 0x00007f029cc5c887 in Konsole::Session::closeInNormalWay (this=0x55bcea291a00) at /usr/src/debug/konsole-21.12.2/src/session/Session.cpp:865
#43 0x00007f029cc5ca3c in Konsole::Session::close (this=0x55bcea291a00) at /usr/src/debug/konsole-21.12.2/src/session/Session.cpp:837
#44 Konsole::Session::close (this=0x55bcea291a00) at /usr/src/debug/konsole-21.12.2/src/session/Session.cpp:834
#45 0x00007f029b9aad93 in ?? () from /usr/lib/libQt5Core.so.5
#46 0x00007f029b9aafe4 in QObject::destroyed(QObject*) () from /usr/lib/libQt5Core.so.5
#47 0x00007f029c4b0b54 in QWidget::~QWidget() () from /usr/lib/libQt5Widgets.so.5
#48 0x00007f029cc3215e in Konsole::TerminalDisplay::~TerminalDisplay (this=<optimized out>, this=<optimized out>) at /usr/src/debug/konsole-21.12.2/src/terminalDisplay/TerminalDisplay.cpp:354
#49 0x00007f029b9a0d55 in QObjectPrivate::deleteChildren() () from /usr/lib/libQt5Core.so.5
#50 0x00007f029c4b09cd in QWidget::~QWidget() () from /usr/lib/libQt5Widgets.so.5
#51 0x00007f029cbd30c6 in Konsole::ViewSplitter::~ViewSplitter (this=<optimized out>, this=<optimized out>) at /usr/src/debug/build/src/konsoleprivate_autogen/IMAN36LHMA/../../../../konsole-21.12.2/src/widgets/ViewSplitter.h:56
#52 Konsole::ViewSplitter::~ViewSplitter (this=<optimized out>, this=<optimized out>) at /usr/src/debug/build/src/konsoleprivate_autogen/IMAN36LHMA/../../../../konsole-21.12.2/src/widgets/ViewSplitter.h:56
#53 0x00007f029b99dc77 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#54 0x00007f029c5750e3 in QFrame::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#55 0x00007f029c48e1a6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#56 0x00007f029b97a16a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#57 0x00007f029b97ac69 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#58 0x00007f029b9c1548 in ?? () from /usr/lib/libQt5Core.so.5
#59 0x00007f0299bb4f13 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#60 0x00007f0299c0b0d9 in ?? () from /usr/lib/libglib-2.0.so.0
#61 0x00007f0299bb2485 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#62 0x00007f029b9c544a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#63 0x00007f029b97244b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#64 0x00007f029b97db97 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#65 0x000055bce7caabd5 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/konsole-21.12.2/src/main.cpp:242
[Inferior 1 (process 2604) detached]

Possible duplicates by query: bug 417270, bug 412173.

Reported using DrKonqi
Comment 1 maxmustermann1884 2022-02-14 15:41:06 UTC
Created attachment 146717 [details]
screenshot2
Comment 2 maxmustermann1884 2022-02-14 15:41:51 UTC
Created attachment 146718 [details]
screenshot1
Comment 3 ninjalj 2022-02-15 22:41:58 UTC
AFAICT, fixed by https://invent.kde.org/utilities/konsole/-/merge_requests/563, which is not yet in a released version.
Comment 4 Justin Zobel 2023-02-03 06:01:07 UTC
Max can you please confirm if a more recent version with the above commit has fixed the crash?
Comment 5 Bug Janitor Service 2023-02-18 03:47:08 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2023-03-05 03:45:48 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!