| Summary: |
X crashes unless PanelSize is set (caused by dereferencing NULL pointer) |
| Product: |
xorg
|
Reporter: |
Alan Coopersmith <alan.coopersmith> |
| Component: |
Driver/Radeon | Assignee: |
Xorg Project Team <xorg-team> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
|
| Severity: |
normal
|
|
|
| Priority: |
high
|
CC: |
dberkholz, ich
|
| Version: |
git | |
|
| Hardware: |
x86 (IA32) | |
|
| OS: |
Solaris | |
|
| Whiteboard: |
|
|
i915 platform:
|
|
i915 features:
|
|
| Bug Depends on: |
|
|
|
| Bug Blocks: |
1690
|
|
|
| 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.
On an Acer Ferrari 4000 laptop with Radeon Mobility X700, it can't find the internal display unless you set Option "MonitorLayout" "LVDS,VGA" in xorg.conf. Once you do that though, Xorg crashes in RADEONUpdatePanelSize() unless you also set the PanelSize option because the pScrn->monitor->DDC pointer is NULL, but this code doesn't check it before dereferencing it. Inserting a simple check to return on NULL allows it to continue and correctly get the panel size from LVDS. This has been seen both on current Xorg CVS head, 6.9RC0, and head plus the 29-Jul version of the Radeon superpatch from bug #3621.