Bug 18246 - crash if external monitor unplugged during startup
Summary: crash if external monitor unplugged during startup
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/radeonhd (show other bugs)
Version: 7.4 (2008.09)
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Luc Verhaegen
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-27 09:54 UTC by Elmar Stellnberger
Modified: 2008-11-04 12:35 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
X -logverbose (includes backtrace) (18.31 KB, text/plain)
2008-10-27 09:54 UTC, Elmar Stellnberger
no flags Details
xorg.conf configuring both monitors (10.53 KB, text/plain)
2008-10-27 09:56 UTC, Elmar Stellnberger
no flags Details
not resolved with X.Org X Server 1.5.2 (18.34 KB, text/plain)
2008-11-04 05:29 UTC, Elmar Stellnberger
no flags Details
Fix. (800 bytes, patch)
2008-11-04 12:16 UTC, Egbert Eich
no flags Details | Splinter Review

Description Elmar Stellnberger 2008-10-27 09:54:49 UTC
Created attachment 19882 [details]
X -logverbose (includes backtrace)

X refuses to start if the external monitor configured in xorg.conf is plugged or powered off. backtrace: see xorg.0.logverbose
Comment 1 Elmar Stellnberger 2008-10-27 09:56:04 UTC
Created attachment 19883 [details]
xorg.conf configuring both monitors
Comment 2 Egbert Eich 2008-10-31 06:38:18 UTC
This is a bug in the RandR DDX code which should be fixed in Xserver 1.5.2.
Comment 3 Elmar Stellnberger 2008-11-04 05:29:44 UTC
Created attachment 20039 [details]
not resolved with X.Org X Server 1.5.2

tested with xorg-x11-server-7.4-14.4
Comment 4 Elmar Stellnberger 2008-11-04 05:30:56 UTC
.
Comment 5 Egbert Eich 2008-11-04 12:16:22 UTC
Created attachment 20042 [details] [review]
Fix.

The attached patch fixes the problem. 
NOTE: This is *NOT* a driver issue although it seems easy to blame the driver used.
The problem only occurs with the specific order options used when the output specified is not connected. That's probably why it hasn't been found, yet.
Comment 6 Egbert Eich 2008-11-04 12:35:23 UTC
Pushed.


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.