the issue doesn't seem common enough to justify a SRU in the non hwe
version at this point so setting that one as wontfix

** Changed in: xorg-server (Ubuntu Bionic)
   Importance: Undecided => Low

** Changed in: xorg-server (Ubuntu Bionic)
       Status: Confirmed => Won't Fix

-- 
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/1839174

Title:
  Xorg crashes in stdio functions under pci_device_vgaarb_set_target()
  from VGAGet() from VGAarbiterSpriteMoveCursor()

Status in X.Org X server:
  Unknown
Status in xorg-server package in Ubuntu:
  Fix Released
Status in xorg-server-hwe-18.04 package in Ubuntu:
  Fix Released
Status in xorg-server source package in Bionic:
  Won't Fix
Status in xorg-server-hwe-18.04 source package in Bionic:
  Fix Released
Status in xorg-server source package in Disco:
  Fix Released
Status in xorg-server source package in Eoan:
  Fix Released

Bug description:
  Issue
  xorg crashes, there doesn't seem to be any repeatable cause, it'll happen 
just watching hulu or youtube, it'll happen when using citrix, or when playing 
steam games.

  Steps to reproduce
  use xorg for a while

  Expected behaviour
  not crashing

  Other information
  issue only happens when using pci-e passthrough to qemu virtual machines

  Has been an issue since setting up pci-e passthrough, have reinstalled Linux 
Mint (from XFCE version) but error persists, have changed numerous bios 
settings without having an impact
  Upgraded bios to most recent version, also reset bios to factory defaults, 
didn't make a difference
  Tried latest Linux 5.x kernels from uuku, same issue
  The virtual machine doesn't have any problems, it never crashes and stays 
running when the host os xorg crashes.

  System:    Host: drac Kernel: 4.15.0-55-generic x86_64 bits: 64 compiler: gcc 
v: 7.4.0 Desktop: Cinnamon 4.2.3 
             Distro: Linux Mint 19.2 Tina base: Ubuntu 18.04 bionic 
  Machine:   Type: Server System: Supermicro product: Super Server v: 
0123456789 serial: <filter> 
             Mobo: Supermicro model: X10SRL-F v: 1.01B serial: <filter> UEFI: 
American Megatrends v: 3.1c date: 05/02/2019 
  Graphics:  Device-1: NVIDIA GP104 [GeForce GTX 1070] vendor: Micro-Star MSI 
driver: nvidia v: 430.34 bus ID: 03:00.0 
             Device-2: NVIDIA GK104 [GeForce GTX 770] vendor: eVga.com. driver: 
vfio-pci v: 0.2 bus ID: 04:00.0 
             Device-3: ASPEED Graphics Family vendor: Super Micro driver: ast 
v: kernel bus ID: 0b:00.0 
             Display: x11 server: X.Org 1.19.6 driver: nvidia resolution: 
1920x1080~60Hz, 1920x1080~60Hz 
             OpenGL: renderer: GeForce GTX 1070/PCIe/SSE2 v: 4.6.0 NVIDIA 
430.34 direct render: Yes 
  CPU:       Topology: 6-Core model: Intel Xeon E5-1650 v4 bits: 64 type: MT 
MCP arch: Broadwell rev: 1 L2 cache: 15.0 MiB 
             flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 
86397 
             Speed: 1203 MHz min/max: N/A Core speeds (MHz): 1: 1203 2: 1206 3: 
1330 4: 1200 5: 1201 6: 1201 7: 1200 8: 1200 
             9: 2046 10: 1202 11: 1202 12: 1201 

  Not using PPA builds
  Linux Mint 19.2 (Upgraded from 19.1) 64bit

  root@drac:/vms# apt-cache policy xorg
  xorg:
    Installed: 1:7.7+19ubuntu7.1
    Candidate: 1:7.7+19ubuntu7.1
    Version table:
   *** 1:7.7+19ubuntu7.1 500
          500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 
Packages
          100 /var/lib/dpkg/status
       1:7.7+19ubuntu7 500
          500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages


  1070GTX - NVIDIA-Linux-x86_64-430.34.run
  Left screen is a 60hz monitor, right screen is a 120hz monitor
  Also have a 770GTX bound to vfio for virtual machine passthrough
  Previously used the PPA from 
https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa, but changed to 
Nvidia's .run to see if it made a different - it did not.

  
  
[xsession-errors.old.upload.txt](https://github.com/linuxmint/cinnamon/files/3471789/xsession-errors.old.upload.txt)
  
[xsession-errors.upload.txt](https://github.com/linuxmint/cinnamon/files/3471791/xsession-errors.upload.txt)
  [lspci.txt](https://github.com/linuxmint/cinnamon/files/3471859/lspci.txt)

  Syslog:
  
[kernel.log.txt](https://github.com/linuxmint/cinnamon/files/3471804/kernel.log.txt)

  Grub: having mitigations on or off makes no difference
  GRUB_CMDLINE_LINUX_DEFAULT="intel_idle.max_cstate=1 drm.debug=14 
log_buf_len=16M mitigations=on intel_iommu=on 
vfio-pci.ids=8086:8d26,10de:1184,10de:0e0a 
modprobe.blacklist=snd_hda_intel,snd_hda_core,snd_hda_codec,snd_hda_codec_hdmi,nouveau"

  
  Xorg crashdump traces: /var/crash/usr_lib_xorg_Xorg.0.crash

  Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  Core was generated by `/usr/lib/xorg/Xorg -core :0 -seat seat0 -auth 
/var/run/lightdm/root/:0 -noliste'.
  Program terminated with signal SIGSEGV, Segmentation fault.
  #0  0x00007f34b8f87432 in __GI__IO_default_xsputn (f=0x7f34b0427610, 
data=0x7f34b90b5030 <zeroes>, n=3) at genops.c:389
  389   genops.c: No such file or directory.
  [Current thread is 1 (Thread 0x7f34b0c26700 (LWP 1320))]
  (gdb) thread 2
  [Switching to thread 2 (Thread 0x7f34bbc10600 (LWP 1196))]
  #0  0x00007f34b92fb2b7 in __libc_write (fd=14, buf=0x7fffd039b2c0, nbytes=23) 
at ../sysdeps/unix/sysv/linux/write.c:27
  27    ../sysdeps/unix/sysv/linux/write.c: No such file or directory.

  Thread 1 backtrace:
  #0  0x00007f34b8f87432 in __GI__IO_default_xsputn (f=0x7f34b0427610, 
data=0x7f34b90b5030 <zeroes>, n=3) at genops.c:389
  #1  0x00007f34b8f7937e in __GI__IO_padn (fp=fp@entry=0x7f34b0427610, 
pad=pad@entry=48, count=count@entry=3) at iopadn.c:64
  #2  0x00007f34b8f55f20 in _IO_vfprintf_internal (s=s@entry=0x7f34b0427610, 
format=format@entry=0x7f34bac5f55c "target PCI:%04x:%02x:%02x.%x", 
ap=ap@entry=0x7f34b0427790)
      at vfprintf.c:1642
  #3  0x00007f34b902b169 in ___vsnprintf_chk (s=0x7f34b0427890 "target 
PCI:\020\200y\360.0\323\b3\330U", maxlen=<optimized out>, flags=1, 
slen=<optimized out>, 
      format=0x7f34bac5f55c "target PCI:%04x:%02x:%02x.%x", 
args=args@entry=0x7f34b0427790) at vsnprintf_chk.c:63
  #4  0x00007f34b902b095 in ___snprintf_chk (s=<optimized out>, 
maxlen=<optimized out>, flags=<optimized out>, slen=<optimized out>, 
format=<optimized out>) at snprintf_chk.c:34
  #5  0x00007f34bac5d68a in pci_device_vgaarb_set_target () from 
/usr/lib/x86_64-linux-gnu/libpciaccess.so.0
  #6  0x000055d830d0d038 in VGAGet (pScreen=0x55d8330adcd0) at 
../../../../../../hw/xfree86/common/xf86VGAarbiterPriv.h:102
  #7  VGAarbiterSpriteMoveCursor (pDev=0x55d8334d1360, pScreen=0x55d8330adcd0, 
x=1982, y=654) at ../../../../../../hw/xfree86/common/xf86VGAarbiter.c:948
  #8  0x000055d830d0d04f in VGAarbiterSpriteMoveCursor (pDev=0x55d8334d1360, 
pScreen=0x55d8330adcd0, x=1982, y=654) at 
../../../../../../hw/xfree86/common/xf86VGAarbiter.c:949
  ***Last event #8 repeats***

  Thread 2 backtrace:
  #0  0x00007f34b92fb2b7 in __libc_write (fd=14, buf=0x7fffd039b2c0, nbytes=23) 
at ../sysdeps/unix/sysv/linux/write.c:27
  #1  0x00007f34bac5d4c0 in ?? () from 
/usr/lib/x86_64-linux-gnu/libpciaccess.so.0
  #2  0x00007f34bac5d69f in pci_device_vgaarb_set_target () from 
/usr/lib/x86_64-linux-gnu/libpciaccess.so.0
  #3  0x000055d830d0d038 in VGAGet (pScreen=0x55d8330adcd0) at 
../../../../../../hw/xfree86/common/xf86VGAarbiterPriv.h:102
  #4  VGAarbiterSpriteMoveCursor (pDev=0x55d8334d1360, pScreen=0x55d8330adcd0, 
x=1990, y=664) at ../../../../../../hw/xfree86/common/xf86VGAarbiter.c:948
  #5  0x000055d830d0d04f in VGAarbiterSpriteMoveCursor (pDev=0x55d8334d1360, 
pScreen=0x55d8330adcd0, x=1990, y=664) at 
../../../../../../hw/xfree86/common/xf86VGAarbiter.c:949
  ***Last event #5 repeats***

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1839174/+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