[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [frameworks-plasma] [Bug 343510] New: 5.2: PlatformStatus::findLookAndFeelPackage() infinite recursi
From:       Will Stephenson <wstephenson () kde ! org>
Date:       2015-01-29 11:50:26
Message-ID: bug-343510-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=343510

            Bug ID: 343510
           Summary: 5.2: PlatformStatus::findLookAndFeelPackage() infinite
                    recursion crash
           Product: frameworks-plasma
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: libplasma
          Assignee: notmart@gmail.com
          Reporter: wstephenson@kde.org

kded5 crashes on startup due to infinite recursion if the config key
kdeglobals->[KDE]->LookAndFeelPackage contains a non-default value that is a
desktop file that is not installed.

Background: I ended up with a lookandfeelpackage name in this config key
"org.openSUSE.desktop" referencing a desktop file in a branding package that I
had uninstalled and replaced with the branding package containing the upstream
desktop file org.kde.breeze.desktop.

PlatformStatus::findLookAndFeelPackage(bool sendSignal) tries to locate the
path of the configured look and feel file, and if this does not exist, clears
the config key (line 90) and calls itself recursively so that it will pick up
the default value

Unfortunately, it clears the wrong config key, and thus recurses infinitely.



Reproducible: Always

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic