Created attachment 115752 [details]
stacktrace from gdb
When I open any ttf file in kfontview it crashes and does not even show up.
STEPS TO REPRODUCE
1. Open ttf file
Window opening up
(available in About System)
KDE Plasma Version: 5.14.1
KDE Frameworks Version: 5.51.0
Qt Version: 5.11.2
Stacktrace is attached
See also bug 364746.
*** Bug 421723 has been marked as a duplicate of this bug. ***
FWIW, the problem is not restricted to ttf fonts. With version 5.18.5 on Fedora 32 kfontview crashes also with otf, pcb, and pcf fonts.
Created attachment 131873 [details]
New crash information added by DrKonqi
kfontview (5.19.5) using Qt 5.15.1
- What I was doing when the application crashed:
Tried to view a TTF font, it immediately crashes
-- Backtrace (Reduced):
#4 0x00007f095e03bd63 in XAddExtension (dpy=dpy@entry=0x55ca20c5fa80) at InitExt.c:73
#5 0x00007f09593709ed in _XftDisplayInfoGet (dpy=0x55ca20c5fa80, createIfNecessary=<optimized out>) at xftdpy.c:91
#6 0x00007f0959374785 in _XftDisplayInfoGet (createIfNecessary=1, dpy=0x7fff81f1c9c0) at xftdpy.c:85
#7 XftFontInfoFill (dpy=dpy@entry=0x55ca20c5fa80, pattern=pattern@entry=0x55ca20d10c10, fi=fi@entry=0x7fff81f1c9c0) at xftfreetype.c:367
#8 0x00007f0959374bac in XftFontOpenPattern (dpy=0x55ca20c5fa80, pattern=0x55ca20d10c10) at xftfreetype.c:1015
I suppose it's Wayland specific?
*** This bug has been marked as a duplicate of bug 401031 ***
(In reply to Andrey from comment #5)
> I suppose it's Wayland specific?
> *** This bug has been marked as a duplicate of bug 401031 ***