Bug 380033

Summary: Systemsettings crashes when opening Font Management in Fonts section
Product: [Applications] systemsettings Reporter: Dennis Schridde <heri+kde>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.9.5   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dennis Schridde 2017-05-20 13:48:20 UTC
Application: systemsettings5 (5.9.5)

Qt Version: 5.7.1
Frameworks Version: 5.34.0
Operating System: Linux 4.11.0-gentoo x86_64
Distribution: "Gentoo Base System release 2.3"

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

When opening the Font Management part in the Fonts section of Systemsettings, Systemsettings will crash.

This is a duplicate of bug #364746, but due to bug #355807, I cannot attach this report to that one.

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f224aa3e4c0 (LWP 17448))]

Thread 8 (Thread 0x7f221f2df700 (LWP 17455)):
#0  0x00007f2244617f9f in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007f222c6c4593 in cnd_wait (mtx=0xb720f0, cond=0xb72118) at /var/tmp/portage/media-libs/mesa-17.1.0/work/mesa-17.1.0/include/c11/threads_posix.h:159
#2  util_queue_thread_func (input=input@entry=0xb62030) at /var/tmp/portage/media-libs/mesa-17.1.0/work/mesa-17.1.0/src/util/u_queue.c:158
#3  0x00007f222c6c42c7 in impl_thrd_routine (p=<optimized out>) at /var/tmp/portage/media-libs/mesa-17.1.0/work/mesa-17.1.0/include/c11/threads_posix.h:87
#4  0x00007f2244612384 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f22471d16af in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f221fae0700 (LWP 17454)):
#0  0x00007f2244617f9f in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007f222c6c4593 in cnd_wait (mtx=0xb720f0, cond=0xb72118) at /var/tmp/portage/media-libs/mesa-17.1.0/work/mesa-17.1.0/include/c11/threads_posix.h:159
#2  util_queue_thread_func (input=input@entry=0x9dfa60) at /var/tmp/portage/media-libs/mesa-17.1.0/work/mesa-17.1.0/src/util/u_queue.c:158
#3  0x00007f222c6c42c7 in impl_thrd_routine (p=<optimized out>) at /var/tmp/portage/media-libs/mesa-17.1.0/work/mesa-17.1.0/include/c11/threads_posix.h:87
#4  0x00007f2244612384 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f22471d16af in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f22202e1700 (LWP 17453)):
#0  0x00007f2244617f9f in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007f222c6c4593 in cnd_wait (mtx=0xb720f0, cond=0xb72118) at /var/tmp/portage/media-libs/mesa-17.1.0/work/mesa-17.1.0/include/c11/threads_posix.h:159
#2  util_queue_thread_func (input=input@entry=0xb62030) at /var/tmp/portage/media-libs/mesa-17.1.0/work/mesa-17.1.0/src/util/u_queue.c:158
#3  0x00007f222c6c42c7 in impl_thrd_routine (p=<optimized out>) at /var/tmp/portage/media-libs/mesa-17.1.0/work/mesa-17.1.0/include/c11/threads_posix.h:87
#4  0x00007f2244612384 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f22471d16af in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f2220ae2700 (LWP 17452)):
#0  0x00007f2244617f9f in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007f222c6c4593 in cnd_wait (mtx=0xb720f0, cond=0xb72118) at /var/tmp/portage/media-libs/mesa-17.1.0/work/mesa-17.1.0/include/c11/threads_posix.h:159
#2  util_queue_thread_func (input=input@entry=0x9dfa60) at /var/tmp/portage/media-libs/mesa-17.1.0/work/mesa-17.1.0/src/util/u_queue.c:158
#3  0x00007f222c6c42c7 in impl_thrd_routine (p=<optimized out>) at /var/tmp/portage/media-libs/mesa-17.1.0/work/mesa-17.1.0/include/c11/threads_posix.h:87
#4  0x00007f2244612384 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f22471d16af in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f22214ea700 (LWP 17451)):
#0  0x00007f2244617f9f in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007f222c6c4593 in cnd_wait (mtx=0xb62500, cond=0xb62528) at /var/tmp/portage/media-libs/mesa-17.1.0/work/mesa-17.1.0/include/c11/threads_posix.h:159
#2  util_queue_thread_func (input=input@entry=0xb7d8d0) at /var/tmp/portage/media-libs/mesa-17.1.0/work/mesa-17.1.0/src/util/u_queue.c:158
#3  0x00007f222c6c42c7 in impl_thrd_routine (p=<optimized out>) at /var/tmp/portage/media-libs/mesa-17.1.0/work/mesa-17.1.0/include/c11/threads_posix.h:87
#4  0x00007f2244612384 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f22471d16af in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f2222682700 (LWP 17450)):
#0  0x00007f2244617f9f in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007f222c6c4593 in cnd_wait (mtx=0xb8c1c0, cond=0xb8c1e8) at /var/tmp/portage/media-libs/mesa-17.1.0/work/mesa-17.1.0/include/c11/threads_posix.h:159
#2  util_queue_thread_func (input=input@entry=0xb7eb80) at /var/tmp/portage/media-libs/mesa-17.1.0/work/mesa-17.1.0/src/util/u_queue.c:158
#3  0x00007f222c6c42c7 in impl_thrd_routine (p=<optimized out>) at /var/tmp/portage/media-libs/mesa-17.1.0/work/mesa-17.1.0/include/c11/threads_posix.h:87
#4  0x00007f2244612384 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f22471d16af in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f223603a700 (LWP 17449)):
#0  0x00007f22471c843d in poll () from /lib64/libc.so.6
#1  0x00007f22426e457e in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f22426e468c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2247b06abb in QEventDispatcherGlib::processEvents (this=0x7f22300008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f2247ab964a in QEventLoop::exec (this=this@entry=0x7f2236039d90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f2247924f4b in QThread::exec (this=this@entry=0x7f224abacd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:507
#6  0x00007f224ab38635 in QDBusConnectionManager::run (this=0x7f224abacd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#7  0x00007f224792914b in QThreadPrivate::start (arg=0x7f224abacd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#8  0x00007f2244612384 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f22471d16af in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f224aa3e4c0 (LWP 17448)):
[KCrash Handler]
#6  0x00007f22450ef90b in XAddExtension (dpy=0x8ea310) at /var/tmp/portage/x11-libs/libX11-1.6.5/work/libX11-1.6.5/src/InitExt.c:73
#7  0x00007f221aefa933 in ?? () from /usr/lib64/libXft.so.2
#8  0x00007f221aefae46 in XftDefaultHasRender () from /usr/lib64/libXft.so.2
#9  0x00007f221aefb288 in XftDefaultSubstitute () from /usr/lib64/libXft.so.2
#10 0x00007f221aefdbf5 in XftFontMatch () from /usr/lib64/libXft.so.2
#11 0x00007f221aefdd8b in XftFontOpen () from /usr/lib64/libXft.so.2
#12 0x00007f221b858d59 in KFI::CFcEngine::getFont (this=this@entry=0xf253c0, size=size@entry=8) at /var/tmp/portage/kde-plasma/plasma-desktop-5.9.5/work/plasma-desktop-5.9.5/kcms/kfontinst/lib/FcEngine.cpp:1192
#13 0x00007f221b8592da in KFI::CFcEngine::queryFont (this=this@entry=0xf253c0) at /var/tmp/portage/kde-plasma/plasma-desktop-5.9.5/work/plasma-desktop-5.9.5/kcms/kfontinst/lib/FcEngine.cpp:1144
#14 0x00007f221b859a28 in KFI::CFcEngine::getSizes (this=0xf253c0) at /var/tmp/portage/kde-plasma/plasma-desktop-5.9.5/work/plasma-desktop-5.9.5/kcms/kfontinst/lib/FcEngine.cpp:1302
#15 0x00007f221b85ab76 in KFI::CFcEngine::draw (this=0xf253c0, name=..., style=<optimized out>, faceNo=<optimized out>, txt=..., bgnd=..., w=629, h=812, thumb=false, range=..., chars=0xf25170) at /var/tmp/portage/kde-plasma/plasma-desktop-5.9.5/work/plasma-desktop-5.9.5/kcms/kfontinst/lib/FcEngine.cpp:787
#16 0x00007f221bd79d2c in KFI::CFontPreview::showFont (this=0xf25100) at /var/tmp/portage/kde-plasma/plasma-desktop-5.9.5/work/plasma-desktop-5.9.5/kcms/kfontinst/viewpart/FontPreview.cpp:75
#17 0x00007f221bd79eb8 in KFI::CFontPreview::showFace (face=<optimized out>, this=<optimized out>) at /var/tmp/portage/kde-plasma/plasma-desktop-5.9.5/work/plasma-desktop-5.9.5/kcms/kfontinst/viewpart/FontPreview.cpp:67
#18 KFI::CFontPreview::showFont (this=<optimized out>, name=..., styleInfo=<optimized out>, face=<optimized out>) at /var/tmp/portage/kde-plasma/plasma-desktop-5.9.5/work/plasma-desktop-5.9.5/kcms/kfontinst/viewpart/FontPreview.cpp:61
#19 0x00007f221bda1db3 in KFI::CKCmFontInst::fontsSelected (this=0x3, list=...) at /var/tmp/portage/kde-plasma/plasma-desktop-5.9.5/work/plasma-desktop-5.9.5/kcms/kfontinst/kcmfontinst/KCmFontInst.cpp:475
#20 0x00007f221bdb5109 in KFI::CKCmFontInst::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/kde-plasma/plasma-desktop-5.9.5/work/plasma-desktop-5.9.5_build/kcms/kfontinst/kcmfontinst/kcm_fontinst_autogen/EWIEGA46WW/moc_KCmFontInst.cpp:166
#21 0x00007f2247ae0c91 in QMetaObject::activate (sender=sender@entry=0x9c89e0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x7ffe1ca3fb00) at kernel/qobject.cpp:3740
#22 0x00007f2247ae1577 in QMetaObject::activate (sender=sender@entry=0x9c89e0, m=m@entry=0x7f221bfdb9a0 <KFI::CFontListView::staticMetaObject>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x7ffe1ca3fb00) at kernel/qobject.cpp:3602
#23 0x00007f221bdb3905 in KFI::CFontListView::itemsSelected (this=this@entry=0x9c89e0, _t1=...) at /var/tmp/portage/kde-plasma/plasma-desktop-5.9.5/work/plasma-desktop-5.9.5_build/kcms/kfontinst/kcmfontinst/kcm_fontinst_autogen/EWIEGA46WW/moc_FontList.cpp:607
#24 0x00007f221bd95f5e in KFI::CFontListView::selectionChanged (this=0x9c89e0, selected=..., deselected=...) at /var/tmp/portage/kde-plasma/plasma-desktop-5.9.5/work/plasma-desktop-5.9.5/kcms/kfontinst/kcmfontinst/FontList.cpp:1720
#25 0x00007f221bdb4a61 in KFI::CFontListView::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/kde-plasma/plasma-desktop-5.9.5/work/plasma-desktop-5.9.5_build/kcms/kfontinst/kcmfontinst/kcm_fontinst_autogen/EWIEGA46WW/moc_FontList.cpp:443
#26 0x00007f2247ae0c91 in QMetaObject::activate (sender=sender@entry=0xa44450, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe1ca3fce0) at kernel/qobject.cpp:3740
#27 0x00007f2247ae1577 in QMetaObject::activate (sender=sender@entry=0xa44450, m=m@entry=0x7f2247cebf20 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe1ca3fce0) at kernel/qobject.cpp:3602
#28 0x00007f2247a78937 in QItemSelectionModel::selectionChanged (this=this@entry=0xa44450, _t1=..., _t2=...) at .moc/moc_qitemselectionmodel.cpp:478
#29 0x00007f2247a7d120 in QItemSelectionModel::emitSelectionChanged (this=this@entry=0xa44450, newSelection=..., oldSelection=...) at itemmodels/qitemselectionmodel.cpp:1811
#30 0x00007f2247a7e742 in QItemSelectionModel::select (this=0xa44450, selection=..., command=...) at itemmodels/qitemselectionmodel.cpp:1298
#31 0x00007f2247a7a86c in QItemSelectionModel::select (this=0xa44450, index=..., command=...) at itemmodels/qitemselectionmodel.cpp:1159
#32 0x00007f221bd8f2c8 in KFI::CFontListView::selectFirstFont (this=0x9c89e0) at /var/tmp/portage/kde-plasma/plasma-desktop-5.9.5/work/plasma-desktop-5.9.5/kcms/kfontinst/kcmfontinst/FontList.cpp:1701
#33 0x00007f221bda3a45 in KFI::CKCmFontInst::listingPercent (this=0xea7dd0, p=100) at /var/tmp/portage/kde-plasma/plasma-desktop-5.9.5/work/plasma-desktop-5.9.5/kcms/kfontinst/kcmfontinst/KCmFontInst.cpp:915
#34 0x00007f221bdb521b in KFI::CKCmFontInst::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/kde-plasma/plasma-desktop-5.9.5/work/plasma-desktop-5.9.5_build/kcms/kfontinst/kcmfontinst/kcm_fontinst_autogen/EWIEGA46WW/moc_KCmFontInst.cpp:183
#35 0x00007f2247ae0c91 in QMetaObject::activate (sender=0x99b4d0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe1ca400e0) at kernel/qobject.cpp:3740
#36 0x00007f2247ae1577 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f221bfdba20 <KFI::CFontList::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe1ca400e0) at kernel/qobject.cpp:3602
#37 0x00007f221bdb37ee in KFI::CFontList::listingPercent (this=<optimized out>, _t1=<optimized out>, _t1@entry=100) at /var/tmp/portage/kde-plasma/plasma-desktop-5.9.5/work/plasma-desktop-5.9.5_build/kcms/kfontinst/kcmfontinst/kcm_fontinst_autogen/EWIEGA46WW/moc_FontList.cpp:192
#38 0x00007f221bd94e1c in KFI::CFontList::fontList (this=<optimized out>, pid=<optimized out>, families=...) at /var/tmp/portage/kde-plasma/plasma-desktop-5.9.5/work/plasma-desktop-5.9.5/kcms/kfontinst/kcmfontinst/FontList.cpp:494
#39 0x00007f221bdb45c7 in KFI::CFontList::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/kde-plasma/plasma-desktop-5.9.5/work/plasma-desktop-5.9.5_build/kcms/kfontinst/kcmfontinst/kcm_fontinst_autogen/EWIEGA46WW/moc_FontList.cpp:109
#40 0x00007f2247ae0c91 in QMetaObject::activate (sender=sender@entry=0x7f221bfdd8a0 <KFI::(anonymous namespace)::Q_QGS_theInterface::innerFunction()::holder>, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe1ca40350) at kernel/qobject.cpp:3740
#41 0x00007f2247ae1577 in QMetaObject::activate (sender=sender@entry=0x7f221bfdd8a0 <KFI::(anonymous namespace)::Q_QGS_theInterface::innerFunction()::holder>, m=m@entry=0x7f221bfdbbe0 <OrgKdeFontinstInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe1ca40350) at kernel/qobject.cpp:3602
#42 0x00007f221bdb619d in OrgKdeFontinstInterface::fontList (_t2=..., _t1=<optimized out>, this=0x7f221bfdd8a0 <KFI::(anonymous namespace)::Q_QGS_theInterface::innerFunction()::holder>) at /var/tmp/portage/kde-plasma/plasma-desktop-5.9.5/work/plasma-desktop-5.9.5_build/kcms/kfontinst/kcmfontinst/kcm_fontinst_autogen/EHWPYLJPSU/moc_FontinstIface.cpp:286
#43 OrgKdeFontinstInterface::qt_static_metacall (_o=_o@entry=0x7f221bfdd8a0 <KFI::(anonymous namespace)::Q_QGS_theInterface::innerFunction()::holder>, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=0, _a=_a@entry=0x7ffe1ca404d0) at /var/tmp/portage/kde-plasma/plasma-desktop-5.9.5/work/plasma-desktop-5.9.5_build/kcms/kfontinst/kcmfontinst/kcm_fontinst_autogen/EHWPYLJPSU/moc_FontinstIface.cpp:152
#44 0x00007f221bdb7285 in OrgKdeFontinstInterface::qt_metacall (this=0x7f221bfdd8a0 <KFI::(anonymous namespace)::Q_QGS_theInterface::innerFunction()::holder>, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffe1ca404d0) at /var/tmp/portage/kde-plasma/plasma-desktop-5.9.5/work/plasma-desktop-5.9.5_build/kcms/kfontinst/kcmfontinst/kcm_fontinst_autogen/EHWPYLJPSU/moc_FontinstIface.cpp:272
#45 0x00007f224ab440fb in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at qdbusintegrator.cpp:995
#46 0x00007f2247ae1d79 in QObject::event (this=0x7f221bfdd8a0 <KFI::(anonymous namespace)::Q_QGS_theInterface::innerFunction()::holder>, e=<optimized out>) at kernel/qobject.cpp:1263
#47 0x00007f2248eec7fc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x7f221bfdd8a0 <KFI::(anonymous namespace)::Q_QGS_theInterface::innerFunction()::holder>, e=0x7f223000e820) at kernel/qapplication.cpp:3799
#48 0x00007f2248ef3e20 in QApplication::notify (this=0x7ffe1ca40bd0, receiver=0x7f221bfdd8a0 <KFI::(anonymous namespace)::Q_QGS_theInterface::innerFunction()::holder>, e=0x7f223000e820) at kernel/qapplication.cpp:3556
#49 0x00007f2247aba651 in QCoreApplication::notifyInternal2 (receiver=0x7f221bfdd8a0 <KFI::(anonymous namespace)::Q_QGS_theInterface::innerFunction()::holder>, event=event@entry=0x7f223000e820) at kernel/qcoreapplication.cpp:988
#50 0x00007f2247abcca3 in QCoreApplication::sendEvent (event=0x7f223000e820, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#51 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x8e0fd0) at kernel/qcoreapplication.cpp:1649
#52 0x00007f2247abd118 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1503
#53 0x00007f2247b06a23 in postEventSourceDispatch (s=0x944b80) at kernel/qeventdispatcher_glib.cpp:276
#54 0x00007f22426e437e in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#55 0x00007f22426e45e0 in ?? () from /usr/lib64/libglib-2.0.so.0
#56 0x00007f22426e468c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#57 0x00007f2247b06a97 in QEventDispatcherGlib::processEvents (this=0x96f5a0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#58 0x00007f2247ab964a in QEventLoop::exec (this=this@entry=0x7ffe1ca40ab0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#59 0x00007f2247ac0f64 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1261
#60 0x00007f22489eba6c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1633
#61 0x00007f2248eec755 in QApplication::exec () at kernel/qapplication.cpp:2975
#62 0x000000000040c2c4 in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-plasma/systemsettings-5.9.5/work/systemsettings-5.9.5/app/main.cpp:62

Possible duplicates by query: bug 374212, bug 364746.

Reported using DrKonqi
Comment 1 Christoph Feck 2017-06-07 17:20:53 UTC

*** This bug has been marked as a duplicate of bug 364746 ***