FS#19303 - [xorg-server] Crash with fullscreen video

Attached to Project: Arch Linux
Opened by Adrian C. (anrxc) - Friday, 30 April 2010, 21:17 GMT
Last edited by Jan de Groot (JGC) - Saturday, 04 September 2010, 18:34 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture i686
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Using xorg-server 1.8, testing it while it's still easy to revert, my machine completely froze and I had to unplug it. This happened while watching a fullscreen video on youtube.com. On next boot I found a relevant entry in the Xorg.log file:

Additional info:
* Intel GMA4500 - X4500MHD
** xf86-video-intel 2.10.0-1
** xorg-server 1.8.0.901-1
** kernel26 2.6.33.3-1

[ 23085.094] [mi] EQ overflowing. The server is probably stuck in an infinite loop.
[ 23085.094]
Backtrace:
[ 23085.094] 0: /usr/bin/X (xorg_backtrace+0x3b) [0x80deeab]
[ 23085.094] 1: /usr/bin/X (mieqEnqueue+0x1ab) [0x80dba5b]
[ 23085.094] 2: /usr/bin/X (xf86PostKeyEventP+0x7c) [0x80bbd2c]
[ 23085.094] 3: /usr/bin/X (xf86PostKeyboardEvent+0x4b) [0x80bbebb]
[ 23085.094] 4: /usr/lib/xorg/modules/input/evdev_drv.so (0xb6e48000+0x32ba) [0xb6e4b2ba]
[ 23085.094] 5: /usr/bin/X (0x8048000+0x6decf) [0x80b5ecf]
[ 23085.094] 6: /usr/bin/X (0x8048000+0x10b0b4) [0x81530b4]
[ 23085.094] 7: (vdso) (__kernel_sigreturn+0x0) [0xb7797400]
[ 23085.094] 8: /usr/lib/libdrm_intel.so.1 (drm_intel_bo_exec+0x2e) [0xb73044ce]
[ 23085.094] 9: /usr/lib/xorg/modules/drivers/intel_drv.so (0xb732b000+0xfd24) [0xb733ad24]
[ 23085.094] 10: /usr/lib/xorg/modules/drivers/intel_drv.so (0xb732b000+0x10dae) [0xb733bdae]
[ 23085.094] 11: /usr/bin/X (0x8048000+0xc3acc) [0x810bacc]
[ 23085.094] 12: /usr/bin/X (0x8048000+0x986da) [0x80e06da]
[ 23085.094] 13: /usr/bin/X (BlockHandler+0x58) [0x8092068]
[ 23085.094] 14: /usr/bin/X (WaitForSomething+0x10c) [0x80a7e5c]
[ 23085.094] 15: /usr/bin/X (0x8048000+0x214a0) [0x80694a0]
[ 23085.094] 16: /usr/bin/X (0x8048000+0x1a485) [0x8062485]
[ 23085.094] 17: /lib/libc.so.6 (__libc_start_main+0xe6) [0xb74d2b96]
[ 23085.094] 18: /usr/bin/X (0x8048000+0x1a071) [0x8062071]
This task depends upon

Closed by  Jan de Groot (JGC)
Saturday, 04 September 2010, 18:34 GMT
Reason for closing:  Fixed
Comment by Ionut Biru (wonder) - Friday, 30 April 2010, 21:34 GMT
is it me or you have xf86-video-intel ignored? i'm asking because in testing is version 2.11.0
Comment by Adrian C. (anrxc) - Monday, 03 May 2010, 00:27 GMT
Sorry, just a typo... This is definitely a problem, which I reporoduced on another machine running Intel GM965 (older generation), and the exact same environment.

Just running this video fullscreen for a minute was enough for a complete hard freeze (no magic sysrq, no network): UNIX 1985 http://video.google.com/videoplay?docid=-167233195342018803#
Comment by trya (TryA) - Monday, 03 May 2010, 19:34 GMT
Can you reproduce this with a fullscreen game ?

