[Spice-devel] crashes / Assertion `uxa_pixmap_is_offscreen(src_pixmap)' failed

Daniel Pocock daniel at pocock.pro
Tue May 2 13:53:09 UTC 2017



On 02/05/17 12:43, Christophe Fergeau wrote:
> On Tue, May 02, 2017 at 11:39:08AM +0200, Daniel Pocock wrote:
>> 
>> 
>> Hi,
>> 
>> I've observed that the Xorg process in my virtual server
>> sometimes crashes when I launch Firefox.  Xorg.0.log had an error
>> about "Out of video memory: Could not allocate 7274816 bytes", so
>> I increased video RAM from 64MB to 256MB.  On the last crash the
>> error about memory was not there, but I found this at the end of
>> Xorg.0.log:
>> 
>> [170197.066] qxl_surface_create: Bad bpp: 1 (1) [170197.076]
>> qxl_surface_create: Bad bpp: 1 (1) [170228.641]
>> qxl_surface_create: Bad bpp: 1 (1) [170281.094]
>> qxl_surface_create: Bad bpp: 1 (1) [170281.641]
>> qxl_surface_create: Bad bpp: 1 (1)
> 
> These ones keep happening I think, and are harmless
> 
>> 
>> and in journalctl I found:
>> 
>> gdm-Xorg-:0[1538]: qxl_surface_create: Bad bpp: 1 (1) 
>> iceweasel.desktop[4967]: Gtk-Message: Failed to load module 
>> "canberra-gtk-module" gdm-Xorg-:0[1538]: qxl_surface_create: Bad
>> bpp: 1 (1) gdm-Xorg-:0[1538]: qxl_surface_create: Bad bpp: 1 (1) 
>> gdm-Xorg-:0[1538]: Xorg: ../../../src/uxa/uxa-glyphs.c:991: 
>> uxa_glyphs_via_mask: Assertion
>> `uxa_pixmap_is_offscreen(src_pixmap)' failed.
>> 
>> at the moment of the crash.  I opened a Debian bug[1] with that
>> error.
> 
> Would you have a core file when that happens?

Got it, thanks for the help with coredumpctl:

# coredumpctl gdb
           PID: 2379 (Xorg)
           UID: 0 (root)
           GID: 0 (root)
        Signal: 6 (ABRT)
     Timestamp: Tue 2017-05-02 15:44:40 CEST (5min ago)
  Command Line: /usr/bin/Xorg :0 -novtswitch -background none -noreset
-verbose 3 -auth /var/run/gdm3/auth-for-Debian-gdm-xxx/database -seat
seat0 -nolisten tcp vt7
    Executable: /usr/bin/Xorg
 Control Group: /system.slice/gdm.service
          Unit: gdm.service
         Slice: system.slice
      Coredump:
/var/lib/systemd/coredump/core.Xorg.0.0ad234920b8b47a9a29d0b22e3045725.2379.1493732680000000000000.xz
       Message: Process 2379 (Xorg) of user 0 dumped core.

                Stack trace of thread 2379:
                #0  0x00007f66686a4067 __GI_raise (libc.so.6)
                #1  0x00007f66686a5448 __GI_abort (libc.so.6)
                #2  0x00007f666869d266 __assert_fail_base (libc.so.6)
                #3  0x00007f666869d312 __GI___assert_fail (libc.so.6)
                #4  0x00007f6664baee49 uxa_glyphs_via_mask (qxl_drv.so)
                #5  0x00007f666a8ab643 n/a (n/a)

GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/Xorg...Reading symbols from
/usr/lib/debug//usr/bin/Xorg...done.
done.
[New LWP 2379]
[New LWP 2698]
[New LWP 2701]
[New LWP 2700]
[New LWP 2699]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/Xorg :0 -novtswitch -background none
-noreset -verbose 3 -auth /var/ru'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007f66686a4067 in __GI_raise (sig=sig at entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
56	../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007f66686a4067 in __GI_raise (sig=sig at entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007f66686a5448 in __GI_abort () at abort.c:89
#2  0x00007f666869d266 in __assert_fail_base (fmt=0x7f66687d5f18
"%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
    assertion=assertion at entry=0x7f6664bb8460
"uxa_pixmap_is_offscreen(src_pixmap)", file=file at entry=0x7f6664bb8440
"../../../src/uxa/uxa-glyphs.c",
    line=line at entry=991, function=function at entry=0x7f6664bb84d0
<__PRETTY_FUNCTION__.17755> "uxa_glyphs_via_mask") at assert.c:92
#3  0x00007f666869d312 in __GI___assert_fail (assertion=0x7f6664bb8460
"uxa_pixmap_is_offscreen(src_pixmap)",
    file=0x7f6664bb8440 "../../../src/uxa/uxa-glyphs.c", line=991,
function=0x7f6664bb84d0 <__PRETTY_FUNCTION__.17755> "uxa_glyphs_via_mask")
    at assert.c:101
#4  0x00007f6664baee49 in uxa_glyphs_via_mask (extents=<optimized
out>, glyphs=<optimized out>, list=<optimized out>, nlist=<optimized
out>,
    yDst=<optimized out>, xDst=<optimized out>, ySrc=<optimized out>,
xSrc=<optimized out>, maskFormat=<optimized out>, pDst=<optimized out>,
    pSrc=<optimized out>, op=<optimized out>) at
../../../src/uxa/uxa-glyphs.c:991
#5  uxa_glyphs (op=75 'K', pSrc=0x94b, pDst=0x6,
maskFormat=0x7f666b5b2ed0, xSrc=-512, ySrc=13936, nlist=1,
list=0x7fffe80a8250, glyphs=0x7fffe80a8650)
    at ../../../src/uxa/uxa-glyphs.c:1158
#6  0x00007f666a8ab643 in damageGlyphs (op=<optimized out>,
pSrc=0x7f666bad2350, pDst=0x7f666ba8fbd0, maskFormat=0x7f666b5a61d8,
xSrc=<optimized out>,
    ySrc=<optimized out>, nlist=1, list=0x7fffe80a8250,
glyphs=0x7fffe80a8650) at ../../../miext/damage/damage.c:568
#7  0x00007f666a8a1587 in ProcRenderCompositeGlyphs
(client=0x7f666ba80b30) at ../../render/render.c:1390
#8  0x00007f666a7c53f7 in Dispatch () at ../../dix/dispatch.c:432
#9  0x00007f666a7c9596 in dix_main (argc=15, argv=0x7fffe80a9058,
envp=<optimized out>) at ../../dix/main.c:296
#10 0x00007f6668690b45 in __libc_start_main (main=0x7f666a7b38e0
<main>, argc=15, argv=0x7fffe80a9058, init=<optimized out>,
fini=<optimized out>,
    rtld_fini=<optimized out>, stack_end=0x7fffe80a9048) at
libc-start.c:287
#11 0x00007f666a7b390e in _start ()


More information about the Spice-devel mailing list