[kwin] [Bug 453928] Slow shutdown problems in plasma due to KWin hang

2024-08-30 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=453928

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In||6.0.0
 Resolution|--- |FIXED
 Status|CONFIRMED   |RESOLVED

--- Comment #19 from Nate Graham  ---
Marking as fixed in Plasma 6; it'll be up to KWin folks regarding whether not a
backport is feasible.

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

[kwin] [Bug 453928] Slow shutdown problems in plasma due to KWin hang

2024-08-30 Thread Szollosi-Nagy Balint
https://bugs.kde.org/show_bug.cgi?id=453928

Szollosi-Nagy Balint  changed:

   What|Removed |Added

 CC||[email protected]
 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1

--- Comment #18 from Szollosi-Nagy Balint  ---
TLDR: there is a solution, and it is released in Plasma 6, and you can patch
Plasma 5 if you need to.

Until recently I had the same problem in Debian 12 Bookworm, and I even
upgraded to unstable Trixie in hopes that a new KDE version will solve it. But
it didn't.

The issue itself looked very much like a "wind-down" problem: maybe some
components are shut down, while others are still working. 
Searching along these lines I found this:
"https://discuss.kde.org/t/weird-crashes-when-logging-out/5927";
Which linked to 
"https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3302";


There the author found that SystemD was restarting some of the components that
Kwin was shutting down, hence the issue.
Our issue seemed very similar.

Original commit to use systemd for coordinating the shutdown, instead of
killing Kwin, while systemd keeps re-launching some of the killed components:
https://github.com/KDE/plasma-workspace/commit/6ce8f434139f47e6a71bf0b68beae92be8845ce4

The commit that refines the above solution to also handle legacy boot, where
systemd is disabled for some reason by the user.
https://github.com/KDE/plasma-workspace/commit/41629e86035e341bb4dea662236aefdc274e7c30


This is released in Plasma 6, so if you can upgrade, then your problem will be
solved.

Not sure I understand its status in Plasma 5, but I have patched my Debian 12
Bookworm that has plasma-workspace-5.27.5,
and it corrects this shutdown delay issue.


Dear KDE team, can we get these two commits released for the Plasma-workspace 5
series too, as a bugfix?

It concerns the package plasma-workspace, and affects two files only.

It solves this bug report (and many others listed in the commit message), and
would improve the user experience 
for Debian too (for the moment the new unstable Debian Trixie also uses Plasma
5 (with plasma-workspace-5.27.11.1))

Related open bugs 453928, 461989
The two commits addressed these bugs 473824, 409088, 450531, 451939, 450320,
434403
and bug 483066

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

[kwin] [Bug 453928] Slow shutdown problems in plasma due to KWin hang

2024-07-09 Thread soredake
https://bugs.kde.org/show_bug.cgi?id=453928

soredake  changed:

   What|Removed |Added

 CC|[email protected]|

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

[kwin] [Bug 453928] Slow shutdown problems in plasma due to KWin hang

2022-11-29 Thread soredake
https://bugs.kde.org/show_bug.cgi?id=453928

soredake  changed:

   What|Removed |Added

 CC||[email protected]

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

[kwin] [Bug 453928] Slow shutdown problems in plasma due to KWin hang

2022-07-20 Thread Rounak Dutta
https://bugs.kde.org/show_bug.cgi?id=453928

--- Comment #17 from Rounak Dutta  ---
Here are my shutdown logs for more info - http://0x0.st/oj-d.txt

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

[kwin] [Bug 453928] Slow shutdown problems in plasma due to KWin hang

2022-07-20 Thread Rounak Dutta
https://bugs.kde.org/show_bug.cgi?id=453928