I also have a 4500MHD and got freezes with testing packages, especially on games played in native resolution (tried Nexuiz and Neverball, should concern any other OpenGL app). Sometimes I can kill X, sometimes it's unrecoverable. Maybe it's related to those bugs :
- https://bugs.freedesktop.org/show_bug.cgi?id=26937
- https://bugs.freedesktop.org/show_bug.cgi?id=27040
But still no fixes... :(
Comment by Jan de Groot (JGC) - Thursday, 27 May 2010, 17:18 GMT
Is this still an issue with current testing packages? Pageflipping has been disabled in the most recent version, fixing a lot of problems.
Comment by Adrian C. (anrxc) - Thursday, 27 May 2010, 21:05 GMT
I watched a few videos so far, but it's too early to say. I am counting on freedesktop bug id 26937 for a confirmation this bug was fixed. As the original reported I am not opposed to closing this bug report.
Comment by Peter Wegas (ccc1) - Saturday, 29 May 2010, 04:41 GMT
Same hardware as OP and my Xserver segfaults after some time, when running xscreensaver or mplayer using gl output.
i'm using the lastest packages from testing.
Comment by trya (TryA) - Tuesday, 01 June 2010, 23:10 GMT
Same here with new testing packages, but it seems like a fix has been commited in xf86-video-intel which resolve  bug 27040  of FreeDesktop.
The patch is here : http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=e2615cdeef078dbd2e834b68c437f098a92b941d
Can it be backported to Arch?
Comment by Adrian C. (anrxc) - Wednesday, 02 June 2010, 22:39 GMT
I had high hopes for this fix so I tested xf86-video-intel-git yesterday. Unfortunately it doesn't solve anything, my machine freezed completely on the Hubble 3D YouTube trailer. Log follows:


[ 28667.416] [mi] EQ overflowing. The server is probably stuck in an infinite loop.
[ 28667.425]
Backtrace:
[ 28667.442] 0: /usr/bin/X (xorg_backtrace+0x3b) [0x80defdb]
[ 28667.442] 1: /usr/bin/X (mieqEnqueue+0x1ab) [0x80dbb8b]
[ 28667.442] 2: /usr/bin/X (xf86PostMotionEventP+0xd2) [0x80bb8e2]
[ 28667.471] 3: /usr/lib/xorg/modules/input/evdev_drv.so (0xb6ded000+0x2fa1) [0xb6deffa1]
[ 28667.471] 4: /usr/lib/xorg/modules/input/evdev_drv.so (0xb6ded000+0x3249) [0xb6df0249]
[ 28667.471] 5: /usr/bin/X (0x8048000+0x6dfcf) [0x80b5fcf]
[ 28667.471] 6: /usr/bin/X (0x8048000+0x10b3e4) [0x81533e4]
[ 28667.471] 7: (vdso) (__kernel_sigreturn+0x0) [0xb7730400]
[ 28667.471] 8: /usr/lib/libdrm_intel.so.1 (drm_intel_bo_exec+0x2e) [0xb731e67e]
[ 28667.471] 9: /usr/lib/xorg/modules/drivers/intel_drv.so (0xb72c9000+0xe833) [0xb72d7833]
[ 28667.471] 10: /usr/lib/xorg/modules/drivers/intel_drv.so (0xb72c9000+0x24744) [0xb72ed744]
[ 28667.471] 11: /usr/lib/xorg/modules/drivers/intel_drv.so (0xb72c9000+0x328a1) [0xb72fb8a1]
[ 28667.472] 12: /usr/bin/X (0x8048000+0xc73cc) [0x810f3cc]
[ 28667.472] 13: /usr/bin/X (CompositeGlyphs+0xa5) [0x817e5e5]
[ 28667.472] 14: /usr/bin/X (0x8048000+0xbfe2e) [0x8107e2e]
[ 28667.472] 15: /usr/bin/X (0x8048000+0xbbc03) [0x8103c03]
[ 28667.472] 16: /usr/bin/X (0x8048000+0x2170f) [0x806970f]
[ 28667.472] 17: /usr/bin/X (0x8048000+0x1a4b5) [0x80624b5]
[ 28667.472] 18: /lib/libc.so.6 (__libc_start_main+0xe6) [0xb7468c76]
[ 28667.472] 19: /usr/bin/X (0x8048000+0x1a0a1) [0x80620a1]
Comment by trya (TryA) - Tuesday, 08 June 2010, 00:32 GMT
I hope this will help you with fullscreen video, another fix for  bug 27040  but for the DRM module this time finally solved my problem : https://patchwork.kernel.org/patch/99803

The patch is included in 2.6.35-rc2, but I don't know if it will be backported to 2.6.34 branch.
Comment by trya (TryA) - Tuesday, 08 June 2010, 00:37 GMT
One correction : the patch WILL go into 2.6.34.
Comment by Gerardo Exequiel Pozzi (djgera) - Saturday, 04 September 2010, 01:43 GMT
  • Field changed: Status (Assigned → Waiting on Response)
  • Field changed: Category (Packages: Testing → Packages: Extra)
fixed now?
Comment by Peter Wegas (ccc1) - Saturday, 04 September 2010, 07:54 GMT
Yes, it's fixed.

Loading...