Tuesday, November 2, 2010

Plasma crashing upon login after updating the system clock

Many people have just recently switched from DST to standard time, putting their clocks an hour back. This can possibly cause a nasty behaviour in Plasma, due to a bug in KSharedDataCache: the application simply crashes just after logging in.
The bug has already been reported and corrected at the speed of light (kudos to Michael Pyne for the instantaneous reaction), so it will be fixed in KDE SC 4.5.3 and 4.6. If you are running KDE SC 4.5.2 and you do not want to apply the patch in the bug report, you can simply empty your user's cache directory.
Simply go in the directory pointed by cache-$HOSTNAME inside your user's kde configuration directory and remove every file that is located inside.
In openSUSE such directory is /var/tmp/kdecache-$USER, and your kde configuration directory is $HOME/.kde4.

Happy Plasmaing! (or would that word be Plasming? ;-) )

6 comments:

irinarempt said...

Thanks! Fixed some other issues as well, like the calendar insisting that I wanted UK holidays.

dipesh said...

That fixed my home-desktop. Thanks!

Michael Pyne said...

In fairness, I'm really not convinced the bug is fixed (changing the system time causes a cache to crash? Really? ;)

However I have made sure that the particular brand of mayhem that the bug leads to gets caught before the event that would cause a crash.

I've never been able to reproduce the crash so I still haven't figured it out, but when I do I'll commit that fix too.

Zita said...

Well you guys have done a great job working on it.. thanks for the fix.. I love to read your post always. Keep the good work. Ecommerce website developers

Event Lighting Services Los Angeles said...

Amazing post! I initially found your blog a week or so ago, and I want to subscribe to your RSS feed.

Event Lighting Services Los Angeles

Wedding Lighting Los Angeles said...

Damn this has saved me some much time and headaches, I cannot thank you enough!