Bug 396665 - Font browser crash
Summary: Font browser crash
Status: RESOLVED WORKSFORME
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_fontinst (show other bugs)
Version: 5.12.5
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: drkonqi
: 405575 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-07-19 12:32 UTC by Erik Quaeghebeur
Modified: 2022-10-21 05:01 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 Erik Quaeghebeur 2018-07-19 12:32:40 UTC
Application: kcmshell5 (5.12.5)

Qt Version: 5.9.6
Frameworks Version: 5.46.0
Operating System: Linux 4.14.54-gentoo x86_64
Distribution (Platform): Gentoo Packages

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

Browsing through the fonts

- Custom settings of the application:

I had opened the font management directly using krunner

-- Backtrace:
Application: Module voor systeeminstellingen (kcmshell5), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2e8b740840 (LWP 32234))]

Thread 3 (Thread 0x7f2e6e31a700 (LWP 32237)):
#0  0x00007f2e8b0988d9 in read () from /lib64/libc.so.6
#1  0x00007f2e82e3bba0 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2e82df726e in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2e82df7744 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f2e82df78bc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f2e8860f9db in QEventDispatcherGlib::processEvents (this=0x7f2e68000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f2e885bd0ba in QEventLoop::exec (this=this@entry=0x7f2e6e319d30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#7  0x00007f2e88415afa in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#8  0x00007f2e88a23ce5 in ?? () from /usr/lib64/libQt5DBus.so.5
#9  0x00007f2e88419fe5 in QThreadPrivate::start (arg=0x7f2e88c96d60) at thread/qthread_unix.cpp:368
#10 0x00007f2e8500492a in start_thread () from /lib64/libpthread.so.0
#11 0x00007f2e8b0a8a3f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f2e773f3700 (LWP 32236)):
#0  0x00007f2e8b09d104 in poll () from /lib64/libc.so.6
#1  0x00007f2e85776860 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f2e85778419 in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f2e7954c1b9 in QXcbEventReader::run (this=0x557b1f44e2a0) at qxcbconnection.cpp:1330
#4  0x00007f2e88419fe5 in QThreadPrivate::start (arg=0x557b1f44e2a0) at thread/qthread_unix.cpp:368
#5  0x00007f2e8500492a in start_thread () from /lib64/libpthread.so.0
#6  0x00007f2e8b0a8a3f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f2e8b740840 (LWP 32234)):
[KCrash Handler]
#6  convertRGBToARGB_helper<LcdFilterDummy> (bgr=<error reading variable: Cannot access memory at address 0xf4>, src_pitch=28, height=8, width=<optimized out>, dst=0x557b202b2c90, src=0x0) at freetype/qfontengine_ft.cpp:601
#7  convertRGBToARGB (legacyFilter=false, bgr=<error reading variable: Cannot access memory at address 0xf4>, src_pitch=28, height=<optimized out>, width=<optimized out>, dst=0x557b202b2c90, src=0x0) at freetype/qfontengine_ft.cpp:611
#8  QFontEngineFT::loadGlyph (this=this@entry=0x557b202aea10, set=set@entry=0x557b202bab10, glyph=glyph@entry=90, subPixelPosition=..., subPixelPosition@entry=..., format=<optimized out>, format@entry=QFontEngine::Format_A32, fetchMetricsOnly=fetchMetricsOnly@entry=false, disableOutlineDrawing=false) at freetype/qfontengine_ft.cpp:1191
#9  0x00007f2e795ba725 in QFontEngineFT::loadGlyphFor (this=this@entry=0x557b202aea10, g=g@entry=90, subPixelPosition=subPixelPosition@entry=..., format=format@entry=QFontEngine::Format_A32, t=..., fetchBoundingBox=fetchBoundingBox@entry=false, disableOutlineDrawing=false) at freetype/qfontengine_ft.cpp:2074
#10 0x00007f2e795bc32e in QFontEngineFT::lockedAlphaMapForGlyph (this=0x557b202aea10, glyphIndex=90, subPixelPosition=..., neededFormat=QFontEngine::Format_A32, t=..., offset=0x7ffdac8a9fd0) at freetype/qfontengine_ft.cpp:2016
#11 0x00007f2e88f703e6 in QRasterPaintEngine::drawCachedGlyphs (this=0x557b1f84b8e0, numGlyphs=<optimized out>, glyphs=<optimized out>, positions=<optimized out>, fontEngine=0x557b202aea10) at painting/qpaintengine_raster.cpp:2803
#12 0x00007f2e88f73d7c in QRasterPaintEngine::drawTextItem (this=0x557b1f84b8e0, p=..., textItem=...) at painting/qpaintengine_raster.cpp:3080
#13 0x00007f2e88f8d01e in QPainterPrivate::drawTextItem (this=<optimized out>, p=..., _ti=..., textEngine=0x557b1fa49790) at painting/qpainter.cpp:6513
#14 0x00007f2e88e61acf in QTextLine::draw (this=this@entry=0x7ffdac8ab7f0, p=p@entry=0x7ffdac8abde8, pos=..., selection=selection@entry=0x0) at text/qtextlayout.cpp:2614
#15 0x00007f2e88e627f5 in QTextLayout::draw (this=this@entry=0x557b1f965978, p=p@entry=0x7ffdac8abde8, pos=..., selections=..., clip=...) at text/qtextlayout.cpp:1257
#16 0x00007f2e895ed30e in QWidgetLineControl::draw (this=0x557b1f9658a0, painter=painter@entry=0x7ffdac8abde8, offset=..., clip=..., flags=flags@entry=1) at widgets/qwidgetlinecontrol.cpp:653
#17 0x00007f2e895e3505 in QLineEdit::paintEvent (this=0x557b1f8d3990) at widgets/qlineedit.cpp:2004
#18 0x00007f2e894deff8 in QWidget::event (this=this@entry=0x557b1f8d3990, event=event@entry=0x7ffdac8ac220) at kernel/qwidget.cpp:9280
#19 0x00007f2e895e7e12 in QLineEdit::event (this=0x557b1f8d3990, e=0x7ffdac8ac220) at widgets/qlineedit.cpp:1462
#20 0x00007f2e894a079c in QApplicationPrivate::notify_helper (this=this@entry=0x557b1f434d80, receiver=receiver@entry=0x557b1f8d3990, e=e@entry=0x7ffdac8ac220) at kernel/qapplication.cpp:3722
#21 0x00007f2e894a8034 in QApplication::notify (this=0x7ffdac8ae3c0, receiver=0x557b1f8d3990, e=0x7ffdac8ac220) at kernel/qapplication.cpp:3481
#22 0x00007f2e885be347 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x557b1f8d3990, event=event@entry=0x7ffdac8ac220) at kernel/qcoreapplication.cpp:1024
#23 0x00007f2e894d812a in QCoreApplication::sendSpontaneousEvent (event=0x7ffdac8ac220, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#24 QWidgetPrivate::sendPaintEvent (this=this@entry=0x557b1fd088e0, toBePainted=...) at kernel/qwidget.cpp:5715
#25 0x00007f2e894d86ea in QWidgetPrivate::drawWidget (this=this@entry=0x557b1fd088e0, pdev=pdev@entry=0x557b1faf3ee0, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=<optimized out>) at kernel/qwidget.cpp:5655
#26 0x00007f2e894d9350 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x557b1fa1f560, pdev=pdev@entry=0x557b1faf3ee0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x557b1fabdcc0) at kernel/qwidget.cpp:5850
#27 0x00007f2e894d82f6 in QWidgetPrivate::drawWidget (this=this@entry=0x557b1fa1f560, pdev=pdev@entry=0x557b1faf3ee0, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=<optimized out>) at kernel/qwidget.cpp:5706
#28 0x00007f2e894d9350 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x557b1f53e6d0, pdev=pdev@entry=0x557b1faf3ee0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x557b1fabdcc0) at kernel/qwidget.cpp:5850
#29 0x00007f2e894d94d9 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x557b1f53e6d0, pdev=pdev@entry=0x557b1faf3ee0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x557b1fabdcc0) at kernel/qwidget.cpp:5836
#30 0x00007f2e894d94d9 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x557b1f53e6d0, pdev=pdev@entry=0x557b1faf3ee0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0x557b1fabdcc0) at kernel/qwidget.cpp:5836
#31 0x00007f2e894d82f6 in QWidgetPrivate::drawWidget (this=this@entry=0x557b1f53e6d0, pdev=0x557b1faf3ee0, rgn=..., offset=..., flags=flags@entry=5, sharedPainter=sharedPainter@entry=0x0, backingStore=<optimized out>) at kernel/qwidget.cpp:5706
#32 0x00007f2e894afd24 in QWidgetBackingStore::doSync (this=this@entry=0x557b1fabdcc0) at kernel/qwidgetbackingstore.cpp:1381
#33 0x00007f2e894aff65 in QWidgetBackingStore::sync (this=0x557b1fabdcc0) at kernel/qwidgetbackingstore.cpp:1162
#34 0x00007f2e894c755f in QWidgetPrivate::syncBackingStore (this=0x557b1f53e6d0) at kernel/qwidget.cpp:1973
#35 0x00007f2e894df168 in QWidget::event (this=0x7ffdac8ad450, event=0x557b1f818070) at kernel/qwidget.cpp:9219
#36 0x00007f2e894a079c in QApplicationPrivate::notify_helper (this=this@entry=0x557b1f434d80, receiver=receiver@entry=0x7ffdac8ad450, e=e@entry=0x557b1f818070) at kernel/qapplication.cpp:3722
#37 0x00007f2e894a8034 in QApplication::notify (this=0x7ffdac8ae3c0, receiver=0x7ffdac8ad450, e=0x557b1f818070) at kernel/qapplication.cpp:3481
#38 0x00007f2e885be347 in QCoreApplication::notifyInternal2 (receiver=0x7ffdac8ad450, event=event@entry=0x557b1f818070) at kernel/qcoreapplication.cpp:1024
#39 0x00007f2e885c0abd in QCoreApplication::sendEvent (event=0x557b1f818070, receiver=<optimized out>) at kernel/qcoreapplication.h:233
#40 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x557b1f42b5d0) at kernel/qcoreapplication.cpp:1699
#41 0x00007f2e885c0ff8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1553
#42 0x00007f2e8860fbd3 in postEventSourceDispatch (s=0x557b1f47c7a0) at kernel/qeventdispatcher_glib.cpp:276
#43 0x00007f2e82df75a7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#44 0x00007f2e82df7810 in ?? () from /usr/lib64/libglib-2.0.so.0
#45 0x00007f2e82df78bc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#46 0x00007f2e8860f9bf in QEventDispatcherGlib::processEvents (this=0x557b1f492b40, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#47 0x00007f2e885bd0ba in QEventLoop::exec (this=this@entry=0x7ffdac8ad3e0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#48 0x00007f2e8968b247 in QDialog::exec (this=this@entry=0x7ffdac8ad450) at dialogs/qdialog.cpp:545
#49 0x00007f2e896b7e13 in QFontDialogPrivate::getFont (ok=0x7ffdac8ad4f7, initial=..., parent=<optimized out>, title=..., options=...) at dialogs/qfontdialog.cpp:406
#50 0x00007f2e896b7ebd in QFontDialog::getFont (ok=<optimized out>, initial=..., parent=<optimized out>, title=..., options=...) at dialogs/qfontdialog.cpp:368
#51 0x00007f2e89ef5cf4 in ?? () from /usr/lib64/libKF5WidgetsAddons.so.5
#52 0x00007f2e885e70a7 in QtPrivate::QSlotObjectBase::call (a=0x7ffdac8ad640, r=0x557b1f7de540, this=0x557b1f4cf990) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#53 QMetaObject::activate (sender=sender@entry=0x557b1ffff5d0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffdac8ad640) at kernel/qobject.cpp:3750
#54 0x00007f2e885e7607 in QMetaObject::activate (sender=sender@entry=0x557b1ffff5d0, m=m@entry=0x7f2e89b6a780 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffdac8ad640) at kernel/qobject.cpp:3629
#55 0x00007f2e89592192 in QAbstractButton::clicked (this=this@entry=0x557b1ffff5d0, _t1=<optimized out>) at .moc/moc_qabstractbutton.cpp:308
#56 0x00007f2e8959239a in QAbstractButtonPrivate::emitClicked (this=0x557b1f565e20) at widgets/qabstractbutton.cpp:414
#57 0x00007f2e8959377a in QAbstractButtonPrivate::click (this=0x557b1f565e20) at widgets/qabstractbutton.cpp:407
#58 0x00007f2e8959396d in QAbstractButton::mouseReleaseEvent (this=0x557b1ffff5d0, e=0x7ffdac8adae0) at widgets/qabstractbutton.cpp:1011
#59 0x00007f2e894deff8 in QWidget::event (this=0x557b1ffff5d0, event=0x7ffdac8adae0) at kernel/qwidget.cpp:9280
#60 0x00007f2e894a079c in QApplicationPrivate::notify_helper (this=this@entry=0x557b1f434d80, receiver=receiver@entry=0x557b1ffff5d0, e=e@entry=0x7ffdac8adae0) at kernel/qapplication.cpp:3722
#61 0x00007f2e894a858f in QApplication::notify (this=<optimized out>, receiver=0x557b1ffff5d0, e=0x7ffdac8adae0) at kernel/qapplication.cpp:3198
#62 0x00007f2e885be347 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x557b1ffff5d0, event=event@entry=0x7ffdac8adae0) at kernel/qcoreapplication.cpp:1024
#63 0x00007f2e894a7562 in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#64 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x557b1ffff5d0, event=event@entry=0x7ffdac8adae0, alienWidget=alienWidget@entry=0x557b1ffff5d0, nativeWidget=0x7f2e6800b0a0, buttonDown=buttonDown@entry=0x7f2e89b937d0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2704
#65 0x00007f2e894f9fcb in QWidgetWindow::handleMouseEvent (this=this@entry=0x557b1f9ffe00, event=event@entry=0x7ffdac8aded0) at kernel/qwidgetwindow.cpp:628
#66 0x00007f2e894fc5da in QWidgetWindow::event (this=0x557b1f9ffe00, event=0x7ffdac8aded0) at kernel/qwidgetwindow.cpp:250
#67 0x00007f2e894a079c in QApplicationPrivate::notify_helper (this=this@entry=0x557b1f434d80, receiver=receiver@entry=0x557b1f9ffe00, e=e@entry=0x7ffdac8aded0) at kernel/qapplication.cpp:3722
#68 0x00007f2e894a8034 in QApplication::notify (this=0x7ffdac8ae3c0, receiver=0x557b1f9ffe00, e=0x7ffdac8aded0) at kernel/qapplication.cpp:3481
#69 0x00007f2e885be347 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x557b1f9ffe00, event=event@entry=0x7ffdac8aded0) at kernel/qcoreapplication.cpp:1024
#70 0x00007f2e88d93f8b in QCoreApplication::sendSpontaneousEvent (event=0x7ffdac8aded0, receiver=0x557b1f9ffe00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#71 QGuiApplicationPrivate::processMouseEvent (e=0x557b1f5307d0) at kernel/qguiapplication.cpp:1952
#72 0x00007f2e88d95b95 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x557b1f5307d0) at kernel/qguiapplication.cpp:1733
#73 0x00007f2e88d6f52b in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:946
#74 0x00007f2e795af280 in userEventSourceDispatch (source=<optimized out>) at qeventdispatcher_glib.cpp:77
#75 0x00007f2e82df75a7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#76 0x00007f2e82df7810 in ?? () from /usr/lib64/libglib-2.0.so.0
#77 0x00007f2e82df78bc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#78 0x00007f2e8860f9bf in QEventDispatcherGlib::processEvents (this=0x557b1f492b40, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#79 0x00007f2e885bd0ba in QEventLoop::exec (this=this@entry=0x7ffdac8ae280, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#80 0x00007f2e885c5844 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1297
#81 0x00007f2e8b377788 in kdemain () from /usr/lib64/libkdeinit5_kcmshell5.so
#82 0x00007f2e8afc80b1 in __libc_start_main () from /lib64/libc.so.6
#83 0x0000557b1e2337ea in _start ()

