Summary: | After switching from fullscreen to decorated window in smplayer [??, KWin::SceneOpenGL::Window::paintDecoration, KWin::SceneOpenGL::Window::performPaint] | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Christoph Feck <cfeck> |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | big-nikita, johannes+kdebugs, marokanski.kazak, swestrup, tankyuushin, vitezslav.papiez, vk1991+kde |
Priority: | VHI | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Possible fix |
Description
Christoph Feck
2009-11-07 04:00:45 UTC
*** Bug 216094 has been marked as a duplicate of this bug. *** *** Bug 216355 has been marked as a duplicate of this bug. *** *** Bug 217376 has been marked as a duplicate of this bug. *** *** Bug 218729 has been marked as a duplicate of this bug. *** *** Bug 219110 has been marked as a duplicate of this bug. *** *** Bug 219405 has been marked as a duplicate of this bug. *** *** Bug 220829 has been marked as a duplicate of this bug. *** Created attachment 39488 [details] Possible fix As I am unable to reproduce or do not know how to reproduce, can someone who is able to reproduce please try the attached patch? The crash seems to happen since Qt 4.6 (all duplicates are from Qt 4.6.0) in QPixmap::handle(). Looking at the source code ( http://qt.gitorious.org/qt/qt/blobs/d16ba0a93d611689bce9a2732a1cc8c9a317f5bf/src/gui/image/qpixmap.cpp#line1168 ) I can't see anything possible wrong. So my only idea is that the pixmap is a null pixmap and testing for that should hopefully prevent the crash. SVN commit 1068519 by graesslin: Only load the decoration texture if the decoration pixmap is not null. This resulted in a crash with Qt 4.6 when accessing the pixmap handle. BUG: 213507 M +3 -1 scene_opengl.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1068519 After discussion on IRC I committed the patch. Christoph could you please try if it is really fixed? I only got the crash once. But I can confirm that Qt 4.6 crashes when calling handle() on a null pixmap, while Qt 4.5 does not, so adding this check can only help. I will reopen if I see it after your commit. *** Bug 223956 has been marked as a duplicate of this bug. *** |