[konsole] [Bug 477822] New: Console crash (maybe rendering or AMD related?)

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Fri Dec 1 09:10:14 GMT 2023


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

            Bug ID: 477822
           Summary: Console crash (maybe rendering or AMD related?)
    Classification: Applications
           Product: konsole
           Version: 23.08.3
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: bugs.kde.org at agowa.eu
  Target Milestone: ---

Application: konsole (23.08.3)

Qt Version: 5.15.11
Frameworks Version: 5.112.0
Operating System: Linux 6.6.1-arch1-1 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 5.27.9 [KCrashBackend]

-- Information about the crash:
KDE Konsole crashes ocassionally. I have observed also tabs in chromium
browsers crashing, that issue is currently unresolved as I do not have the
debug symbols for it and the error is non specific (SIGINT and SIGSEG) in
optimized code. I currently suspect it may be related to intel or nvidia
specific instructions being tried to be called on my amd system (AMD CPU
without iGPU and AMD GPU), as thouse errors mostly occure for video streaming
or when pages load/refresh. Also I could observe some glitches in page
rendering which would also fit. However thouse creashes were lessoned when in
debug mode which could also point to something more neverious like a
compiler/linker optimization issue, however that's currently just speculation.

For this crash however if it is not related to rendering it is almost certainly
unrelated to the above issue. Because of the above issue however I can also
rule out many/most hardware defects. Like memory tests were ok, cpu stresstests
were ok, storage was reduced and now only has a single NVME (which also was ok
when last tested).

The last thing I did within Konsole before it crashed was having an interactive
pwsh started and reading some of its Get-Help entries. But even if pwsh would
have crashed, it wouldn't have crashed Konsole, so that's probably unrelated to
this issue.

