Bug 100405

Summary: Segfault during config file generation (Xorg :0 -configure)
Product: xorg Reporter: Florian Mayer <mayer.florian>
Component: Server/DDX/XorgAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED MOVED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: mayer.florian
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Output of Xorg -configure run in the vm none

Description Florian Mayer 2017-03-26 18:56:34 UTC
Created attachment 130471 [details]
Output of Xorg -configure run in the vm

((INTRO
I'm getting a segfault with a mysterious stacktrace (OsLookupColor being on top) if I try to get a sample configuration file form my system. The command that causes this is:

$ Xorg :0 -configure
or
$ Xorg -configure

((HARDWARE
I tried this inside of two different hardware environments.

1) Lenovo T410 (64Bit) 
2) A one month old Virtuabox VM downloaded from http://www.osboxes.org/arch-linux/ (32Bit)

On both machines I installed the usual arch linux packages xorg-server, xorg-server-utils, xorg-utils and in the VM i aditionally installed virtualbox-guest-utils in order to get the graphics driver.

On both systems I made sure that I was able to start a normal (minimal) X session using startx and twm.

((Environment (1) showed
======================

X.Org X Server 1.19.3
Release Date: 2017-03-15
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.11-1-ARCH i686 
Current Operating System: Linux testarsch1 4.10.5-1-ARCH #1 SMP PREEMPT Wed Mar 22 15:02:04 CET 2017 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=225a86ef-06d5-49fa-9a6b-9308d5ddc384 rw quiet
Build Date: 16 March 2017  02:50:50PM
 
Current version of pixman: 0.34.0
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Mar 26 20:40:10 2017
(EE) 
(EE) Backtrace:
(EE) 0: /usr/lib/xorg-server/Xorg (OsLookupColor+0x132) [0x81e7582]
(EE) 1: ? (?+0x132) [0xb77cfe21]
(EE) 2: /usr/lib/xorg-server/Xorg (xf86PlatformMatchDriver+0x2f8) [0x80da968]
(EE) 3: /usr/lib/xorg-server/Xorg (xf86BusProbe+0x13) [0x80b1b03]
(EE) 4: /usr/lib/xorg-server/Xorg (InitOutput+0x7cf) [0x80c0d4f]
(EE) 5: /usr/lib/xorg-server/Xorg (InitFonts+0x299) [0x807ce89]
(EE) 6: /usr/lib/xorg-server/Xorg (miPolyFillRect+0x2c9) [0x80669a9]
(EE) 7: /usr/lib/libc.so.6 (__libc_start_main+0xf6) [0xb7289366]
(EE) 8: /usr/lib/xorg-server/Xorg (_start+0x21) [0x8066759]
(EE) 
(EE) Segmentation fault at address 0x28
(EE) 
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE) 
(EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.

==========================
((For environment (2) refer to the attachment
Comment 1 Adam Jackson 2018-06-12 16:06:03 UTC
Do you still see this with 1.20?
Comment 2 GitLab Migration User 2018-12-13 18:30:26 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/182.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.