Bug 539883

Summary: [abrt] crash detected in xorg-x11-server-Xorg-1.7.1-7.fc12
Product: [Fedora] Fedora Reporter: Paul Jenner <psj>
Component: xorg-x11-drv-nouveauAssignee: Ben Skeggs <bskeggs>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: airlied, awilliam, bskeggs, maxwell, mcepl, xgl-maint
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard: abrt_hash:5276f37d4e11601c2a1310d6e616ff7b1ae7040d, card_NV04
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-27 19:38:31 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
Xorg.log for repeat of crash none

Description Paul Jenner 2009-11-21 13:14:11 UTC
abrt detected a crash.

How to reproduce: Not reproduced yet - will attempt to.
Comment: X "crashed" while opening VNC session in virt-viewer. X restarted and returned to gdm login.

backtrace
-----
Core was generated by `/usr/bin/Xorg :0 -nr -verbose -auth /var/run/gdm/auth-for-gdm-R5KAkm/database -'.
Program terminated with signal 6, Aborted.
#0  0x0053f416 in ?? ()

Thread 1 (Thread 1482):

cmdline: /usr/bin/Xorg :0 -nr -verbose -auth /var/run/gdm/auth-for-gdm-R5KAkm/database -nolisten tcp vt1
component: xorg-x11-server
executable: /usr/bin/Xorg
kernel: 2.6.31.5-127.fc12.i686
package: xorg-x11-server-Xorg-1.7.1-7.fc12
rating: 0
reason: Process was terminated by signal 6

Comment 1 Paul Jenner 2009-11-21 16:43:28 UTC
Assuming this is the same crash reported by abrt, this is reproducible by opening virt-viewer VNC console to a guest from virt-manager.

Xorg.log shows:

Backtrace:
0: /usr/bin/Xorg (xorg_backtrace+0x3c) [0x80e587c]
1: /usr/bin/Xorg (0x8047000+0x5fb66) [0x80a6b66]
2: (vdso) (__kernel_rt_sigreturn+0x0) [0xdb040c]
3: /usr/lib/xorg/modules/drivers/nouveau_drv.so (0x697000+0xa583) [0x6a1583]
4: /usr/lib/xorg/modules/drivers/nouveau_drv.so (0x697000+0xab0d) [0x6a1b0d]
5: /usr/lib/xorg/modules/libexa.so (0x753000+0x92b6) [0x75c2b6]
6: /usr/lib/xorg/modules/libexa.so (0x753000+0x9378) [0x75c378]
7: /usr/bin/Xorg (miCopyRegion+0x213) [0x8196a93]
8: /usr/bin/Xorg (miDoCopy+0x44d) [0x8196fbd]
9: /usr/lib/xorg/modules/libexa.so (0x753000+0x789b) [0x75a89b]
10: /usr/bin/Xorg (0x8047000+0xd6ad4) [0x811dad4]
11: /usr/bin/Xorg (0x8047000+0x25a8d) [0x806ca8d]
12: /usr/bin/Xorg (0x8047000+0x271f7) [0x806e1f7]
13: /usr/bin/Xorg (0x8047000+0x1b8c5) [0x80628c5]
14: /lib/libc.so.6 (__libc_start_main+0xe6) [0xb78bb6]
15: /usr/bin/Xorg (0x8047000+0x1b4b1) [0x80624b1]
Segmentation fault at address (nil)

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


Please consult the The X.Org Foundation support 
         at http://bodhi.fedoraproject.org/
 for help. 
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

Hardware is:

(--) PCI:*(0:1:0:0) 10de:002d:10de:0001 nVidia Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro] rev 21, Mem @ 0xe1000000/16777216, 0xf2000000/33554432, BIOS @ 0x????????/131072

Driver is Nouveau

[root@localhost log]# rpm -q xorg-x11-drv-nouveau kernel
xorg-x11-drv-nouveau-0.0.15-17.20091105gite1c2efd.fc12.i686
kernel-2.6.31.6-134.fc12.i686

Comment 2 Paul Jenner 2009-11-21 21:55:16 UTC
Created attachment 372801 [details]
Xorg.log for repeat of crash

Comment 3 Matěj Cepl 2009-11-24 00:59:12 UTC
Backtrace:
0: /usr/bin/Xorg (xorg_backtrace+0x3c) [0x80e587c]
1: /usr/bin/Xorg (0x8047000+0x5fb66) [0x80a6b66]
2: (vdso) (__kernel_rt_sigreturn+0x0) [0x42f40c]
3: /usr/lib/xorg/modules/drivers/nouveau_drv.so (0xa55000+0xa583) [0xa5f583]
4: /usr/lib/xorg/modules/drivers/nouveau_drv.so (0xa55000+0xab0d) [0xa5fb0d]
5: /usr/lib/xorg/modules/libexa.so (0x2c2000+0x92b6) [0x2cb2b6]
6: /usr/lib/xorg/modules/libexa.so (0x2c2000+0x9378) [0x2cb378]
7: /usr/bin/Xorg (miCopyRegion+0x213) [0x8196a93]
8: /usr/bin/Xorg (miDoCopy+0x44d) [0x8196fbd]
9: /usr/lib/xorg/modules/libexa.so (0x2c2000+0x789b) [0x2c989b]
10: /usr/bin/Xorg (0x8047000+0xd6ad4) [0x811dad4]
11: /usr/bin/Xorg (0x8047000+0x25a8d) [0x806ca8d]
12: /usr/bin/Xorg (0x8047000+0x271f7) [0x806e1f7]
13: /usr/bin/Xorg (0x8047000+0x1b8c5) [0x80628c5]
14: /lib/libc.so.6 (__libc_start_main+0xe6) [0xb78bb6]
15: /usr/bin/Xorg (0x8047000+0x1b4b1) [0x80624b1]
Segmentation fault at address (nil)

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

Comment 4 Paul Jenner 2009-11-28 17:13:18 UTC
This does not occur when the guest to which the VNC connection is made is displaying text console - it occurs when the guest is running X (or possibly graphical mode switch during boot but I don't have good reproducer for that)

Steps to reproduce:

1. Boot F12 guest into runlevel 3 (text console rather than X) and connect VNC with virt-manager - X display running virt-manager is fine
2. Switch F12 guest to runlevel 5 (X) - X display running virt-manager crashes with the backtrace

Reproduced with latest updates-testing packages:

[psj@localhost ~]$ rpm -q xorg-x11-drv-nouveau kernel
xorg-x11-drv-nouveau-0.0.15-18.20091105gite1c2efd.fc12.i686
kernel-2.6.31.6-145.fc12.i686

Backtrace from Xorg.log is:

Backtrace:
0: /usr/bin/Xorg (xorg_backtrace+0x3c) [0x80e586c]
1: /usr/bin/Xorg (0x8047000+0x5fb56) [0x80a6b56]
2: (vdso) (__kernel_rt_sigreturn+0x0) [0x47c40c]
3: /usr/lib/xorg/modules/drivers/nouveau_drv.so (0x17d000+0xa583) [0x187583]
4: /usr/lib/xorg/modules/drivers/nouveau_drv.so (0x17d000+0xab0d) [0x187b0d]
5: /usr/lib/xorg/modules/libexa.so (0x1f6000+0x92b6) [0x1ff2b6]
6: /usr/lib/xorg/modules/libexa.so (0x1f6000+0x9378) [0x1ff378]
7: /usr/bin/Xorg (miCopyRegion+0x213) [0x8196993]
8: /usr/bin/Xorg (miDoCopy+0x44d) [0x8196ebd]
9: /usr/lib/xorg/modules/libexa.so (0x1f6000+0x789b) [0x1fd89b]
10: /usr/bin/Xorg (0x8047000+0xd6ac4) [0x811dac4]
11: /usr/bin/Xorg (0x8047000+0x25a7d) [0x806ca7d]
12: /usr/bin/Xorg (0x8047000+0x271e7) [0x806e1e7]
13: /usr/bin/Xorg (0x8047000+0x1b8b5) [0x80628b5]
14: /lib/libc.so.6 (__libc_start_main+0xe6) [0xb78bb6]
15: /usr/bin/Xorg (0x8047000+0x1b4a1) [0x80624a1]
Segmentation fault at address (nil)

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

Comment 5 Paul Jenner 2010-01-16 16:43:45 UTC
Still happening with:

[psj@localhost ~]$ rpm -q xorg-x11-drv-nouveau kernel
xorg-x11-drv-nouveau-0.0.15-19.20091105gite1c2efd.fc12.i686
kernel-2.6.31.9-174.fc12.i686

Anything I can do or provide to help?

Comment 6 Paul Jenner 2010-01-19 21:12:37 UTC
This crash does not occur when kernel mode setting is disabled (i.e. booting kernel with nomodeset). So it appears only to be an issue with KMS.

Comment 7 Paul Jenner 2010-02-05 22:05:49 UTC
See bug #560860 for a report of the same behaviour triggering a crash on ATI.

The workaround from that bug - to change scaling options in the VNC viewer - also avoids the crash here.

Comment 8 Cole Robinson 2010-02-27 02:05:20 UTC
*** Bug 560860 has been marked as a duplicate of this bug. ***

Comment 9 Paul Jenner 2010-06-30 21:26:25 UTC
Still happening under F13 with:

[psj@localhost ~]$ rpm -q xorg-x11-drv-nouveau kernel
xorg-x11-drv-nouveau-0.0.16-7.20100423git13c1043.fc13.i686
kernel-2.6.33.5-124.fc13.i686

I will hopefully provide an up to date abrt backtrace in follow-up.

Comment 10 Paul Jenner 2010-07-02 21:47:15 UTC
*** Bug 609727 has been marked as a duplicate of this bug. ***

Comment 11 Paul Jenner 2010-07-02 21:48:47 UTC
Up to date backtrace from ABRT provided in bug #609727

Comment 12 Paul Jenner 2011-03-27 19:38:31 UTC
Works in F14 - at least I am unable to reproduce the crash now. Assume fixed.