https://bugs.kde.org/show_bug.cgi?id=356938

--- Comment #18 from Thomas Lübking <thomas.luebk...@gmail.com> ---
(In reply to AnAkkk from comment #17)
> From what I can see it's crashing because the "effects" pointer is NULL
> inside the SceneOpenGLShadow::~SceneOpenGLShadow destructor.


Ewwww. It somehow updates its shadow on creation (god knows why)
Can you try

diff --git a/shadow.cpp b/shadow.cpp
index 99f89bf..6963334 100644
--- a/shadow.cpp
+++ b/shadow.cpp
@@ -338,7 +338,7 @@ bool Shadow::updateShadow()
             m_topLevel->effectWindow()->sceneWindow()->updateShadow(0);
             m_topLevel->effectWindow()->buildQuads(true);
         }
-        deleteLater();
+//         deleteLater();
     };
     if (m_decorationShadow) {
         if (Client *c = qobject_cast<Client*>(m_topLevel)) {


This will leak, but if it doesn't crash we know
a) the cause
b) effects isn't reliable on the destructor (so checking it is justified - i'd
prefer to not poke around and test "if (effects)" w/o actually knowing why it
can be nullptr here)

Thanks for the investigation.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to