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

            Bug ID: 457847
           Summary: kwin becomes unresponsive sometimes when starting
                    vscode
           Product: kwin
           Version: 5.25.4
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-n...@kde.org
          Reporter: p...@ralfj.de
  Target Milestone: ---

SUMMARY

I apologize in advance for the vague description. I don't know how to reproduce
this issue and I don't know how to diagnose it, so I am down to describing
symptoms in the hope that they are recognizable to the developers. It happened
twice now in the span of 2 days so it is not just a one-off event.

The symptoms are as follows:
- I start visual studio code.
- It doesn't start properly; the main windows remains mostly grey and the
little notification boxes it shows in the bottom right corner are just black
- I can keep do one alt-tab and interact with that window just fine
- When I do another alt-tab the focus doesn't really go to that window any more
- Now I am entirely stuck and nothing I do seems to have any effect. I even
tried killing kwin from another terminal, no luck. I have to
Ctrl-Alt-Backspace.

I checked "journalctl" and found only this:

Aug 13 12:54:26 r-thinktop systemd[1904]: Started Visual Studio Code.
Aug 13 12:54:26 r-thinktop krunner[355566]: Warning: networking feature is
disabled in Firejail configuration file
Aug 13 12:54:26 r-thinktop krunner[355566]: Reading profile
/etc/firejail/whitelist-common.inc
Aug 13 12:54:26 r-thinktop krunner[355566]: Reading profile
/etc/firejail/whitelist-common.local
Aug 13 12:54:26 r-thinktop krunner[355566]: Parent pid 355566, child pid 355575
Aug 13 12:54:26 r-thinktop kwin_x11[218611]: qt.qpa.xcb: QXcbConnection: XCB
error: 3 (BadWindow), sequence: 34689, resource id: 75497860, major code: 18
(ChangeProperty), minor code: 0
Aug 13 12:54:26 r-thinktop krunner[355582]: Child process initialized in 149.98
ms
Aug 13 12:54:27 r-thinktop krunner[355614]:
[39:0813/125427.287529:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called
with multiple threads in process gpu-process.
Aug 13 12:54:27 r-thinktop kwin_x11[218611]: qt.qpa.xcb: QXcbConnection: XCB
error: 3 (BadWindow), sequence: 35169, resource id: 17481336, major code: 3
(GetWindowAttributes), minor code: 0
Aug 13 12:54:27 r-thinktop kwin_x11[218611]: qt.qpa.xcb: QXcbConnection: XCB
error: 9 (BadDrawable), sequence: 35170, resource id: 17481336, major code: 14
(GetGeometry), minor code: 0
Aug 13 12:54:27 r-thinktop krunner[355582]: [main 2022-08-13T16:54:27.406Z]
update#setState idle
Aug 13 12:54:29 r-thinktop krunner[355582]: [main 2022-08-13T16:54:29.010Z]
Starting extension host with pid 124 (fork() took 11 ms).
[...]
Aug 13 13:00:23 r-thinktop kwin_x11[218611]: qt.qpa.xcb: QXcbConnection: XCB
error: 2 (BadValue), sequence: 1271, resource id: 17494157, major code: 149
(Unknown), minor code: 4
Aug 13 13:00:23 r-thinktop kwin_x11[218611]: qt.qpa.xcb: QXcbConnection: XCB
error: 136 (Unknown), sequence: 1274, resource id: 17494158, major code: 148
(Unknown), minor code: 1
Aug 13 13:00:23 r-thinktop kwin_x11[218611]: qt.qpa.xcb: QXcbConnection: XCB
error: 2 (BadValue), sequence: 1276, resource id: 17494160, major code: 149
(Unknown), minor code: 4
Aug 13 13:00:23 r-thinktop kwin_x11[218611]: qt.qpa.xcb: QXcbConnection: XCB
error: 136 (Unknown), sequence: 1277, resource id: 17494161, major code: 148
(Unknown), minor code: 1
Aug 13 13:01:02 r-thinktop kglobalaccel5[218644]: The X11 connection broke
(error 1). Did the X11 server die?
Aug 13 13:01:02 r-thinktop kded5[218605]: The X11 connection broke (error 1).
Did the X11 server die?
Aug 13 13:01:02 r-thinktop ksmserver[218599]: The X11 connection broke (error
1). Did the X11 server die?

The "X11 connection broke" are from when I did Ctrl-Alt-Backspace.
Before that kwin did show some "XCB error", no idea if those are significant /
critical -- but I doubt it, I have similar messages in the log all the time.

I am using Debian testing. This started when kwin-x11 got updated from
4:5.24.5-1+b1 to 4:5.25.4-2.


SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.4
Kernel Version: 5.18.0-3-amd64 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Xeon® CPU E3-1505M v5 @ 2.80GHz
Memory: 31,2 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics P530
Manufacturer: LENOVO
Product Name: 20ENCTO1WW
System Version: ThinkPad P50

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

Reply via email to