Bug 400041 - [wayland] Crashes when opening font files with kfontview
Summary: [wayland] Crashes when opening font files with kfontview
Status: RESOLVED DUPLICATE of bug 401031
Alias: None
Product: kfontview
Classification: Applications
Component: general (show other bugs)
Version: 5.14.1
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Andrey
URL:
Keywords: wayland
: 421723 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-10-19 21:11 UTC by Sefa Eyeoglu
Modified: 2020-11-21 18:13 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
stacktrace from gdb (3.94 KB, text/plain)
2018-10-19 21:11 UTC, Sefa Eyeoglu
Details
New crash information added by DrKonqi (4.23 KB, text/plain)
2020-09-22 16:06 UTC, Ilgaz Öcal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sefa Eyeoglu 2018-10-19 21:11:30 UTC
Created attachment 115752 [details]
stacktrace from gdb

SUMMARY
When I open any ttf file in kfontview it crashes and does not even show up.

STEPS TO REPRODUCE
1. Open ttf file

OBSERVED RESULT
Crash

EXPECTED RESULT
Window opening up

SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.14.1
KDE Frameworks Version: 5.51.0
Qt Version: 5.11.2

ADDITIONAL INFORMATION
Stacktrace is attached
Comment 1 Christoph Feck 2018-11-08 20:57:46 UTC
See also bug 364746.
Comment 2 Christoph Feck 2020-05-18 10:34:33 UTC
*** Bug 421723 has been marked as a duplicate of this bug. ***
Comment 3 Göran Uddeborg 2020-05-18 12:21:02 UTC
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.
Comment 4 Ilgaz Öcal 2020-09-22 16:06:27 UTC
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
Comment 5 Andrey 2020-11-19 19:01:12 UTC
I suppose it's Wayland specific?

*** This bug has been marked as a duplicate of bug 401031 ***
Comment 6 Ilgaz Öcal 2020-11-21 18:13:42 UTC
(In reply to Andrey from comment #5)
> I suppose it's Wayland specific?
> 
> *** This bug has been marked as a duplicate of bug 401031 ***

yes.