--- Comment #16 from Rounak Dutta  ---
(In reply to Rounak Dutta from comment #14)
> (In reply to David Edmundson from comment #13)
> 
> > Debug symbols would help here. 
> > Especially frame 18
> 
> What is debug symbols ?
> I asked people in the arch forums. They said that it is a bug with the
> aurora engine - https://bbs.archlinux.org/viewtopic.php?id=277470

Sorry for the very late reply. Today my python crashed and here are debuginfo
symbols -
http://0x0.st/oj-7.txt
https://pastebin.com/ZQDsE0hh
https://paste.rs/enG

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

[kwin] [Bug 453928] Slow shutdown problems in plasma due to KWin hang

2022-06-23 Thread Rounak Dutta
https://bugs.kde.org/show_bug.cgi?id=453928

--- Comment #15 from Rounak Dutta  ---
Here is the coredump file I generated which tells everything in details -
https://paste.rs/m0K

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

[kwin] [Bug 453928] Slow shutdown problems in plasma due to KWin hang

2022-06-23 Thread Rounak Dutta
https://bugs.kde.org/show_bug.cgi?id=453928

--- Comment #14 from Rounak Dutta  ---
(In reply to David Edmundson from comment #13)

> Debug symbols would help here. 
> Especially frame 18

What is debug symbols ?
I asked people in the arch forums. They said that it is a bug with the aurora
engine - https://bbs.archlinux.org/viewtopic.php?id=277470

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

[kwin] [Bug 453928] Slow shutdown problems in plasma due to KWin hang

2022-06-23 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=453928

--- Comment #13 from David Edmundson  ---
Pasting inline.

#11 0x7f1a3a63e838 raise (libc.so.6 + 0x3e838)
#12 0x7f1a3a628535 abort (libc.so.6 + 0x28535)
#13 0x7f1a3a68245e n/a (libc.so.6 + 0x8245e)
#14 0x7f1a3a6980cc n/a (libc.so.6 + 0x980cc)
#15 0x7f1a3a698bf4 n/a (libc.so.6 + 0x98bf4)
#16 0x7f1a3a69a10b n/a (libc.so.6 + 0x9a10b)
#17 0x7f1a3a69c8f3 free (libc.so.6 + 0x9c8f3)
#18 0x7f1a3b88897e n/a (libQt5Core.so.5 + 0x28897e)
#19 0x7f1a3a6413e7 __cxa_finalize (libc.so.6 + 0x413e7)
#20 0x7f1a3b6ca978 n/a (libQt5Core.so.5 + 0xca978)
#21 0x7f1a3d08dcfe n/a (ld-linux-x86-64.so.2 + 0x5cfe)
#22 0x7f1a3a640ef5 n/a (libc.so.6 + 0x40ef5)
#23 0x7f1a3a641070 exit (libc.so.6 + 0x41070)
#24 0x7f1a3a8fcbf6 _XDefaultIOError (libX11.so.6 + 0x3fbf6)
#25 0x7f1a3a8ffe13 _XIOError (libX11.so.6 + 0x42e13)
#26 0x7f1a3a904f54 _XReply (libX11.so.6 + 0x47f54)
#27 0x7f1a3a8f8111 XSync (libX11.so.6 + 0x3b111)
#28 0x7f1a3a8e0de1 XCloseDisplay (libX11.so.6 + 0x23de1)
#29 0x7f1a2c8e3ce6 n/a (KWinX11Platform.so + 0x31ce6)
#30 0x7f1a2c8e3fc1 n/a (KWinX11Platform.so + 0x31fc1)
#31 0x7f1a2c8e401d n/a (KWinX11Platform.so + 0x3201d)
#32 0x7f1a2c8dcc07 n/a (KWinX11Platform.so + 0x2ac07)
#33 0x7f1a2c8dcedd n/a (KWinX11Platform.so + 0x2aedd)
#34 0x7f1a3cb8fd00 _ZN4KWin10Compositor4stopEv
(libkwin.so.5 + 0x18fd00)
#35 0x7f1a3cb91c1a _ZN4KWin13X11CompositorD2Ev
(libkwin.so.5 + 0x191c1a)
#36 0x7f1a3cb91c5e _ZN4KWin13X11CompositorD0Ev
(libkwin.so.5 + 0x191c5e)
#37 0x5559612b4b23 n/a (kwin_x11 + 0x2fb23)
#38 0x5559612b2df1 n/a (kwin_x11 + 0x2ddf1)
#39 0x7f1a3a629290 n/a (libc.so.6 + 0x29290)
#40 0x7f1a3a62934a __libc_start_main (libc.so.6 + 0x2934a)

Debug symbols would help here. 
Especially frame 18

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

[kwin] [Bug 453928] Slow shutdown problems in plasma due to KWin hang

2022-06-23 Thread Rounak Dutta
https://bugs.kde.org/show_bug.cgi?id=453928

--- Comment #12 from Rounak Dutta  ---
Here I found some details about it. Please help !!! -
http://0x0.st/oSK8.txt

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

[kwin] [Bug 453928] Slow shutdown problems in plasma due to KWin hang

2022-06-23 Thread Rounak Dutta
https://bugs.kde.org/show_bug.cgi?id=453928

--- Comment #11 from Rounak Dutta  ---
(In reply to David Edmundson from comment #6)
> Can you confirm if this is an issue with 5.25. There is an important change
> to how we manage kwin.
> 
> 
> The most important line from this log is:
> May 17 15:43:44 archissexy kwin_x11[604]: The X11 connection broke: I/O
> error (code 1)
> 
> So kwin_x11 is trying to exit probably around the same time as the sigterm.
> It then potentially restarts after the sigterm is sent so therefore misses
> it.
> Can you check if "coredumpctl" lists anything for kwin?

I GOT SOMETHING! 
When I do coredumpctl list I got this - https://paste.rs/9IX

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

[kwin] [Bug 453928] Slow shutdown problems in plasma due to KWin hang

2022-06-21 Thread Rounak Dutta
https://bugs.kde.org/show_bug.cgi?id=453928

Rounak Dutta  changed:

   What|Removed |Added

 Status|RESOLVED|REPORTED
 Resolution|FIXED   |---

--- Comment #10 from Rounak Dutta  ---
Nope it didn't worked out well. Today I faced the kwin hang again. -
https://imgur.com/a/v2k3PnD

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

[kwin] [Bug 453928] Slow shutdown problems in plasma due to KWin hang

2022-06-19 Thread Rounak Dutta
https://bugs.kde.org/show_bug.cgi?id=453928

Rounak Dutta  changed:

   What|Removed |Added

 Status|NEEDSINFO   |RESOLVED
 Resolution|WAITINGFORINFO  |FIXED

--- Comment #9 from Rounak Dutta  ---
Oh it is working now  I didn't restart my pc after the update after I
rebooted my pc everything looks good. I am using plasma for 3 days but till now
I haven't seen any kwin hang. :)

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

[kwin] [Bug 453928] Slow shutdown problems in plasma due to KWin hang

2022-06-17 Thread Rounak Dutta
https://bugs.kde.org/show_bug.cgi?id=453928

--- Comment #8 from Rounak Dutta  ---
(In reply to David Edmundson from comment #6)
> Can you confirm if this is an issue with 5.25. There is an important change
> to how we manage kwin.
> 
> 
> The most important line from this log is:
> May 17 15:43:44 archissexy kwin_x11[604]: The X11 connection broke: I/O
> error (code 1)
> 
> So kwin_x11 is trying to exit probably around the same time as the sigterm.
> It then potentially restarts after the sigterm is sent so therefore misses
> it.
> Can you check if "coredumpctl" lists anything for kwin?

I still have the same problem with plasma. Kwin hangs and I updated it to kwin
5.25.0-1 still have the same problem :'( . What should I do ? 
This is my system info in details- http://0x0.st/oupH.txt ,
http://0x0.st/oup8.png

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

[kwin] [Bug 453928] Slow shutdown problems in plasma due to KWin hang

2022-06-16 Thread Rounak Dutta
https://bugs.kde.org/show_bug.cgi?id=453928

--- Comment #7 from Rounak Dutta  ---
(In reply to David Edmundson from comment #6)
> Can you confirm if this is an issue with 5.25. There is an important change
> to how we manage kwin.
> 
> 
> The most important line from this log is:
> May 17 15:43:44 archissexy kwin_x11[604]: The X11 connection broke: I/O
> error (code 1)
> 
> So kwin_x11 is trying to exit probably around the same time as the sigterm.
> It then potentially restarts after the sigterm is sent so therefore misses
> it.
> Can you check if "coredumpctl" lists anything for kwin?

Umm I read the archwiki on core dump
-https://wiki.archlinux.org/title/Core_dump#Making_a_core_dump I did 

[rounak@archissexy ~]$ sudo coredumpctl list
No coredumps found.

and 

[rounak@archissexy ~]$ sudo coredumpctl info 505
No coredumps found.

505 is the kwin process - 

[rounak@archissexy ~]$ pgrep -f kwin
505
[rounak@archissexy ~]$ 

so no coredump were found

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

[kwin] [Bug 453928] Slow shutdown problems in plasma due to KWin hang

2022-06-16 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=453928

David Edmundson  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 CC||[email protected]
 Resolution|--- |WAITINGFORINFO

--- Comment #6 from David Edmundson  ---
Can you confirm if this is an issue with 5.25. There is an important change to
how we manage kwin.


The most important line from this log is:
May 17 15:43:44 archissexy kwin_x11[604]: The X11 connection broke: I/O error
(code 1)

So kwin_x11 is trying to exit probably around the same time as the sigterm. It
then potentially restarts after the sigterm is sent so therefore misses it.
Can you check if "coredumpctl" lists anything for kwin?

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

[kwin] [Bug 453928] Slow shutdown problems in plasma due to KWin hang

2022-06-16 Thread Rounak Dutta
https://bugs.kde.org/show_bug.cgi?id=453928

--- Comment #5 from Rounak Dutta  ---
After the new kde update. I thought it will get fixed but still I am having the
same problem. I am facing a message like this when I am turning off or
rebooting my pc -
https://imgur.com/a/v2k3PnD
https://imgur.com/a/kWYNOwP

and it takes 2 to 3 minutes exactly for it to automatically shut down.

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

[kwin] [Bug 453928] Slow shutdown problems in plasma due to KWin hang

2022-05-18 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=453928

--- Comment #4 from Nate Graham  ---
You just reported the issue yesterday. Please read
https://community.kde.org/Get_Involved/Issue_Reporting#Have_realistic_expectations

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

[kwin] [Bug 453928] Slow shutdown problems in plasma due to KWin hang

2022-05-18 Thread Rounak Dutta
https://bugs.kde.org/show_bug.cgi?id=453928

--- Comment #3 from Rounak Dutta  ---
Here is the detailed screenshot of the bug I am facing-
https://imgur.com/a/BWnCXhh

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

[kwin] [Bug 453928] Slow shutdown problems in plasma due to KWin hang

2022-05-18 Thread Rounak Dutta
https://bugs.kde.org/show_bug.cgi?id=453928

Rounak Dutta  changed:

   What|Removed |Added

Version|unspecified |5.24.5
  Component|compositing |general

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

[kwin] [Bug 453928] Slow shutdown problems in plasma due to KWin hang

2022-05-18 Thread Rounak Dutta
https://bugs.kde.org/show_bug.cgi?id=453928

--- Comment #2 from Rounak Dutta  ---
I don't know why no one is fixing this problem. I like kde so much but this bug
is annoying and this thing is preventing me to use kde. I am forced to use
crappy desktop environments like gnome , budgie , lxqt and mate. Everyone is
having this problem and there is literally no response - 
Just look at how many people are having this problem - 

https://bugs.kde.org/show_bug.cgi?id=427373 ( Open since 2020 but no response ) 
https://bbs.archlinux.org/viewtopic.php?id=271102 ( This is my arch forum post
) 
https://bbs.archlinux.org/viewtopic.php?id=269310
https://bbs.archlinux.org/viewtopic.php?id=269549
https://bbs.archlinux.org/viewtopic.php?id=270759
https://bbs.archlinux.org/viewtopic.php?id=254577

Please look at this matter please.

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

[kwin] [Bug 453928] Slow shutdown problems in plasma due to KWin hang

2022-05-17 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=453928

Nate Graham  changed:

   What|Removed |Added

  Flags||Wayland-, X11+
 CC||[email protected]
Summary|Slow shutdown problems in   |Slow shutdown problems in
   |plasma dude to kwin hang|plasma due to KWin hang

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