X locks up [use folder view to reproduce it]

Bug #294941 reported by Xavier Gnata
6
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-177 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I come from 259808 and open this one for clarification:

My config : nvidia driver (and not nv), one screen only, xinerama off in xorg.conf. A fresh and up to date intrepid kubuntu (no upgrade from 8.04 but a fully new install).

X lockup during at least 10s. No real way to know what triggers that bug but I occurs each time I try to select files in a plamoid "folder view".

I get this error message each time I get a X lock up
[mi] mieqEnequeue: out-of-order valuator event; dropping.
[mi] EQ overflowing. The server is probably stuck in an infinite loop.
I'm going to apply the patch https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/259808/comments/48 asap.

Up to now, I have this backtrace (bt.txt)

Bryce: As said, I'm going to apply your patch. I can also do whatever would help to kill this bug.

Revision history for this message
Xavier Gnata (xavier-gnata-gmail) wrote :

Hum on which version of mieq.c should I apply your patch from
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/259808/comments/48 ?

If I try to apply it on mieq.c comming from apt-get source xorg-server, I get this:
patching file mieq.c
Hunk #1 FAILED at 126.
Hunk #2 succeeded at 133 with fuzz 1 (offset -23 lines).
Hunk #3 FAILED at 147.
2 out of 3 hunks FAILED -- saving rejects to file mieq.c.rej

Do you already have newer version of mieq.c or am I doing something wrong?

Revision history for this message
Tormod Volden (tormodvolden) wrote :

It seems Bryce's patch was against git head at the time (1.5.2++). See also https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/276518/comments/53

Revision history for this message
Xavier Gnata (xavier-gnata-gmail) wrote :

Here is the backtrace:

Backtrace:
0: /usr/bin/X(xorg_backtrace+0x26) [0x4ee236]
1: /usr/bin/X(mieqEnqueue+0x23f) [0x4cebbf]
2: /usr/bin/X(xf86PostMotionEventP+0xc4) [0x478754]
3: /usr/bin/X(xf86PostMotionEvent+0xb1) [0x478931]
4: /usr/lib/xorg/modules/input//evdev_drv.so [0x7f96d50ba83f]
5: /usr/bin/X [0x497c45]
6: /usr/bin/X [0x46f047]
7: /lib/libpthread.so.0 [0x7f96dac610f0]
8: /usr/lib/xorg/modules/drivers//nvidia_drv.so [0x7f96d6a786b7]
9: /usr/lib/libpixman-1.so.0 [0x7f96da3c8c6e]
10: /usr/lib/libpixman-1.so.0 [0x7f96da3dcbdb]
11: /usr/lib/libpixman-1.so.0 [0x7f96da3db96a]
12: /usr/lib/libpixman-1.so.0 [0x7f96da3e0984]
13: /usr/lib/libpixman-1.so.0(pixman_image_composite+0x79f) [0x7f96da3e05ef]
14: /usr/lib/xorg/modules//libwfb.so(wfbComposite+0x1ba) [0x7f96d633bc5a]
15: /usr/lib/xorg/modules/drivers//nvidia_drv.so [0x7f96d6a89556]
16: /usr/bin/X [0x531e98]
17: /usr/bin/X [0x5210da]
18: /usr/bin/X(Dispatch+0x364) [0x44d754]
19: /usr/bin/X(main+0x45d) [0x43376d]
20: /lib/libc.so.6(__libc_start_main+0xe6) [0x7f96d9203466]
21: /usr/bin/X [0x432b49]
ERROR: Server Lockup! Stuck in an infinite loop. See backtrace above.
ERROR: Server Lockup! Stuck in an infinite loop. See backtrace above.
ERROR: Server Lockup! Stuck in an infinite loop. See backtrace above.
ERROR: Server Lockup! Stuck in an infinite loop. See backtrace above.
ERROR: Server Lockup! Stuck in an infinite loop. See backtrace above.
ERROR: Server Lockup! Stuck in an infinite loop. See backtrace above.
ERROR: Server Lockup! Stuck in an infinite loop. See backtrace above.
ERROR: Server Lockup! Stuck in an infinite loop. See backtrace above.
and so on and so on (more than 100lines "ERROR: Server Lockup! Stuck in an infinite loop. See backtrace above.")

Revision history for this message
Knedlyk (yupadmin) wrote :

Another Xorg victim... My hardware:

GeForce2 MX/MX 400, nvidia-glx-96 (96.43.09),

