by jiml8 » Jul 18th, '13, 15:37
My experience with problems in KDE always comes down to one of two things: bugs in X, and memory problems. Because I build my own systems, and I tend to overclock them at least somewhat, I am always watching for irregular behavior. Presently, my Mageia 3 system is quite stable, though I did have to tweak a bit after a recent memory and mobo upgrade.
There is a memory leak in X that I have seen in both Mageia 2 and Mageia 3. I have been trying to track it down to determine what conditions cause it to manifest, but so far I have not succeeded. Of course, I have not really focused on doing this either. I keep thinking Flash is implicated, but sometimes I see the memory usage burgeon when Flash has not been used (at least...I don't THINK it has been used...with some websites it is hard to tell). I find when X gets to the point where it is occupying 500 Meg or so, KDE performance (and reliability) heads straight into the toilet. Restarting X cleans things up. I usually have to restart X about once a day, sometimes twice.
I have also found the NVidia driver from the NVidia website to be quite reliable, though I cannot prove that it is not involved in the X memory leak.
The symptoms you describe suggest - but by no means definitively suggest - that you have memory issues...either hardware timing/voltage or a chronic low memory condition. LibreOffice is pretty big; that it appears to be implicated could be suggestive.
I recommend you start monitoring your memory usage - and pay particular attention to X to see what it is doing. You might learn something useful.
Beyond that, if you keep a shell window open, when your taskbar crashes you can restore everything by entering the command "killall plasma-desktop" (without the quotes). This will kill the entire plasma portion of KDE, and KDE will then reload it, and you will have everything back. IF for some reason, KDE does NOT restart plasma-desktop within a few seconds, then entering the command "plasma-desktop &" will do it for you. Of course, after you do that if you close that shell window, plasma-desktop will promptly terminate.
If you do not have a shell window open and can't get one, you can do a ctrl-alt-F2 to get to the second console window, then login and execute the killall plasma-desktop, then issue the command "plasma-desktop :0 &" and that will restart plasma-desktop in your KDE session. You then do a ctrl-alt-F1 to get back to your KDE session. This is much quicker than logging out and back in.