Bug 420650 - plasmashell crashes in QFontDatabase::parseFontName() while loading fonts on login
Summary: plasmashell crashes in QFontDatabase::parseFontName() while loading fonts on ...
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 5.17.5
Platform: Fedora RPMs Linux
: NOR major
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-27 08:49 UTC by bela
Modified: 2021-03-25 04:34 UTC (History)
2 users (show)

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


Attachments
kcrash debuginfo (8.57 KB, text/plain)
2020-04-27 08:49 UTC, bela
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bela 2020-04-27 08:49:21 UTC
Created attachment 127914 [details]
kcrash debuginfo

SUMMARY 
plasmashell crashes on login

STEPS TO REPRODUCE
1. login kde
2. plasmashell crashes immediately
3. 

OBSERVED RESULT
massive crash

EXPECTED RESULT
Should be working like a charme

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

plasma-workspace 5.17.5-1.fc31.x86_64
Comment 1 David Edmundson 2020-04-27 09:03:15 UTC
Pasting thread inline.

Thread 7 (Thread 0x7f2ca083e700 (LWP 2187)):
[KCrash Handler]
#6  0x00007f2cd6cb015b in QtPrivate::qustrchr(QStringView, unsigned short) () from /lib64/libQt5Core.so.5
#7  0x00007f2cd6cb0329 in findChar(QChar const*, int, QChar, int, Qt::CaseSensitivity) () from /lib64/libQt5Core.so.5
#8  0x00007f2cd72842ac in QFontDatabase::parseFontName(QString const&, QString&, QString&) () from /lib64/libQt5Gui.so.5
#9  0x00007f2cd728b87a in QFontDatabase::findFont(QFontDef const&, int) () from /lib64/libQt5Gui.so.5
#10 0x00007f2cd727371a in QFontEngineMulti::loadEngine(int) () from /lib64/libQt5Gui.so.5
#11 0x00007f2cd72749df in QFontEngineMulti::ensureEngineAt(int) () from /lib64/libQt5Gui.so.5
#12 0x00007f2cd72a595c in QTextLine::glyphRuns(int, int) const () from /lib64/libQt5Gui.so.5
#13 0x00007f2cd893115c in QQuickTextNodeEngine::addGlyphsInRange(int, int, QColor const&, QColor const&, int, int) () from /lib64/libQt5Quick.so.5
#14 0x00007f2cd8931744 in QQuickTextNodeEngine::addGlyphsForRanges(QVarLengthArray<QTextLayout::FormatRange, 256> const&, int, int, int, int) () from /lib64/libQt5Quick.so.5
#15 0x00007f2cd892ff3b in QQuickTextNode::addTextLayout(QPointF const&, QTextLayout*, QColor const&, QQuickText::TextStyle, QColor const&, QColor const&, QColor const&, QColor const&, int, int, int, int) () from /lib64/libQt5Quick.so.5






Can you include your ~/.config/kdeglobals please

Also which verison of Qt?
Comment 2 bela 2020-04-28 11:30:41 UTC
[bela@localhost ~]$ rpm -qi qt
Name        : qt
Epoch       : 1
Version     : 4.8.7
Release     : 50.fc31
Architecture: x86_64
Install Date: Do 23 Jan 2020 14:50:07 CET
Group       : Unspecified
Size        : 22435257
License     : (LGPLv2 with exceptions or GPLv3 with exceptions) and ASL 2.0 and BSD and FTL and MIT
Signature   : RSA/SHA256, Mo 29 Jul 2019 08:33:05 CEST, Key ID 50cb390b3c3359c4
Source RPM  : qt-4.8.7-50.fc31.src.rpm
Build Date  : So 28 Jul 2019 23:57:23 CEST
Build Host  : buildvm-23.phx2.fedoraproject.org
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : http://qt-project.org/
Bug URL     : https://bugz.fedoraproject.org/qt
Summary     : Qt toolkit
Comment 3 bela 2020-04-28 11:32:25 UTC
 ~/.config/kdeglobals

[$Version]
update_info=filepicker.upd:filepicker-remove-old-previews-entry,fonts_global.upd:Fonts_Global,fonts_global_toolbar.upd:Fonts_Global_Toolbar

[DirSelect Dialog]
DirSelectDialog Size=910,596
History Items[$e]=file:$HOME/handykdeconnect,file:$HOME,file:$HOME/Öffentlich,file:///run/media/bela/Wardenclyffe/Steam/Bilder/Bochum Jahrhunderthalle/2015 02 28 Steampunk Jahrmarkt Jahrhunderthalle Bochum/Best of,file:///run/media/bela/Wardenclyffe,file:$HOME/Bilder/Steampunk,file:$HOME/Meine Moebel,file:$HOME/Meine Moebel

[General]
XftAntialias=true
XftHintStyle=hintmedium
XftSubPixel=none
dbfile=/home/bela/.mozilla/firefox/t95izp7o.default/places.sqlite
toolBarFont=Sans Serif,10,-1,5,50,0,0,0,0,0

[KFileDialog Settings]
Allow Expansion=false
Automatically select filename extension=true
Breadcrumb Navigation=true
Decoration position=0
LocationCombo Completionmode=5
PathCombo Completionmode=5
Show Bookmarks=false
Show Full Path=false
Show Inline Previews=true
Show Preview=false
Show Speedbar=true
Show hidden files=false
Sort by=Name
Sort directories first=true
Sort reversed=false
Speedbar Width=166
View Style=Simple
listViewIconSize=0

[KShortcutsDialog Settings]
Dialog Size=665,480

[PreviewSettings]
MaximumRemoteSize=0
Comment 4 David Edmundson 2020-05-14 09:43:53 UTC
Sorry for the delay.

Changing status as I've not had any other duplicates - whilst it's critical for you, it's not for a wider problem for the whole project.


So from your trace:
 we're breaking whilst listing fonts. It's not one of the fonts that's being loaded. But probably one in your directory.

Ideally I want a list of all fonts on your system.
Removing the offending one should cause your system to start again, but I'd quite like to find what's breaking it so we can reproduce and fix properly.
Comment 5 Nate Graham 2021-02-23 21:50:49 UTC
Could you please list all the fonts on your system by attaching a file with the output of `fc-list` in it? Thanks!
Comment 6 Bug Janitor Service 2021-03-10 04:33: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 7 Bug Janitor Service 2021-03-25 04:34:05 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now 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

Thank you for helping us make KDE software even better for everyone!