kwin_x11: The X11 connection broke: I/O error (code 1)
Bug #2003339 reported by
Kai Kasurinen
This bug affects 9 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KDE Base Workspace |
Fix Released
|
Medium
|
|||
Mesa |
Fix Released
|
Unknown
|
|||
kwin (Debian) |
New
|
Unknown
|
|||
kwin (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Jammy |
Invalid
|
Undecided
|
Unassigned | ||
mesa (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
kwin might crash after running some time
Two commits have been reverted upstream since 22.2.x branch was closed, needs those backported to fix this.
[Test case]
Run kwin for a day or so, which is usually enough time to hit this.
Crash happens mostly on a notification popups, so system must be actively receiving notifications to test the crash. Without that crash may not happen even in a week of runtime.
[Where things could go wrong]
This just reverts two commits, and they have been upstream for a few months now, so these causing a regression is unlikely.
Changed in mesa: | |
status: | Unknown → Fix Released |
Changed in kwin (Debian): | |
status: | Unknown → New |
Changed in kdebase-workspace: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
Changed in kwin (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in mesa (Ubuntu): | |
status: | Confirmed → Fix Committed |
tags: | added: fixed-in-mesa-22.3.0 |
Changed in mesa (Ubuntu): | |
status: | Fix Committed → Fix Released |
description: | updated |
Changed in kwin (Ubuntu Jammy): | |
status: | New → Invalid |
Changed in mesa (Ubuntu Jammy): | |
status: | New → In Progress |
description: | updated |
To post a comment you must log in.
Really really sorry for this but no backtrace.
Kwin is getting killed by X with (2 last lines)
The X11 connection broke: I/O error (code 1)
X connection to :0 broken (explicit kill or server shutdown).
I trust that I dind't kill my kwin on purpose. Can any keyboard combination do this?
This time it took 2-3 days to be killed like this. Here are all the messages that it spits in these 3 days. I really hope that you will be able to find something valuable.
I mentioned this bug in https:/ /bugs.kde. org/show_ bug.cgi? id=461052 (which is another bug)
After the kwin crash I have a 50% change for a plasmashell crash. This is of course is another bug but it is entirely possible that the plasmashell crash comes first and lead to the kwin death mentioned here. I can't tell because when kwin is killed the desktop is unresponsive.
One other observation. Some times kwin is killed (cannot be found with ps - no titlebars in the windows) and sometimes it hangs (unresponsive desktop, titlebars in windows and can be found by ps).
Next time (in 2 - 3 days) I will try to attach a strace.
bill@beyonder:~$ kwin --replace &
[1] 1185549
bill@beyonder:~$ kwin_xkbcommon: XKB: inet:334:58: unrecognized keysym "XF86EmojiPicker"
bill@beyonder:~$ OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) HD Graphics 4000 (IVB GT2)
OpenGL version string: 4.2 (Compatibility Profile) Mesa 22.2.2
OpenGL shading language version string: 4.20
Driver: Intel
GPU class: IvyBridge
OpenGL version: 4.2
GLSL version: 4.20
Mesa version: 22.2.2
X server version: 1.21.1
Linux kernel version: 6.0
Requires strict binding: yes
GLSL shaders: yes
Texture NPOT support: yes
Virtual Machine: no
bill@beyonder:~$
bill@beyonder:~$
bill@beyonder:~$
bill@beyonder:~$ jobs
[1]+ Running kwin --replace &
bill@beyonder:~$ disown
bill@beyonder:~$ jobs
bill@beyonder:~$
bill@beyonder:~$
bill@beyonder:~$ qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 5075, resource id: 69206021, major code: 18 (ChangeProperty), minor code: 0
bill@beyonder:~$ kwin_core: XCB error: 152 (BadDamage), sequence: 39, resource id: 29365899, major code: 143 (DAMAGE), minor code: 3 (Subtract) butes), minor code: 0 butes), minor code: 0
kwin_core: XCB error: 152 (BadDamage), sequence: 7894, resource id: 29366594, major code: 143 (DAMAGE), minor code: 3 (Subtract)
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 10273, resource id: 29366843, major code: 3 (GetWindowAttri
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 10274, resource id: 29366843, major code: 14 (GetGeometry), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 10277, resource id: 29366843, major code: 3 (GetWindowAttri
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 10278, resource id: 29366843, major code: 14 (GetGeometry), minor code: 0
...