[kwin] [Bug 399612] Kwin crashed when RKWard opened a new window

2018-11-05 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=399612

David Edmundson  changed:

   What|Removed |Added

 CC||philipp.verpo...@secure.mai
   ||lbox.org

--- Comment #9 from David Edmundson  ---
*** Bug 400721 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 399612] Kwin crashed when RKWard opened a new window

2018-10-11 Thread Vlad Zagorodniy
https://bugs.kde.org/show_bug.cgi?id=399612

Vlad Zagorodniy  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|CONFIRMED   |RESOLVED
   Version Fixed In||5.14.1
  Latest Commit||https://commits.kde.org/kwi
   ||n/396f8f558c07e4c8b0d3090eb
   ||e5f65fab1d98f5a

--- Comment #8 from Vlad Zagorodniy  ---
Git commit 396f8f558c07e4c8b0d3090ebe5f65fab1d98f5a by Vlad Zagorodniy.
Committed on 11/10/2018 at 14:48.
Pushed by vladz into branch 'Plasma/5.14'.

[effects/diminactive] Delete active transitions when window is deleted

Summary:
The Dim Inactive effect expects that the windowClosed signal always
proceeds the windowDeleted signal. But in some cases that's not the case.

If a window gets destroyed before becoming ready for painting, only
the windowDeleted signal will be emitted. In addition to that, KWin will
activate that window, which means we'll probably start a transition for
it.

Because this effect cannot terminate active transitions for such
windows, KWin can crash in postPaintScreen.

This change addresses the crash in postPaintScreen by adding extra clean
up stuff in the windowDeleted slot to make sure that there are no
transitions for deleted windows.

The proper fix would be to not emit windowActivated signal for windows
that are not ready for painting.
FIXED-IN: 5.14.1

Test Plan:
Ran
```
x <- seq(5, 15, length=1000)
y <- dnorm(x, mean=10, sd=3)
plot(x, y, type="l", lwd=1)
```
in RKWard multiple times.

Reviewers: #kwin

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D16130

M  +6-0effects/diminactive/diminactive.cpp

https://commits.kde.org/kwin/396f8f558c07e4c8b0d3090ebe5f65fab1d98f5a

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

[kwin] [Bug 399612] Kwin crashed when RKWard opened a new window

2018-10-11 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=399612

David Edmundson  changed:

   What|Removed |Added

 CC||adarma...@gmail.com

--- Comment #7 from David Edmundson  ---
*** Bug 399660 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 399612] Kwin crashed when RKWard opened a new window

2018-10-11 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=399612

David Edmundson  changed:

   What|Removed |Added

 CC||robby.engelm...@igfs-ev.de

--- Comment #6 from David Edmundson  ---
*** Bug 399630 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 399612] Kwin crashed when RKWard opened a new window

2018-10-11 Thread Vlad Zagorodniy
https://bugs.kde.org/show_bug.cgi?id=399612

Vlad Zagorodniy  changed:

   What|Removed |Added

 Resolution|BACKTRACE   |---
 Status|NEEDSINFO   |CONFIRMED
 Ever confirmed|0   |1

--- Comment #5 from Vlad Zagorodniy  ---
Can reproduce.

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

[kwin] [Bug 399612] Kwin crashed when RKWard opened a new window

2018-10-10 Thread Vlad Zagorodniy
https://bugs.kde.org/show_bug.cgi?id=399612

--- Comment #4 from Vlad Zagorodniy  ---
(In reply to flyos from comment #3)
> Oh, I thought it was OK since DrKonqi said the backtrace was informative.
> I've install the debug symbols (is kwin5-debuginfo enough?), let's see if
> this is happening again.
I'm not an openSUSE user, but yeah, seems like that's what we need. :-)

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

[kwin] [Bug 399612] Kwin crashed when RKWard opened a new window

2018-10-10 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=399612

--- Comment #3 from fl...@mailoo.org ---
Oh, I thought it was OK since DrKonqi said the backtrace was informative. I've
install the debug symbols (is kwin5-debuginfo enough?), let's see if this is
happening again.

My Kwin Support Information is attached. As I explained, Kwin crashed exactly
when RKWard opened a new window.

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

[kwin] [Bug 399612] Kwin crashed when RKWard opened a new window

2018-10-10 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=399612

--- Comment #2 from fl...@mailoo.org ---
Created attachment 115538
  --> https://bugs.kde.org/attachment.cgi?id=115538=edit
Kwin Support Information

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

[kwin] [Bug 399612] Kwin crashed when RKWard opened a new window

2018-10-10 Thread Vlad Zagorodniy
https://bugs.kde.org/show_bug.cgi?id=399612

Vlad Zagorodniy  changed:

   What|Removed |Added

 Resolution|--- |BACKTRACE
 Status|REPORTED|NEEDSINFO

--- Comment #1 from Vlad Zagorodniy  ---
Unfortunately the backtrace lacks debug symbols. If you're able to reproduce
the crash, please install debug packages and submit a new backtrace.

Also, when did KWin crash? when a new window appeared? Can you please post
output of
qdbus org.kde.KWin /KWin supportInformation

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