Bug 396214 - wayland: crash when opening systemsettings5 -> fonts after setting 'antialiasing' to enabled
Summary: wayland: crash when opening systemsettings5 -> fonts after setting 'antialias...
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_fonts (show other bugs)
Version: 5.13.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: drkonqi, wayland
: 395838 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-07-05 18:23 UTC by Miroslav Spehar
Modified: 2018-07-18 20:56 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.13.3


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Spehar 2018-07-05 18:23:43 UTC
Application: systemsettings5 (5.13.2)

Qt Version: 5.11.1
Frameworks Version: 5.47.0
Operating System: Linux 4.17.3-1-default x86_64
Distribution (Platform): openSUSE RPMs

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

starting systemsettings5, then selecting fonts

- Unusual behavior I noticed:

at first i could open this part of the settings. after changing settings 'aliasing' to 'enabled', this part of the settings crashes the whole systemsettings5 app

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 0x7f67b9caecc0 (LWP 2097))]

Thread 17 (Thread 0x7f675696b700 (LWP 2116)):
#0  0x00007f67b0be24dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f679b40f69b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f679b40f3c7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f67b0bdc554 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f67b52efccf in clone () from /lib64/libc.so.6

Thread 16 (Thread 0x7f6757fff700 (LWP 2113)):
#0  0x00007f67b52e52c9 in poll () from /lib64/libc.so.6
#1  0x00007f67ae5292c6 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f67ae5293ec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f67b5bf2b3b in QEventDispatcherGlib::processEvents (this=0x7f674c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f67b5ba2b3b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f67b5a01326 in QThread::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x00007f67b36f4085 in QQmlThreadPrivate::run (this=0x564bf428d300) at /usr/src/debug/libqt5-qtdeclarative-5.11.1-1.1.x86_64/src/qml/qml/ftw/qqmlthread.cpp:148
#7  0x00007f67b5a0a8ec in QThreadPrivate::start(void*) () at thread/qthread_unix.cpp:367
#8  0x00007f67b0bdc554 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f67b52efccf in clone () from /lib64/libc.so.6

Thread 15 (Thread 0x7f6765f4f700 (LWP 2112)):
#0  0x00007f67b0be24dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f679b40f69b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f679b40f3c7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f67b0bdc554 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f67b52efccf in clone () from /lib64/libc.so.6

Thread 14 (Thread 0x7f6766a8c700 (LWP 2111)):
#0  0x00007f67b0be24dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f679b40f69b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f679b40f3c7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f67b0bdc554 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f67b52efccf in clone () from /lib64/libc.so.6

Thread 13 (Thread 0x7f67677fe700 (LWP 2110)):
#0  0x00007f67b0be24dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f679b40f69b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f679b40f3c7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f67b0bdc554 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f67b52efccf in clone () from /lib64/libc.so.6

