Bug 450910 - Plasma config got reset when my PC crashed
Summary: Plasma config got reset when my PC crashed
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.24.2
Platform: Ubuntu Linux
: NOR grave
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-27 07:20 UTC by yamiyukisenpai
Modified: 2022-12-05 05:14 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yamiyukisenpai 2022-02-27 07:20:00 UTC
SUMMARY
These are the times it happened:
* I screwed up when I was setting up my USB card for PCIe passthrough to my Windows VM. My GPU (6900XT) accidentally was passed through instead of my GTX 1060 (still figuring out how to avoid that in the future).
* Another instance this happened is when my defective 6900XT was causing my PC to crash (which stopped happening after replacing it).

In those times when my PC crashed, my Plasma config was reset to default (wallpaper, Latte, Plasma panels). KWin wasn't affected.

Plasma wasn't the cause of the crash, but it became the victim


STEPS TO REPRODUCE
1. Make the PC crash (which I won't want to do unless it's by accident)
2. 
3. 

OBSERVED RESULT
Plasma configuration (i.e. Latte layout, wallpaper, panels) gets reverted back to default state.

EXPECTED RESULT
Configs should've been fine.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 21.10
KDE Plasma Version: 5.24.2
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.15.23-76051523-generic (64-bit)
Graphics Platform: X11
Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: AMD Radeon RX 6900 XT

ADDITIONAL INFORMATION
Just want to reiterate that Plasma is the victim, not the cause, of the crash, but I'd like for my configs to survive the crash if it happens again.
Comment 1 yamiyukisenpai 2022-02-27 17:06:10 UTC
I forgot to mention that I'm using Btrfs.  Dunno if that helps.
Comment 2 yamiyukisenpai 2022-03-03 01:36:09 UTC
$ find . -name "*appletsrc*"
./.config/plasmoidviewer-appletsrc
./.config/plasma-org.kde.plasma.desktop-appletsrc.lock
./.config/plasma-org.kde.plasma.desktop-appletsrc
./.config/plasma-org.kde.plasma.desktop-appletsrc.lock
./.config/plasma-org.kde.plasma.desktop-appletsrc
./.config/plasma-org.kde.plasma.desktop-appletsrc.lock
./.config/plasma-org.kde.plasma.desktop-appletsrc
./.config/plasma-org.kde.plasma.desktop-appletsrc.lock
./.config/plasma-org.kde.plasma.desktop-appletsrc

Not sure if that's supposed to be normal?
Comment 3 yamiyukisenpai 2022-03-03 01:41:05 UTC
$ ll .config/plasma-org.kde.plasma.desktop-appletsrc*
ls: cannot access '.config/plasma-org.kde.plasma.desktop-appletsrc.lock': No such file or directory
ls: cannot access '.config/plasma-org.kde.plasma.desktop-appletsrc.lock': No such file or directory
ls: cannot access '.config/plasma-org.kde.plasma.desktop-appletsrc.lock': No such file or directory
ls: cannot access '.config/plasma-org.kde.plasma.desktop-appletsrc.lock': No such file or directory
-rw------- 1 yamiyuki yamiyuki 9545 Mar  2 20:39 .config/plasma-org.kde.plasma.desktop-appletsrc
-rw------- 1 yamiyuki yamiyuki 9545 Mar  2 20:39 .config/plasma-org.kde.plasma.desktop-appletsrc
-rw------- 1 yamiyuki yamiyuki 9545 Mar  2 20:39 .config/plasma-org.kde.plasma.desktop-appletsrc
-rw------- 1 yamiyuki yamiyuki 9545 Mar  2 20:39 .config/plasma-org.kde.plasma.desktop-appletsrc


I double checked my laptop (also running Plasma) , and it didn't have repeated entries, and a lock file.
Comment 4 yamiyukisenpai 2022-03-03 01:46:10 UTC
It also can't be removed.
Comment 5 Nate Graham 2022-11-05 03:18:16 UTC
> I forgot to mention that I'm using Btrfs.  Dunno if that helps.
I would highly recommend looking for filesystem errors, as this kind of thing has been known to happen then Brtfs freaks out. It will lock the filesystem and cause untold havoc in the name of preventing the untold havoc of silent filesystem corruption. It's kind of ironic, and why I don't use Btrfs!
Comment 6 Bug Janitor Service 2022-11-20 05:11:53 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 2022-12-05 05:14:06 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!