Application: konsole (21.04.0) Qt Version: 5.15.2 Frameworks Version: 5.81.0 Operating System: Linux 5.11.16-arch1-1 x86_64 Windowing System: X11 Drkonqi Version: 5.21.4 Distribution: EndeavourOS -- Information about the crash: I pressed `ctrl-C` during a `sudo` command prompt in a newly opened second Konsole tab. The reporter is unsure if this crash is reproducible. -- Backtrace: Application: Konsole (konsole), signal: Segmentation fault [KCrash Handler] #4 0x0000560c29855da0 in () #5 0x00007fc0f590452a in QMetaObject::cast(QObject const*) const () at /usr/lib/libQt5Core.so.5 #6 0x00007fc0ee543cfa in QQuickShortcutContext::matcher(QObject*, Qt::ShortcutContext) () at /usr/lib/libQt5QuickTemplates2.so.5 #7 0x00007fc0f41bd44f in QShortcutMap::find(QKeyEvent*, int) () at /usr/lib/libQt5Gui.so.5 #8 0x00007fc0f41c0461 in QShortcutMap::nextState(QKeyEvent*) () at /usr/lib/libQt5Gui.so.5 #9 0x00007fc0f41c1797 in QShortcutMap::tryShortcut(QKeyEvent*) () at /usr/lib/libQt5Gui.so.5 #10 0x00007fc0f41692b4 in QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) () at /usr/lib/libQt5Gui.so.5 #11 0x00007fc0f418c39c in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () at /usr/lib/libQt5Gui.so.5 #12 0x00007fc0f4165bb5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5 #13 0x00007fc0ef6e019c in () at /usr/lib/libQt5XcbQpa.so.5 #14 0x00007fc0f34a402c in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0 #15 0x00007fc0f34f7b59 in () at /usr/lib/libglib-2.0.so.0 #16 0x00007fc0f34a1781 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0 #17 0x00007fc0f5954191 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #18 0x00007fc0f58f9fec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #19 0x00007fc0f59024a4 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5 #20 0x00007fc0f5c5cd50 in kdemain () at /usr/lib/libkdeinit5_konsole.so #21 0x00007fc0f549fb25 in __libc_start_main () at /usr/lib/libc.so.6 #22 0x0000560c2819405e in () [Inferior 1 (process 13775) detached] Possible duplicates by query: bug 330505. Reported using DrKonqi
Created attachment 138135 [details] New crash information added by DrKonqi konsole (21.04.0) using Qt 5.15.2 - What I was doing when the application crashed: on a remote SSH session to AWS EC2 server. Pressed 'ctrl+c' during command requiring sudo privileges. I forgot to actually use sudo, so it asked for password. -- Backtrace (Reduced): #9 0x00007fea00fcd4dc in qobject_cast<QQuickItem*> (object=0x55de68fcf1c0) at /usr/include/qt5/QtCore/qobject.h:519 #10 QQuickShortcutContext::matcher (context=<optimized out>, obj=0x55de68fcf1c0) at qquickshortcutcontext.cpp:79 #11 QQuickShortcutContext::matcher (obj=<optimized out>, context=<optimized out>) at qquickshortcutcontext.cpp:71 #12 0x00007fea06be3e7f in QShortcutEntry::correctContext (this=0x55de66731b08) at kernel/qshortcutmap.cpp:79 #13 QShortcutMap::find (this=this@entry=0x55de65840498, e=e@entry=0x7fff56f50440, ignoredModifiers=ignoredModifiers@entry=0) at kernel/qshortcutmap.cpp:457
Created attachment 141036 [details] New crash information added by DrKonqi konsole (21.04.3) using Qt 5.15.2 - What I was doing when the application crashed: I was running make and entered ctrl-c. After that, konsole crashed. I had only one tab -- Backtrace (Reduced): #4 0x00007f4de85d6aa0 in QArrayData::shared_null () at /usr/lib/libQt5Core.so.5 [...] #6 0x00007f4de058cc9d in QQuickShortcutContext::matcher(QObject*, Qt::ShortcutContext) () at /usr/lib/libQt5QuickTemplates2.so.5 #7 0x00007f4de6ceea74 in QShortcutMap::find(QKeyEvent*, int) () at /usr/lib/libQt5Gui.so.5 #8 0x00007f4de6cf1c71 in QShortcutMap::nextState(QKeyEvent*) () at /usr/lib/libQt5Gui.so.5 #9 0x00007f4de6cf2f67 in QShortcutMap::tryShortcut(QKeyEvent*) () at /usr/lib/libQt5Gui.so.5
This is an upstream bug in Qt which was fixed with https://codereview.qt-project.org/c/qt/qtdeclarative/+/371842. It will be backported to the KDE patch collection soon; see https://invent.kde.org/qt/qt/qtquickcontrols2/-/merge_requests/3 Thanks so much to Nicolas Fella for discovering this and backporting it!
*** Bug 456583 has been marked as a duplicate of this bug. ***