[Xquartz-dev] cpu is speeding up again

Christof Wolf ch.wolf at hfph.mwn.de
Thu Jan 1 10:42:07 PST 2009


Hello,

grrr, back again, I am really puzzled, next time I openend my powerbook the 
cpu was speeding up again to 100% not sure what to do :-( I turned the 
pasteboard prefs on and off - no difference, where is no klipper running ... 
I am just back to beta1 :-)

console & sample process

01.01.09 19:17:35 [0x0-0xfb0fb].org.x.X11[6408] Quitting Xquartz... 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833] X11.app: main(): argc=2 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833]  argv[0] 
= /Applications/Utilities/X11.app/Contents/MacOS/X11.bin 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833]  argv[1] = -psn_0_1044735 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833] Waiting for startup parameters 
via Mach IPC. 
01.01.09 19:18:22 org.x.startx[6869] font_cache: Scanning user font 
directories to generate X11 font caches 
01.01.09 19:18:22 org.x.startx[6869] font_cache: Updating FC cache 
01.01.09 19:18:22 org.x.privileged_startx[6908] font_cache: Scanning system 
font directories to generate X11 font caches 
01.01.09 19:18:22 defaults[6934] 
The domain/default pair of (org.x.X11, dpi) does not exist
 
01.01.09 19:18:22 org.x.startx[6869] xauth:  creating new authority 
file /Users/LPM/.serverauth.6869 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833] X11.app: Listening on socket 
for fd handoff:  (3) /var/tmp/tmp.0.GWhPYe 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833] X11.app: Thread created for 
handoff.  Returning success to tell caller to connect and push the fd. 
01.01.09 19:18:22 org.x.startx[6869] Xquartz: Handoff connection established 
(try 1 of 5) on fd 4, "/var/tmp/tmp.0.GWhPYe".  Sending message. 
01.01.09 19:18:22 org.x.startx[6869] Xquartz: Message sent.  Closing handoff 
fd. 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833] X11.app: Received new $DISPLAY 
fd: 5 ... sleeping to allow xinitrc to catchup. 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833] X11.app: 
do_start_x11_server(): argc=4 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833]  argv[0] = /usr/X11/bin/X 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833]  argv[1] = :1 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833]  argv[2] = -auth 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833]  argv[3] 
= /Users/LPM/.serverauth.6869 
01.01.09 19:18:22 org.x.privileged_startx[6908] font_cache: Updating FC cache 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833] InitConnectionLimits: 
MaxClients = 255 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833] Xquartz starting: 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833] X.Org X Server 1.4.2-apple30 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833] Build Date: 20081229 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833] Sync Extension 3.0 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833] (EE) XKB: Couldn't open rules 
file /usr/X11/share/X11/xkb/rules/base 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833] (dix) initialising device 0 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833] (dix) initialising device 1 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833] (dix) initialising device 2 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833] (EE) XKB: Couldn't open rules 
file /usr/X11/share/X11/xkb/rules/base 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833] (dix) initialising device 3 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833] (dix) initialising device 4 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833] (dix) initialising device 5 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833] (dix) initialising device 6 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833] (dix) enabling device 0 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833] (dix) enabling device 1 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833] (dix) enabling device 2 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833] (dix) enabling device 3 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833] (dix) enabling device 4 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833] (dix) enabling device 5 
01.01.09 19:18:22 [0x0-0xff0ff].org.x.X11[6833] (dix) enabling device 6 
01.01.09 19:18:24 org.x.startx[6869] font_cache: Done 
01.01.09 19:18:24 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 1, socket fd = 10 
01.01.09 19:18:24 org.x.privileged_startx[6908] font_cache: Done 
01.01.09 19:18:24 org.x.privileged_startx[6908] font_cache: Done 
01.01.09 19:18:24 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 2, socket fd = 11 
01.01.09 19:18:24 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 2, socket fd = 11 
01.01.09 19:18:24 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 2, socket fd = 11 
01.01.09 19:18:24 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 2, socket fd = 11 
01.01.09 19:18:24 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 2, socket fd = 11 
01.01.09 19:18:24 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 2, socket fd = 11 
01.01.09 19:18:24 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 2, socket fd = 11 
01.01.09 19:18:24 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 2, socket fd = 11 
01.01.09 19:18:24 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 2, socket fd = 11 
01.01.09 19:18:24 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 2, socket fd = 11 
01.01.09 19:18:24 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 2, socket fd = 11 
01.01.09 19:18:24 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 2, socket fd = 11 
01.01.09 19:18:24 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 2, socket fd = 11 
01.01.09 19:18:24 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 2, socket fd = 11 
01.01.09 19:18:24 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 2, socket fd = 11 
01.01.09 19:18:25 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 2, socket fd = 11 
01.01.09 19:18:25 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 3, socket fd = 12 
01.01.09 19:18:25 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 3, socket fd = 12 
01.01.09 19:18:25 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 4, socket fd = 13 
01.01.09 19:18:25 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 5, socket fd = 14 
01.01.09 19:18:25 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 5, socket fd = 14 
01.01.09 19:18:25 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 6, socket fd = 15 
01.01.09 19:18:25 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 6, socket fd = 15 
01.01.09 19:18:25 [0x0-0xff0ff].org.x.X11[6833] X11.app Handing off fd to 
server thread via DarwinListenOnOpenFD(5) 
01.01.09 19:18:25 [0x0-0xff0ff].org.x.X11[6833] DarwinListenOnOpenFD: 5 
01.01.09 19:18:25 [0x0-0xff0ff].org.x.X11[6833] Calling ListenOnOpenFD() for 
new fd: 5 
01.01.09 19:18:25 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 7, socket fd = 16 
01.01.09 19:18:25 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 8, socket fd = 17 
01.01.09 19:18:25 [0x0-0xff0ff].org.x.X11[6833] X11.app: 
Launching /usr/X11/bin/xterm: 
01.01.09 19:18:25 [0x0-0xff0ff].org.x.X11[6833]  argv[0] = /bin/sh 
01.01.09 19:18:25 [0x0-0xff0ff].org.x.X11[6833]  argv[1] = -c 
01.01.09 19:18:25 [0x0-0xff0ff].org.x.X11[6833]  argv[2] = /usr/X11/bin/xterm 
01.01.09 19:18:25 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 7, socket fd = 19 
01.01.09 19:18:25 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 9, socket fd = 20 
01.01.09 19:18:25 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 9, socket fd = 20 
01.01.09 19:18:29 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 2, socket fd = 11 
01.01.09 19:18:29 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 10, socket fd = 21 
01.01.09 19:18:30 [0x0-0xff0ff].org.x.X11[6833] Popen: 
`"/usr/X11/bin/xkbcomp" -w 1 "-R/usr/X11/share/X11/xkb" -xkm "-" -em1 "The 
XKEYBOARD keymap compiler (xkbcomp) reports:" -emp "> " -eml "Errors from 
xkbcomp are not fatal to the X server" "/var/tmp/server-1.xkm"', fp = 
0xa05a85e0 
01.01.09 19:18:30 [0x0-0xff0ff].org.x.X11[6833] Pclose: fp = 0xa05a85e0 
01.01.09 19:18:30 [0x0-0xff0ff].org.x.X11[6833] Warning:          Couldn't 
change directory to "/usr/X11/share/X11/xkb" 
01.01.09 19:18:30 [0x0-0xff0ff].org.x.X11[6833]                   Root 
directory (-R) option ignored 
01.01.09 19:18:30 [0x0-0xff0ff].org.x.X11[6833] The XKEYBOARD keymap compiler 
(xkbcomp) reports: 
01.01.09 19:18:30 [0x0-0xff0ff].org.x.X11[6833] > Error:            Can't find 
file "unknown" for geometry include 
01.01.09 19:18:30 [0x0-0xff0ff].org.x.X11[6833] >                   Exiting 
01.01.09 19:18:30 [0x0-0xff0ff].org.x.X11[6833] >                   Abandoning 
geometry file "default" 
01.01.09 19:18:30 [0x0-0xff0ff].org.x.X11[6833] Errors from xkbcomp are not 
fatal to the X server 
01.01.09 19:18:30 [0x0-0xff0ff].org.x.X11[6833] (EE) Error compiling keymap 
(server-1) 
01.01.09 19:18:30 [0x0-0xff0ff].org.x.X11[6833] (EE) XKB: Couldn't compile 
keymap 
01.01.09 19:18:40 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 5, socket fd = 14 
01.01.09 19:18:40 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 11, socket fd = 22 
01.01.09 19:18:40 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 11, socket fd = 22 
01.01.09 19:18:40 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 11, socket fd = 22 
01.01.09 19:18:40 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 12, socket fd = 23 
01.01.09 19:18:40 [0x0-0xff0ff].org.x.X11[6833] AllocNewConnection: client 
index = 12, socket fd = 23 

sample

Sampling process 6833 for 3 seconds with 1 millisecond of run time between 
samples
Sampling completed, processing symbols...
Analysis of sampling X11.bin (pid 6833) every 1 millisecond
Call graph:
    1986 Thread_2503
      1986 start
        1986 main
          1986 mach_msg_server
            1986 mach_startup_server
              1986 _Xstart_x11_server
                1986 do_start_x11_server
                  1986 server_main
                    1986 X11ApplicationMain
                      1986 -[NSApplication run]
                        1975 -[NSApplication 
nextEventMatchingMask:untilDate:inMode:dequeue:]
                          1975 _DPSNextEvent
                            1967 BlockUntilNextEventMatchingListInMode
                              1967 ReceiveNextEventCommon
                                1965 RunCurrentEventLoopInMode
                                  1964 CFRunLoopRunInMode
                                    1962 CFRunLoopRunSpecific
                                      1908 mach_msg
                                        1908 mach_msg_trap
                                          1908 mach_msg_trap
                                      37 0xffffffff
                                        37 _sigtramp
                                          37 _sigtramp
                                      13 __CFMachPortPerform
                                        13 
PullEventsFromWindowServerOnConnection(unsigned int, unsigned char)
                                          13 CGEventCreateNextEvent
                                            13 CGSGetNextEventRecordInternal
                                              13 snarfEvents
                                                11 _CGSGetPortStreamInline
                                                  11 mach_msg
                                                    11 mach_msg_trap
                                                      11 mach_msg_trap
                                                2 
CGSDispatchDatagramsFromStream
                                                  2 CGSDecodeEventRecord
                                                    1 
CGEventCreateFromDataAndSource
                                                      1 
CGEventCreateFromDataAndSource
                                                    1 __CFDataInit
                                                      1 
_CFRuntimeCreateInstance
                                                        1 malloc_size
                                                          1 malloc_size
                                      2 __CFRunLoopModeFindSourceForMachPort
                                        2 CFSetApplyFunction
                                          1 CFSetApplyFunction
                                          1 __CFRunLoopFindSource
                                            1 __CFRunLoopFindSource
                                      1 __CFRunLoopDoObservers
                                        1 _handleWindowsNeedUpdateNote
                                          1 -[NSApplication updateWindows]
                                            1 objc_msgSend
                                              1 objc_msgSend
                                      1 __CFRunLoopFindMode
                                        1 CFSetGetValue
                                          1 __CFSetFindBuckets1b
                                            1 __CFSetFindBuckets1b
                                    2 __spin_lock
                                      2 __spin_lock
                                  1 CFStringCompare
                                    1 CFStringCompareWithOptions
                                      1 CFStringCompareWithOptionsAndLocale
                                        1 CFStringGetLength
                                          1 CFStringGetLength
                                2 ReceiveNextEventCommon
                            6 SendEventToEventTarget
                              6 
SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, 
HandlerCallRec*)
                                6 DispatchEventToHandlers(EventTargetRec*, 
OpaqueEventRef*, HandlerCallRec*)
                                  6 
ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, 
void*)
                                    6 FindWindowAndPartFromMouseEvent
                                      6 FindWindow
                                        6 FindWindowOfClass
                                          6 FindWindowCommon(Point, 
OpaqueWindowPtr**, short*)
                                            4 FindPlatformWindow
                                              4 CGSFindWindowAndOwner
                                                4 _CGSFindWindow
                                                  4 mach_msg
                                                    4 mach_msg_trap
                                                      4 mach_msg_trap
                                            2 MBarHit
                                              2 _MBarHit(MenuData*, Point, 
unsigned char*, MenuData**)
                                                1 HIView::GetWindowRef()
                                                  1 HIView::GetWindowRef()
                                                1 IsCurrentProcessMenuBarOwner
                                                  1 _GetFrontUIProcess
                                                    1 
_LSCopyApplicationArrayInFrontToBackOrder
                                                      1 
_LSCopyApplicationArrayInFrontToBackOrder
                            1 -[NSApplication(NSWindowCache) 
_findWindowUsingCache:]
                              1 -[NSApplication(NSWindowCache) 
_findWindowUsingCache:]
                            1 _NSHandleCarbonMenuEvent
                              1 ConvertEventRefToEventRecord
                                1 ConvertMouseEventToEventRecord
                                  1 GetEventParameter
                                    1 GetEventParameter
                        9 -[X11Application sendEvent:]
                          8 -[X11Application(Private) sendX11NSEvent:]
                            8 xp_find_window
                              7 CGSFindWindowAndOwner
                                7 _CGSFindWindow
                                  7 mach_msg
                                    7 mach_msg_trap
                                      7 mach_msg_trap
                              1 xp_synchronize
                                1 spin_lock
                                  1 spin_lock
                          1 -[NSApplication sendEvent:]
                            1 -[NSApplication setWindowsNeedUpdate:]
                              1 CFRunLoopAddObserver
                                1 __CFRunLoopFindMode
                                  1 CFSetGetValue
                                    1 CFSetGetValue
                        2 NSPopAutoreleasePool
                          1 -[NSEvent dealloc]
                            1 ReleaseEvent
                              1 ReleaseEventParam(EventParam*)
                                1 free
                                  1 szone_free
                                    1 szone_free
                          1 -[NSObject release]
                            1 __CFDoExternRefOperation
                              1 CFBagRemoveValue
                                1 CFBagRemoveValue
    1986 Thread_2603
      1986 thread_start
        1986 _pthread_start
          1986 CAPThread::Entry(CAPThread*)
            1986 HALRunLoop::OwnThread(void*)
              1986 CFRunLoopRunInMode
                1986 CFRunLoopRunSpecific
                  1986 mach_msg
                    1986 mach_msg_trap
                      1986 mach_msg_trap
    1986 Thread_2703
      1986 thread_start
        1986 _pthread_start
          1986 server_thread
            1986 dix_main
              1986 Dispatch
                1851 select$DARWIN_EXTSN
                  1851 select$DARWIN_EXTSN
                132 WaitForSomething
                  80 BlockHandler
                    58 QuartzBlockHandler
                      25 NSPopAutoreleasePool
                        15 NSPopAutoreleasePool
                        3 NSClassFromObject
                          1 -[NSObject class]
                            1 -[NSObject class]
                          1 NSClassFromObject
                          1 object_getClass
                            1 object_getClass
                        2 _CFExecutableLinkedOnOrAfter
                          2 _CFExecutableLinkedOnOrAfter
                        2 objc_assign_strongCast
                          2 objc_assign_strongCast
                        2 objc_collecting_enabled
                          2 objc_collecting_enabled
                        1 object_getClass
                          1 object_getClass
                      9 +[NSObject alloc]
                        4 +[NSObject alloc]
                        2 +[NSAutoreleasePool allocWithZone:]
                          2 +[NSAutoreleasePool allocWithZone:]
                        2 objc_msgSend
                          2 objc_msgSend
                        1 dyld_stub_pthread_getspecific
                          1 dyld_stub_pthread_getspecific
                      9 -[NSAutoreleasePool init]
                        8 -[NSAutoreleasePool initWithCapacity:]
                          4 NSPushAutoreleasePool
                            4 NSPushAutoreleasePool
                          3 -[NSAutoreleasePool initWithCapacity:]
                          1 objc_collecting_enabled
                            1 objc_collecting_enabled
                        1 -[NSAutoreleasePool init]
                      7 objc_msgSend
                        7 objc_msgSend
                      5 QuartzBlockHandler
                      1 dyld_stub_objc_assign_strongCast
                        1 dyld_stub_objc_assign_strongCast
                      1 dyld_stub_pthread_getspecific
                        1 dyld_stub_pthread_getspecific
                      1 objc_collecting_enabled
                        1 objc_collecting_enabled
                    13 AnimCurScreenBlockHandler
                      7 AnimCurScreenBlockHandler
                      6 miSpriteBlockHandler
                        6 miSpriteBlockHandler
                    6 objc_msgSend
                      6 objc_msgSend
                    2 BlockHandler
                    1 dyld_stub_objc_msgSend
                      1 dyld_stub_objc_msgSend
                  24 WaitForSomething
                  9 WakeupHandler
                    8 WakeupHandler
                    1 RootlessWakeupHandler
                      1 RootlessWakeupHandler
                  8 __bzero
                    8 __bzero
                  5 select$DARWIN_EXTSN
                    5 select$DARWIN_EXTSN
                  4 __error
                    4 __error
                  2 select$UNIX2003
                    2 select$UNIX2003
                3 Dispatch
    1986 Thread_2803
      1986 thread_start
        1986 _pthread_start
          1986 glvmDoWork
            1986 pthread_cond_wait$UNIX2003
              1986 __semwait_signal
                1986 __semwait_signal
    1986 Thread_2903
      1986 thread_start
        1986 _pthread_start
          1986 DarwinProcessFDAdditionQueue_thread
            1986 pthread_cond_wait$UNIX2003
              1986 __semwait_signal
                1986 __semwait_signal
    1986 Thread_2a03
      1986 thread_start
        1986 _pthread_start
          1986 xpbproxy_input_thread
            1986 pthread_cond_wait$UNIX2003
              1986 __semwait_signal
                1986 __semwait_signal
    1986 Thread_2b03
      1986 thread_start
        1986 _pthread_start
          1986 select$DARWIN_EXTSN
            1986 select$DARWIN_EXTSN
    1986 Thread_2c03
      1986 thread_start
        1986 _pthread_start
          1986 _xp_async_thread
            1986 _xp_async_dequeue
              1986 pthread_cond_wait$UNIX2003
                1986 __semwait_signal
                  1986 __semwait_signal

Total number in stack (recursive counted multiple, when >=5):
        7       _pthread_start
        7       thread_start
        5       mach_msg
        5       mach_msg_trap

Sort by top of stack, same collapsed (when >= 5):
        __semwait_signal        7944
        mach_msg_trap        3916
        select$DARWIN_EXTSN        3842
        _sigtramp        37
        WaitForSomething        24
        objc_msgSend        16
        NSPopAutoreleasePool        15
        WakeupHandler        8
        __bzero        8
        AnimCurScreenBlockHandler        7
        miSpriteBlockHandler        6
        QuartzBlockHandler        5
Sample analysis of process 6833 written to file /dev/stdout

-- 
public key www.hfph.mwn.de/~chwolf/chwolf.asc

Please respect my privacy and do not make my contact information
available to third parties.


More information about the Xquartz-dev mailing list