Bug 364746

Summary: Crash when accessing 'Font Management' inside Fonts section of 'Settings'
Product: [Applications] systemsettings Reporter: andreamtp+bz
Component: kcm_fontinstAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: alexey.min, amitosh.swain, arroba2puntos, balthasar, bilal.elmas, bug2017, bugseforuns, charlotte, dschridde+kde, ebreiss, freekdekruijf, georgehalmai, goldman60, jagannathante, jodr666, letourneau.ian, llomellamomario, matejm98mthw, mgraesslin, munzirtaha, nate, notuxius, now.im.627, rainer, simonandric5, zwhdso
Priority: NOR Keywords: drkonqi, wayland
Version: 5.13.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=400041
Latest Commit: Version Fixed In: 5.13.3
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description andreamtp+bz 2016-06-25 12:11:29 UTC
Application: systemsettings5 (5.6.4)

Qt Version: 5.6.0
Frameworks Version: 5.22.0
Operating System: Linux 4.5.7-300.fc24.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
Just tried to open Font Management from inside the Font section of KDE Settings

- Custom settings of the application:
I'm on Fedora24 with Wayland enabled

The crash can be reproduced every time.

-- Backtrace:
Application: Impostazioni di sistema (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f4dd24b1900 (LWP 2823))]

Thread 2 (Thread 0x7f4dc557e700 (LWP 2824)):
#0  0x00007f4ddfa65009 in QMutex::unlock() () from /lib64/libQt5Core.so.5
#1  0x00007f4ddfc583f1 in postEventSourcePrepare(_GSource*, int*) () from /lib64/libQt5Core.so.5
#2  0x00007f4ddb144f7d in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#3  0x00007f4ddb14596b in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#4  0x00007f4ddb145b5c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#5  0x00007f4ddfc5865b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#6  0x00007f4ddfc07a6a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#7  0x00007f4ddfa67a03 in QThread::exec() () from /lib64/libQt5Core.so.5
#8  0x00007f4de035f3b9 in QDBusConnectionManager::run() () from /lib64/libQt5DBus.so.5
#9  0x00007f4ddfa6c03a in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#10 0x00007f4ddc1695ca in start_thread () from /lib64/libpthread.so.0
#11 0x00007f4ddee5fead in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f4dd24b1900 (LWP 2823)):
[KCrash Handler]
#5  0x00007f4ddd00bba3 in XAddExtension () from /lib64/libX11.so.6
#6  0x00007f4dbaaf84dd in _XftDisplayInfoGet () from /lib64/libXft.so.2
#7  0x00007f4dbaaf89fe in XftDefaultHasRender () from /lib64/libXft.so.2
#8  0x00007f4dbaaf8e28 in XftDefaultSubstitute () from /lib64/libXft.so.2
#9  0x00007f4dbaafb845 in XftFontMatch () from /lib64/libXft.so.2
#10 0x00007f4dbaafb9d3 in XftFontOpen () from /lib64/libXft.so.2
#11 0x00007f4dbb3359e7 in KFI::CFcEngine::getFont(int) () from /lib64/libkfontinstui.so.5
#12 0x00007f4dbb335f83 in KFI::CFcEngine::queryFont() () from /lib64/libkfontinstui.so.5
#13 0x00007f4dbb336778 in KFI::CFcEngine::getSizes() () from /lib64/libkfontinstui.so.5
#14 0x00007f4dbb337d70 in KFI::CFcEngine::draw(QString const&, unsigned int, int, QColor const&, QColor const&, int, int, bool, QList<KFI::CFcEngine::TRange> const&, QList<KFI::CFcEngine::TChar>*) () from /lib64/libkfontinstui.so.5
#15 0x00007f4dbb82743c in KFI::CFontPreview::showFont() () from /usr/lib64/qt5/plugins/kcm_fontinst.so
#16 0x00007f4dbb8553d3 in KFI::CKCmFontInst::fontsSelected(QList<QModelIndex> const&) () from /usr/lib64/qt5/plugins/kcm_fontinst.so
#17 0x00007f4dbb86ab89 in KFI::CKCmFontInst::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/qt5/plugins/kcm_fontinst.so
#18 0x00007f4ddfc31012 in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#19 0x00007f4dbb869275 in KFI::CFontListView::itemsSelected(QList<QModelIndex> const&) () from /usr/lib64/qt5/plugins/kcm_fontinst.so
#20 0x00007f4dbb84776e in KFI::CFontListView::selectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib64/qt5/plugins/kcm_fontinst.so
#21 0x00007f4dbb86a461 in KFI::CFontListView::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/qt5/plugins/kcm_fontinst.so
#22 0x00007f4ddfc31012 in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#23 0x00007f4ddfbc6767 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () from /lib64/libQt5Core.so.5
#24 0x00007f4ddfbcb1a9 in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () from /lib64/libQt5Core.so.5
#25 0x00007f4ddfbcd0fa in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /lib64/libQt5Core.so.5
#26 0x00007f4ddfbc86fc in QItemSelectionModel::select(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /lib64/libQt5Core.so.5
#27 0x00007f4dbb840600 in KFI::CFontListView::selectFirstFont() () from /usr/lib64/qt5/plugins/kcm_fontinst.so
#28 0x00007f4dbb858cad in KFI::CKCmFontInst::listingPercent(int) () from /usr/lib64/qt5/plugins/kcm_fontinst.so
#29 0x00007f4dbb86ac9b in KFI::CKCmFontInst::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/qt5/plugins/kcm_fontinst.so
#30 0x00007f4ddfc31012 in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#31 0x00007f4dbb86914e in KFI::CFontList::listingPercent(int) () from /usr/lib64/qt5/plugins/kcm_fontinst.so
#32 0x00007f4dbb869faf in KFI::CFontList::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/qt5/plugins/kcm_fontinst.so
#33 0x00007f4ddfc31012 in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#34 0x00007f4dbb86bda7 in OrgKdeFontinstInterface::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/qt5/plugins/kcm_fontinst.so
#35 0x00007f4dbb86e0f5 in OrgKdeFontinstInterface::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/qt5/plugins/kcm_fontinst.so
#36 0x00007f4de036aad8 in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QVector<int> const&, int) () from /lib64/libQt5DBus.so.5
#37 0x00007f4ddfc32059 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#38 0x00007f4de114434c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#39 0x00007f4de114952f in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#40 0x00007f4ddfc08bfa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#41 0x00007f4ddfc0ac9f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#42 0x00007f4ddfc585c3 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#43 0x00007f4ddb145703 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#44 0x00007f4ddb145ab0 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#45 0x00007f4ddb145b5c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#46 0x00007f4ddfc5863f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#47 0x00007f4ddfc07a6a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#48 0x00007f4ddfc0f5fc in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#49 0x000055a636191211 in main ()

