[konsole] [Bug 485155] New: Konsole and Konsole KPart crash when using shortcuts with Ctrl

Noah Davis bugzilla_noreply at kde.org
Sat Apr 6 23:02:25 BST 2024


https://bugs.kde.org/show_bug.cgi?id=485155

            Bug ID: 485155
           Summary: Konsole and Konsole KPart crash when using shortcuts
                    with Ctrl
    Classification: Applications
           Product: konsole
           Version: master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: noahadvs at gmail.com
  Target Milestone: ---

SUMMARY
When I use a shortcut with Ctrl, sometimes I get a crash. I can reliably get
crashes from Konsole KParts in apps with main UIs like Kate and Dolphin with
Ctrl+C, Ctrl+D and Ctrl+L. Sometimes I can get Konsole or Yakuake to crash, but
usually not. Sometimes I can get Ctrl+Shift+K to crash Konsole or Konsole
KParts, but usually not.

STEPS TO REPRODUCE
1. Open Dolphin and its terminal panel
2. Focus the terminal and press Ctrl+C to send SIGINT

OBSERVED RESULT
Dolphin crashes

EXPECTED RESULT
Konsole and apps that use Konsole KParts should never crash

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240403
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 6.1.0
Qt Version: 6.6.3
Kernel Version: 6.8.2-1-default (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 4800H with Radeon Graphics
Memory: 30.8 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: Eluktronics
Product Name: THINN-15

ADDITIONAL INFORMATION
Backtrace from doing Ctrl+C in Dolphin's terminal sidebar:

#0  0x00007fffc3d031c9 in
Konsole::FilterChain::paint(Konsole::TerminalDisplay*, QPainter&)
(this=0xef37f0, td=0xef1cc0, painter=...)
    at
/home/noah/kde/src/utilities/konsole/src/filterHotSpots/FilterChain.cpp:265
#1  0x00007fffc3d3e0f7 in Konsole::TerminalDisplay::paintEvent(QPaintEvent*)
(this=0xef1cc0, pe=<optimized out>) at
/home/noah/kde/src/utilities/konsole/src/terminalDisplay/TerminalDisplay.cpp:735
#2  0x00007ffff5c0c52d in QWidget::event(QEvent*) (this=0xef1cc0,
event=0x7fffffffcac0) at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/widgets/kernel/qwidget.cpp:9146
#3  0x00007ffff5bc1a7e in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=<optimized out>, receiver=0xef1cc0, e=0x7fffffffcac0)
    at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/widgets/kernel/qapplication.cpp:3296
#4  0x00007ffff4987998 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0xef1cc0, event=0x7fffffffcac0)
    at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/corelib/kernel/qcoreapplication.cpp:1121
#5  0x00007ffff4988029 in QCoreApplication::sendSpontaneousEvent(QObject*,
QEvent*) (receiver=<optimized out>, event=<optimized out>)
    at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/corelib/kernel/qcoreapplication.cpp:1553
#6  0x00007ffff5bfb455 in QWidgetPrivate::sendPaintEvent(QRegion const&)
(this=this at entry=0xef2170, toBePainted=...) at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/widgets/kernel/qwidget.cpp:5646
#7  0x00007ffff5bfcd99 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion
const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*,
QWidgetRepaintManager*)
    (this=0xef2170, pdev=0x1918a18, rgn=..., offset=<optimized out>, flags=...,
sharedPainter=<optimized out>, repaintManager=<optimized out>)
    at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/widgets/kernel/qwidget.cpp:5596
#8  0x00007ffff5c19278 in QWidgetRepaintManager::paintAndFlush()
(this=0xb1aa20) at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/widgets/kernel/qwidgetrepaintmanager.cpp:895
#9  0x00007ffff5c0c08f in QWidget::event(QEvent*) (this=0x80df00,
event=0x1bb0110) at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/widgets/kernel/qwidget.cpp:9310
#10 0x00007ffff7250637 in KXmlGuiWindow::event(QEvent*) (this=0x80df00,
ev=0x1bb0110) at
/home/noah/kde/src/frameworks/kxmlgui/src/kxmlguiwindow.cpp:221
#11 0x00007ffff5bc1a7e in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=<optimized out>, receiver=0x80df00, e=0x1bb0110)
    at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/widgets/kernel/qapplication.cpp:3296
#12 0x00007ffff4987998 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x80df00, event=0x1bb0110) at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/corelib/kernel/qcoreapplication.cpp:1121
#13 0x00007ffff49879d9 in QCoreApplication::sendEvent(QObject*, QEvent*)
(receiver=<optimized out>, event=<optimized out>)
    at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/corelib/kernel/qcoreapplication.cpp:1539
#14 0x00007ffff4987cf7 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (receiver=0x0, event_type=0, data=0x553980)
    at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/corelib/kernel/qcoreapplication.cpp:1901
#15 0x00007ffff4bab9a3 in postEventSourceDispatch(GSource*, GSourceFunc,
gpointer) (s=0x554950) at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/corelib/kernel/qeventdispatcher_glib.cpp:243
#16 0x00007ffff2f12710 in g_main_dispatch (context=0x7fffec000f00) at
../glib/gmain.c:3344
#17 g_main_context_dispatch_unlocked (context=context at entry=0x7fffec000f00) at
../glib/gmain.c:4152
#18 0x00007ffff2f14358 in g_main_context_iterate_unlocked
(context=context at entry=0x7fffec000f00, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at ../glib/gmain.c:4217
#19 0x00007ffff2f14a0c in g_main_context_iteration (context=0x7fffec000f00,
may_block=1) at ../glib/gmain.c:4282
#20 0x00007ffff4ba8d6c in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x55b740, flags=...)
    at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/corelib/kernel/qeventdispatcher_glib.cpp:393
#21 0x00007ffff49921ab in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fffffffd420,
flags=...) at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/corelib/global/qflags.h:34
#22 0x00007ffff498bde6 in QCoreApplication::exec() () at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/corelib/global/qflags.h:74
#23 0x00007ffff51e323c in QGuiApplication::exec() () at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/gui/kernel/qguiapplication.cpp:1925
#24 0x00007ffff5bbeeb5 in QApplication::exec() () at
/usr/src/debug/qtbase-everywhere-src-6.6.3/src/widgets/kernel/qapplication.cpp:2574
#25 0x0000000000440ed6 in main(int, char**) (argc=<optimized out>,
argv=<optimized out>) at /home/noah/kde/src/system/dolphin/src/main.cpp:259

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list