SUMMARY When switching from Desktop 2, to Desktop 1, Konsole Crashes, seemingly at random, but most often when the shell in the konsole is inside a distrobox STEPS TO REPRODUCE 1. Open Konsole on Desktop 2 2. run distrobox enter 3. run something that causes terminal scroll (like compiling something) 4. Press <ctrl-F1> to switch from Desktop 2, to Desktop 1 OBSERVED RESULT Konsole crashes, and generates a coredump in coredumpctl EXPECTED RESULT Konsole doesn't crash SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kalpa Desktop (openSUSE) Linux mustang 6.17.9-1-default #1 SMP PREEMPT_DYNAMIC KDE Plasma Version: 6.5.3 KDE Frameworks Version: 6.20.0 Qt Version: 6.10.1 ADDITIONAL INFORMATION Backtrace from coredumpctl/gdb #0 0x00007f70205be404 in QImage::isNull() const () from /lib64/libQt6Gui.so.6 #1 0x00007f70207b0ced in QPainter::drawImage(QRectF const&, QImage const&, QRectF const&, QFlags<Qt::ImageConversionFlag>) () from /lib64/libQt6Gui.so.6 #2 0x00007f701c532be8 in QtWaylandClient::QWaylandShmBackingStore::scroll(QRegion const&, int, int) () from /lib64/libQt6WaylandClient.so.6 #3 0x00007f70206b69f1 in QBackingStore::scroll(QRegion const&, int, int) () from /lib64/libQt6Gui.so.6 #4 0x00007f7021052383 in QWidgetRepaintManager::bltRect(QRect const&, int, int, QWidget*) () from /lib64/libQt6Widgets.so.6 #5 0x00007f7021057862 in QWidgetPrivate::scrollRect(QRect const&, int, int) () from /lib64/libQt6Widgets.so.6 #6 0x00007f702197c70f in Konsole::TerminalScrollBar::scrollImage(int, QRect const&, Konsole::Character*, int) () from /lib64/libkonsoleprivate.so.25.08.3 #7 0x00007f7021967510 in Konsole::TerminalDisplay::updateImage() () from /lib64/libkonsoleprivate.so.25.08.3 #8 0x00007f701fe35b20 in ?? () from /lib64/libQt6Core.so.6 #9 0x00007f701fe35b20 in ?? () from /lib64/libQt6Core.so.6 #10 0x00007f70218b8109 in Konsole::Emulation::showBulk() () from /lib64/libkonsoleprivate.so.25.08.3 #11 0x00007f701fe35b20 in ?? () from /lib64/libQt6Core.so.6 #12 0x00007f701fe3bfc3 in QTimer::timeout(QTimer::QPrivateSignal) () from /lib64/libQt6Core.so.6 #13 0x00007f701fe23966 in QObject::event(QEvent*) () from /lib64/libQt6Core.so.6 #14 0x00007f7020fe7a78 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt6Widgets.so.6 #15 0x00007f701fdce298 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt6Core.so.6 #16 0x00007f701ff7157c in QTimerInfoList::activateTimers() () from /lib64/libQt6Core.so.6 #17 0x00007f702008ede4 in ?? () from /lib64/libQt6Core.so.6 #18 0x00007f701cfbdb36 in ?? () from /lib64/libglib-2.0.so.0 #19 0x00007f701cfc0a28 in ?? () from /lib64/libglib-2.0.so.0 #20 0x00007f701cfc126c in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #21 0x00007f702008ca28 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6 #22 0x00007f701fddc1ab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt6Core.so.6 #23 0x00007f701fdd3183 in QCoreApplication::exec() () from /lib64/libQt6Core.so.6 #24 0x000055d2cbfacf41 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/konsole-25.08.3/src/main.cpp:260
*** This bug has been marked as a duplicate of bug 511945 ***