FS#47121 - [sddm] segfaults on boot with KF 5.16

Attached to Project: Arch Linux
Opened by Karoly Negyesi (chx) - Thursday, 19 November 2015, 02:03 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 25 November 2015, 17:32 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Felix Yan (felixonmars)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

sddm-greeter[309]: segfault at 0 ip 00007f29ebbca371 sp 00007ffd73e423b0 error 4 in libKF5IconThemes.so.5.16.0[7f29ebb9c000+3f000]

Downgrading kiconthemes

sddm-greeter[315]: segfault at 0 ip 00007fc3c72d4f91 sp 00007ffc90dbaf40 error 4 in libKF5IconThemes.so.5.15.0[7fc3c72a7000+3e000]

no dice

Downgrading everything to 5.15 helped. Posted list of "everything" to https://bbs.archlinux.org/viewtopic.php?pid=1579652
This task depends upon

Closed by  Antonio Rojas (arojas)
Wednesday, 25 November 2015, 17:32 GMT
Reason for closing:  Fixed
Additional comments about closing:  plasma-framework 5.16.0-2
Comment by Antonio Rojas (arojas) - Thursday, 19 November 2015, 07:46 GMT
Please find out the exact package that causes this, and get a full backtrace
Comment by Karoly Negyesi (chx) - Thursday, 19 November 2015, 08:05 GMT
I am afraid this might be useless.
Comment by Karoly Negyesi (chx) - Thursday, 19 November 2015, 08:37 GMT
This perhaps is less useless.
   bt.txt (10.5 KiB)
Comment by Karoly Negyesi (chx) - Thursday, 19 November 2015, 08:52 GMT
More debug symbol packages.
   bt.txt (11.1 KiB)
Comment by Bhushan Shah (bhushan_shah) - Thursday, 19 November 2015, 09:01 GMT
The crash happens from KIconLoader::global()->theme() and it returns a nullptr.

Relevant code in KIconLoader:

KIconTheme *KIconLoader::theme() const
{
d->initIconThemes();
if (d->mpThemeRoot) {
return d->mpThemeRoot->theme;
}
return 0L;
}

This looks like it is possible that there is a crash if the icon theme fails to init.
The bug report should get upstream'ed to bugs.kde.org for evaluation whether a nullptr
check needs to be added to plasma framework and/or whether KIconLoader can be made more
robust.
Comment by Karoly Negyesi (chx) - Thursday, 19 November 2015, 09:20 GMT Comment by Hans Schwimmbeck (hans) - Thursday, 19 November 2015, 11:09 GMT
Sddm works here with any other theme than breeze, for example maui.

Should be good enough as a temporary workaround.
Comment by jk (jk) - Sunday, 22 November 2015, 12:45 GMT
(WW) GREETER: Icon theme "oxygen" not found.

Surely Frameworks 5.16 broke Breeze theme. Maybe breeze icons package broke it, or, better, breeze sddm theme config file is now outdated.

Loading...