Summary: | Plasma crashes when adding/removing widgets/applets too fast | ||
---|---|---|---|
Product: | [Unmaintained] plasma4 | Reporter: | Oliver Putz <Regnaron> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | legal-system, Schaub-Johannes |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Video showing how to crash plasma on bug #157647 |
Description
Oliver Putz
2008-02-11 04:44:31 UTC
Created attachment 23529 [details] Video showing how to crash plasma on bug #157647 *** Bug 157476 has been marked as a duplicate of this bug. *** *** Bug 157437 has been marked as a duplicate of this bug. *** Just for the record; imho this crash is solved with 4.0.2 as described at http://bugs.kde.org/show_bug.cgi?id=157437#c13 but probably better to keep it open till we are 100% sure there. Now if we take all the "marked duplicate" roundtrip of this case into account, there stays one thing that may not fixed yet what is; bug #157158 - see here also http://bugs.kde.org/show_bug.cgi?id=157437#c7 which contains a "wild guess" ;) changed summary to have also the "applet" keyword in, what should probably make it easier to discover this report on searching. re my comment #4 above; what I don't get is, how the phase-animation / QTimer is related there. Well, probably still another bug :-/ and one more spam-comment related to my comment #4 and comment #5 above; thinking again about it, it would be even logical, that the bool Containment::sceneEventFilter(QGraphicsItem *watched, QEvent *event) { ... Applet *applet = qgraphicsitem_cast<Applet*>(watched); Q_ASSERT(applet!=0); ... } asserts and later leads to a crash since maybe (another wild guess) that event got called at a time where the applet is already destroyed but the animation isn't finished or something like this?! SVN commit 774360 by aseigo: watch for object destruction. right now we only do this if the QGrahpicsItem itself is a QObject. however, the structs now hold onto a QObject* so this opens the door to attaching an animation to the lifespan of an arbitrary QObject. could be quite useful in future. BUG:157647 M +36 -19 phase.cpp M +1 -1 phase.h WebSVN link: http://websvn.kde.org/?view=rev&revision=774360 Yay, 4.1/4.0.2 will rock, thank you very much :) |