Summary: | Oxygen deco segfaults in Button animation | ||
---|---|---|---|
Product: | [Plasma] Oxygen | Reporter: | Dyrver Eriksson <dyrver.eriksson> |
Component: | style | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | hugo.pereira.da.costa |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Dyrver Eriksson
2010-08-31 05:15:10 UTC
crash is in the hover animation of a button in the oxygen decoration the backtrace isn't much complete, you need to install the debug packages of kdebase, kdelibs, Qt libc to give us a better insight in the crash (and oc reproduce it ;-) it could be a Qt bug (double free) or wrong usage of the property animation ./. deconstructors - but it could as well be in glibc @martin: looks a bit like the "strange libc crashes", but it's not ubuntu... Its actually a crash in oxygen::Style and not decoration. See: Oxygen::WidgetStateData::~WidgetStateData() () from /usr/lib/kde4/plugins/styles/oxygen.so (and later the liboxygen.so is actually common to the style and the decoration). Now I checked: the animation objects are never deleted in oxygen, (relying on Qt parent tree deletion, and are protected behind weak pointers ... So double deletion is unlikely (at least not by oxygen) . I think its a duplicate of 247827. The backtraces are not 100% identical but crash is in ~Animation, ~QObject, QVector::free. in both cases. One workaround I can think of is to not install animations on kwin decoration buttons (from the style), since they are not used anyway: by construction, all decoration buttons re-implement their paintEvent, and don't rely on the widget style for painting. (in the style, the animations are installed on QAbstractButton, because some private classes from Qt inherits from it, and need animation. E.G. the dockwidget buttons) *** This bug has been marked as a duplicate of bug 247827 *** |