Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 714604 - x11-base/xorg-server-1.20.7: crash on start with rotation configured
Summary: x11-base/xorg-server-1.20.7: crash on start with rotation configured
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-03-25 00:23 UTC by Ilia Mirkin
Modified: 2020-03-29 20:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ilia Mirkin 2020-03-25 00:23:41 UTC
This is fixed upstream with

https://cgit.freedesktop.org/xorg/xserver/commit/?h=server-1.20-branch&id=1c3e51dabadbf65e7fdedbebbdcd19a85fb03e34

The failure is that it crashes on start with both xf86-video-nouveau and modesetting with:

[659922.678] (EE) 
[659922.678] (EE) Backtrace:
[659922.696] (EE) 0: /usr/bin/X (xorg_backtrace+0x4d) [0x563a41c701ad]
[659922.696] (EE) 1: /usr/bin/X (0x563a41ac8000+0x1abe35) [0x563a41c73e35]
[659922.697] (EE) 2: /lib64/libpthread.so.0 (0x7f96a57cf000+0x14670) [0x7f96a57e3670]
[659922.697] (EE) 3: /usr/bin/X (DamageRegister+0x1d) [0x563a41bf59cd]
[659922.697] (EE) 4: /usr/bin/X (0x563a41ac8000+0xd1851) [0x563a41b99851]
[659922.697] (EE) 5: /usr/bin/X (xf86CrtcRotate+0x335) [0x563a41b9a035]
[659922.697] (EE) 6: /usr/lib64/xorg/modules/drivers/modesetting_drv.so (0x7f96a5049000+0x11cb3) [0x7f96a505acb3]
[659922.697] (EE) 7: /usr/lib64/xorg/modules/drivers/modesetting_drv.so (0x7f96a5049000+0xb438) [0x7f96a5054438]
[659922.697] (EE) 8: /usr/bin/X (0x563a41ac8000+0xc339e) [0x563a41b8b39e]
[659922.697] (EE) 9: /usr/bin/X (0x563a41ac8000+0x5b1d9) [0x563a41b231d9]
[659922.697] (EE) 10: /lib64/libc.so.6 (__libc_start_main+0xeb) [0x7f96a5623f1b]
[659922.697] (EE) 11: /usr/bin/X (_start+0x2a) [0x563a41b0d09a]
[659922.697] (EE) 
[659922.697] (EE) Segmentation fault at address 0x10
[659922.697] (EE) 

Whenever rotation is pre-configured in xorg.conf, e.g.

Section "Monitor"
  Identifier "Mon0"
  Option "Rotate" "right"
EndSection

Section "Monitor"
  Identifier "Mon1"
  Option "Rotate" "left"
  Option "LeftOf" "DP-1-8"
EndSection

Please include the above patch in the ebuild. For now I have it in my user patches.

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2020-03-29 20:34:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c76d8c07075c2b04a5dec476ee537a5e8436615

commit 0c76d8c07075c2b04a5dec476ee537a5e8436615
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2020-03-29 20:32:11 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2020-03-29 20:34:47 +0000

    x11-base/xorg-server: Version bump to 1.20.8
    
    Closes: https://bugs.gentoo.org/714604
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 x11-base/xorg-server/Manifest                  |   1 +
 x11-base/xorg-server/xorg-server-1.20.8.ebuild | 226 +++++++++++++++++++++++++
 2 files changed, 227 insertions(+)