FS#70971 - [libepoxy] Upgrading libepoxy to 1.5.7 results in Xorg crashing on boot

Attached to Project: Arch Linux
Opened by Philip Müller (philm) - Friday, 21 May 2021, 15:20 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 22 May 2021, 18:48 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Having the latest libepoxy 1.5.7 will crash Xorg on Radeon R9 380 with AMDGPU drivers.
Using the git bisect I managed to find the problematic commit, which is: dbfa4b2
Upstream issue: https://github.com/anholt/libepoxy/issues/252

Errors:

[ 5840.928] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[ 5840.929]
X.Org X Server 1.20.11
... a lot more stuff (I can post if needed)
[ 5841.290] (II) Initializing extension XFree86-DRI
[ 5841.290] (II) Initializing extension DRI2
[ 5841.291] (II) AMDGPU(0): Setting screen physical size to 1377 x 285
[ 5841.311] (EE)
[ 5841.311] (EE) Backtrace:
[ 5841.311] (EE) 0: /usr/lib/Xorg (xorg_backtrace+0x53) [0x55f225222fd3]
[ 5841.311] (EE) 1: /usr/lib/Xorg (0x55f2250dc000+0x151df5) [0x55f22522ddf5]
[ 5841.311] (EE) 2: /usr/lib/libc.so.6 (0x7f2164329000+0x3cf80) [0x7f2164365f80]
[ 5841.311] (EE) 3: /usr/lib/libc.so.6 (gsignal+0x145) [0x7f2164365ef5]
[ 5841.311] (EE) 4: /usr/lib/libc.so.6 (abort+0x116) [0x7f216434f862]
[ 5841.311] (EE) 5: /usr/lib/libc.so.6 (0x7f2164329000+0x26747) [0x7f216434f747]
[ 5841.311] (EE) 6: /usr/lib/libc.so.6 (0x7f2164329000+0x35646) [0x7f216435e646]
[ 5841.311] (EE) 7: /usr/lib/xorg/modules/drivers/amdgpu_drv.so (0x7f216485f000+0x8fd3) [0x7f2164867fd3]
[ 5841.311] (EE) 8: /usr/lib/xorg/modules/drivers/amdgpu_drv.so (0x7f216485f000+0x933a) [0x7f216486833a]
[ 5841.311] (EE) 9: /usr/lib/xorg/modules/drivers/amdgpu_drv.so (0x7f216485f000+0x1534d) [0x7f216487434d]
[ 5841.311] (EE) 10: /usr/lib/xorg/modules/drivers/amdgpu_drv.so (0x7f216485f000+0x1746a) [0x7f216487646a]
[ 5841.311] (EE) 11: /usr/lib/xorg/modules/drivers/amdgpu_drv.so (0x7f216485f000+0x19127) [0x7f2164878127]
[ 5841.311] (EE) 12: /usr/lib/Xorg (MapWindow+0x251) [0x55f22517f871]
[ 5841.311] (EE) 13: /usr/lib/Xorg (0x55f2250dc000+0x39619) [0x55f225115619]
[ 5841.311] (EE) 14: /usr/lib/libc.so.6 (__libc_start_main+0xd5) [0x7f2164350b25]
[ 5841.311] (EE) 15: /usr/lib/Xorg (_start+0x2e) [0x55f2251165de]
[ 5841.311] (EE)
[ 5841.311] (EE)
Fatal server error:
[ 5841.311] (EE) Caught signal 6 (Aborted). Server aborting
[ 5841.311] (EE)
[ 5841.311] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 5841.311] (EE) Please also check the log file at "/home/my_username/.local/share/xorg/Xorg.1.log" for additional information.
[ 5841.311] (EE)
[ 5841.327] (EE) Server terminated with error (1). Closing log file.

Steps to reproduce:

- update libepoxy to 1.57
- reboot your system

See upstream fix:

https://github.com/anholt/libepoxy/pull/254
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Saturday, 22 May 2021, 18:48 GMT
Reason for closing:  Fixed
Additional comments about closing:  libepoxy 1.5.8 (packaged) reverts the offending commit

Loading...