Bug 674986

Summary: X system freezes
Product: [Fedora] Fedora Reporter: luigi votta <luigi.vtt>
Component: xorg-x11-drv-nouveauAssignee: Ben Skeggs <bskeggs>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: airlied, ajax, bskeggs, mcepl, xgl-maint
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: F15 GA Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-08 10:31:21 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 file of the crashed session
none
greeter_log
none
:0.log.1
none
:0-slave.log
none
user's xsession-errors
none
messages.txt
none
dmesg none

Description luigi votta 2011-02-03 20:55:43 UTC
Created attachment 476891 [details]
Xorg file of the crashed session

Description of problem:
In the Background preferences applet, changing the background type to Colors & Gradients, the system begins to freeze/block, corrupting the user's display-settings.
   
Restarting the system doesn't solve the problem: at the start of the user session, it hangs un-definitely, loading no gome-shell.

kernel: 2.6.38-0.rc2.git3.2.fc15.i686.PAE

Note:
In the masseage log it has, too:
 
Uhhuh. NMI received for unknown reason 3d on CPU 0.
Do you have a strange power saving mode enabled?
Dazed and confused, but trying to continue
NMI received for unknown reason 2d on CPU 0.
Do you have a strange power saving mode enabled?
Dazed and confused, but trying to continue

Thank you

To solve the problem, I created a new user-account.

Comment 1 luigi votta 2011-02-03 21:23:01 UTC
Or perhaps, X has nothing to do: 
sometimes happened that the system freezed, casually, also when launching apps.

Comment 2 luigi votta 2011-02-04 17:54:36 UTC
Created attachment 477078 [details]
greeter_log

Comment 3 luigi votta 2011-02-04 17:55:41 UTC
Created attachment 477081 [details]
:0.log.1

Comment 4 luigi votta 2011-02-04 17:56:28 UTC
Created attachment 477082 [details]
:0-slave.log

Comment 5 luigi votta 2011-02-04 17:58:25 UTC
Created attachment 477083 [details]
user's xsession-errors

Comment 6 Matěj Cepl 2011-02-14 12:52:11 UTC
Ahh, here we are!

Backtrace:
0: /usr/bin/Xorg (xorg_backtrace+0x3c) [0x80e826c]
1: /usr/bin/Xorg (0x8047000+0x5ed06) [0x80a5d06]
2: (vdso) (__kernel_rt_sigreturn+0x0) [0x69c40c]
3: /usr/lib/xorg/modules/extensions/libglx.so (0xb0b000+0x3724e) [0xb4224e]
4: /usr/bin/Xorg (FreeClientResources+0xdf) [0x808e88f]
5: /usr/bin/Xorg (FreeAllResources+0x56) [0x808e946]
6: /usr/bin/Xorg (0x8047000+0x1b151) [0x8062151]
7: /lib/libc.so.6 (__libc_start_main+0xf3) [0x481c7403]
8: /usr/bin/Xorg (0x8047000+0x1ad01) [0x8061d01]
Segmentation fault at address 0x4

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

Comment 7 Matěj Cepl 2011-02-14 12:53:31 UTC
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),
* 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 8 luigi votta 2011-02-14 13:30:50 UTC
Hi Matej,
I am glad to try with this. In the same time I must say that this bug came up from the Gnome 3 test day of 3rd feb 
(https://fedoraproject.org/wiki/Test_Day:2011-02-03_GNOME3_Alpha), in which my system environment was not rightly updated from koji, as suggested by Adam W. I'm sorry for this: next time I will READ BETTER all the necessary infos. However if useful, I will give happily the necessary feedback.

Comment 9 luigi votta 2011-02-14 15:48:33 UTC
Created attachment 478653 [details]
messages.txt

This are the messages from the system with the last updates from koji repo.

Comment 10 luigi votta 2011-02-14 15:49:23 UTC
Created attachment 478654 [details]
dmesg

Comment 11 Matěj Cepl 2011-08-08 10:29:10 UTC
In function DrawableGone:
(from frame 3: /usr/lib/xorg/modules/extensions/libglx.so (0xb0b000+0x3724e) [0xb4224e])
121: ** contains the ancillary buffers needed for rendering.
122: */
123: static Bool DrawableGone(__GLXdrawable *glxPriv, XID xid)
124: {
125:     __GLXcontext *c, *next;
126: 
127:     /* If this drawable was created using glx 1.3 drawable
128:      * constructors, we added it as a glx drawable resource under both
129:      * its glx drawable ID and it X drawable ID.  Remove the other
130:      * resource now so we don't a callback for freed memory. */
131: >>>>>>>     if (glxPriv->drawId != glxPriv->pDraw->id) {
132: 	if (xid == glxPriv->drawId)
133: 	    FreeResourceByType(glxPriv->pDraw->id, __glXDrawableRes, TRUE);
134: 	else
135: 	    FreeResourceByType(glxPriv->drawId, __glXDrawableRes, TRUE);
136:     }
137: 
138:     for (c = glxAllContexts; c; c = next) {
139: 	next = c->next;
140: 	if (c->isCurrent && (c->drawPriv == glxPriv || c->readPriv == glxPriv)) {
141: 	    int i;


Frame 4: /usr/bin/Xorg (FreeClientResources+0xdf) [0x808e88f]
	/usr/src/debug/xorg-server-20101201/dix/resource.c:860
	FreeClientResources
Frame 5: /usr/bin/Xorg (FreeAllResources+0x56) [0x808e946]
	/usr/src/debug/xorg-server-20101201/dix/resource.c:876
	FreeAllResources
Frame 6: /usr/bin/Xorg (0x8047000+0x1b151) [0x8062151]
	/usr/src/debug/xorg-server-20101201/dix/main.c:302
	main

Comment 12 Matěj Cepl 2011-08-08 10:31:21 UTC
(In reply to comment #8)
> Hi Matej,
> I am glad to try with this. In the same time I must say that this bug came up
> from the Gnome 3 test day of 3rd feb 
> (https://fedoraproject.org/wiki/Test_Day:2011-02-03_GNOME3_Alpha), in which my
> system environment was not rightly updated from koji, as suggested by Adam W.
> I'm sorry for this: next time I will READ BETTER all the necessary infos.
> However if useful, I will give happily the necessary feedback.

Given that apparently nothing interesting happened since then (does it?), this issue probably left us in meantime.

Closing as CURRENTRELEASE.

Comment 13 luigi votta 2011-08-11 21:33:35 UTC
Hi Matej,
Xorg effectively has given no more problems.

Thank You