Reported using DrKonqi
Comment 1 Christoph Feck 2019-03-18 01:49:27 UTC
*** Bug 405575 has been marked as a duplicate of this bug. ***
Comment 2 kde 2019-03-25 12:43:36 UTC
This problem happens to me now on Falkon too, so I can't change fonts in KCharSelect and Falkon anymore.
Comment 3 kde 2019-03-25 12:49:44 UTC
I've found that the crash happens when having these fonts selected, and trying to change to a different one:

Nimbus Roman No9 L [urw]
Nimbus Roman No9 L [omega]

Maybe that helps.
Comment 4 kde 2019-04-10 20:26:59 UTC
Scratch that, it also happens with other fonts. Just had another crash, this time in SMPlayer.
Comment 5 Justin Zobel 2022-09-21 03:42:16 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 6 Erik Quaeghebeur 2022-09-21 06:02:05 UTC
(In reply to Justin Zobel from comment #5)
> […] if you can reproduce the crash with a recent software version?

I cannot reproduce it currently. Perhaps kde@trummer.xyz  can have a look, as they seemed to have tested it more extensively.
Comment 7 kde 2022-09-21 12:55:27 UTC
I haven't run into this crash in a long while either.

Operating System: openSUSE Tumbleweed 20220916
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.5
Kernel Version: 5.19.8-1-default (64-bit)
Graphics Platform: X11
Comment 8 Bug Janitor Service 2022-10-06 04:50:37 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 9 Bug Janitor Service 2022-10-21 05:01:43 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!