Summary: | crash when no outputs are connected | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Julien Cristau <jcristau> | ||||
Component: | Server/DDX/Xorg | Assignee: | 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: |
|
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.
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.