Bug 17715 - crash when no outputs are connected
Summary: crash when no outputs are connected
Status: RESOLVED DUPLICATE of bug 17533
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/DDX/Xorg (show other bugs)
Version: 7.4 (2008.09)
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-22 05:05 UTC by Julien Cristau
Modified: 2008-10-07 10:26 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg log (20.43 KB, text/plain)
2008-09-22 05:05 UTC, Julien Cristau
no flags Details

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.