SUMMARY I could reproduce a crash just opening VIM and resizing the window dragging the bottom-right corner to make the window really small, then going big again Only seems to happen in fast motions, going slowly doesnt crash STEPS TO REPRODUCE 1. Open konsole 2. run vim/micro 3. Drag the botton-right corner to make the window as small as possible, then drag it to make it as big as possible, doing fast repetitions (going slowly doesnt crash to me) OBSERVED RESULT Core was generated by `konsole'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007ff460b33b84 in ?? () from /usr/lib/libkonsoleprivate.so.21 [Current thread is 1 (Thread 0x7ff45b27d840 (LWP 60028))] (gdb) bt #0 0x00007ff460b33b84 in ?? () from /usr/lib/libkonsoleprivate.so.21 #1 0x00007ff460b328d4 in Konsole::Screen::displayCharacter(unsigned int) () from /usr/lib/libkonsoleprivate.so.21 #2 0x00007ff460b47743 in ?? () from /usr/lib/libkonsoleprivate.so.21 #3 0x00007ff460b21a1a in Konsole::Emulation::receiveData(char const*, int) () from /usr/lib/libkonsoleprivate.so.21 #4 0x00007ff4610f59e6 in ?? () from /usr/lib/libQt5Core.so.5 #5 0x00007ff460b131be in Konsole::Pty::receivedData(char const*, int) () from /usr/lib/libkonsoleprivate.so.21 #6 0x00007ff460b29ed7 in Konsole::Pty::dataReceived() () from /usr/lib/libkonsoleprivate.so.21 #7 0x00007ff4610f59e6 in ?? () from /usr/lib/libQt5Core.so.5 #8 0x00007ff45eb7613d in ?? () from /usr/lib/libKF5Pty.so.5 #9 0x00007ff45eb76ae9 in ?? () from /usr/lib/libKF5Pty.so.5 #10 0x00007ff4610f5a20 in ?? () from /usr/lib/libQt5Core.so.5 #11 0x00007ff4610f8fe5 in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) () from /usr/lib/libQt5Core.so.5 #12 0x00007ff4610f9798 in QSocketNotifier::event(QEvent*) () from /usr/lib/libQt5Core.so.5 #13 0x00007ff460044762 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #14 0x00007ff4610be68a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #15 0x00007ff461117da6 in ?? () from /usr/lib/libQt5Core.so.5 #16 0x00007ff45ec6702c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #17 0x00007ff45ecbab59 in ?? () from /usr/lib/libglib-2.0.so.0 #18 0x00007ff45ec64781 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #19 0x00007ff461117191 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #20 0x00007ff4610bcfec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #21 0x00007ff4610c54a4 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5 #22 0x00007ff46141fd50 in kdemain () from /usr/lib/libkdeinit5_konsole.so #23 0x00007ff460c62b25 in __libc_start_main () from /usr/lib/libc.so.6 #24 0x0000555b41d0d05e in ?? () (gdb) SOFTWARE/OS VERSIONS KDE Frameworks Version: 5.81 Qt Version: 5.12.2 ADDITIONAL INFORMATION I'm using dwm without a DE, just in case this relevant for the resizing window stuff
Probably related to this fix. https://invent.kde.org/utilities/konsole/-/merge_requests/390
This seems to be pretty bad as it is very easy to trigger, all you need it to produce lots of output in the alternate screen: (for instance by using this oneliner) echo -e "\e[?1049h"; yes and it will be impossible to reduce the window size diagonally without inducing a crash. Crashes happen on when the vertical size changes, although they happen faster if resizing diagonally.
Okay this gets even worse. If you start the same command and only open a new tab it will also crash in in 50% of cases from what I've seen. Same for zooming. This also means bug 436916 is a duplicate as it triggers under the exact same conditions. Operating System: Arch Linux KDE Plasma Version: 5.21.5 KDE Frameworks Version: 5.82.0 Qt Version: 5.15.2 Kernel Version: 5.12.2-arch1-1 OS Type: 64-bit Graphics Platform: X11 Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor Memory: 31.3 GiB of RAM Graphics Processor: AMD Radeon ™ RX 480 Graphics
I had this bug but installed konsole-git and at least as of 110d705f it's fixed.
*** Bug 436916 has been marked as a duplicate of this bug. ***
(In reply to Magnus Boman from comment #4) > I had this bug but installed konsole-git and at least as of 110d705f it's > fixed. I installed konsole-git from AUR and although vim no longer crashes when resizing (for me vim never crashed from zooming), Amp still crashes when zooming in or resizing.
*** Bug 435439 has been marked as a duplicate of this bug. ***