(WW) NVIDIA(0): WAIT (2, 6, 0x8000, 0x00000af4, 0x00000bd4)
(WW) NVIDIA(0): WAIT (1, 6, 0x8000, 0x00000af4, 0x00000bd4)
(WW) NVIDIA(0): WAIT (2, 6, 0x8000, 0x00000af4, 0x00000c4c)
(WW) NVIDIA(0): WAIT (1, 6, 0x8000, 0x00000af4, 0x00000c4c)
(WW) NVIDIA(0): WAIT (2, 6, 0x8000, 0x00000af4, 0x000036b4)
(WW) NVIDIA(0): WAIT (1, 6, 0x8000, 0x00000af4, 0x000036b4)
(WW) NVIDIA(0): WAIT (2, 6, 0x8000, 0x00000af4, 0x00003708)
(WW) NVIDIA(0): WAIT (1, 6, 0x8000, 0x00000af4, 0x00003708)
(WW) NVIDIA(0): WAIT (2, 6, 0x8000, 0x00000af4, 0x0000fad8)
(WW) NVIDIA(0): WAIT (1, 6, 0x8000, 0x00000af4, 0x0000fad8)
[mi] EQ overflowing. The server is probably stuck in an infinite loop.
[mi] mieqEnequeue: out-of-order valuator event; dropping.
[mi] EQ overflowing. The server is probably stuck in an infinite loop.
[mi] mieqEnequeue: out-of-order valuator event; dropping.
[mi] EQ overflowing. The server is probably stuck in an infinite loop.
[mi] mieqEnequeue: out-of-order valuator event; dropping.

But very strange, during the last week everything worked well, but after today upgrades and after xorg restart server become lockup.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Please attach the full Xorg.0.log. It's probably a bug in the proprietary nvidia driver.

Revision history for this message
Bryce Harrington (bryce) wrote :

[This is an automated message]

Hi xavier-gnata-gmail,

Please attach the output of `lspci -vvnn`, and attach your /var/log/Xorg.0.log file from after reproducing this issue. If you've made any customizations to your /etc/X11/xorg.conf please attach that as well.

Changed in xorg-server:
status: New → Incomplete
Revision history for this message
Knedlyk (yupadmin) wrote :

Hi Tormod,

I cannot attach xorg log, because now everything is stuck just after gdm starts. So I have to use nv-driver.

Revision history for this message
Knedlyk (yupadmin) wrote :

Well, I made some experiments and here are my results (see attachments) (in xorg nvidia driver is commented out, but I used "nvidia" in my experiments)

Revision history for this message
Knedlyk (yupadmin) wrote :
Revision history for this message
Tormod Volden (tormodvolden) wrote :

Knedlyk, please file your own bug.

Revision history for this message
Xavier Gnata (xavier-gnata-gmail) wrote : Re: [Bug 294941] Re: X locks up [use folder view to reproduce it]

Well I'm just not able to reproduce it with the new nvidia driver
x86_64-180.06 ...looks like a bug in close source nvidia drivers...

01:00.0 VGA compatible controller: nVidia Corporation GeForce 8600M GT
(rev a1)
        Subsystem: Dell Device 01f1

        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-

        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-

        Latency: 0

        Interrupt: pin A routed to IRQ 16

        Region 0: Memory at fd000000 (32-bit, non-prefetchable)
[size=16M]
        Region 1: Memory at e0000000 (64-bit, prefetchable) [size=256M]

        Region 3: Memory at fa000000 (64-bit, non-prefetchable)
[size=32M]
        Region 5: I/O ports at df00 [size=128]

        [virtual] Expansion ROM at fea00000 [disabled] [size=128K]

        Capabilities: <access denied>

        Kernel driver in use: nvidia

        Kernel modules: nvidia, nvidiafb

Section "Screen"
        Identifier "Default Screen"
        Monitor "Configured Monitor"
        Device "Configured Video Device"
        DefaultDepth 24
        Option "RenderAccel" "True"
        Option "AllowGLXWithComposite" "True"
        Option "AddARGBGLXVisuals" "True"
        Option "PixmapCacheSize" "1000000"
        Option "AllowSHMPixmaps" "0"
EndSection

Section "Module"
        Load "glx"
EndSection

Section "Device"
        Identifier "Configured Video Device"
        Driver "nvidia"
        Option "NoLogo" "True"
EndSection

Section "ServerFlags"
        Option "Xinerama" "0"
EndSection

Changed in xorg-server:
status: Incomplete → Fix Released
Revision history for this message
Nikolaj Sheller (nikolajsheller) wrote :

I'm seeing this problem as well:

Xorg.0.log.old:
*repeats*
[mi] EQ overflowing. The server is probably stuck in an infinite loop.
[mi] mieqEnequeue: out-of-order valuator event; dropping.
*repeats*

This is on dualhead ATI and Linux 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64 GNU/Linux:
01:00.0 VGA compatible controller: ATI Technologies Inc RV516 [Radeon X1300/X1550 Series]
01:00.1 Display controller: ATI Technologies Inc RV516 [Radeon X1300 Pro] (Secondary)

Disabling compiz resolves the problem.
With compiz enabled, everything works without problems for ~30 minutes before X locks up. Mouse can still be moved, but X cannt be restarted (ctrl+alt+backspace) and I can't swithc to another tty (ctrl+alt+F1->F12).

See also bug 259808.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.