Bug 590501 - [PATCH] nouveau crashes when X server is started with no usable outputs
[PATCH] nouveau crashes when X server is started with no usable outputs
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: xorg-x11-drv-nouveau (Show other bugs)
All Linux
low Severity medium
: rc
: ---
Assigned To: Ben Skeggs
: EasyFix, Patch, Triaged
Depends On:
  Show dependency treegraph
Reported: 2010-05-09 19:31 EDT by Lubomir Rintel
Modified: 2010-11-15 08:46 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-11-15 08:46:30 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Proposed fix, apply with git am (825 bytes, text/plain)
2010-05-09 19:34 EDT, Lubomir Rintel
no flags Details

  None (edit)
Description Lubomir Rintel 2010-05-09 19:31:50 EDT
Description of problem:

0: X (xorg_backtrace+0x3c) [0x80a1f0c]
1: X (0x8047000+0x58f46) [0x809ff46]
2: (vdso) (__kernel_rt_sigreturn+0x0) [0x79240c]
3: X (xf86InitViewport+0x66) [0x80b4be6]
4: X (InitOutput+0xca0) [0x80b90b0]
5: X (0x8047000+0x1b765) [0x8062765]
6: /lib/libc.so.6 (__libc_start_main+0xe6) [0x578bb6]
7: X (0x8047000+0x1b511) [0x8062511]
Segmentation fault at address 0x18

Fatal server error:
Caught signal 11 (Segmentation fault). Server aborting

Version-Release number of selected component (if applicable):

Comment 1 Lubomir Rintel 2010-05-09 19:34:05 EDT
Created attachment 412687 [details]
Proposed fix, apply with git am

This patch makes the X server deal with missing outputs more gracefully instead of segfaulting (and making ABRT sad).

(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found
Comment 2 Ben Skeggs 2010-05-09 20:09:55 EDT
Thanks for that, I'll test the patch here today and post it upstream.  I'll batch this up in an update soon, there's another patch I'm waiting on testing from too.
Comment 4 RHEL Product and Program Management 2010-05-09 21:20:02 EDT
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
Comment 7 Ben Skeggs 2010-05-18 00:36:22 EDT
MODIFIED xorg-x11-drv-nouveau-0.0.16-6.20100423git13c1043.el6 is available in brew.
Comment 10 releng-rhel@redhat.com 2010-11-15 08:46:30 EST
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.

Note You need to log in before you can comment on or make changes to this bug.