Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Regular urxvt hangs, Emacs crashes



On 12 Aug 2008, at 17:06, Jeremy Huddleston wrote:
If not, can you please take a sample (/A/U/Activity Monitor.app) of the urxvt and X11 processes, so I can see where it's hanging.


Samples attached. I had a couple of other windows open at the same time, one was a urxvt with a screen child process, another is Emacs running remotely, neither of which were affected.

Sampling process 10097 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling xinit (pid 10097) every 1 millisecond
Call graph:
    2444 Thread_2503
      2444 start
        2444 main
          2444 __wait4
            2444 __wait4

Total number in stack (recursive counted multiple, when >=5):

Sort by top of stack, same collapsed (when >= 5):
        __wait4        2444
Sample analysis of process 10097 written to file /dev/stdout
Sampling process 10098 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling X (pid 10098) every 1 millisecond
Call graph:
    2390 Thread_2503
      2390 start
        2390 main
          2390 start_x11_server
            2390 mach_msg
              2390 mach_msg_trap
                2390 mach_msg_trap

Total number in stack (recursive counted multiple, when >=5):

Sort by top of stack, same collapsed (when >= 5):
        mach_msg_trap        2390
Sample analysis of process 10098 written to file /dev/stdout
Sampling process 10099 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling X11 (pid 10099) every 1 millisecond
Call graph:
    1894 Thread_2503
      1894 start
        1894 main
          1894 mach_msg_server
            1894 mach_startup_server
              1894 _Xstart_x11_server
                1894 do_start_x11_server
                  1894 server_main
                    1894 X11ApplicationMain
                      1894 -[NSApplication run]
                        1894 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
                          1894 _DPSNextEvent
                            1891 BlockUntilNextEventMatchingListInMode
                              1891 ReceiveNextEventCommon
                                1890 RunCurrentEventLoopInMode
                                  1890 CFRunLoopRunInMode
                                    1890 CFRunLoopRunSpecific
                                      1873 mach_msg
                                        1873 mach_msg_trap
                                          1873 mach_msg_trap
                                      9 __CFMachPortPerform
                                        8 PullEventsFromWindowServerOnConnection(unsigned int, unsigned char)
                                          8 CGEventCreateNextEvent
                                            8 CGSGetNextEventRecordInternal
                                              7 snarfEvents
                                                6 _CGSGetPortStreamInline
                                                  6 mach_msg
                                                    6 mach_msg_trap
                                                      6 mach_msg_trap
                                                1 CGSDispatchDatagramsFromStream
                                                  1 CGSDecodeEventRecord
                                                    1 CGEventCreateFromDataAndSource
                                                      1 CGEventCreateFromDataAndSource
                                              1 _CGSConnectionByID
                                                1 _CGSConnectionByID
                                        1 MessageHandler(__CFMachPort*, void*, long, void*)
                                          1 GetEventMonitorConnection
                                            1 GetEventMonitorConnection
                                      3 0xffffffff
                                        3 _sigtramp
                                          3 _sigtramp
                                      2 __CFRunLoopDoObservers
                                        2 _handleWindowsNeedUpdateNote
                                          1 -[NSApplication updateWindows]
                                            1 -[NSNotificationCenter postNotificationName:object:]
                                              1 -[NSNotificationCenter postNotificationName:object:userInfo:]
                                                1 _CFXNotificationPostNotification
                                                  1 __CFXNotificationPost
                                                    1 CFDictionaryGetValue
                                                      1 __CFDictionaryFindBuckets1b
                                                        1 __CFDictionaryFindBuckets1b
                                          1 CFRunLoopRemoveObserver
                                            1 CFSetRemoveValue
                                              1 CFSetRemoveValue
                                      2 __CFRunLoopTimerRescheduleWithAllModes
                                        2 mk_timer_arm
                                          2 mk_timer_arm
                                      1 __CFRunLoopModeFindSourceForMachPort
                                        1 CFSetApplyFunction
                                          1 __CFRunLoopFindSource
                                            1 __CFMachPortGetPort
                                              1 __CFMachPortGetPort
                                1 GetCurrentEventQueue
                                  1 MPTaskIsPreemptive
                                    1 ThreadIsCooperative
                                      1 TSLockMutex
                                        1 pthread_mutex_lock
                                          1 pthread_mutex_lock
                            3 SendEventToEventTarget
                              3 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*)
                                3 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*)
                                  3 ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)
                                    3 FindWindowAndPartFromMouseEvent
                                      3 FindWindow
                                        3 FindWindowOfClass
                                          3 FindWindowCommon(Point, OpaqueWindowPtr**, short*)
                                            3 FindPlatformWindow
                                              3 CGSFindWindowAndOwner
                                                3 _CGSFindWindow
                                                  3 mach_msg
                                                    3 mach_msg_trap
                                                      3 mach_msg_trap
    1894 Thread_2603
      1894 thread_start
        1894 _pthread_start
          1894 CAPThread::Entry(CAPThread*)
            1894 HALRunLoop::OwnThread(void*)
              1894 CFRunLoopRunInMode
                1894 CFRunLoopRunSpecific
                  1894 mach_msg
                    1894 mach_msg_trap
                      1894 mach_msg_trap
    1894 Thread_2703
      1894 thread_start
        1894 _pthread_start
          1894 server_thread
            1894 dix_main
              1894 Dispatch
                1891 select$DARWIN_EXTSN
                  1891 select$DARWIN_EXTSN
                3 WaitForSomething
                  2 WaitForSomething
                  1 BlockHandler
                    1 RootlessRedisplayScreen
                      1 RootlessRedisplay
                        1 RootlessStopDrawing
                          1 xp_unlock_window
                            1 _xp_unlock_window_cb
                              1 _CGSFlushWindowRegion
                                1 _CGSFlushRegionInline
                                  1 mach_msg
                                    1 mach_msg_trap
                                      1 mach_msg_trap
    1894 Thread_2803
      1894 thread_start
        1894 _pthread_start
          1894 _xp_async_thread
            1894 _xp_async_dequeue
              1894 pthread_cond_wait$UNIX2003
                1894 __semwait_signal
                  1894 __semwait_signal

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

