VirtualBox keeps crashing KWin

Hello,

This is happening a lot in VirtualBox. What I specifically did in this instance was to open VirtualBox>File>Preferences and select OK. This will crash KWin every time I do it.

  • Relevant informations (hardware involved, software version, logs or output…):
    This is all ‘journalctl’ reports from the above instance:

$ journalctl -e

Jul 23 20:35:11 localhost.localdomain kwin_x11[10186]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 29776, resource id: 0, major code: 14 (GetGeometr
Jul 23 20:35:11 localhost.localdomain kwin_x11[10186]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 29777, resource id: 0, major code: 14 (GetGeometr
Jul 23 20:35:11 localhost.localdomain kwin_x11[10186]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 29778, resource id: 0, major code: 14 (GetGeometr
Jul 23 20:35:11 localhost.localdomain kwin_x11[10186]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 29779, resource id: 0, major code: 14 (GetGeometr
Jul 23 20:35:11 localhost.localdomain kwin_x11[10186]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 29780, resource id: 0, major code: 14 (GetGeometr
Jul 23 20:35:11 localhost.localdomain kwin_x11[10186]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 29781, resource id: 0, major code: 14 (GetGeometr
Jul 23 20:35:11 localhost.localdomain kwin_x11[10186]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 29782, resource id: 0, major code: 14 (GetGeometr
Jul 23 20:35:11 localhost.localdomain kwin_x11[10186]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 29783, resource id: 0, major code: 14 (GetGeometr
Jul 23 20:35:12 localhost.localdomain plasmashell[4598]: QXcbConnection: XCB error: 2 (BadValue), sequence: 59162, resource id: 33554454, major code: 143 (Unk
Jul 23 20:35:12 localhost.localdomain plasmashell[4598]: QXcbConnection: XCB error: 2 (BadValue), sequence: 59204, resource id: 69206037, major code: 143 (Unk
Jul 23 20:35:15 localhost.localdomain kwin_x11[10186]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 31752, resource id: 33554472, major code: 18 (Chang
Jul 23 20:35:18 localhost.localdomain systemd-coredump[10221]: Core file was truncated to 2147483648 bytes.
Jul 23 20:35:20 localhost.localdomain systemd-coredump[10221]: Failed to generate stack trace: Unwinding not supported for this architecture
Jul 23 20:35:20 localhost.localdomain systemd-coredump[10221]: Process 10153 (kwin_x11) of user 1001 dumped core.
Jul 23 20:35:23 localhost.localdomain plasmashell[4598]: QXcbConnection: XCB error: 2 (BadValue), sequence: 59775, resource id: 62914589, major code: 143 (Unk
Jul 23 20:35:24 localhost.localdomain kwin_x11[10186]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 34545, resource id: 0, major code: 14 (GetGeometr
Jul 23 20:35:24 localhost.localdomain kwin_x11[10186]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 34546, resource id: 0, major code: 14 (GetGeometr
Jul 23 20:35:24 localhost.localdomain kwin_x11[10186]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 34547, resource id: 0, major code: 14 (GetGeometr
Jul 23 20:35:24 localhost.localdomain kwin_x11[10186]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 34548, resource id: 0, major code: 14 (GetGeometr
Jul 23 20:35:24 localhost.localdomain kwin_x11[10186]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 34549, resource id: 0, major code: 14 (GetGeometr
Jul 23 20:35:24 localhost.localdomain kwin_x11[10186]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 34550, resource id: 0, major code: 14 (GetGeometr
Jul 23 20:35:24 localhost.localdomain kwin_x11[10186]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 34551, resource id: 0, major code: 14 (GetGeometr
Jul 23 20:35:24 localhost.localdomain kwin_x11[10186]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 34552, resource id: 0, major code: 14 (GetGeometr
Jul 23 20:35:24 localhost.localdomain kwin_x11[10186]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 34717, resource id: 0, major code: 14 (GetGeometr
Jul 23 20:35:24 localhost.localdomain kwin_x11[10186]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 34718, resource id: 0, major code: 14 (GetGeometr

Anyone have any idea what is going on with this? Does anyone else see this?

Does this indicate a problem?

Edit: Selecting OK in VBox Preferences isn’t the only thing that crashes KWin, it is just an example.

I observed the same issues with LXQt so it is not strictly related to kwin but QXcbConnection is the cause. I haven’t may own log but you may see it here in the log provided by @giorgio.pagani

Edit: I observed it on real hardware too (with live iso).

This is what I’m reporting.

I’m not reporting something that happens in VirtualBox. This is happening on hardware but looks like it is caused by VirualBox.

It is kwin that is crashing (coredump) but it is caused by VirtualBox because I’m working with and looking at VirtualBox every time this happens. When I do specific things with VirtualBox as I described that is when this specific coredump happens.

Giorgio’s journalctl log shows coredumps for sddm-greeter and firefox (unless I missed something). I don’t think those are the same thing.

1 Like

In the past I’ve been told by Bero that these errors are to be ignored. I sure hope so because in OpenMandriva Lx 3 I get thousands, maybe millions of them. Really. Like these:

Jul 24 12:10:28 localhost.localdomain kwin_x11[4580]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 10235, resource id: 0, major code: 14 (GetGeometry

Jul 24 12:12:08 localhost.localdomain kwin_x11[4580]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 25162, resource id: 56623217, major code: 15 (QueryT

Jul 24 12:17:05 localhost.localdomain plasmashell[4584]: QXcbConnection: XCB error: 2 (BadValue), sequence: 12114, resource id: 62914581, major code: 143 (Unk

100’s of thousands maybe millions of similar errors repeated over and over. Been that way on multiple computers since development for Lx 3.0 began.

1 Like