Bug 453227 - KATE Crashed
Summary: KATE Crashed
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 22.04.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-04-30 11:41 UTC by Ben
Modified: 2022-06-04 04:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben 2022-04-30 11:41:48 UTC
Application: kate (22.04.0)

Qt Version: 5.15.2
Frameworks Version: 5.93.0
Operating System: Linux 5.17.4-1-default x86_64
Windowing System: Wayland
Distribution: openSUSE Tumbleweed
DrKonqi: 5.24.4 [KCrashBackend]

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

I was editing a TXT file in Kate


NOTES:

The free app Shutter Encoder was converting videos in the background
Shutter Encoder is not designed with Wayland in mind
Krusader File Manager often gives a crash when Shutter Encoder is converting media files as well


OS INFO:

Operating System: openSUSE Tumbleweed 20220427
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.2
Kernel Version: 5.17.4-1-default (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-3570K CPU @ 3.40GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 4000

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  0x00007fc51ca04062 in QFontEngineFT::loadGlyphFor(unsigned int, QFixed, QFontEngine::GlyphFormat, QTransform const&, bool, bool) (this=0x55c3a82162f0, g=172, subPixelPosition=..., format=2821343536, t=..., fetchBoundingBox=<optimized out>, disableOutlineDrawing=77) at freetype/qfontengine_ft.cpp:1884
#7  0x000055c3a82162f0 in  ()
#8  0x00007fc51ca0434d in QFontEngineFT::glyphData(unsigned int, QFixed, QFontEngine::GlyphFormat, QTransform const&) (this=<optimized out>, glyphIndex=<optimized out>, subPixelPosition=..., neededFormat=<optimized out>, t=<optimized out>) at freetype/qfontengine_ft.cpp:1853
#9  0x00007fc51f19c104 in QRasterPaintEngine::drawCachedGlyphs(int, unsigned int const*, QFixedPoint const*, QFontEngine*) (this=0x55c3a88079c0, numGlyphs=<optimized out>, glyphs=<optimized out>, positions=<optimized out>, fontEngine=0x0) at painting/qpaintengine_raster.cpp:2889
#10 0x00007fc51f19fb15 in QRasterPaintEngine::drawTextItem(QPointF const&, QTextItem const&) (this=0x55c3a88079c0, p=..., textItem=...) at ../../include/QtCore/../../src/corelib/tools/qvarlengtharray.h:119
#11 0x00007fc51f1b968f in QPainterPrivate::drawTextItem(QPointF const&, QTextItem const&, QTextEngine*) (this=<optimized out>, p=..., _ti=..., textEngine=0x55c3a8ac7190) at painting/qpainter.cpp:6560
#12 0x00007fc51efd3de5 in QTextLine::draw(QPainter*, QPointF const&, QTextLayout::FormatRange const*) const (this=this@entry=0x7ffd5dc81400, p=p@entry=0x7ffd5dc81c70, pos=..., selection=selection@entry=0x0) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:138
#13 0x00007fc51efd50a6 in QTextLayout::draw(QPainter*, QPointF const&, QVector<QTextLayout::FormatRange> const&, QRectF const&) const (this=<optimized out>, p=p@entry=0x7ffd5dc81c70, pos=..., selections=..., clip=...) at text/qtextlayout.cpp:1262
#14 0x00007fc5208a81e9 in KateRenderer::paintTextLine(QPainter&, QExplicitlySharedDataPointer<KateLineLayout>, int, int, KTextEditor::Cursor const*, QFlags<KateRenderer::PaintTextLineFlag>) (this=0x55c3a881ff80, paint=<optimized out>, range=..., xStart=0, xEnd=1392, cursor=0x7ffd5dc81c78, flags=...) at /usr/include/qt5/QtCore/qpoint.h:133
#15 0x00007fc5209078a7 in KateViewInternal::paintEvent(QPaintEvent*) (this=0x55c3a7ec2f20, e=0x7ffd5dc81e70) at /usr/src/debug/ktexteditor-5.93.0-1.1.x86_64/src/view/kateviewinternal.cpp:3909
#16 0x00007fc51f6a1cde in QWidget::event(QEvent*) (this=0x55c3a7ec2f20, event=0x7ffd5dc81e70) at kernel/qwidget.cpp:9020
#17 0x00007fc51f65fb0f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55c3a7ec2f20, e=0x7ffd5dc81e70) at kernel/qapplication.cpp:3632
#18 0x00007fc51ea74b5a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55c3a7ec2f20, event=0x7ffd5dc81e70) at kernel/qcoreapplication.cpp:1064
#19 0x00007fc51f699ce6 in QWidgetPrivate::sendPaintEvent(QRegion const&) (this=this@entry=0x55c3a8952230, toBePainted=...) at kernel/qwidget.cpp:5467
#20 0x00007fc51f69a512 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*, QWidgetRepaintManager*) (this=this@entry=0x55c3a8952230, pdev=0x55c3a8acb2a8, rgn=..., offset=..., flags=flags@entry=..., sharedPainter=sharedPainter@entry=0x0, repaintManager=<optimized out>) at kernel/qwidget.cpp:5417
#21 0x00007fc51f670ad2 in QWidgetRepaintManager::paintAndFlush() (this=<optimized out>) at kernel/qwidgetrepaintmanager.cpp:1003
#22 0x00007fc51f6a242d in QWidget::event(QEvent*) (this=0x55c3a7c38e60, event=0x55c3a8ba0fd0) at kernel/qwidget.cpp:8965
#23 0x00007fc5202f2569 in KXmlGuiWindow::event(QEvent*) (this=0x55c3a7c38e60, ev=0x55c3a8ba0fd0) at /usr/src/debug/kxmlgui-5.93.0-1.1.x86_64/src/kxmlguiwindow.cpp:220
#24 0x00007fc51f65fb0f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55c3a7c38e60, e=0x55c3a8ba0fd0) at kernel/qapplication.cpp:3632
#25 0x00007fc51ea74b5a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55c3a7c38e60, event=0x55c3a8ba0fd0) at kernel/qcoreapplication.cpp:1064
#26 0x00007fc51ea77b97 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x55c3a7b33a90) at kernel/qcoreapplication.cpp:1821
#27 0x00007fc51eaccc33 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=s@entry=0x55c3a7b9c090) at kernel/qeventdispatcher_glib.cpp:277
#28 0x00007fc51cc01122 in g_main_dispatch (context=0x55c3a7b9cf50) at ../glib/gmain.c:3417
#29 g_main_context_dispatch (context=0x55c3a7b9cf50) at ../glib/gmain.c:4135
#30 0x00007fc51cc014b8 in g_main_context_iterate (context=context@entry=0x55c3a7b9cf50, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4211
#31 0x00007fc51cc0156f in g_main_context_iteration (context=0x55c3a7b9cf50, may_block=1) at ../glib/gmain.c:4276
#32 0x00007fc51eacc2b4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55c3a7b9a320, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#33 0x00007fc51ea7355b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd5dc82720, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#34 0x00007fc51ea7b820 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#35 0x00007fc51eec561c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1867
#36 0x00007fc51f65fa85 in QApplication::exec() () at kernel/qapplication.cpp:2824
#37 0x000055c3a7998e14 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kate-22.04.0-1.1.x86_64/kate/main.cpp:703
[Inferior 1 (process 1512) detached]

Possible duplicates by query: bug 356304.

Reported using DrKonqi
Comment 1 Christoph Cullmann 2022-05-05 17:42:04 UTC
Hi, sorry for the crash.

Without a way to reproduce this I am not sure how to fix (or if at all a issue in Kate/KTextEditor or more in Qt are even more down the stack).
Comment 2 Bug Janitor Service 2022-05-20 04:35:40 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2022-06-04 04:35:45 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!