Sort by top of stack, same collapsed (when >= 5):
        mach_msg_trap        3777
        __semwait_signal        1894
        select$DARWIN_EXTSN        1891
Sample analysis of process 10099 written to file /dev/stdout
Sampling process 10130 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling quartz-wm (pid 10130) every 1 millisecond
Call graph:
    2295 Thread_2503
      2295 start
        2295 main
          2295 CFRunLoopRun
            2295 CFRunLoopRunSpecific
              2295 mach_msg
                2295 mach_msg_trap
                  2295 mach_msg_trap
    2295 Thread_2603
      2295 thread_start
        2295 _pthread_start
          2295 select$DARWIN_EXTSN
            2295 select$DARWIN_EXTSN

Total number in stack (recursive counted multiple, when >=5):

Sort by top of stack, same collapsed (when >= 5):
        mach_msg_trap        2295
        select$DARWIN_EXTSN        2295
Sample analysis of process 10130 written to file /dev/stdout
Sampling process 13385 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling urxvt (pid 13385) every 1 millisecond
Call graph:
    2386 Thread_2503
      2386 start
        2386 main
          2386 ev_loop
            2386 call_pending
              2386 void ev::base<ev_timer, ev::timer>::method_thunk<rxvt_term, &(rxvt_term::flush_cb(ev::timer&, int))>(ev_timer*, int)
                2386 rxvt_term::flush()
                  2386 rxvt_term::scr_refresh()
                    2386 rxvt_font_x11::draw(rxvt_drawable&, int, int, unsigned int const*, int, int, int)
                      2386 XDrawImageString
                        2386 _XFlushInt
                          2386 _XWaitForWritable
                            2386 _XAsyncReply
                              2386 _XRead
                                2386 poll$UNIX2003
                                  2386 poll$UNIX2003

Total number in stack (recursive counted multiple, when >=5):

Sort by top of stack, same collapsed (when >= 5):
        poll$UNIX2003        2386
Sample analysis of process 13385 written to file /dev/stdout
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden

References: 
 >Regular urxvt hangs, Emacs crashes (From: Gavin Panella <email@hidden>)
 >Re: Regular urxvt hangs, Emacs crashes (From: Jeremy Huddleston <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.