Bug 329051

Summary: Crash in attempted multihead configuration
Product: [Fedora] Fedora Reporter: Andrew Bartlett <abartlet>
Component: xorg-x11-serverAssignee: Dave Airlie <airlied>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: mcepl, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-09 05:12:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Working xorg log, from no config (others to follow)
none
Config that causes the crash
none
Xorg config showing Sig11
none
Debug session on another computer showing the same issue none

Description Andrew Bartlett 2007-10-12 06:02:56 UTC
Description of problem:
Attempting to setup dual head configuration, with DVI and VGA outputs pointing
at 2 LCD screens fails. 

Version-Release number of selected component (if applicable):
xorg-x11-drv-i810-2.1.1-4.fc8


How reproducible:
Every time

Steps to Reproduce:
1. Using supplied xorg.conf
2. Start X
3. boom
  
Actual results:
Sig11 in X server
cannot restore display (perhaps a kernel issue)

Expected results:
dual head-lovelyness.   Actually seen working with xrandr at runtime

Additional info:
System works (single head) without a config file.  Runs in clone mode if VGA
connector sill connected to other LCD.

Comment 1 Andrew Bartlett 2007-10-12 06:02:57 UTC
Created attachment 225051 [details]
Working xorg log, from no config (others to follow)

Comment 2 Andrew Bartlett 2007-10-12 06:03:58 UTC
Created attachment 225061 [details]
Config that causes the crash

Comment 3 Andrew Bartlett 2007-10-12 06:23:10 UTC
Created attachment 225071 [details]
Xorg config showing Sig11

Comment 4 Andrew Bartlett 2007-10-12 06:24:34 UTC
Any suggestions as to debuginfo packages to install and advise on how best to
attach gdb for a more useful backtrace gratefully accepted.

Comment 5 Matěj Cepl 2007-10-12 14:44:24 UTC
I think we have what we need in the attachment 225071 [details], and I will now pass it to
the developers. If you want to digg deeper, there is of course
http://www.x.org/wiki/Development/Documentation/ServerDebugging

Comment 6 Andrew Bartlett 2008-01-08 06:07:59 UTC
Created attachment 291037 [details]
Debug session on another computer showing the same issue

Another of my computers (ati chipset) shows the same issue, and gdb shows up
the NULL pointer de-reference easily.

Comment 7 Andrew Bartlett 2008-01-08 06:10:25 UTC
This appears to be in the common code, rather than the i810 driver. 

Comment 8 Andrew Bartlett 2008-01-08 06:14:41 UTC
sorry for the stream of updates...

This occurs on current rawhide, with
xorg-x11-server-Xorg-1.4.99.1-0.13.fc9
xorg-x11-drv-ati-6.7.196-5.fc9

Comment 9 Andrew Bartlett 2008-01-09 21:35:10 UTC
When avoiding the old multi-head code, and using new randr only, it now works on
both F8 (i810) and rawhide (radeon). 

However, the path to this segfault should be eliminated...