Bug 438885

Summary: Konsole crashes when it exits
Product: [Applications] konsole Reporter: christian
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: ninjalj
Priority: NOR Keywords: drkonqi
Version: 21.04.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description christian 2021-06-18 19:21:26 UTC
Application: konsole (21.04.1)

Qt Version: 5.15.2
Frameworks Version: 5.82.0
Operating System: Linux 5.12.10-300.fc34.x86_64 x86_64
Windowing System: Wayland
Drkonqi Version: 5.21.5
Distribution: Fedora 34 (Workstation Edition)

-- Information about the crash:
- What I was doing when the application crashed:

I just upgraded from Fedora 33 -> 34. Konsole works fine during normal use, but when exiting (ctrl-c, click close button, etc), it crashes.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007ff225bb6a78 in Konsole::PlainTextDecoder::decodeLine(Konsole::Character const*, int, unsigned char) () from /lib64/libkonsoleprivate.so.21
#5  0x00007ff225b720ad in Konsole::TerminalDisplay::inputMethodQuery(Qt::InputMethodQuery) const () from /lib64/libkonsoleprivate.so.21
#6  0x00007ff225029d3c in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#7  0x00007ff224fe8e73 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#8  0x00007ff226071f48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#9  0x00007ff220be95ea in QtWaylandClient::QWaylandTextInput::updateState(QFlags<Qt::InputMethodQuery>, unsigned int) () from /lib64/libQt5WaylandClient.so.5
#10 0x00007ff22498958d in QGuiApplicationPrivate::_q_updateFocusObject(QObject*) () from /lib64/libQt5Gui.so.5
#11 0x00007ff2260a24fd in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#12 0x00007ff224997e66 in QWindow::focusObjectChanged(QObject*) () from /lib64/libQt5Gui.so.5
#13 0x00007ff225023d7b in QWidget::clearFocus() () from /lib64/libQt5Widgets.so.5
#14 0x00007ff225024e48 in QWidget::~QWidget() () from /lib64/libQt5Widgets.so.5
#15 0x00007ff225b095c5 in Konsole::TerminalColor::~TerminalColor() () from /lib64/libkonsoleprivate.so.21
#16 0x00007ff225b64353 in Konsole::TerminalDisplay::~TerminalDisplay() () from /lib64/libkonsoleprivate.so.21
#17 0x00007ff225b6454d in Konsole::TerminalDisplay::~TerminalDisplay() () from /lib64/libkonsoleprivate.so.21
#18 0x00007ff2260990c1 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#19 0x00007ff224fe8e73 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#20 0x00007ff226071f48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#21 0x00007ff226074c76 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#22 0x00007ff2260bec57 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#23 0x00007ff223d474cf in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#24 0x00007ff223d9b4e8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#25 0x00007ff223d44c03 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#26 0x00007ff2260be6f8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#27 0x00007ff2260709b2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#28 0x00007ff226078544 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#29 0x00007ff22640eabd in kdemain () from /lib64/libkdeinit5_konsole.so
#30 0x00007ff225c4bb75 in __libc_start_main () from /lib64/libc.so.6
#31 0x000055c751f3a14e in _start ()
[Inferior 1 (process 11059) detached]

Possible duplicates by query: bug 436863, bug 429973, bug 413345, bug 403101, bug 381101.

Reported using DrKonqi
Comment 1 ninjalj 2021-06-19 18:41:25 UTC

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