Bug 17715

Summary: crash when no outputs are connected
Product: xorg Reporter: Julien Cristau <jcristau>
Component: Server/DDX/XorgAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED DUPLICATE QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: ajax
Version: 7.4 (2008.09)   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg log none

Description Julien Cristau 2008-09-22 05:05:06 UTC
Created attachment 19098 [details]
Xorg log

When no outputs are detected as connected, the server crashes in xf86InitialConfiguration().
In hw/xfree86/modes/xf86Crtc.c:bestModeForAspect(), the return value of the first call to nextEnabledOutput() isn't checked, which leads to a crash in nextAspectMode() because o is config->num_output, and config->output[o] is garbage.
I can easily reproduce this on my laptop with Option "Ignore" in the "LVDS" monitor section.
Comment 1 Jesse Barnes 2008-10-07 10:26:38 UTC

*** This bug has been marked as a duplicate of bug 17533 ***

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.