X crashes with qxl(0): error doing QXL_ALLOC

Bug #1980889 reported by Edward
48
This bug affects 8 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-qxl (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Have Lubuntu 22.04 installed in a virtual machine created with virt-manager. The X server will randomly crash with only Firefox and Thunderbird running, with one or the other minimized.

Old bug reports found online suggested increasing the "vram" setting to 256 MiB (262144 in the XML file) fixed this problem, however at that setting, it crashed and this latest crash is when the "vram" was set to 512 MiB (524288 in the XML file).

Below is the text from the Xorg.0.log.old file from the point of the crash. The crash of the X server terminated this particular log.

[ 54.773] (II) event4 - spice vdagent tablet: device is a pointer
[ 3431.844] (EE) qxl(0): error doing QXL_ALLOC
[ 3431.844] (EE)
[ 3431.844] (EE) Backtrace:
[ 3431.861] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x139) [0x56450cb3f2b9]
[ 3431.863] (EE) 1: /lib/x86_64-linux-gnu/libc.so.6 (__sigaction+0x50) [0x7fdab48da520]
[ 3431.864] (EE) unw_get_proc_name failed: no unwind info found [-10]
[ 3431.864] (EE) 2: /usr/lib/xorg/modules/drivers/qxl_drv.so (?+0x0) [0x7fdab413fb2d]
[ 3431.865] (EE) unw_get_proc_name failed: no unwind info found [-10]
[ 3431.865] (EE) 3: /usr/lib/xorg/modules/drivers/qxl_drv.so (?+0x0) [0x7fdab413ffc7]
[ 3431.866] (EE) unw_get_proc_name failed: no unwind info found [-10]
[ 3431.867] (EE) 4: /usr/lib/xorg/modules/drivers/qxl_drv.so (?+0x0) [0x7fdab414c7c0]
[ 3431.869] (EE) 5: /usr/lib/xorg/Xorg (miCopyRegion+0x9b) [0x56450cb1c59b]
[ 3431.870] (EE) 6: /usr/lib/xorg/Xorg (miDoCopy+0x456) [0x56450cb1ccf6]
[ 3431.872] (EE) unw_get_proc_name failed: no unwind info found [-10]
[ 3431.872] (EE) 7: /usr/lib/xorg/modules/drivers/qxl_drv.so (?+0x0) [0x7fdab414ca02]
[ 3431.873] (EE) 8: /usr/lib/xorg/Xorg (DamageRegionAppend+0x3886) [0x56450caafa86]
[ 3431.873] (EE) 9: /usr/lib/xorg/Xorg (SendGraphicsExpose+0x2cd) [0x56450c9c4efd]
[ 3431.874] (EE) 10: /usr/lib/xorg/Xorg (SendErrorToClient+0x365) [0x56450c9c94a5]
[ 3431.874] (EE) 11: /usr/lib/xorg/Xorg (InitFonts+0x3c4) [0x56450c9cd524]
[ 3431.876] (EE) 12: /lib/x86_64-linux-gnu/libc.so.6 (__libc_init_first+0x90) [0x7fdab48c1d90]
[ 3431.878] (EE) 13: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0x80) [0x7fdab48c1e40]
[ 3431.878] (EE) 14: /usr/lib/xorg/Xorg (_start+0x25) [0x56450c9b65f5]
[ 3431.878] (EE)
[ 3431.878] (EE) Segmentation fault at address 0x0
[ 3431.878] (EE)
Fatal server error:
[ 3431.879] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 3431.879] (EE)
[ 3431.879] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[ 3431.879] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 3431.879] (EE)
[ 3431.880] (EE) Server terminated with error (1). Closing log file.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xserver-xorg-video-qxl (Ubuntu):
status: New → Confirmed
Revision history for this message
Ellis Whitehead (web99) wrote :

I'm seeing the same error with a Xubuntu 22.04 VM.

Revision history for this message
Norman Rieß (weuxel) wrote :

Same on Xubuntu 23.04.

tags: added: jammy mantic qxl
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
https://iso.qa.ubuntu.com/qatracker/reports/bugs/1980889

tags: added: iso-testing
Revision history for this message
minphr (lp723h) wrote (last edit ):

This is affecting me as well. The Xorg stack trace is nearly identical in my case.

I am using Kubuntu 23.10 as Host and 22.04 LTS as guest.
It is quite annoying as I use the VM for work and this kind of crash happens randomly sometimes 5 times per day.

I noticed it happens every time when I either start typing text or click something inside the Guest. If the thing I clicked was a text field, the mouse pointer is stuck as the "I" symbol but I can still move it around for a few seconds until Xorg dies completely.

I use the VM in a multi-monitor setup with 3 screens.

This is my Video QXL config:
<video>
  <model type="qxl" ram="262144" vram="131072" vgamem="131072" heads="3" primary="yes"/>
  <alias name="video0"/>
  <address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
</video>

I used the exact same configuration and Guest VM on my "old" pc, that was running Kubuntu 22.04 LTS as host as well as guest, and I never had this problem there.

My current pc has an integrated AMD Radeon 780m (does not matter if I used AMD's drivers or default ones) and the previous one has integrated Intel Xe G7 80EUs.
All my software is regularly updated to latest available versions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.