Bug 421723 - Kfontview crashes immediately on start under Wayland
Summary: Kfontview crashes immediately on start under Wayland
Status: RESOLVED DUPLICATE of bug 400041
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_fontinst (show other bugs)
Version: 5.18.5
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-05-18 09:28 UTC by Göran Uddeborg
Modified: 2020-05-18 10:34 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Göran Uddeborg 2020-05-18 09:28:47 UTC
Application: kfontview (5.18.5)

Qt Version: 5.13.2
Frameworks Version: 5.68.0
Operating System: Linux 5.6.11-300.fc32.x86_64 x86_64
Windowing system: Wayland
Distribution: Fedora 32 (Workstation Edition)

-- Information about the crash:
When I start kfontview from the command line it crashes immediately.  It crashes, regardless which font file I give as argument.

The crash can be reproduced every time.

-- Backtrace:
Application: Teckensnittsvisning (kfontview), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f49191dc580 (LWP 14441))]

Thread 6 (Thread 0x7f48fd295700 (LWP 14446)):
#0  0x00007f491c1f8e92 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f49088471db in util_queue_thread_func () from /usr/lib64/dri/iris_dri.so
#2  0x00007f4908846cab in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#3  0x00007f491c1f2432 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f491cc8c9d3 in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f48fda96700 (LWP 14445)):
#0  0x00007f491c1f8e92 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f49088471db in util_queue_thread_func () from /usr/lib64/dri/iris_dri.so
#2  0x00007f4908846cab in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#3  0x00007f491c1f2432 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f491cc8c9d3 in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f48fe297700 (LWP 14444)):
#0  0x00007f491c1f8e92 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f49088471db in util_queue_thread_func () from /usr/lib64/dri/iris_dri.so
#2  0x00007f4908846cab in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#3  0x00007f491c1f2432 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f491cc8c9d3 in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f48fea98700 (LWP 14443)):
#0  0x00007f491c1f8e92 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f49088471db in util_queue_thread_func () from /usr/lib64/dri/iris_dri.so
#2  0x00007f4908846cab in impl_thrd_routine () from /usr/lib64/dri/iris_dri.so
#3  0x00007f491c1f2432 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f491cc8c9d3 in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f490af48700 (LWP 14442)):
#0  0x00007f491cc81b6f in poll () from /lib64/libc.so.6
#1  0x00007f491b7b8aee in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#2  0x00007f491b7b8c23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f491d1dac23 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f491d18e21b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f491d002577 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f491c22b4da in QDBusConnectionManager::run() () from /lib64/libQt5DBus.so.5
#7  0x00007f491d003846 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007f491c1f2432 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f491cc8c9d3 in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f49191dc580 (LWP 14441)):
[KCrash Handler]
#6  0x00007f490b0be761 in XRenderFindDisplay () from /lib64/libXrender.so.1
#7  0x00007f490b0beaf5 in XRenderQueryExtension () from /lib64/libXrender.so.1
#8  0x00007f4909cb1ec5 in _XftDisplayInfoGet.part.0 () from /lib64/libXft.so.2
#9  0x00007f4909cb6a9e in XftFontInfoFill () from /lib64/libXft.so.2
#10 0x00007f4909cb7360 in XftFontOpenPattern () from /lib64/libXft.so.2
#11 0x00007f4909ce10e8 in KFI::CFcEngine::queryFont() () from /lib64/libkfontinstui.so.5
#12 0x00007f4909ce18b8 in KFI::CFcEngine::getSizes() () from /lib64/libkfontinstui.so.5
#13 0x00007f4909ce2f46 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
#14 0x00007f4909d1c963 in KFI::CFontPreview::showFont() () from /usr/lib64/qt5/plugins/kfontviewpart.so
#15 0x00007f4909d22468 in KFI::CFontViewPart::timeout() () from /usr/lib64/qt5/plugins/kfontviewpart.so
#16 0x00007f491d1c1506 in QSingleShotTimer::timerEvent(QTimerEvent*) () from /lib64/libQt5Core.so.5
#17 0x00007f491d1b630f in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#18 0x00007f491da96e76 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#19 0x00007f491d18f8a0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#20 0x00007f491d1d9f13 in QTimerInfoList::activateTimers() () from /lib64/libQt5Core.so.5
#21 0x00007f491d1da854 in idleTimerSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#22 0x00007f491b7b87cf in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#23 0x00007f491b7b8b58 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#24 0x00007f491b7b8c23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#25 0x00007f491d1dac06 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#26 0x00007f491d18e21b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#27 0x00007f491d195df6 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#28 0x00005588208b4e24 in main ()
[Inferior 1 (process 14441) detached]

Possible duplicates by query: bug 384712, bug 209668.

Reported using DrKonqi
Comment 1 Göran Uddeborg 2020-05-18 09:39:20 UTC
I did some additional experimentation, and found the error does not occur if I go back to the X11 Plasma desktop.  I normally use the Wayland Plasma desktop, where it happens every time.
Comment 2 Christoph Feck 2020-05-18 10:34:33 UTC

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