Mailinglist Archive: opensuse-bugs (16603 mails)

< Previous Next >
[Bug 443459] X.org: The server is probably stuck in an infinite loop. ( lockup)
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 10 Nov 2008 19:11:08 -0700 (MST)
  • Message-id: <20081111021108.8EA61CC7CF@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=443459

User sndirsch@xxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=443459#c5


Stefan Dirsch <sndirsch@xxxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |ASSIGNED




--- Comment #5 from Stefan Dirsch <sndirsch@xxxxxxxxxx> 2008-11-10 19:11:07
MST ---
[mi] EQ overflowing. The server is probably stuck in an infinite loop.
[mi] mieqEnequeue: out-of-order valuator event; dropping.

This reminds me to the following commit for xorg-server 1.5 branch (included in
xorg-server 1.5.3, but we're shipping 1.5.2):

commit 483fb847b4363d09ff3347f61ad51bba1dd00602
Author: Adam Jackson <ajax@xxxxxxxxxx>
Date: Fri Oct 10 16:33:24 2008 -0400

mieq: Backtrace when the queue overflows.

Since we're probably stuck down in a driver somewhere, let's at least
try to point out where. This will need to be rethought when the input
thread work lands though.
(cherry picked from commit b736f477f5324f79af30fc0f941ba0714a34ccda)

diff --git a/mi/mieq.c b/mi/mieq.c
index aaa247d..8037247 100644
--- a/mi/mieq.c
+++ b/mi/mieq.c
@@ -145,6 +145,7 @@ mieqEnqueue(DeviceIntPtr pDev, xEvent *e)
oldtail = (oldtail - 1) % QUEUE_SIZE;
}
else {
+ static int stuck = 0;
newtail = (oldtail + 1) % QUEUE_SIZE;
/* Toss events which come in late. Usually this means your server's
* stuck in an infinite loop somewhere, but SIGIO is still getting
@@ -152,8 +153,13 @@ mieqEnqueue(DeviceIntPtr pDev, xEvent *e)
if (newtail == miEventQueue.head) {
ErrorF("[mi] EQ overflowing. The server is probably stuck "
"in an infinite loop.\n");
+ if (!stuck) {
+ xorg_backtrace();
+ stuck = 1;
+ }
return;
}
+ stuck = 0;
miEventQueue.tail = newtail;
}


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
References