The problem is "preferred" being accessed unconditionally.
All the other usages are covered by a check of "preferred", so I added it.
Now it works again.

Chia-Lin Kao (AceLan) should double check, as it is his patch.
Commented in his upstream MR:
https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/993

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

Title:
  xserver-xorg-core_21.1.3-2ubuntu2.5 segfaults

Status in xorg-server package in Ubuntu:
  New

Bug description:
  Running xserver-xorg-core_21.1.3-2ubuntu2.3_amd64.deb was fine.
  Since the recent update to xserver-xorg-core_21.1.3-2ubuntu2.5_amd64.deb Xorg 
always segfaults at startup.
  Going back to xserver-xorg-core_21.1.3-2ubuntu2.3_amd64.deb works again.
  (Tried it multiple times and it is reproducable.)

  The errors from the last Xorg.log:
  [    54.562] (EE) Backtrace:
  [    54.563] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x139) [0x560707b09719]
  [    54.564] (EE) 1: /lib/x86_64-linux-gnu/libc.so.6 (__sigaction+0x50) 
[0x7f40658cd520]
  [    54.564] (EE) 2: /usr/lib/xorg/Xorg (xf86ModeVRefresh+0x4) 
[0x560707a0e724]
  [    54.565] (EE) unw_get_proc_name failed: no unwind info found [-10]
  [    54.565] (EE) 3: /usr/lib/xorg/modules/drivers/modesetting_drv.so (?+0x0) 
[0x7f406513b9b0]
  [    54.565] (EE) 4: /usr/lib/xorg/Xorg (xf86ProbeOutputModes+0x147) 
[0x560707a07e47]
  [    54.565] (EE) 5: /usr/lib/xorg/Xorg (xf86InitialConfiguration+0x191) 
[0x560707a089b1]
  [    54.565] (EE) unw_get_proc_name failed: no unwind info found [-10]
  [    54.565] (EE) 6: /usr/lib/xorg/modules/drivers/modesetting_drv.so (?+0x0) 
[0x7f406513f07c]
  [    54.566] (EE) unw_get_proc_name failed: no unwind info found [-10]
  [    54.566] (EE) 7: /usr/lib/xorg/modules/drivers/modesetting_drv.so (?+0x0) 
[0x7f40651374bf]
  [    54.566] (EE) 8: /usr/lib/xorg/Xorg (InitOutput+0xb8b) [0x5607079d73ab]
  [    54.566] (EE) 9: /usr/lib/xorg/Xorg (InitFonts+0x1dc) [0x56070799734c]
  [    54.567] (EE) 10: /lib/x86_64-linux-gnu/libc.so.6 
(__libc_init_first+0x90) [0x7f40658b4d90]
  [    54.567] (EE) 11: /lib/x86_64-linux-gnu/libc.so.6 
(__libc_start_main+0x80) [0x7f40658b4e40]
  [    54.568] (EE) 12: /usr/lib/xorg/Xorg (_start+0x25) [0x560707980605]
  [    54.568] (EE) 
  [    54.568] (EE) Segmentation fault at address 0xa8
  [    54.568] (EE) 
  Fatal server error:
  [    54.568] (EE) Caught signal 11 (Segmentation fault). Server aborting
  [    54.568] (EE) 
  [    54.568] (EE)

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