Bug 604452 - segmentation fault with nvidia graphics card and no monitor
Summary: segmentation fault with nvidia graphics card and no monitor
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-nouveau   
(Show other bugs)
Version: 12
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Ben Skeggs
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2010-06-15 22:43 UTC by Ian Mortimer
Modified: 2018-04-11 12:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-06-24 02:56:06 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
/var/log/Xorg.0.log (12.05 KB, text/plain)
2010-06-22 01:08 UTC, Ian Mortimer
no flags Details
dmesg output (121.32 KB, text/plain)
2010-06-22 01:08 UTC, Ian Mortimer
no flags Details
/var/log/messages (70.59 KB, text/plain)
2010-06-22 01:09 UTC, Ian Mortimer
no flags Details

Description Ian Mortimer 2010-06-15 22:43:59 UTC
Description of problem:
X11 on F12 with latest updates segfaults on a system with an nVidia G73GL [Quadro FX 560] graphics card and no monitor attached.

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

How reproducible:

Steps to Reproduce:
1.install F12 on a system with nVidia G73GL graphics card
2.update to latest
3.reboot headless
Actual results:
X segfaults.

Expected results:
X should start normally even on headless system.

Additional info:
Xorg.0.log reports:

0: /usr/bin/Xorg (xorg_backtrace+0x28) [0x49ef28]
1: /usr/bin/Xorg (0x400000+0x61ec9) [0x461ec9]
2: /lib64/libpthread.so.0 (0x3227e00000+0xf0f0) [0x3227e0f0f0]
3: /usr/bin/Xorg (xf86InitViewport+0x4b) [0x51ebab]
4: /usr/bin/Xorg (InitOutput+0xb23) [0x470673]
5: /usr/bin/Xorg (0x400000+0x21d7f) [0x421d7f]
6: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x322721eb1d]
7: /usr/bin/Xorg (0x400000+0x21ad9) [0x421ad9]
Segmentation fault at address 0x24    

This host is a terminal server and normally runs headless - however it needs X and gdm running for the terminal service.  Simple workaround is to attach any old monitor so X and gdm start normally but that shouldn't be necessary.

Comment 1 Matěj Cepl 2010-06-21 09:13:42 UTC
Thanks for the bug report.  We have reviewed the information you have provided above, and there is some additional information we require that will be helpful in our diagnosis of this issue.

Please add drm.debug=0x04 to the kernel command line, restart computer, and attach

* your X server config file (/etc/X11/xorg.conf, if available),
* X server log file (/var/log/Xorg.*.log)
* output of the dmesg command, and
* system log (/var/log/messages)

to the bug report as individual uncompressed file attachments using the bugzilla file attachment link above.

We will review this issue again once you've had a chance to attach this information.

Thanks in advance.

Comment 2 Ian Mortimer 2010-06-22 01:08:26 UTC
Created attachment 425789 [details]

Comment 3 Ian Mortimer 2010-06-22 01:08:57 UTC
Created attachment 425790 [details]
dmesg output

Comment 4 Ian Mortimer 2010-06-22 01:09:37 UTC
Created attachment 425791 [details]

Comment 5 Ian Mortimer 2010-06-22 01:10:35 UTC
No /etc/X11/xorg.conf.  /var/log/Xorg.0.log, dmesg output and /var/log/messages attached.


Comment 6 Ben Skeggs 2010-06-23 16:09:40 UTC
I can easily fix the F12 nouveau package to not cause a segfault.  However, X will still fail to start all the same.  Additional work to the X server is needed to start with no displays, this has been done in F13 already, it's not likely to be backported to F12.

How do you wish to proceed?

Comment 7 Ian Mortimer 2010-06-23 21:45:13 UTC
We can work around it, however since EL6 is based on F12 will the X server also fail without a display in EL6?

(We're waiting for EL6 to come out of beta and running F12 only because EL5 is too old.)


Comment 8 Ben Skeggs 2010-06-23 23:28:50 UTC
It's likely the X server in EL6 will have the code necessary to make this work at the time of release.  Happy for this to be closed as WONTFIX for F12?

Comment 9 Ian Mortimer 2010-06-23 23:58:38 UTC
(In reply to comment #8)

> Happy for this to be closed as WONTFIX for F12?    

Fine with me.

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