Reported using DrKonqi
Comment 1 Tony 2016-09-29 10:56:55 UTC
Can confirm this happens on Neon on wayland as well.
Comment 2 Christoph Feck 2016-10-10 20:45:16 UTC
*** Bug 370415 has been marked as a duplicate of this bug. ***
Comment 3 miku84 2016-10-11 06:44:00 UTC
So the issue happens on wayland only.
Comment 4 Tony 2016-10-11 17:49:41 UTC
(In reply to miku84 from comment #3)
> So the issue happens on wayland only.

Yes.
Comment 5 Carlos Olmedo Escobar 2016-11-21 20:44:43 UTC
I'm hitting this bug in Neon too (neon-devedition-gitunstable-20161121-0806-amd64) only in the wayland session.
Comment 6 Christoph Feck 2017-01-04 14:43:29 UTC
*** Bug 374212 has been marked as a duplicate of this bug. ***
Comment 7 Patrick Silva 2017-01-29 16:28:44 UTC
It`s still happening on plasma-wayland-devedition-gitunstable-20170128-2117-amd64.iso
Comment 8 Christoph Feck 2017-06-07 17:20:53 UTC
*** Bug 380033 has been marked as a duplicate of this bug. ***
Comment 9 Christoph Feck 2017-09-15 21:52:08 UTC
*** Bug 384712 has been marked as a duplicate of this bug. ***
Comment 10 Christoph Feck 2017-10-11 19:15:37 UTC
*** Bug 385245 has been marked as a duplicate of this bug. ***
Comment 11 Rainer Finke 2017-10-21 09:24:07 UTC
I just want to confirm that this is still a bug in Plasma 5.11.1 on Wayland, KDE Frameworks 5.39 and Qt 5.10 beta on Arch Linux.


Application: Systemeinstellungen (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa200c2d800 (LWP 5278))]

Thread 14 (Thread 0x7fa1aa4cd700 (LWP 5302)):
#0  0x00007fa1f857938d in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fa1e0eb16ec in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so
#2  0x00007fa1e0eb15f8 in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so
#3  0x00007fa1f857308a in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007fa1fc82524f in clone () from /usr/lib/libc.so.6

Thread 13 (Thread 0x7fa1ab7fe700 (LWP 5301)):
#0  0x00007fa1f857938d in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fa1e0eb16ec in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so
#2  0x00007fa1e0eb15f8 in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so
#3  0x00007fa1f857308a in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007fa1fc82524f in clone () from /usr/lib/libc.so.6

Thread 12 (Thread 0x7fa1abfff700 (LWP 5300)):
#0  0x00007fa1f857938d in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fa1e0eb16ec in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so
#2  0x00007fa1e0eb15f8 in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so
#3  0x00007fa1f857308a in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007fa1fc82524f in clone () from /usr/lib/libc.so.6

Thread 11 (Thread 0x7fa1b2640700 (LWP 5299)):
#0  0x00007fa1fc81ad4b in poll () from /usr/lib/libc.so.6
#1  0x00007fa1f63abed3 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fa1f63abfae in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fa1fd164d54 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007fa1fd106ecb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007fa1fcf15bfe in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007fa1faf8b7d9 in ?? () from /usr/lib/libQt5Qml.so.5
#7  0x00007fa1fcf1ad9d in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007fa1f857308a in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007fa1fc82524f in clone () from /usr/lib/libc.so.6

Thread 10 (Thread 0x7fa1ca5a2700 (LWP 5296)):
#0  0x00007fa1fc816868 in read () from /usr/lib/libc.so.6
#1  0x00007fa1f63d3521 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fa1f63aa90b in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3  0x00007fa1f63abe76 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x00007fa1f63abfae in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0x00007fa1fd164d54 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#6  0x00007fa1fd106ecb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#7  0x00007fa1fcf15bfe in QThread::exec() () from /usr/lib/libQt5Core.so.5
#8  0x00007fa1faf8b7d9 in ?? () from /usr/lib/libQt5Qml.so.5
#9  0x00007fa1fcf1ad9d in ?? () from /usr/lib/libQt5Core.so.5
#10 0x00007fa1f857308a in start_thread () from /usr/lib/libpthread.so.0
#11 0x00007fa1fc82524f in clone () from /usr/lib/libc.so.6

Thread 9 (Thread 0x7fa1d8d9f700 (LWP 5295)):
#0  0x00007fa1f857938d in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fa1e0eb16ec in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so
#2  0x00007fa1e0eb15f8 in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so
#3  0x00007fa1f857308a in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007fa1fc82524f in clone () from /usr/lib/libc.so.6

Thread 8 (Thread 0x7fa1d95a0700 (LWP 5294)):
#0  0x00007fa1f857938d in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fa1e0eb16ec in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so
#2  0x00007fa1e0eb15f8 in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so
#3  0x00007fa1f857308a in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007fa1fc82524f in clone () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7fa1d9da1700 (LWP 5293)):
#0  0x00007fa1f857938d in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fa1e0eb16ec in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so
#2  0x00007fa1e0eb15f8 in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so
#3  0x00007fa1f857308a in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007fa1fc82524f in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7fa1da5a2700 (LWP 5292)):
#0  0x00007fa1f857938d in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fa1e0eb16ec in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so
#2  0x00007fa1e0eb15f8 in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so
#3  0x00007fa1f857308a in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007fa1fc82524f in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7fa1dada3700 (LWP 5291)):
#0  0x00007fa1f857938d in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fa1e0eb16ec in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so
#2  0x00007fa1e0eb15f8 in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so
#3  0x00007fa1f857308a in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007fa1fc82524f in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7fa1db5a4700 (LWP 5290)):
#0  0x00007fa1f857938d in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fa1e0eb16ec in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so
#2  0x00007fa1e0eb15f8 in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so
#3  0x00007fa1f857308a in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007fa1fc82524f in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7fa1dbfb7700 (LWP 5289)):
#0  0x00007fa1f857938d in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fa1e0eb16ec in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so
#2  0x00007fa1e0eb15f8 in ?? () from /usr/lib/xorg/modules/dri/radeonsi_dri.so
#3  0x00007fa1f857308a in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007fa1fc82524f in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7fa1eb468700 (LWP 5288)):
#0  0x00007fa1fc81ad4b in poll () from /usr/lib/libc.so.6
#1  0x00007fa1f63abed3 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fa1f63abfae in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fa1fd164d54 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007fa1fd106ecb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007fa1fcf15bfe in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007fa1fd585416 in ?? () from /usr/lib/libQt5DBus.so.5
#7  0x00007fa1fcf1ad9d in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007fa1f857308a in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007fa1fc82524f in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7fa200c2d800 (LWP 5278)):
[KCrash Handler]
#5  0x0000004800000001 in ?? ()
#6  0x00007fa1f903f1d5 in XAddExtension () from /usr/lib/libX11.so.6
#7  0x00007fa19b033a05 in ?? () from /usr/lib/libXft.so.2
#8  0x00007fa19b033ede in XftDefaultHasRender () from /usr/lib/libXft.so.2
#9  0x00007fa19b034410 in XftDefaultSubstitute () from /usr/lib/libXft.so.2
#10 0x00007fa19b036d45 in XftFontMatch () from /usr/lib/libXft.so.2
#11 0x00007fa19b036ed3 in XftFontOpen () from /usr/lib/libXft.so.2
#12 0x00007fa19b6e151a in KFI::CFcEngine::getFont(int) () from /usr/lib/libkfontinstui.so.5
#13 0x00007fa19b6e19e4 in KFI::CFcEngine::queryFont() () from /usr/lib/libkfontinstui.so.5
#14 0x00007fa19b6e2199 in KFI::CFcEngine::getSizes() () from /usr/lib/libkfontinstui.so.5
#15 0x00007fa19b6e3889 in KFI::CFcEngine::draw(QString const&, unsigned int, int, QColor const&, QColor const&, int, int, bool, QList<KFI::CFcEngine::TRange> const&, QList<KFI::CFcEngine::TChar>*) () from /usr/lib/libkfontinstui.so.5
#16 0x00007fa19bb873ea in ?? () from /usr/lib/qt/plugins/kcm_fontinst.so
#17 0x00007fa19bbb73f7 in ?? () from /usr/lib/qt/plugins/kcm_fontinst.so
#18 0x00007fa19bbcd52a in ?? () from /usr/lib/qt/plugins/kcm_fontinst.so
#19 0x00007fa1fd1390a6 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#20 0x00007fa19bbcb9a6 in ?? () from /usr/lib/qt/plugins/kcm_fontinst.so
#21 0x00007fa19bba8e33 in ?? () from /usr/lib/qt/plugins/kcm_fontinst.so
#22 0x00007fa19bbccca9 in ?? () from /usr/lib/qt/plugins/kcm_fontinst.so
#23 0x00007fa1fd1390a6 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#24 0x00007fa1fd0b2f28 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib/libQt5Core.so.5
#25 0x00007fa1fd0b7941 in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () from /usr/lib/libQt5Core.so.5
#26 0x00007fa1fd0ba156 in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/libQt5Core.so.5
#27 0x00007fa1fd0b4fed in QItemSelectionModel::select(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () from /usr/lib/libQt5Core.so.5
#28 0x00007fa19bba21bd in ?? () from /usr/lib/qt/plugins/kcm_fontinst.so
#29 0x00007fa19bbbb2ae in ?? () from /usr/lib/qt/plugins/kcm_fontinst.so
#30 0x00007fa19bbcd63c in ?? () from /usr/lib/qt/plugins/kcm_fontinst.so
#31 0x00007fa1fd1390a6 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#32 0x00007fa19bbcb84f in ?? () from /usr/lib/qt/plugins/kcm_fontinst.so
#33 0x00007fa19bbcc730 in ?? () from /usr/lib/qt/plugins/kcm_fontinst.so
#34 0x00007fa1fd1390a6 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#35 0x00007fa19bbcea28 in ?? () from /usr/lib/qt/plugins/kcm_fontinst.so
#36 0x00007fa19bbd0ec6 in ?? () from /usr/lib/qt/plugins/kcm_fontinst.so
#37 0x00007fa1fd590b5d in ?? () from /usr/lib/libQt5DBus.so.5
#38 0x00007fa1fd139af2 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#39 0x00007fa1fed25c8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#40 0x00007fa1fed2d666 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#41 0x00007fa1fd108880 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#42 0x00007fa1fd10b4e6 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#43 0x00007fa1fd165744 in ?? () from /usr/lib/libQt5Core.so.5
#44 0x00007fa1f63aa270 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#45 0x00007fa1f63abf69 in ?? () from /usr/lib/libglib-2.0.so.0
#46 0x00007fa1f63abfae in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#47 0x00007fa1fd164d31 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#48 0x00007fa1f06d9b42 in ?? () from /usr/lib/libQt5WaylandClient.so.5
#49 0x00007fa1fd106ecb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#50 0x00007fa1fd1101b8 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#51 0x000055e936976c34 in ?? ()
#52 0x00007fa1fc74ff6a in __libc_start_main () from /usr/lib/libc.so.6
#53 0x000055e936976cba in _start ()
Comment 12 bug2017 2018-01-16 21:25:50 UTC
Created attachment 109916 [details]
New crash information added by DrKonqi

systemsettings5 (5.11.95) using Qt 5.10.0

- What I was doing when the application crashed:
Clicked on "Font Mangament"

-- Backtrace (Reduced):
#6  0x00007f496a92d313 in XAddExtension (dpy=dpy@entry=0x5588ac1a62a0) at /var/tmp/portage/x11-libs/libX11-1.6.5/work/libX11-1.6.5/src/InitExt.c:73
#7  0x00007f493b7099bb in _XftDisplayInfoGet (dpy=0x5588ac1a62a0, createIfNecessary=<optimized out>) at /var/tmp/portage/x11-libs/libXft-2.3.2/work/libXft-2.3.2/src/xftdpy.c:91
#8  0x00007f493b709ede in XftDefaultHasRender (dpy=dpy@entry=0x5588ac1a62a0) at /var/tmp/portage/x11-libs/libXft-2.3.2/work/libXft-2.3.2/src/xftdpy.c:254
#9  0x00007f493b70a5a8 in XftDefaultSubstitute (dpy=dpy@entry=0x5588ac1a62a0, screen=screen@entry=0, pattern=pattern@entry=0x5588ac99e660) at /var/tmp/portage/x11-libs/libXft-2.3.2/work/libXft-2.3.2/src/xftdpy.c:462
#10 0x00007f493b70ce49 in XftFontMatch (dpy=dpy@entry=0x5588ac1a62a0, screen=screen@entry=0, pattern=pattern@entry=0x5588b2e268b0, result=result@entry=0x7ffe07dfe8cc) at /var/tmp/portage/x11-libs/libXft-2.3.2/work/libXft-2.3.2/src/xftfont.c:52
Comment 13 Fabian Vogt 2018-01-16 21:27:09 UTC
From the code it looks like it can't work properly on non-X11 platforms.
I suppose as a workaround it would be possible to add

X-KDE-OnlyShowOnQtPlatforms=xcb;

to /usr/share/kservices5/fontinst.desktop.
Can someone confirm that this works? The icon should disappear in systemsettings.
Comment 14 bug2017 2018-01-17 12:22:07 UTC
That workaround is working, it hides the font manager on wayland but not on X11
Comment 15 Christoph Feck 2018-01-22 23:25:51 UTC
*** Bug 388754 has been marked as a duplicate of this bug. ***
Comment 16 Patrick Silva 2018-02-09 03:28:04 UTC
*** Bug 390100 has been marked as a duplicate of this bug. ***
Comment 17 Patrick Silva 2018-02-11 01:15:22 UTC
*** Bug 390241 has been marked as a duplicate of this bug. ***
Comment 18 Jagannathan Tiruvallur Eachambadi 2018-02-13 10:51:00 UTC
(In reply to Fabian Vogt from comment #13)
> From the code it looks like it can't work properly on non-X11 platforms.
> I suppose as a workaround it would be possible to add
> 
> X-KDE-OnlyShowOnQtPlatforms=xcb;
> 
> to /usr/share/kservices5/fontinst.desktop.
> Can someone confirm that this works? The icon should disappear in
> systemsettings.
Is this going to be added to in the future? Hiding the settings until they become usable on wayland is much better than crashing systemsettings.
Comment 19 Freek de Kruijf 2018-02-19 16:31:19 UTC
Created attachment 110816 [details]
New crash information added by DrKonqi

systemsettings5 (5.12.0) using Qt 5.9.4

- What I was doing when the application crashed:
The same as the first reporter, I clicked on the icon to manage fonts.

-- Backtrace (Reduced):
#6  0x00007f1a1c025b43 in XAddExtension (dpy=dpy@entry=0x55ba707e3110) at InitExt.c:73
#7  0x00007f19f1eb7ecb in _XftDisplayInfoGet (dpy=0x55ba707e3110, createIfNecessary=<optimized out>) at xftdpy.c:91
#8  0x00007f19f1eb83ee in XftDefaultHasRender (dpy=dpy@entry=0x55ba707e3110) at xftdpy.c:254
#9  0x00007f19f1eb8ab8 in XftDefaultSubstitute (dpy=dpy@entry=0x55ba707e3110, screen=screen@entry=0, pattern=pattern@entry=0x55ba70eaf3e0) at xftdpy.c:462
#10 0x00007f19f1ebb359 in XftFontMatch (dpy=dpy@entry=0x55ba707e3110, screen=screen@entry=0, pattern=pattern@entry=0x55ba70eaf360, result=result@entry=0x7ffcf1ae7bbc) at xftfont.c:52
Comment 20 Alexey Min 2018-03-25 09:32:19 UTC
Created attachment 111626 [details]
New crash information added by DrKonqi

systemsettings5 (5.12.3) using Qt 5.9.4

Plasma 5.12.3 on Wayland
systemsettings crashes while trying to open "Font management" tab.

-- Backtrace (Reduced):
#6  0x00007fd2ce903c53 in XAddExtension (dpy=dpy@entry=0x5607fca57ca0) at /var/tmp/portage/x11-libs/libX11-1.6.5/work/libX11-1.6.5/src/InitExt.c:73
#7  0x00007fd290ea6a5d in _XftDisplayInfoGet (dpy=0x5607fca57ca0, createIfNecessary=<optimized out>) at /var/tmp/portage/x11-libs/libXft-2.3.2/work/libXft-2.3.2/src/xftdpy.c:91
#8  0x00007fd290ea6f7e in XftDefaultHasRender (dpy=dpy@entry=0x5607fca57ca0) at /var/tmp/portage/x11-libs/libXft-2.3.2/work/libXft-2.3.2/src/xftdpy.c:254
#9  0x00007fd290ea73a8 in XftDefaultSubstitute (dpy=dpy@entry=0x5607fca57ca0, screen=screen@entry=0, pattern=pattern@entry=0x5607fe2d13c0) at /var/tmp/portage/x11-libs/libXft-2.3.2/work/libXft-2.3.2/src/xftdpy.c:462
#10 0x00007fd290ea9db5 in XftFontMatch (dpy=dpy@entry=0x5607fca57ca0, screen=screen@entry=0, pattern=pattern@entry=0x5607fd46b430, result=result@entry=0x7fff5f10407c) at /var/tmp/portage/x11-libs/libXft-2.3.2/work/libXft-2.3.2/src/xftfont.c:52
Comment 21 Ian 2018-04-11 03:06:23 UTC
Created attachment 111945 [details]
New crash information added by DrKonqi

systemsettings5 (5.12.4) using Qt 5.10.1

- What I was doing when the application crashed:

- Open System Settings
- Open the "Font" menu
- Open the "Font Management" submenu
- The application crashed

-- Backtrace (Reduced):
#6  0x00007f75d014ce2e in _XSend () at /usr/lib/libX11.so.6
#7  0x00007f75d014d280 in _XFlush () at /usr/lib/libX11.so.6
#8  0x00007f75d014fe25 in _XGetRequest () at /usr/lib/libX11.so.6
#9  0x00007f75d014356d in XQueryExtension () at /usr/lib/libX11.so.6
#10 0x00007f75d01370e2 in XInitExtension () at /usr/lib/libX11.so.6
Comment 22 Patrick Silva 2018-04-21 17:31:53 UTC
crash persists on neon dev unstable under Wayland.
Comment 23 Amitosh Swain Mahapatra 2018-05-07 08:06:32 UTC
Created attachment 112460 [details]
New crash information added by DrKonqi

systemsettings5 (5.12.4) using Qt 5.9.5

- What I was doing when the application crashed:

Opening font management of KSystemSettings5

- Custom settings of the application:

Running Kubuntu 18.04 on a Wayland session

-- Backtrace (Reduced):
#6  0x00007fc38af5e3ce in _XSend () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#7  0x00007fc38af5e820 in _XFlush () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#8  0x00007fc38af613c5 in _XGetRequest () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#9  0x00007fc38af54afd in XQueryExtension () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#10 0x00007fc38af48692 in XInitExtension () from /usr/lib/x86_64-linux-gnu/libX11.so.6
Comment 24 Christoph Feck 2018-05-16 22:11:38 UTC
*** Bug 393339 has been marked as a duplicate of this bug. ***
Comment 25 Mario Fajardo 2018-05-20 13:48:30 UTC
Created attachment 112769 [details]
New crash information added by DrKonqi

systemsettings5 (5.12.5) using Qt 5.10.0

- What I was doing when the application crashed:

Opened Font management on latest KDE Neon User Editon under Wayland

-- Backtrace (Reduced):
#6  0x00007fc815fd45e3 in XAddExtension (dpy=dpy@entry=0xe82900) at ../../src/InitExt.c:73
#7  0x00007fc7e62ea2e5 in _XftDisplayInfoGet (dpy=0xe82900, createIfNecessary=<optimized out>) at ../../src/xftdpy.c:91
#8  0x00007fc7e62ea7ae in XftDefaultHasRender (dpy=dpy@entry=0xe82900) at ../../src/xftdpy.c:254
#9  0x00007fc7e62eac90 in XftDefaultSubstitute (dpy=dpy@entry=0xe82900, screen=screen@entry=0, pattern=pattern@entry=0x7744660) at ../../src/xftdpy.c:462
#10 0x00007fc7e62ed345 in XftFontMatch (dpy=dpy@entry=0xe82900, screen=screen@entry=0, pattern=pattern@entry=0x775bb60, result=result@entry=0x7ffdb27d93d4) at ../../src/xftfont.c:52
Comment 26 Rainer Finke 2018-06-02 11:23:03 UTC
This issue still exists in Plasma 5.12.90 on Wayland.

Qt 5.11
KDE Frameworks 5.46
Mesa 18.1
Wayland 1.15
Comment 27 Edward Reiss 2018-06-03 02:34:12 UTC
Created attachment 113025 [details]
New crash information added by DrKonqi

systemsettings5 (5.12.5) using Qt 5.10.0

- What I was doing when the application crashed:

I was attempting to add a new font to my system via Configure Ddesktop>>Fonts>>Font Management

When I do this, the application crashes. This happens every time.

-- Backtrace (Reduced):
#6  0x00007f9d41045b43 in XAddExtension (dpy=dpy@entry=0x55bd6a16e720) at InitExt.c:73
#7  0x00007f9d17126ecb in _XftDisplayInfoGet (dpy=0x55bd6a16e720, createIfNecessary=<optimized out>) at xftdpy.c:91
#8  0x00007f9d171273ee in XftDefaultHasRender (dpy=dpy@entry=0x55bd6a16e720) at xftdpy.c:254
#9  0x00007f9d17127ab8 in XftDefaultSubstitute (dpy=dpy@entry=0x55bd6a16e720, screen=screen@entry=0, pattern=pattern@entry=0x55bd6aa00980) at xftdpy.c:462
#10 0x00007f9d1712a359 in XftFontMatch (dpy=dpy@entry=0x55bd6a16e720, screen=screen@entry=0, pattern=pattern@entry=0x55bd6aa023f0, result=result@entry=0x7fff96b4c9dc) at xftfont.c:52
Comment 28 Matej Mrenica 2018-06-05 09:35:56 UTC
I cant even open the Fonts category.
Arch Linux 
Qt 5.11
KF 5.46
Plasma 5.12.90

Crash happens every time, only on Wayland.
Comment 29 Julian Wolff 2018-06-13 19:07:37 UTC
*** Bug 395314 has been marked as a duplicate of this bug. ***
Comment 30 Nate Graham 2018-06-14 13:01:18 UTC
*** Bug 395321 has been marked as a duplicate of this bug. ***
Comment 31 Alexander Mentyu 2018-06-16 08:07:42 UTC
*** Bug 395439 has been marked as a duplicate of this bug. ***
Comment 32 Christoph Feck 2018-06-26 21:10:35 UTC
*** Bug 395820 has been marked as a duplicate of this bug. ***
Comment 33 Kai Uwe Broulik 2018-07-09 12:01:12 UTC
Git commit a446bf0fb1d4fa96eeabf72ab05532fa531fb88b by Kai Uwe Broulik.
Committed on 09/07/2018 at 12:00.
Pushed by broulik into branch 'Plasma/5.13'.

[Font Management KCM] Only show on xcb platform

This entire thing is built on X technology and just crashes when opening it.
Don't show it in settings until it was rewritten to support Wayland.
FIXED-IN: 5.13.3

Differential Revision: https://phabricator.kde.org/D13920

M  +1    -0    kcms/kfontinst/kcmfontinst/fontinst.desktop

https://commits.kde.org/plasma-desktop/a446bf0fb1d4fa96eeabf72ab05532fa531fb88b
Comment 34 Nate Graham 2018-07-15 03:34:21 UTC
*** Bug 396513 has been marked as a duplicate of this bug. ***
Comment 35 Nate Graham 2019-11-22 13:37:05 UTC
*** Bug 414347 has been marked as a duplicate of this bug. ***