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

            Bug ID: 414347
           Summary: Font Management crashes
           Product: systemsettings
           Version: 5.12.8
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: georgehal...@gmail.com
  Target Milestone: ---

Application: systemsettings5 (5.12.8)

Qt Version: 5.9.7
Frameworks Version: 5.55.0
Operating System: Linux 4.12.14-lp151.28.32-default x86_64
Distribution (Platform): openSUSE RPMs

-- Information about the crash:
- Custom settings of the application: If I want to access Font Management from
Configure Desktop -> Fonts, the System Settings close unexpectedly.

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 0x7f57243cbdc0 (LWP 2447))]

Thread 5 (Thread 0x7f56ed4ea700 (LWP 2455)):
#0  0x00007f571fb4119b in poll () from /lib64/libc.so.6
#1  0x00007f57190511a9 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f57190512bc in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007f572049296b in QEventDispatcherGlib::processEvents
(this=0x7f56e4000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f572043790a in QEventLoop::exec (this=this@entry=0x7f56ed4e9c70,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f5720255daa in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:515
#6  0x00007f572025aced in QThreadPrivate::start (arg=0x557e15650670) at
thread/qthread_unix.cpp:368
#7  0x00007f571b49a569 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f571fb4b9ef in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f56efde2700 (LWP 2452)):
#0  0x00007f5719096ff4 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f5719050bd1 in g_main_context_check () from
/usr/lib64/libglib-2.0.so.0
#2  0x00007f5719051150 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f57190512bc in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#4  0x00007f572049296b in QEventDispatcherGlib::processEvents
(this=0x7f56e8000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f572043790a in QEventLoop::exec (this=this@entry=0x7f56efde1c50,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f5720255daa in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:515
#7  0x00007f571e0ae9f5 in ?? () from /usr/lib64/libQt5Qml.so.5
#8  0x00007f572025aced in QThreadPrivate::start (arg=0x557e145f7040) at
thread/qthread_unix.cpp:368
#9  0x00007f571b49a569 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f571fb4b9ef in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f56f8a5a700 (LWP 2450)):
#0  0x00007f571fb4119b in poll () from /lib64/libc.so.6
#1  0x00007f57190511a9 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f57190512bc in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007f572049296b in QEventDispatcherGlib::processEvents
(this=0x7f56f4000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f572043790a in QEventLoop::exec (this=this@entry=0x7f56f8a59c50,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f5720255daa in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:515
#6  0x00007f571e0ae9f5 in ?? () from /usr/lib64/libQt5Qml.so.5
#7  0x00007f572025aced in QThreadPrivate::start (arg=0x557e1417ca80) at
thread/qthread_unix.cpp:368
#8  0x00007f571b49a569 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f571fb4b9ef in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f570f222700 (LWP 2449)):
#0  0x00007f5719096fd9 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f5719050716 in g_main_context_prepare () from
/usr/lib64/libglib-2.0.so.0
#2  0x00007f57190510db in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f57190512bc in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#4  0x00007f572049296b in QEventDispatcherGlib::processEvents
(this=0x7f5708000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f572043790a in QEventLoop::exec (this=this@entry=0x7f570f221c40,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f5720255daa in QThread::exec (this=this@entry=0x7f5720b8cd60
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread.cpp:515
#7  0x00007f57209199e5 in QDBusConnectionManager::run (this=0x7f5720b8cd60
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:178
#8  0x00007f572025aced in QThreadPrivate::start (arg=0x7f5720b8cd60 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:368
#9  0x00007f571b49a569 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f571fb4b9ef in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f57243cbdc0 (LWP 2447)):
[KCrash Handler]
#6  0x0000557e13bd3780 in ?? ()
#7  0x00007f571b6e2ac5 in XAddExtension (dpy=dpy@entry=0x557e13bd29c0) at
InitExt.c:73
#8  0x00007f56dedb2e4b in _XftDisplayInfoGet (dpy=0x557e13bd29c0,
createIfNecessary=<optimized out>) at xftdpy.c:91
#9  0x00007f56dedb336e in XftDefaultHasRender (dpy=dpy@entry=0x557e13bd29c0) at
xftdpy.c:254
#10 0x00007f56dedb3a38 in XftDefaultSubstitute (dpy=dpy@entry=0x557e13bd29c0,
screen=screen@entry=0, pattern=pattern@entry=0x557e159166c0) at xftdpy.c:462
#11 0x00007f56dedb62d9 in XftFontMatch (dpy=dpy@entry=0x557e13bd29c0,
screen=screen@entry=0, pattern=pattern@entry=0x557e1592d8a0,
result=result@entry=0x7ffe83cbcfcc) at xftfont.c:52
#12 0x00007f56dedb6475 in XftFontOpen (dpy=0x557e13bd29c0,
screen=screen@entry=0) at xftfont.c:87
#13 0x00007f56df468edd in KFI::CFcEngine::getFont
(this=this@entry=0x557e156c3bc0, size=size@entry=8) at
/usr/src/debug/plasma5-desktop-5.12.8-lp151.1.3.x86_64/kcms/kfontinst/lib/FcEngine.cpp:1186
#14 0x00007f56df4693a2 in KFI::CFcEngine::queryFont
(this=this@entry=0x557e156c3bc0) at
/usr/src/debug/plasma5-desktop-5.12.8-lp151.1.3.x86_64/kcms/kfontinst/lib/FcEngine.cpp:1144
#15 0x00007f56df469b38 in KFI::CFcEngine::getSizes (this=0x557e156c3bc0) at
/usr/src/debug/plasma5-desktop-5.12.8-lp151.1.3.x86_64/kcms/kfontinst/lib/FcEngine.cpp:1302
#16 0x00007f56df46ac95 in KFI::CFcEngine::draw (this=this@entry=0x557e156c3bc0,
name=..., style=<optimized out>, faceNo=<optimized out>, txt=..., bgnd=...,
w=232, h=392, thumb=false, range=..., chars=0x557e15593ae0) at
/usr/src/debug/plasma5-desktop-5.12.8-lp151.1.3.x86_64/kcms/kfontinst/lib/FcEngine.cpp:787
#17 0x00007f56df91bec1 in KFI::CFontPreview::showFont (this=0x557e15593a70) at
/usr/src/debug/plasma5-desktop-5.12.8-lp151.1.3.x86_64/kcms/kfontinst/viewpart/FontPreview.cpp:75
#18 0x00007f56df91c038 in KFI::CFontPreview::showFace (face=<optimized out>,
this=<optimized out>) at
/usr/src/debug/plasma5-desktop-5.12.8-lp151.1.3.x86_64/kcms/kfontinst/viewpart/FontPreview.cpp:67
#19 KFI::CFontPreview::showFont (this=<optimized out>, name=...,
styleInfo=<optimized out>, face=<optimized out>) at
/usr/src/debug/plasma5-desktop-5.12.8-lp151.1.3.x86_64/kcms/kfontinst/viewpart/FontPreview.cpp:61
#20 0x00007f56df944376 in KFI::CKCmFontInst::fontsSelected (this=0x2c,
list=...) at
/usr/src/debug/plasma5-desktop-5.12.8-lp151.1.3.x86_64/kcms/kfontinst/kcmfontinst/KCmFontInst.cpp:474
#21 0x00007f56df957299 in KFI::CKCmFontInst::qt_static_metacall (_o=<optimized
out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
/usr/src/debug/plasma5-desktop-5.12.8-lp151.1.3.x86_64/build/kcms/kfontinst/kcmfontinst/kcm_fontinst_autogen/EWIEGA46WW/moc_KCmFontInst.cpp:168
#22 0x00007f5720468535 in QMetaObject::activate
(sender=sender@entry=0x557e156b56a0, signalOffset=<optimized out>,
local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x7ffe83cbd5a0)
at kernel/qobject.cpp:3767
#23 0x00007f5720468c07 in QMetaObject::activate
(sender=sender@entry=0x557e156b56a0, m=m@entry=0x7f56dfb7d9a0
<KFI::CFontListView::staticMetaObject>,
local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x7ffe83cbd5a0)
at kernel/qobject.cpp:3629
#24 0x00007f56df955855 in KFI::CFontListView::itemsSelected
(this=this@entry=0x557e156b56a0, _t1=...) at
/usr/src/debug/plasma5-desktop-5.12.8-lp151.1.3.x86_64/build/kcms/kfontinst/kcmfontinst/kcm_fontinst_autogen/EWIEGA46WW/moc_FontList.cpp:606
#25 0x00007f56df937fe1 in KFI::CFontListView::selectionChanged
(this=0x557e156b56a0, selected=..., deselected=...) at
/usr/src/debug/plasma5-desktop-5.12.8-lp151.1.3.x86_64/kcms/kfontinst/kcmfontinst/FontList.cpp:1722
#26 0x00007f56df956b91 in KFI::CFontListView::qt_static_metacall (_o=<optimized
out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
/usr/src/debug/plasma5-desktop-5.12.8-lp151.1.3.x86_64/build/kcms/kfontinst/kcmfontinst/kcm_fontinst_autogen/EWIEGA46WW/moc_FontList.cpp:443
#27 0x00007f5720468535 in QMetaObject::activate
(sender=sender@entry=0x557e13ce3bd0, signalOffset=<optimized out>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe83cbd760)
at kernel/qobject.cpp:3767
#28 0x00007f5720468c07 in QMetaObject::activate
(sender=sender@entry=0x557e13ce3bd0, m=m@entry=0x7f57208f39c0
<QItemSelectionModel::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe83cbd760)
at kernel/qobject.cpp:3629
#29 0x00007f57203e51d7 in QItemSelectionModel::selectionChanged
(this=this@entry=0x557e13ce3bd0, _t1=..., _t2=...) at
.moc/moc_qitemselectionmodel.cpp:479
#30 0x00007f57203e9a70 in QItemSelectionModel::emitSelectionChanged
(this=this@entry=0x557e13ce3bd0, newSelection=..., oldSelection=...) at
itemmodels/qitemselectionmodel.cpp:1846
#31 0x00007f57203ecc43 in QItemSelectionModel::select (this=0x557e13ce3bd0,
selection=..., command=...) at itemmodels/qitemselectionmodel.cpp:1336
#32 0x00007f57203e720c in QItemSelectionModel::select (this=0x557e13ce3bd0,
index=..., command=...) at itemmodels/qitemselectionmodel.cpp:1186
#33 0x00007f56df9318fc in KFI::CFontListView::selectFirstFont
(this=0x557e156b56a0) at
/usr/src/debug/plasma5-desktop-5.12.8-lp151.1.3.x86_64/kcms/kfontinst/kcmfontinst/FontList.cpp:1703
#34 0x00007f56df946445 in KFI::CKCmFontInst::listingPercent
(this=0x557e1536a820, p=100) at
/usr/src/debug/plasma5-desktop-5.12.8-lp151.1.3.x86_64/kcms/kfontinst/kcmfontinst/KCmFontInst.cpp:917
#35 0x00007f56df9573ab in KFI::CKCmFontInst::qt_static_metacall (_o=<optimized
out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
/usr/src/debug/plasma5-desktop-5.12.8-lp151.1.3.x86_64/build/kcms/kfontinst/kcmfontinst/kcm_fontinst_autogen/EWIEGA46WW/moc_KCmFontInst.cpp:185
#36 0x00007f5720468535 in QMetaObject::activate (sender=0x557e13cafdb0,
signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0,
argv=argv@entry=0x7ffe83cbdb70) at kernel/qobject.cpp:3767
#37 0x00007f5720468c07 in QMetaObject::activate (sender=<optimized out>,
m=m@entry=0x7f56dfb7da20 <KFI::CFontList::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe83cbdb70)
at kernel/qobject.cpp:3629
#38 0x00007f56df95572e in KFI::CFontList::listingPercent (this=<optimized out>,
_t1=<optimized out>, _t1@entry=100) at
/usr/src/debug/plasma5-desktop-5.12.8-lp151.1.3.x86_64/build/kcms/kfontinst/kcmfontinst/kcm_fontinst_autogen/EWIEGA46WW/moc_FontList.cpp:193
#39 0x00007f56df936f3c in KFI::CFontList::fontList (this=<optimized out>,
pid=<optimized out>, families=...) at
/usr/src/debug/plasma5-desktop-5.12.8-lp151.1.3.x86_64/kcms/kfontinst/kcmfontinst/FontList.cpp:496
#40 0x00007f56df95663f in KFI::CFontList::qt_static_metacall (_o=<optimized
out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
/usr/src/debug/plasma5-desktop-5.12.8-lp151.1.3.x86_64/build/kcms/kfontinst/kcmfontinst/kcm_fontinst_autogen/EWIEGA46WW/moc_FontList.cpp:111
#41 0x00007f5720468535 in QMetaObject::activate (sender=0x7f56dfb7f880
<KFI::(anonymous namespace)::Q_QGS_theInterface::innerFunction()::holder>,
signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0,
argv=argv@entry=0x7ffe83cbddc0) at kernel/qobject.cpp:3767
#42 0x00007f5720468c07 in QMetaObject::activate (sender=<optimized out>,
m=m@entry=0x7f56dfb7dbe0 <OrgKdeFontinstInterface::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe83cbddc0)
at kernel/qobject.cpp:3629
#43 0x00007f56df958775 in OrgKdeFontinstInterface::fontList (_t2=...,
_t1=<optimized out>, this=<optimized out>) at
/usr/src/debug/plasma5-desktop-5.12.8-lp151.1.3.x86_64/build/kcms/kfontinst/kcmfontinst/kcm_fontinst_autogen/EHWPYLJPSU/moc_FontinstIface.cpp:287
#44 OrgKdeFontinstInterface::qt_static_metacall (_o=_o@entry=0x7f56dfb7f880
<KFI::(anonymous namespace)::Q_QGS_theInterface::innerFunction()::holder>,
_c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=0,
_a=_a@entry=0x7ffe83cbdf20) at
/usr/src/debug/plasma5-desktop-5.12.8-lp151.1.3.x86_64/build/kcms/kfontinst/kcmfontinst/kcm_fontinst_autogen/EHWPYLJPSU/moc_FontinstIface.cpp:154
#45 0x00007f56df959495 in OrgKdeFontinstInterface::qt_metacall
(this=0x7f56dfb7f880 <KFI::(anonymous
namespace)::Q_QGS_theInterface::innerFunction()::holder>,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffe83cbdf20) at
/usr/src/debug/plasma5-desktop-5.12.8-lp151.1.3.x86_64/build/kcms/kfontinst/kcmfontinst/kcm_fontinst_autogen/EHWPYLJPSU/moc_FontinstIface.cpp:273
#46 0x00007f5720924d98 in QDBusConnectionPrivate::deliverCall (this=<optimized
out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>)
at qdbusintegrator.cpp:998
#47 0x00007f57204690a2 in QObject::event (this=0x7f56dfb7f880 <KFI::(anonymous
namespace)::Q_QGS_theInterface::innerFunction()::holder>, e=<optimized out>) at
kernel/qobject.cpp:1247
#48 0x00007f572147f3dc in QApplicationPrivate::notify_helper
(this=this@entry=0x557e13ba44b0, receiver=receiver@entry=0x7f56dfb7f880
<KFI::(anonymous namespace)::Q_QGS_theInterface::innerFunction()::holder>,
e=e@entry=0x7f5708011e00) at kernel/qapplication.cpp:3723
#49 0x00007f5721486ca4 in QApplication::notify (this=0x7ffe83cbe5b0,
receiver=0x7f56dfb7f880 <KFI::(anonymous
namespace)::Q_QGS_theInterface::innerFunction()::holder>, e=0x7f5708011e00) at
kernel/qapplication.cpp:3482
#50 0x00007f57204398d8 in QCoreApplication::notifyInternal2
(receiver=0x7f56dfb7f880 <KFI::(anonymous
namespace)::Q_QGS_theInterface::innerFunction()::holder>,
event=event@entry=0x7f5708011e00) at kernel/qcoreapplication.cpp:1024
#51 0x00007f572043c04d in QCoreApplication::sendEvent (event=0x7f5708011e00,
receiver=<optimized out>) at kernel/qcoreapplication.h:233
#52 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0,
event_type=event_type@entry=0, data=0x557e13ba2450) at
kernel/qcoreapplication.cpp:1699
#53 0x00007f572043c5d8 in QCoreApplication::sendPostedEvents
(receiver=receiver@entry=0x0, event_type=event_type@entry=0) at
kernel/qcoreapplication.cpp:1553
#54 0x00007f5720493323 in postEventSourceDispatch (s=0x557e13c2d900) at
kernel/qeventdispatcher_glib.cpp:276
#55 0x00007f5719050e87 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#56 0x00007f5719051230 in ?? () from /usr/lib64/libglib-2.0.so.0
#57 0x00007f57190512bc in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#58 0x00007f572049294f in QEventDispatcherGlib::processEvents
(this=0x557e13bff000, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#59 0x00007f572043790a in QEventLoop::exec (this=this@entry=0x7ffe83cbe4d0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#60 0x00007f57204409b4 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1297
#61 0x0000557e1288f9c0 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/systemsettings5-5.12.8-lp151.1.2.x86_64/app/main.cpp:70
[Inferior 1 (process 2447) detached]

Possible duplicates by query: bug 396513, bug 396214.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to