I also should note that I've seen console crash occassionally in the past few
weeks too, I couldn't pinpoint anything specific though. But it only happened
once or twice, so I ignored it for the most part. However now that it crashed
again I wanted to take the time to create a bugtracker account and submit the
details about the crash as it probably is not just a one off fluke.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized
out>}
[KCrash Handler]
#6  qt_alphargbblit_argb32(QRasterBuffer*, int, int, QRgba64 const&, uint
const*, int, int, int, QClipData const*, bool) (rasterBuffer=0x5592b8f0f280,
x=164, y=<optimized out>, color=<optimized out>, src=0x5592bcec9af0,
mapWidth=<optimized out>, mapHeight=<optimized out>, srcStride=<optimized out>,
clip=0x5592b929e230, useGammaCorrection=false) at painting/qdrawhelper.cpp:6318
#7  0x00007f8bf97bc574 in QRasterPaintEngine::alphaPenBlt(void const*, int,
int, int, int, int, int, bool) (this=<optimized out>, src=<optimized out>,
bpl=32, depth=32, rx=164, ry=155, w=<optimized out>, h=<optimized out>,
useGammaCorrection=false) at painting/qpaintengine_raster.cpp:2718
#8  0x00007f8bf97c5717 in QRasterPaintEngine::drawCachedGlyphs(int, unsigned
int const*, QFixedPoint const*, QFontEngine*) (this=0x5592b8e762a0,
numGlyphs=<optimized out>, glyphs=<optimized out>, positions=<optimized out>,
fontEngine=0x5592b958a6e0) at painting/qpaintengine_raster.cpp:2891
#9  0x00007f8bf97cac31 in QRasterPaintEngine::drawTextItem(QPointF const&,
QTextItem const&) (this=0x5592b8e762a0, p=..., textItem=...) at
painting/qpaintengine_raster.cpp:3167
#10 0x00007f8bf97db7eb in QPainterPrivate::drawTextItem(QPointF const&,
QTextItem const&, QTextEngine*) (this=<optimized out>, p=..., _ti=...,
textEngine=textEngine at entry=0x0) at painting/qpainter.cpp:6564
#11 0x00007f8bf97dba9e in QPainter::drawTextItem(QPointF const&, QTextItem
const&) (this=this at entry=0x7ffe033fe038, p=..., ti=...) at
painting/qpainter.cpp:6430
#12 0x00007f8bf97dc1a9 in QPainter::drawText(QPointF const&, QString const&,
int, int) (this=this at entry=0x7ffe033fe038, p=..., str=..., tf=tf at entry=0,
justificationPadding=justificationPadding at entry=0) at
painting/qpainter.cpp:5962
#13 0x00007f8bf97dc3af in QPainter::drawText(QPointF const&, QString const&)
(this=this at entry=0x7ffe033fe038, p=..., str=...) at painting/qpainter.cpp:5740
#14 0x00007f8bfa637d17 in QPainter::drawText(int, int, QString const&) (s=...,
y=<optimized out>, x=<optimized out>, this=0x7ffe033fe038) at
/usr/include/qt/QtGui/qpainter.h:927
#15 Konsole::TerminalPainter::drawTextCharacters(QPainter&, QRect const&,
QString const&, Konsole::Character, QColor const*, bool, Konsole::LineProperty,
bool, unsigned short&, QColor, QFont::Weight, QFont::Weight) [clone .isra.0]
(this=this at entry=0x5592b91f8810, painter=..., rect=..., text=..., style=...,
colorTable=0x5592b912051c, invertedRendition=false, printerFriendly=false,
oldRendition=@0x7ffe033fa5a8: 65535, oldColor=..., normalWeight=QFont::Normal,
boldWeight=QFont::Bold, lineProperty=...) at
/usr/src/debug/konsole/konsole-23.08.3/src/terminalDisplay/TerminalPainter.cpp:1143
#16 0x00007f8bfa5dd6ef in
Konsole::TerminalPainter::drawContents(Konsole::Character*, QPainter&, QRect
const&, bool, int, bool, QVector<Konsole::LineProperty>,
Konsole::CharacterColor const*) (this=0x5592b91f8810, image=0x5592b9590100,
paint=..., rect=..., printerFriendly=false, imageSize=14307, bidiEnabled=true,
lineProperties=..., ulColorTable=0x5592b8fb43ca) at
/usr/src/debug/konsole/konsole-23.08.3/src/terminalDisplay/TerminalPainter.cpp:374
#17 0x00007f8bfa5c8258 in Konsole::TerminalDisplay::paintEvent(QPaintEvent*)
(this=0x5592b8fd7da0, pe=<optimized out>) at
/usr/src/debug/konsole/konsole-23.08.3/src/terminalDisplay/TerminalDisplay.cpp:721
#18 0x00007f8bf9daf040 in QWidget::event(QEvent*) (this=0x5592b8fd7da0,
event=0x7ffe033fe270) at kernel/qwidget.cpp:8826
#19 0x00007f8bf9d788ff in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=<optimized out>, receiver=0x5592b8fd7da0, e=0x7ffe033fe270) at
kernel/qapplication.cpp:3640
#20 0x00007f8bf909c168 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x5592b8fd7da0, event=0x7ffe033fe270) at
kernel/qcoreapplication.cpp:1064
#21 0x00007f8bf909c1f3 in QCoreApplication::sendSpontaneousEvent(QObject*,
QEvent*) (receiver=<optimized out>, event=<optimized out>) at
kernel/qcoreapplication.cpp:1474
#22 0x00007f8bf9da2f7b in QWidgetPrivate::sendPaintEvent(QRegion const&)
(this=this at entry=0x5592b8f7d750, toBePainted=...) at kernel/qwidget.cpp:5479
#23 0x00007f8bf9da437d in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion
const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*,
QWidgetRepaintManager*) (this=0x5592b8f7d750, pdev=0x5592b917e078, rgn=...,
offset=..., flags=..., sharedPainter=0x0, repaintManager=0x5592b8e9e800) at
kernel/qwidget.cpp:5429
#24 0x00007f8bf9d844b8 in QWidgetRepaintManager::paintAndFlush()
(this=0x5592b8e9e800) at kernel/qwidgetrepaintmanager.cpp:1016
#25 0x00007f8bf9daf0d1 in QWidget::event(QEvent*) (this=0x5592b8bf42c0,
event=0x5592b922afb0) at kernel/qwidget.cpp:8990
#26 0x00007f8bfa49903e in KXmlGuiWindow::event(QEvent*) (this=0x5592b8bf42c0,
ev=0x5592b922afb0) at
/usr/src/debug/kxmlgui5/kxmlgui-5.112.0/src/kxmlguiwindow.cpp:220
#27 0x00007f8bf9d788ff in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=<optimized out>, receiver=0x5592b8bf42c0, e=0x5592b922afb0) at
kernel/qapplication.cpp:3640
#28 0x00007f8bf909c168 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x5592b8bf42c0, event=0x5592b922afb0) at
kernel/qcoreapplication.cpp:1064
#29 0x00007f8bf90a10cb in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) (receiver=0x0, event_type=0, data=0x5592b8957550) at
kernel/qcoreapplication.cpp:1821
#30 0x00007f8bf90e7138 in postEventSourceDispatch(GSource*, GSourceFunc,
gpointer) (s=0x5592b8992310) at kernel/qeventdispatcher_glib.cpp:277
#31 0x00007f8bf71acf69 in g_main_dispatch (context=0x7f8bec000ec0) at
../glib/glib/gmain.c:3476
#32 0x00007f8bf720b327 in g_main_context_dispatch_unlocked
(context=0x7f8bec000ec0) at ../glib/glib/gmain.c:4284
#33 g_main_context_iterate_unlocked.isra.0
(context=context at entry=0x7f8bec000ec0, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4349
#34 0x00007f8bf71ab162 in g_main_context_iteration (context=0x7f8bec000ec0,
may_block=1) at ../glib/glib/gmain.c:4414
#35 0x00007f8bf90eaf7c in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x5592b89969b0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#36 0x00007f8bf909ae74 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this at entry=0x7ffe033feb80, flags=..., flags at entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#37 0x00007f8bf909c313 in QCoreApplication::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#38 0x00007f8bf953bf12 in QGuiApplication::exec() () at
kernel/qguiapplication.cpp:1870
#39 0x00007f8bf9d76cda in QApplication::exec() () at
kernel/qapplication.cpp:2832
#40 0x00005592b76feb15 in main(int, char**) (argc=<optimized out>,
argv=<optimized out>) at
/usr/src/debug/konsole/konsole-23.08.3/src/main.cpp:271
[Inferior 1 (process 1871897) detached]

Reported using DrKonqi

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


More information about the konsole-devel mailing list