Thread 12 (Thread 0x7f6767fff700 (LWP 2109)):
#0  0x00007f67b0be24dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f679b40f69b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f679b40f3c7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f67b0bdc554 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f67b52efccf in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7f676df61700 (LWP 2108)):
#0  0x00007f67b52e52c9 in poll () from /lib64/libc.so.6
#1  0x00007f67ae5292c6 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f67ae5293ec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f67b5bf2b3b in QEventDispatcherGlib::processEvents (this=0x7f6768000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f67b5ba2b3b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f67b5a01326 in QThread::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x00007f67b36f4085 in QQmlThreadPrivate::run (this=0x564bf3be1080) at /usr/src/debug/libqt5-qtdeclarative-5.11.1-1.1.x86_64/src/qml/qml/ftw/qqmlthread.cpp:148
#7  0x00007f67b5a0a8ec in QThreadPrivate::start(void*) () at thread/qthread_unix.cpp:367
#8  0x00007f67b0bdc554 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f67b52efccf in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7f677d9a6700 (LWP 2106)):
#0  0x00007f67b52e52c9 in poll () from /lib64/libc.so.6
#1  0x00007f67ae5292c6 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f67ae5293ec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f67b5bf2b3b in QEventDispatcherGlib::processEvents (this=0x7f6774000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f67b5ba2b3b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f67b5a01326 in QThread::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x00007f67b36f4085 in QQmlThreadPrivate::run (this=0x564bf38c14f0) at /usr/src/debug/libqt5-qtdeclarative-5.11.1-1.1.x86_64/src/qml/qml/ftw/qqmlthread.cpp:148
#7  0x00007f67b5a0a8ec in QThreadPrivate::start(void*) () at thread/qthread_unix.cpp:367
#8  0x00007f67b0bdc554 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f67b52efccf in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f677ffff700 (LWP 2105)):
#0  0x00007f67b0be24dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f679b40f69b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f679b40f3c7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f67b0bdc554 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f67b52efccf in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f6794db6700 (LWP 2104)):
#0  0x00007f67b0be24dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f679b40f69b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f679b40f3c7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f67b0bdc554 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f67b52efccf in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f67955b7700 (LWP 2103)):
#0  0x00007f67b0be24dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f679b40f69b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f679b40f3c7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f67b0bdc554 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f67b52efccf in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f6795db8700 (LWP 2102)):
#0  0x00007f67b0be24dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f679b40f69b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f679b40f3c7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f67b0bdc554 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f67b52efccf in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f67965b9700 (LWP 2101)):
#0  0x00007f67b0be24dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f679b40f69b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f679b40f3c7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f67b0bdc554 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f67b52efccf in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f6796dba700 (LWP 2100)):
#0  0x00007f67b0be24dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f679b40f69b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f679b40f3c7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f67b0bdc554 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f67b52efccf in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f67976fc700 (LWP 2099)):
#0  0x00007f67b0be24dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f679b40f69b in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007f679b40f3c7 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f67b0bdc554 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f67b52efccf in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f67a40d8700 (LWP 2098)):
#0  0x00007f67b52e0d34 in read () from /lib64/libc.so.6
#1  0x00007f67ae56d7a0 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f67ae528d9f in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f67ae529270 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f67ae5293ec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f67b5bf2b3b in QEventDispatcherGlib::processEvents (this=0x7f679c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f67b5ba2b3b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#7  0x00007f67b5a01326 in QThread::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#8  0x00007f67b6043f45 in ?? () from /usr/lib64/libQt5DBus.so.5
#9  0x00007f67b5a0a8ec in QThreadPrivate::start(void*) () at thread/qthread_unix.cpp:367
#10 0x00007f67b0bdc554 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f67b52efccf in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f67b9caecc0 (LWP 2097)):
[KCrash Handler]
#6  0x00007f67b42fd423 in XAddExtension (dpy=dpy@entry=0x564bf35754a0) at InitExt.c:73
#7  0x00007f6764947efd in _XftDisplayInfoGet (dpy=0x564bf35754a0, createIfNecessary=<optimized out>) at xftdpy.c:91
#8  0x00007f67649483fe in XftDefaultHasRender (dpy=dpy@entry=0x564bf35754a0) at xftdpy.c:254
#9  0x00007f6764948828 in XftDefaultSubstitute (dpy=dpy@entry=0x564bf35754a0, screen=screen@entry=0, pattern=pattern@entry=0x564bf46e7580) at xftdpy.c:462
#10 0x00007f676494b2b9 in XftFontMatch (dpy=dpy@entry=0x564bf35754a0, screen=screen@entry=0, pattern=pattern@entry=0x564bf46bd3d0, result=result@entry=0x7ffd515fdb9c) at xftfont.c:52
#11 0x00007f676494b453 in XftFontOpen (dpy=0x564bf35754a0, screen=screen@entry=0) at xftfont.c:87
#12 0x00007f6765217315 in KFI::CFcEngine::getFont (this=this@entry=0x7ffd515fe020, size=size@entry=8) at /usr/include/qt5/QtCore/qarraydata.h:206
#13 0x00007f67652177f2 in KFI::CFcEngine::queryFont (this=this@entry=0x7ffd515fe020) at /usr/src/debug/plasma5-desktop-5.13.2-1.1.x86_64/kcms/kfontinst/lib/FcEngine.cpp:1233
#14 0x00007f6765217fa8 in KFI::CFcEngine::getSizes (this=0x7ffd515fe020) at /usr/src/debug/plasma5-desktop-5.13.2-1.1.x86_64/kcms/kfontinst/lib/FcEngine.cpp:1391
#15 0x00007f676521903f in KFI::CFcEngine::draw (this=this@entry=0x7ffd515fe020, name=..., style=style@entry=5268480, faceNo=faceNo@entry=0, txt=..., bgnd=..., fSize=13, text_=...) at /usr/src/debug/plasma5-desktop-5.13.2-1.1.x86_64/kcms/kfontinst/lib/FcEngine.cpp:772
#16 0x00007f6765210b4f in PreviewRenderEngine::drawAutoSize (this=<optimized out>, font=..., txt=..., bgnd=..., text=...) at /usr/src/debug/plasma5-desktop-5.13.2-1.1.x86_64/kcms/fonts/previewrenderengine.cpp:136
#17 0x00007f67652111a3 in PreviewImageProvider::requestImage (this=0x564bf4699bb0, id=..., size=0x7ffd515fe270, requestedSize=...) at /usr/src/debug/plasma5-desktop-5.13.2-1.1.x86_64/kcms/fonts/previewimageprovider.cpp:112
#18 0x00007f67b3b82265 in createPixmapDataSync (ok=<synthetic pointer>, providerOptions=..., requestSize=..., url=..., engine=<optimized out>, declarativePixmap=0x564bf46b62d0) at /usr/include/c++/8/bits/atomic_base.h:303
#19 QQuickPixmap::load(QQmlEngine*, QUrl const&, QSize const&, QFlags<QQuickPixmap::Option>, QQuickImageProviderOptions const&) () at /usr/src/debug/libqt5-qtdeclarative-5.11.1-1.1.x86_64/src/quick/util/qquickpixmapcache.cpp:1555
#20 0x00007f67b3cbd156 in QQuickImageBase::load (this=0x564bf46b60d0) at /usr/include/qt5/QtCore/qsize.h:119
#21 0x00007f67b36e792e in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () at /usr/src/debug/libqt5-qtdeclarative-5.11.1-1.1.x86_64/src/qml/qml/qqmlobjectcreator.cpp:1359
#22 0x00007f67b366711a in QQmlIncubatorPrivate::incubate(QQmlInstantiationInterrupt&) () at /usr/src/debug/libqt5-qtdeclarative-5.11.1-1.1.x86_64/src/qml/qml/qqmlincubator.cpp:344
#23 0x00007f67b36676ff in QQmlEnginePrivate::incubate (this=0x564bf41cc650, i=..., forContext=forContext@entry=0x564bf432edc0) at /usr/src/debug/libqt5-qtdeclarative-5.11.1-1.1.x86_64/src/qml/qml/qqmlincubator.cpp:89
#24 0x00007f67b3662ba1 in QQmlComponentPrivate::incubateObject (this=this@entry=0x564bf4360410, incubationTask=<optimized out>, component=<optimized out>, engine=<optimized out>, context=context@entry=0x564bf46b0040, forContext=forContext@entry=0x564bf432edc0) at /usr/src/debug/libqt5-qtdeclarative-5.11.1-1.1.x86_64/src/qml/qml/qqmlcomponent.cpp:1089
#25 0x00007f67b37338dd in QQmlDelegateModelPrivate::object(QQmlListCompositor::Group, int, QQmlIncubator::IncubationMode) () at /usr/include/c++/8/bits/atomic_base.h:390
#26 0x00007f67b37339f1 in QQmlDelegateModel::object (this=<optimized out>, index=1, incubationMode=QQmlIncubator::AsynchronousIfNested) at /usr/src/debug/libqt5-qtdeclarative-5.11.1-1.1.x86_64/src/qml/types/qqmldelegatemodel.cpp:1039
#27 0x00007f67a6aa8011 in QQuickComboBox::textAt (this=this@entry=0x564bf438cd30, index=1) at qquickcombobox.cpp:1381
#28 0x00007f67a6aa81ce in QQuickComboBoxPrivate::updateCurrentText (this=this@entry=0x564bf42e80c0) at qquickcombobox.cpp:438
#29 0x00007f67a6aa85c8 in QQuickComboBoxPrivate::setCurrentIndex (this=0x564bf42e80c0, index=1, activate=activate@entry=(anonymous namespace)::NoActivate) at qquickcombobox.cpp:500
#30 0x00007f67a6aa8722 in QQuickComboBox::setCurrentIndex (this=<optimized out>, index=<optimized out>) at qquickcombobox.cpp:890
#31 0x00007f67a6afa672 in QQuickComboBox::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qquickcombobox_p.cpp:563
#32 0x00007f67b36dde86 in QQmlPropertyData::writeProperty (flags=..., value=0x7ffd515fe85c, target=<optimized out>, this=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.11.1-1.1.x86_64/include/QtQml/5.11.1/QtQml/private/../../../../../src/qml/qml/qqmlpropertycache_p.h:346
#33 GenericBinding<2>::doStore<int> (flags=..., pd=<optimized out>, value=<optimized out>, this=<optimized out>) at /usr/src/debug/libqt5-qtdeclarative-5.11.1-1.1.x86_64/src/qml/qml/qqmlbinding.cpp:334
#34 GenericBinding<2>::write (this=0x564bf438d5a0, result=..., isUndefined=<optimized out>, flags=...) at /usr/src/debug/libqt5-qtdeclarative-5.11.1-1.1.x86_64/src/qml/qml/qqmlbinding.cpp:303
#35 0x00007f67b36deab4 in QQmlNonbindingBinding::doUpdate (this=0x564bf438d5a0, watcher=..., flags=..., scope=...) at /usr/src/debug/libqt5-qtdeclarative-5.11.1-1.1.x86_64/include/QtQml/5.11.1/QtQml/private/../../../../../src/qml/jsruntime/qv4scopedvalue_p.h:201
#36 0x00007f67b36db253 in QQmlBinding::update (this=0x564bf438d5a0, flags=...) at /usr/src/debug/libqt5-qtdeclarative-5.11.1-1.1.x86_64/src/qml/qml/qqmlbinding.cpp:185
#37 0x00007f67b36b3973 in QQmlNotifier::emitNotify (endpoint=<optimized out>, a=a@entry=0x0) at /usr/src/debug/libqt5-qtdeclarative-5.11.1-1.1.x86_64/src/qml/qml/qqmlnotifier.cpp:106
#38 0x00007f67b3650172 in QQmlData::signalEmitted(QAbstractDeclarativeData*, QObject*, int, void**) () at /usr/src/debug/libqt5-qtdeclarative-5.11.1-1.1.x86_64/src/qml/qml/qqmlengine.cpp:861
#39 0x00007f67b5bcb4d0 in QMetaObject::activate(QObject*, int, int, void**) () at kernel/qobject.h:121
#40 0x00007f67b5bcc1b7 in QMetaObject::activate (sender=sender@entry=0x564bf42ed590, m=m@entry=0x7f6765431c00 <FontAASettings::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x0) at kernel/qobject.cpp:3633
#41 0x00007f67652236a3 in FontAASettings::subPixelCurrentIndexChanged (this=this@entry=0x564bf42ed590) at /usr/src/debug/plasma5-desktop-5.13.2-1.1.x86_64/build/kcms/fonts/kcm_fonts_autogen/EWIEGA46WW/moc_fonts.cpp:337
#42 0x00007f6765213761 in FontAASettings::setSubPixelCurrentIndex (idx=<optimized out>, this=0x564bf42ed590) at /usr/src/debug/plasma5-desktop-5.13.2-1.1.x86_64/kcms/fonts/fonts.cpp:399
#43 FontAASettings::load (this=0x564bf42ed590) at /usr/src/debug/plasma5-desktop-5.13.2-1.1.x86_64/kcms/fonts/fonts.cpp:148
#44 0x00007f6765213fb8 in KFonts::load (this=0x564bf41ac660) at /usr/src/debug/plasma5-desktop-5.13.2-1.1.x86_64/kcms/fonts/fonts.cpp:512
#45 0x00007f67b5bcc3f2 in QObject::event(QEvent*) () at kernel/qobject.cpp:1251
#46 0x00007f67b6becacb in QWidget::event (this=0x564bf428e050, event=0x564bf44d7790) at kernel/qwidget.cpp:9347
#47 0x00007f67b6bb0c11 in QApplicationPrivate::notify_helper (this=this@entry=0x564bf356cc30, receiver=receiver@entry=0x564bf428e050, e=e@entry=0x564bf44d7790) at kernel/qapplication.cpp:3728
#48 0x00007f67b6bb7df0 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3487
#49 0x00007f67b5ba3d29 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at ../../include/QtCore/../../src/corelib/kernel/qobject.h:142
#50 0x00007f67b5ba6bdb in QCoreApplication::sendEvent (event=0x564bf44d7790, receiver=<optimized out>) at kernel/qcoreapplication.h:234
#51 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at kernel/qcoreapplication.cpp:1745
#52 0x00007f67b5ba7018 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1599
#53 0x00007f67b5bf34a3 in postEventSourceDispatch (s=0x564bf360c510) at kernel/qeventdispatcher_glib.cpp:276
#54 0x00007f67ae5290be in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#55 0x00007f67ae529358 in ?? () from /usr/lib64/libglib-2.0.so.0
#56 0x00007f67ae5293ec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#57 0x00007f67b5bf2b23 in QEventDispatcherGlib::processEvents (this=0x564bf35a08f0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#58 0x00007f67a8d7a4a1 in QPAEventDispatcherGlib::processEvents (this=0x564bf35a08f0, flags=...) at qeventdispatcher_glib.cpp:69
#59 0x00007f67b5ba2b3b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#60 0x00007f67b5baa8be in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#61 0x0000564bf17c3aa0 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/systemsettings5-5.13.2-1.1.x86_64/app/main.cpp:73

Possible duplicates by query: bug 364746.

Reported using DrKonqi
Comment 1 Kai Uwe Broulik 2018-07-06 07:07:13 UTC
Seems the live previews do X calls unconditionally and then crash
Comment 2 Fabian Vogt 2018-07-06 08:17:26 UTC
The font management KCM only supports X.
Comment 3 Christoph Feck 2018-07-06 13:54:07 UTC
Comment #2 is bug 364746.
Comment 4 Kai Uwe Broulik 2018-07-09 12:01:12 UTC
Git commit 3fd0bf5cef8af100932cd1284fbffa8014326374 by Kai Uwe Broulik.
Committed on 09/07/2018 at 12:00.
Pushed by broulik into branch 'Plasma/5.13'.

[Fonts KCM] Generate font rendering previews only on X

It uses Xft unconditionally and crashes the entire module when run on Wayland.
FIXED-IN: 5.13.3

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

M  +6    -0    kcms/fonts/previewimageprovider.cpp

https://commits.kde.org/plasma-desktop/3fd0bf5cef8af100932cd1284fbffa8014326374
Comment 5 Christoph Feck 2018-07-18 20:56:40 UTC
*** Bug 395838 has been marked as a duplicate of this bug. ***