Summary: | freeze and memory usage growing when adding a plasmoid | ||
---|---|---|---|
Product: | [Unmaintained] plasma4 | Reporter: | Rosetzky Cedric <loacoon> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | ambrop7, andresbajotierra, aseigo |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Rosetzky Cedric
2008-11-04 17:46:41 UTC
This is one for Ambro... Could you describe the circumstances? Please attach your plasma-appletsrc. Also, what applet did you add, and what is your screen configuration (resolution) ? There are no particular circumstances. I just wanted to add applets on my desktop, KDE4 just started, no other apps where launched. It didn't happened with a particular applet. No matter which one I was trying to add, the bug happened. My resolution is 1152/864. As for the plasma-appletsrc file, I'll have to find the time to compile KDE4 since I erased everything related to it from my computer (I must say that I'm loosing interest in KDE4). Was this happening all the time, or did it start once you already had some applets on the desktop?
I'm compiling kde trunk now to see if I can reproduce it, but it might not be the fault of my positioning code.
If the backtrace is correct, it could be stuck inside the primary loop of ItemSpace::positionVertically, but that seems impossible to me. The "x" variable is sure to increase every iteration, because when considering items intersecting with a rectangle that has left at border "x", each item's right border is sure to be greater than "x" (otherwise they wouldn't be intersecting). So if horizontal space was limited (not the case here), it should eventually terminate. Otherwise it will terminate when "x" increases to the point no more applets are found in the rectangle mentioned.
After all, it's just an iteration, and shouldn't drain memory - the code concerned doesn't do recursion or dynamic allocation.
> As for the plasma-appletsrc file, I'll have to find the time to compile KDE4 > since I erased everything related to it from my computer (I must say that I'm > loosing interest in KDE4).
You can't "lose interest" because you find a bug in experimental code. If you check it out, you should expect bugs and be able to provide adequate data to developers.
When it started, I had a few applets on my desktop already. The more I had applets, the more the freeze happened, until I had 3 or 4 applets, and then, it happened everytime. About my loss of interest, this bug is not the problem, I know those things can happen. This is bugs like these : http://bugs.kde.org/show_bug.cgi?id=168471, http://bugs.kde.org/show_bug.cgi?id=157352, which are critical and old bugs, especially the second... and a few missing features from KDE 3.5.x that are making me lose interest in KDE4. Anyway, I'll compile from trunk and help you clean this bug as soon as I can. I believe the problem is on your side. Both bug reports you mentioned involve KDE freezing, and nobody has confirmed them yet. Consider updating KDE dependencies or contacting your distributor. Which distribution and version do you use? I thought the same. But when I changed my computer, I also changed my distribution (from Debian to Gentoo), and my method of compiling and using KDE4 since using Gentoo helps understanding a few things. So with two diffenrent conputers, two different Linux distributions, and two different ways of using and compiling KDE4, I'm having the exact same bugs. Of course, I'm not talking about this bug, which is recent and truly Plasma related (since only Plasma freezes, not the whole KDE), but about the two others. Also, this bug appeared only recently, it never happened before. By the way, the freezing when changing laguages has been confirmed by someone. It's not me who changed the bug's status to "NEW" ;). This bug seems to be gone now. Bug 180873 looks like this but in 4.2 |