Bug 466695 - Konsole crashes after monitors are turned off and on again
Summary: Konsole crashes after monitors are turned off and on again
Status: RESOLVED DUPLICATE of bug 463475
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 22.12.2
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-03-02 07:23 UTC by Alexander Olofsson
Modified: 2023-03-02 17:04 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Olofsson 2023-03-02 07:23:04 UTC
Application: konsole (22.12.2)
 (Compiled from sources)
Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.0.19-gentoo-dist x86_64
Windowing System: Wayland
Distribution: "Gentoo Linux"
DrKonqi: 5.27.2 [KCrashBackend]

-- Information about the crash:
With a multi-monitor 2560x1440@120hz setup over DP on Wayland, turning the monitors off for the night leads to a guaranteed crash in Konsole when turning them back on again at morning.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007fc87a994edf in Konsole::TerminalDisplay::bidiMap (this=<optimized out>, screenline=screenline@entry=0x7fc8509e9010, line=..., log2line=log2line@entry=0x7ffd15275570, line2log=line2log@entry=0x7ffd15276570, shapemap=shapemap@entry=0x7ffd15274d70, vis2line=0x7ffd15277570, shaped=@0x7ffd15274bc1: true, shape=true, bidi=true) at /var/tmp/portage/kde-apps/konsole-22.12.2/work/konsole-22.12.2/src/terminalDisplay/TerminalDisplay.cpp:3224
#5  0x00007fc87a9a5cf4 in Konsole::TerminalPainter::drawContents (this=this@entry=0x5638771b71a0, image=0x7fc8509e9010, paint=..., rect=..., printerFriendly=printerFriendly@entry=false, imageSize=<optimized out>, bidiEnabled=<optimized out>, lineProperties=..., ulColorTable=<optimized out>) at /var/tmp/portage/kde-apps/konsole-22.12.2/work/konsole-22.12.2/src/terminalDisplay/TerminalPainter.cpp:280
#6  0x00007fc87a993924 in Konsole::TerminalDisplay::paintEvent (this=0x5638770312f0, pe=<optimized out>) at /var/tmp/portage/kde-apps/konsole-22.12.2/work/konsole-22.12.2/src/terminalDisplay/TerminalDisplay.cpp:707
#7  0x00007fc879fa7028 in QWidget::event (this=0x5638770312f0, event=0x7ffd152787e0) at /var/tmp/portage/dev-qt/qtwidgets-5.15.8-r2/work/qtbase-everywhere-src-5.15.8/src/widgets/kernel/qwidget.cpp:9045
#8  0x00007fc879f6344e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5638770312f0, e=0x7ffd152787e0) at /var/tmp/portage/dev-qt/qtwidgets-5.15.8-r2/work/qtbase-everywhere-src-5.15.8/src/widgets/kernel/qapplication.cpp:3640
#9  0x00007fc879483ef8 in QCoreApplication::notifyInternal2 (receiver=0x5638770312f0, event=0x7ffd152787e0) at /var/tmp/portage/dev-qt/qtcore-5.15.8-r3/work/qtbase-everywhere-src-5.15.8/src/corelib/kernel/qcoreapplication.cpp:1064
#10 0x00007fc879f9efc5 in QWidgetPrivate::sendPaintEvent (this=this@entry=0x563876f7ee60, toBePainted=...) at /var/tmp/portage/dev-qt/qtwidgets-5.15.8-r2/work/qtbase-everywhere-src-5.15.8/src/widgets/kernel/qwidget.cpp:5479
#11 0x00007fc879f9f919 in QWidgetPrivate::drawWidget (this=0x563876f7ee60, pdev=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=<optimized out>, repaintManager=<optimized out>) at /var/tmp/portage/dev-qt/qtwidgets-5.15.8-r2/work/qtbase-everywhere-src-5.15.8/src/widgets/kernel/qwidget.cpp:5429
#12 0x00007fc879fa0d71 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x5638771b7870, pdev=pdev@entry=0x563876722858, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x5638766d07a0) at /var/tmp/portage/dev-qt/qtwidgets-5.15.8-r2/work/qtbase-everywhere-src-5.15.8/src/widgets/kernel/qwidget.cpp:5610
#13 0x00007fc879f9f570 in QWidgetPrivate::drawWidget (this=0x5638771b7870, pdev=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=<optimized out>, repaintManager=<optimized out>) at /var/tmp/portage/dev-qt/qtwidgets-5.15.8-r2/work/qtbase-everywhere-src-5.15.8/src/widgets/kernel/qwidget.cpp:5470
#14 0x00007fc879fa0d71 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x5638764fa000, pdev=pdev@entry=0x563876722858, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x5638766d07a0) at /var/tmp/portage/dev-qt/qtwidgets-5.15.8-r2/work/qtbase-everywhere-src-5.15.8/src/widgets/kernel/qwidget.cpp:5610
#15 0x00007fc879f9f570 in QWidgetPrivate::drawWidget (this=0x5638764fa000, pdev=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=<optimized out>, repaintManager=<optimized out>) at /var/tmp/portage/dev-qt/qtwidgets-5.15.8-r2/work/qtbase-everywhere-src-5.15.8/src/widgets/kernel/qwidget.cpp:5470
#16 0x00007fc879fa0d71 in QWidgetPrivate::paintSiblingsRecursive (this=0x56387649b060, pdev=0x563876722858, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x5638766d07a0) at /var/tmp/portage/dev-qt/qtwidgets-5.15.8-r2/work/qtbase-everywhere-src-5.15.8/src/widgets/kernel/qwidget.cpp:5610
#17 0x00007fc879fa0ba6 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x56387649b060, pdev=pdev@entry=0x563876722858, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x5638766d07a0) at /var/tmp/portage/dev-qt/qtwidgets-5.15.8-r2/work/qtbase-everywhere-src-5.15.8/src/widgets/kernel/qwidget.cpp:5596
#18 0x00007fc879f9f570 in QWidgetPrivate::drawWidget (this=0x56387649b060, pdev=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=<optimized out>, repaintManager=<optimized out>) at /var/tmp/portage/dev-qt/qtwidgets-5.15.8-r2/work/qtbase-everywhere-src-5.15.8/src/widgets/kernel/qwidget.cpp:5470
#19 0x00007fc879fa0d71 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x56387632a3f0, pdev=pdev@entry=0x563876722858, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=..., sharedPainter=0x0, repaintManager=0x5638766d07a0) at /var/tmp/portage/dev-qt/qtwidgets-5.15.8-r2/work/qtbase-everywhere-src-5.15.8/src/widgets/kernel/qwidget.cpp:5610
#20 0x00007fc879f9f570 in QWidgetPrivate::drawWidget (this=this@entry=0x56387632a3f0, pdev=<optimized out>, rgn=..., offset=..., flags=..., flags@entry=..., sharedPainter=sharedPainter@entry=0x0, repaintManager=<optimized out>) at /var/tmp/portage/dev-qt/qtwidgets-5.15.8-r2/work/qtbase-everywhere-src-5.15.8/src/widgets/kernel/qwidget.cpp:5470
#21 0x00007fc879f74e19 in QWidgetRepaintManager::paintAndFlush (this=0x5638766d07a0) at /var/tmp/portage/dev-qt/qtwidgets-5.15.8-r2/work/qtbase-everywhere-src-5.15.8/src/widgets/kernel/qwidgetrepaintmanager.cpp:1023
#22 0x00007fc879fc0111 in QWidgetWindow::handleResizeEvent (this=0x5638763f7270, event=0x7ffd15279c50) at /var/tmp/portage/dev-qt/qtwidgets-5.15.8-r2/work/qtbase-everywhere-src-5.15.8/src/widgets/kernel/qwidgetwindow.cpp:841
#23 0x00007fc879fc3f83 in QWidgetWindow::event (this=0x5638763f7270, event=0x7ffd15279c50) at /var/tmp/portage/dev-qt/qtwidgets-5.15.8-r2/work/qtbase-everywhere-src-5.15.8/src/widgets/kernel/qwidgetwindow.cpp:322
#24 0x00007fc879f6344e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5638763f7270, e=0x7ffd15279c50) at /var/tmp/portage/dev-qt/qtwidgets-5.15.8-r2/work/qtbase-everywhere-src-5.15.8/src/widgets/kernel/qapplication.cpp:3640
#25 0x00007fc879483ef8 in QCoreApplication::notifyInternal2 (receiver=0x5638763f7270, event=0x7ffd15279c50) at /var/tmp/portage/dev-qt/qtcore-5.15.8-r3/work/qtbase-everywhere-src-5.15.8/src/corelib/kernel/qcoreapplication.cpp:1064
#26 0x00007fc879923ff7 in QGuiApplicationPrivate::processGeometryChangeEvent (e=<optimized out>) at /var/tmp/portage/dev-qt/qtgui-5.15.8-r3/work/qtbase-everywhere-src-5.15.8/src/gui/kernel/qguiapplication.cpp:2610
#27 0x00007fc8799062bb in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at /var/tmp/portage/dev-qt/qtgui-5.15.8-r3/work/qtbase-everywhere-src-5.15.8/src/gui/kernel/qwindowsysteminterface.cpp:1169
#28 0x00007fc8774ba950 in ?? () from /usr/lib64/libQt5WaylandClient.so.5
#29 0x00007fc877719dc8 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#30 0x00007fc87771a068 in ?? () from /usr/lib64/libglib-2.0.so.0
#31 0x00007fc87771a0fc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#32 0x00007fc8794d6196 in QEventDispatcherGlib::processEvents (this=0x563876260b50, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.8-r3/work/qtbase-everywhere-src-5.15.8/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#33 0x00007fc87948291b in QEventLoop::exec (this=this@entry=0x7ffd15279ed0, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtcore-5.15.8-r3/work/qtbase-everywhere-src-5.15.8/include/QtCore/../../src/corelib/global/qflags.h:69
#34 0x00007fc87948abf6 in QCoreApplication::exec () at /var/tmp/portage/dev-qt/qtcore-5.15.8-r3/work/qtbase-everywhere-src-5.15.8/include/QtCore/../../src/corelib/global/qflags.h:121
#35 0x00007fc87991bb7c in QGuiApplication::exec () at /var/tmp/portage/dev-qt/qtgui-5.15.8-r3/work/qtbase-everywhere-src-5.15.8/src/gui/kernel/qguiapplication.cpp:1870
#36 0x00007fc879f633c5 in QApplication::exec () at /var/tmp/portage/dev-qt/qtwidgets-5.15.8-r2/work/qtbase-everywhere-src-5.15.8/src/widgets/kernel/qapplication.cpp:2832
#37 0x0000563874390e5a in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-apps/konsole-22.12.2/work/konsole-22.12.2/src/main.cpp:252
[Inferior 1 (process 1516070) detached]

Reported using DrKonqi
Comment 1 Matan Ziv-Av 2023-03-02 17:04:19 UTC

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