Bug 395838

Summary: System Preferences tool stoped working while selecting font antialiasing options (Using Wayland)
Product: [Applications] systemsettings Reporter: Eduardo Garcia <me>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.13.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Eduardo Garcia 2018-06-25 01:21:58 UTC
Application: systemsettings5 (5.13.0)

Qt Version: 5.11.0
Frameworks Version: 5.47.0
Operating System: Linux 4.17.2-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
When you select antialising options (subpixel rendering and hinting) while using wayland System Preferences crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Preferencias del sistema (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f18328c0cc0 (LWP 21106))]

Thread 7 (Thread 0x7f17b6ffd700 (LWP 21125)):
#0  0x00007f182df1da49 in syscall () at /lib64/libc.so.6
#1  0x00007f18271a4d7a in g_cond_wait_until () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f1827131c41 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f18271321fc in g_async_queue_timeout_pop () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f1827187681 in  () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f1827186c45 in  () at /usr/lib64/libglib-2.0.so.0
#6  0x00007f1829813554 in start_thread () at /lib64/libpthread.so.0
#7  0x00007f182df22fdf in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f17f8871700 (LWP 21111)):
#0  0x00007f18271a4b20 in g_mutex_lock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f182715ecac in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f182715f270 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f182715f3ec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f182e82590b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f182e7d59fb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f182e634356 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x00007f182c329ce5 in  () at /usr/lib64/libQt5Qml.so.5
#8  0x00007f182e63d93c in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007f1829813554 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f182df22fdf in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f180927d700 (LWP 21110)):
#0  0x00007f182df185d9 in poll () at /lib64/libc.so.6
#1  0x00007f182715f2c6 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f182715f3ec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f182e82590b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f182e7d59fb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f182e634356 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f182c329ce5 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f182e63d93c in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f1829813554 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f182df22fdf in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f18110ac700 (LWP 21109)):
#0  0x00007f182e6312dc in QMutex::lock() () at /usr/lib64/libQt5Core.so.5
#1  0x00007f182e82582b in  () at /usr/lib64/libQt5Core.so.5
#2  0x00007f182715e7f9 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f182715f1fb in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f182715f3ec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f182e82590b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f182e7d59fb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f182e634356 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007f182c329ce5 in  () at /usr/lib64/libQt5Qml.so.5
#9  0x00007f182e63d93c in  () at /usr/lib64/libQt5Core.so.5
#10 0x00007f1829813554 in start_thread () at /lib64/libpthread.so.0
#11 0x00007f182df22fdf in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f1813cc6700 (LWP 21108)):
#0  0x00007f18298194ec in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f18149b3c1b in  () at /usr/lib64/dri/i965_dri.so
#2  0x00007f18149b3947 in  () at /usr/lib64/dri/i965_dri.so
#3  0x00007f1829813554 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f182df22fdf in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f181c9ef700 (LWP 21107)):
#0  0x00007f182df185d9 in poll () at /lib64/libc.so.6
#1  0x00007f182715f2c6 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f182715f3ec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f182e82590b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f182e7d59fb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f182e634356 in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f182ec76f45 in  () at /usr/lib64/libQt5DBus.so.5
#7  0x00007f182e63d93c in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f1829813554 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f182df22fdf in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f18328c0cc0 (LWP 21106)):
[KCrash Handler]
#6  0x00007f182cf30423 in XAddExtension () at /usr/lib64/libX11.so.6
#7  0x00007f17f8e88efd in  () at /usr/lib64/libXft.so.2
#8  0x00007f17f8e893fe in XftDefaultHasRender () at /usr/lib64/libXft.so.2
#9  0x00007f17f8e89828 in XftDefaultSubstitute () at /usr/lib64/libXft.so.2
#10 0x00007f17f8e8c2b9 in XftFontMatch () at /usr/lib64/libXft.so.2
#11 0x00007f17f8e8c453 in XftFontOpen () at /usr/lib64/libXft.so.2
#12 0x00007f17ec2df135 in KFI::CFcEngine::getFont(int) () at /usr/lib64/libkfontinstui.so.5
#13 0x00007f17ec2df612 in KFI::CFcEngine::queryFont() () at /usr/lib64/libkfontinstui.so.5
#14 0x00007f17ec2dfdc8 in KFI::CFcEngine::getSizes() () at /usr/lib64/libkfontinstui.so.5
#15 0x00007f17ec2e15c8 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>*) () at /usr/lib64/libkfontinstui.so.5
#16 0x00007f17ec7b6071 in  () at /usr/lib64/qt5/plugins/kcm_fontinst.so
#17 0x00007f17ec7dd576 in  () at /usr/lib64/qt5/plugins/kcm_fontinst.so
#18 0x00007f17ec7ef769 in  () at /usr/lib64/qt5/plugins/kcm_fontinst.so
#19 0x00007f17ec7f02da in  () at /usr/lib64/qt5/plugins/kcm_fontinst.so
#20 0x00007f182e7fea53 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#21 0x00007f17ec7ee7b5 in  () at /usr/lib64/qt5/plugins/kcm_fontinst.so
#22 0x00007f17ec7d17f1 in  () at /usr/lib64/qt5/plugins/kcm_fontinst.so
#23 0x00007f17ec7eff41 in  () at /usr/lib64/qt5/plugins/kcm_fontinst.so
#24 0x00007f182e7fea53 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#25 0x00007f182e79ac58 in QItemSelectionModel::selectionChanged(QItemSelection const&, QItemSelection const&) () at /usr/lib64/libQt5Core.so.5
#26 0x00007f182e7a01d8 in QItemSelectionModel::emitSelectionChanged(QItemSelection const&, QItemSelection const&) () at /usr/lib64/libQt5Core.so.5
#27 0x00007f182e7a28e3 in QItemSelectionModel::select(QItemSelection const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib64/libQt5Core.so.5
#28 0x00007f182e79d46e in QItemSelectionModel::select(QModelIndex const&, QFlags<QItemSelectionModel::SelectionFlag>) () at /usr/lib64/libQt5Core.so.5
#29 0x00007f17ec7cb3ec in  () at /usr/lib64/qt5/plugins/kcm_fontinst.so
#30 0x00007f17ec7df541 in  () at /usr/lib64/qt5/plugins/kcm_fontinst.so
#31 0x00007f17ec7ef65b in  () at /usr/lib64/qt5/plugins/kcm_fontinst.so
#32 0x00007f17ec7f02da in  () at /usr/lib64/qt5/plugins/kcm_fontinst.so
#33 0x00007f182e7fea53 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#34 0x00007f17ec7ee68e in  () at /usr/lib64/qt5/plugins/kcm_fontinst.so
#35 0x00007f17ec7ef87f in  () at /usr/lib64/qt5/plugins/kcm_fontinst.so
#36 0x00007f182e7fea53 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#37 0x00007f17ec7f1403 in  () at /usr/lib64/qt5/plugins/kcm_fontinst.so
#38 0x00007f17ec7f2363 in  () at /usr/lib64/qt5/plugins/kcm_fontinst.so
#39 0x00007f182ec81efa in  () at /usr/lib64/libQt5DBus.so.5
#40 0x00007f182e7ff2c2 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#41 0x00007f182f7e1b01 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#42 0x00007f182f7e8cea in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#43 0x00007f182e7d6be9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#44 0x00007f182e7d9aab in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#45 0x00007f182e826273 in  () at /usr/lib64/libQt5Core.so.5
#46 0x00007f182715f0be in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#47 0x00007f182715f358 in  () at /usr/lib64/libglib-2.0.so.0
#48 0x00007f182715f3ec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#49 0x00007f182e8258f3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#50 0x00007f1821984ec1 in  () at /usr/lib64/libQt5WaylandClient.so.5
#51 0x00007f182e7d59fb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#52 0x00007f182e7dd78e in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#53 0x0000560e11cc0aa0 in  ()
#54 0x00007f182de4b11b in __libc_start_main () at /lib64/libc.so.6
#55 0x0000560e11cc0b2a in _start ()

Reported using DrKonqi
Comment 1 Christoph Feck 2018-07-18 20:56:40 UTC

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