Re: X Server Infinite Looping?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 22 Dec 2006, Joel Breazeale wrote:

I am using XFree86 4.2.1 on Redhat 7.3 with kernel version 2.4.22. The X server seems to be infinite looping -- top says it is utilizing 99.9% of the CPU. I suspect an X client application is involved though I don't know if it is the cause or a victim. Here's a backtrace of the X client (I'm including the loading of symbols just in case something in it is useful):

GNU gdb Red Hat Linux (5.1.90CVS-5)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(gdb) attach 1600
Attaching to program: /home/ngtp/bin/gpc/TPuip, process 1600
Reading symbols from /usr/X11R6/lib/libXm.so.3...done.
Loaded symbols for /usr/X11R6/lib/libXm.so.3
Reading symbols from /usr/X11R6/lib/libXmu.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXmu.so.6
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/X11R6/lib/libXt.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXt.so.6
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /usr/X11R6/lib/libXpm.so.4...done.
Loaded symbols for /usr/X11R6/lib/libXpm.so.4
Reading symbols from /lib/i686/libm.so.6...done.
Loaded symbols for /lib/i686/libm.so.6
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /opt/lib/libtcl.so...done.
Loaded symbols for /opt/lib/libtcl.so
Reading symbols from /lib/i686/libc.so.6...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.6
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.6
Reading symbols from /usr/X11R6/lib/libXp.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXp.so.6
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /usr/X11R6/lib/X11/locale/common/xlcDef.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/common/xlcDef.so.2
Reading symbols from /usr/X11R6/lib/X11/locale/common/ximcp.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/common/ximcp.so.2
0x420e1a0e in select () from /lib/i686/libc.so.6
(gdb) bt
#0  0x420e1a0e in select () from /lib/i686/libc.so.6
#1  0x40377f04 in _XlcPublicMethods () from /usr/X11R6/lib/libX11.so.6
#2  0x402d556a in _XRead () from /usr/X11R6/lib/libX11.so.6
#3  0x402d602a in _XReply () from /usr/X11R6/lib/libX11.so.6
#4  0x402c11fe in XGetWindowAttributes () from /usr/X11R6/lib/libX11.so.6
#5  0x080cb0ed in ListSelectionCB (w=0x82485f8, client_data=0x82476e8,
   call_data=0xbffff4d0) at XdmList.c:498
#6  0x402655f6 in XtCallCallbackList () from /usr/X11R6/lib/libXt.so.6
#7  0x400a35ef in ClickElement () from /usr/X11R6/lib/libXm.so.3
#8  0x400a1824 in HandleNewItem () from /usr/X11R6/lib/libXm.so.3
#9  0x400a3fca in PrevElement () from /usr/X11R6/lib/libXm.so.3
#10 0x40294601 in _XtMatchAtom () from /usr/X11R6/lib/libXt.so.6
#11 0x40294acc in _XtMatchAtom () from /usr/X11R6/lib/libXt.so.6
#12 0x40295057 in _XtTranslateEvent () from /usr/X11R6/lib/libXt.so.6
#13 0x40270cc8 in XtDispatchEventToWidget () from /usr/X11R6/lib/libXt.so.6
#14 0x40271744 in _XtOnGrabList () from /usr/X11R6/lib/libXt.so.6
#15 0x40271997 in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.6
#16 0x080c5a9c in UixAppProcessEvent (app=0x81e80a0)
   at UixAppProcessEvent.c:272
#17 0x0804f58e in main (argc=2, argv=0xbffff8d4) at uip.c:516
#18 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6
(gdb)

Is there anything I can do to see what the X server is doing? Does anything in the above backtrace indicate whether the X client was the cause or the victim of this problem? If additional information would be useful toward diagnosing this problem then please let me know and I will get it!

It would be useful to see a backtrace of the server. However, to generate one, you would need to login from another system.

Also, XFree86 4.2.1 is quite old, so there's a good chance this problem has been addressed in a more recent version.

Marc.

+----------------------------------+----------------------------------+
|  Marc Aurele La France           |  work:   1-780-492-9310          |
|  Academic Information and        |  fax:    1-780-492-1729          |
|    Communications Technologies   |  email:  tsi@xxxxxxxxxxx         |
|  352 General Services Building   +----------------------------------+
|  University of Alberta           |                                  |
|  Edmonton, Alberta               |    Standard disclaimers apply    |
|  T6G 2H1                         |                                  |
|  CANADA                          |                                  |
+----------------------------------+----------------------------------+
XFree86 developer and VP.  ATI driver and X server internals.
_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux