Bug 460377 - Selecting «FiraGO» in font selector makes it freeze forever in KFontChooserPrivate::slotFamilySelected()
Summary: Selecting «FiraGO» in font selector makes it freeze forever in KFontChooserPr...
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-kwidgetsaddons
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.100.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Christoph Feck
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-13 15:46 UTC by ariasuni
Modified: 2025-01-28 18:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
backtrace got from running `systemsettings kcm_fonts` in gdb (15.70 KB, text/plain)
2022-11-25 18:09 UTC, ariasuni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ariasuni 2022-10-13 15:46:14 UTC
I have FiraGO installed on my system, but can’t select it as default font because it freezes the font selector.

STEPS TO REPRODUCE
1. Install FiraGO
2. Open Systemsettings and go to the Fonts KCM
3. Click on any Edit button, and select «FiraGO» in the font selector

OBSERVED RESULT
Systemsettings freezes (it doesn’t respond anymore).

EXPECTED RESULT
Font is applied normally.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.26.0
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6

The problem was also present with the previous version of Plasma, and the previous version of Plasma + previous version of KDE Frameworks.

ADDITIONAL INFORMATION
No output when KCM launched from command line (systemsettings kcm_fonts) after selecting FiraGO.

I have these fonts:
/usr/share/fonts/TTF/FiraGO-Book.ttf
/usr/share/fonts/TTF/FiraGO-Eight.ttf
/usr/share/fonts/TTF/FiraGO-ExtraLight.ttf
/usr/share/fonts/TTF/FiraGO-Four.ttf
/usr/share/fonts/TTF/FiraGO-Hair.ttf
/usr/share/fonts/TTF/FiraGO-Heavy.ttf
/usr/share/fonts/TTF/FiraGO-Light.ttf
/usr/share/fonts/TTF/FiraGO-Medium.ttf
/usr/share/fonts/TTF/FiraGO-Regular.ttf
/usr/share/fonts/TTF/FiraGO-Thin.ttf
/usr/share/fonts/TTF/FiraGO-Two.ttf
/usr/share/fonts/TTF/FiraGO-UltraLight.ttf

$ fc-query /usr/share/fonts/TTF/FiraGO-Regular.ttf 
Pattern has 26 elts (size 32)
        family: "FiraGO"(s)
        familylang: "en"(s)
        style: "Regular"(s)
        stylelang: "en"(s)
        fullname: "FiraGO Regular"(s)
        fullnamelang: "en"(s)
        slant: 0(i)(s)
        weight: 80(f)(s)
        width: 100(f)(s)
        foundry: "bB  "(s)
        file: "/usr/share/fonts/TTF/FiraGO-Regular.ttf"(s)
        index: 0(i)(s)
        outline: True(s)
        scalable: True(s)
        charset: 
        0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
        0001: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
        0002: ffffffff ffffffff ffffffff ffffffff ffffffff 9f97ffff 7fd3ddc1 000043ff
        0003: ffcebfff 3e77bffb 10000024 fcff0002 ffffd7f0 fffffffb ffffffff ffff0003
        0004: ffffffff ffffffff ffffffff 03ffffff fffffc00 ffffffff ffffffff ffffffff
        0005: ffffffff 0000ffff 00000000 00000000 fffe0000 ffffffff ffff00ff 001f07ff
        0006: c8203e01 1fffffff ad7fffff ffffffff ffffffff ffffffff 003fffff ffff4000
        0007: 00000000 00000000 10000000 00000000 00000000 00000000 00000000 00000000
        0009: ffffffff ffffffff ffe7ffff fefdffff 00000000 00000000 00000000 00000000
        000e: fffffffe 87ffffff 0fffffff 00000000 00000000 00000000 00000000 00000000
        0010: 00000000 00000000 00000000 00000000 00000000 00000000 ffff0000 ffffffff
        001d: 00000000 00000000 00000400 087ff000 00020000 80000000 000003f0 00000000
        001e: c00cfc3c f0c0c030 0cff3cf3 0303fc0f 400c003f ffffffff ffffffff 03ffffff
        001f: 3f3fffff ffffffff aaff3f3f 3fffffff ffffffff ffdfffff efcfffdf 7fdcffff
        0020: 777ff980 86010047 00000410 fff10000 00007fff 66109e42 00000000 00000000
        0021: 00480400 00004044 fff80000 00000000 03ff0000 00000000 00000000 000007c0
        0022: 46268064 00000800 00000100 00000031 00000000 00000000 00000020 00000000
        0023: 00000000 000009c0 00000000 00000000 00000000 00000000 00004000 78000000
        0025: 00000000 00000000 00000000 00000000 00000000 55548000 00009415 00000000
        0027: 00000000 00000000 00000000 00000000 00000000 00000002 00000000 00000000
        0029: 00000000 00000000 00000000 00000000 00000002 00000000 00000000 00000000
        002b: 000000e0 00000000 01000000 00000000 00000000 00000000 00000000 00000000
        002c: 00000000 00000000 00000000 000e2070 00000000 00000000 00000000 00000000
        00a7: 00000000 00000000 00000000 00000000 00003e00 00fc6400 00000000 00000000
        00a8: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 08000000
        00ab: 00000000 00000000 00080000 00000000 00000000 00000000 00000000 00000000
        00f8: 00000000 00000000 00000000 00000000 40000000 00000000 00000000 00000000
        00fb: e0000006 5f7fffff bbbaffdb bbbbbbbb bbbbaaab effebbae 95700002 e00003ea
        00fc: 00000000 00000000 18000000 0000000a 00000000 00000000 00000000 00000000
        00fd: 00000000 f0000000 00000000 00000000 00000000 00000000 00000000 00040000
        00fe: 00000000 00000000 00000000 51550000 ddd75d54 dddd55dd dddddddd 9ffd5ddd
(s)
        lang: aa|ab|af|ar|ast|av|ay|az-az|az-ir|ba|bm|be|bg|bh|bho|bi|bin|br|bs|bua|ca|ce|ch|chm|co|cs|cu|cv|cy|da|de|el|en|eo|es|et|eu|fa|fi|fj|fo|fr|ff|fur|fy|ga|gd|gl|gn|gv|ha|haw|he|hi|ho|hr|hu|ia|ig|id|ie|ik|io|is|it|ka|kaa|ki|kk|kl|kok|ku-am|ku-ir|kum|kv|kw|ky|la|lb|lez|ln|lt|lv|mg|mh|mk|mo|mr|mt|nb|nds|ne|nl|nn|no|nr|nso|ny|oc|om|os|pl|ps-af|ps-pk|pt|rm|ro|ru|sa|sah|sco|se|sel|sh|shs|sk|sl|sm|sma|smj|smn|sms|so|sq|sr|ss|st|sv|sw|tg|th|tk|tl|tn|to|tr|ts|tt|tw|tyv|ug|uk|ur|uz|ve|vi|vo|vot|wa|wen|wo|xh|yap|yi|yo|zu|ak|an|ber-dz|crh|csb|ee|fat|fil|hne|hsb|ht|hz|jv|kab|kj|kr|ku-iq|ku-tr|kwm|lg|li|mai|mn-mn|ms|na|ng|nv|ota|pa-pk|pap-an|pap-aw|qu|quz|rn|rw|sc|sd|sg|sn|su|ty|za|lah|brx|sat|doi(s)
        fontversion: 65601(i)(s)
        capability: "otlayout:DFLT otlayout:arab otlayout:cyrl otlayout:dev2 otlayout:deva otlayout:geor otlayout:hebr otlayout:latn otlayout:thai"(s)
        fontformat: "TrueType"(s)
        decorative: False(s)
        postscriptname: "FiraGO-Regular"(s)
        color: False(s)
        symbol: False(s)
        variable: False(s)
        fonthashint: True(s)
        order: 0(i)(s)
Comment 1 Nate Graham 2022-10-14 19:04:19 UTC
Can you get a backtrace that shows where it freezes? That would be helpful. Thanks!
Comment 2 Bug Janitor Service 2022-10-29 05:02:39 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 ariasuni 2022-10-31 23:17:25 UTC
I would be very willing to do so, but how am I supposed to get a backtrace?
Comment 5 ariasuni 2022-11-03 15:10:07 UTC
Well coredumpctl doesn’t list systemsettings, I suppose because it’s just a freeze, not a crash. Note that it stays at 12~13% CPU usage and used memory doesn’t change. It just stops responding and the only way to quit systemsettings at this point is to kill the process. It seems I could be able to get some info by using gdb directly but not sure how.
Comment 6 Bug Janitor Service 2022-11-18 05:16:28 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 ariasuni 2022-11-25 18:09:19 UTC
Created attachment 154028 [details]
backtrace got from running `systemsettings kcm_fonts` in gdb
Comment 8 Nate Graham 2022-11-29 17:48:37 UTC
Thanks!
Comment 9 ariasuni 2025-01-28 18:49:29 UTC
I don’t have this problem anymore and I’m not sure why I was assigned to it since I’m not a KDE dev (I guess I did?) and nobody commented on this bug, so I’m closing this.