umockdev's test suite now started to see this crash in current Ubuntu
jammy. Simple reproducer:


$ cat tests/xorg-dummy.conf 
Section "Device"
        Identifier "test"
        Driver "dummy"
EndSection

$ Xorg -config tests/xorg-dummy.conf -logfile /tmp/log -once :5


Then, run at least one query on it, like this:

$ env DISPLAY=:5 xinput

Then pkill/kill or Control-C the Xorg process, and it will crash:

double free or corruption (!prev)
(EE) 
(EE) Backtrace:
(EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x139) [0x55e2b1c75d39]
(EE) 1: /lib/x86_64-linux-gnu/libc.so.6 (__sigaction+0x50) [0x7f384162f520]
(EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (pthread_kill+0xf8) [0x7f3841683808]
(EE) 3: /lib/x86_64-linux-gnu/libc.so.6 (raise+0x16) [0x7f384162f476]
(EE) 4: /lib/x86_64-linux-gnu/libc.so.6 (abort+0xd7) [0x7f38416157b7]
(EE) 5: /lib/x86_64-linux-gnu/libc.so.6 (__fsetlocking+0x426) [0x7f38416765e6]
(EE) 6: /lib/x86_64-linux-gnu/libc.so.6 (timer_settime+0x2cc) [0x7f384168dadc]
(EE) 7: /lib/x86_64-linux-gnu/libc.so.6 (__default_morecore+0x8bc) 
[0x7f384168f84c]
(EE) 8: /lib/x86_64-linux-gnu/libc.so.6 (free+0x55) [0x7f3841691ce5]
(EE) 9: /usr/lib/xorg/Xorg (config_fini+0x402) [0x55e2b1b6cb22]
(EE) 10: /usr/lib/xorg/Xorg (ddxGiveUp+0x62) [0x55e2b1b4fa22]
(EE) 11: /usr/lib/xorg/Xorg (InitFonts+0x669) [0x55e2b1b12d69]
(EE) 12: /lib/x86_64-linux-gnu/libc.so.6 (__libc_init_first+0x90) 
[0x7f3841616fd0]
(EE) 13: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0x7d) 
[0x7f384161707d]
(EE) 14: /usr/lib/xorg/Xorg (_start+0x2e) [0x55e2b1afbf0e]
(EE) 
(EE) Received signal 6 sent by process 520, uid 0

After that it hangs and can't be cleaned up any more (zombie)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1853266

Title:
  Xorg/Xwayland segfaults in OsLookupColor() from funlockfile() from
  glamor_get_pixmap_texture() from glamor_create_gc()

Status in X.Org X server:
  Fix Released
Status in xorg-server package in Ubuntu:
  Confirmed
Status in xorg-server package in Fedora:
  Won't Fix

Bug description:
  Recently, my the xserver on my system has started randomly crashing
  due to a segmentation fault. As far as I can tell, this segmentation
  fault occurs as a result of libglamoregl encountering a
  GL_OUT_OF_MEMORY error (see attached Xorg.log). I have had a hard time
  reproducing this bug reliably, but it mostly happens when I have been
  using Inkscape for a while.

  This appears to be the same bug that has been reported here

  https://bugs.freedesktop.org/show_bug.cgi?id=110500
  https://bugs.freedesktop.org/show_bug.cgi?id=110714

  In those bug reports, the usual recommendation is to switch from the
  -modesetting video driver to the -nouveau video driver. By default,
  Ubuntu is not configured in this way, so this bug probably needs to be
  addressed in some other way.

  My graphics card is listed as follows:

   *-display                 
         description: VGA compatible controller
         product: GK208B [GeForce GT 710]
         vendor: NVIDIA Corporation
         physical id: 0
         bus info: pci@0000:65:00.0
         version: a1
         width: 64 bits
         clock: 33MHz
         capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
         configuration: driver=nouveau latency=0
         resources: irq:69 memory:d7000000-d7ffffff memory:c8000000-cfffffff 
memory:d0000000-d1ffffff ioport:b000(size=128) memory:d8000000-d807ffff

  Please let me know if you need any additional information.

  More information:

  Release of Ubuntu: 19.04

  Installed package versions:
  xserver-xorg-video-nouveau/disco,now 1:1.0.16-1 amd64 [installed]
  xserver-xorg-core/disco,now 2:1.20.4-1ubuntu3 amd64 [installed]
  xserver-xorg/disco,now 1:7.7+19ubuntu12 amd64 [installed]
  inkscape/disco,now 0.92.4-3 amd64 [installed]

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1853266/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to