mi: only print the "EQ overflowing" error once.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
a706dd8771
commit
b874a5c0aa
|
@ -176,9 +176,9 @@ mieqEnqueue(DeviceIntPtr pDev, InternalEvent *e)
|
||||||
* stuck in an infinite loop somewhere, but SIGIO is still getting
|
* stuck in an infinite loop somewhere, but SIGIO is still getting
|
||||||
* handled. */
|
* handled. */
|
||||||
if (((oldtail + 1) % QUEUE_SIZE) == miEventQueue.head) {
|
if (((oldtail + 1) % QUEUE_SIZE) == miEventQueue.head) {
|
||||||
|
if (!stuck) {
|
||||||
ErrorF("[mi] EQ overflowing. The server is probably stuck "
|
ErrorF("[mi] EQ overflowing. The server is probably stuck "
|
||||||
"in an infinite loop.\n");
|
"in an infinite loop.\n");
|
||||||
if (!stuck) {
|
|
||||||
xorg_backtrace();
|
xorg_backtrace();
|
||||||
stuck = 1;
|
stuck = 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue