[Xquartz-dev] 2.3.2_rc5 quitting and restarting
John Koren
jpkoren at gmail.com
Wed Dec 31 13:07:15 PST 2008
No this is not hung. This is the state before I quit X11.app. It does
not enter a hung state until I restart it again. -John
On Wed, Dec 31, 2008 at 12:58 PM, Jeremy Huddleston <jeremyhu at apple.com> wrote:
> Are you sure that's hung? It doesn't look hung. Every thread looks like
> it's in its idle state. AppKit is waiting for an an event in its event
> loop. The server thread is in WaitForSomething in Dispatch (which means
> it's idle and not seeing anything to respond to). pbproxy is idle as well
> waiting for an event from the server thread...
>
> What hapens if you run a client in this state? Does OSX actually say the
> server is not responding? What makes you think this process is hung?
>
>
> On Dec 31, 2008, at 12:45, John Koren wrote:
>
>>> Can you please give a sample of the application in its hung state before
>>> trying to exit X11.app. The sample from John shows the application is in
>>> a
>>> hung state while trying to exit during the start procedure. It would be
>>> better to see a sample of the process BEFORE you tried to do quit it.
>>>
>>
>> Here it is -John
>>
>> Sampling process 275 for 3 seconds with 1 millisecond of run time
>> between samples
>> Sampling completed, processing symbols...
>> Analysis of sampling X11.bin (pid 275) every 1 millisecond
>> Call graph:
>> 1971 Thread_2503
>> 1971 0xbffff5f0
>> 1971 start
>> 1971 main
>> 1971 mach_msg_server
>> 1971 mach_startup_server
>> 1971 _Xstart_x11_server
>> 1971 do_start_x11_server
>> 1971 server_main
>> 1971 X11ApplicationMain
>> 1971 -[NSApplication run]
>> 1971 -[NSApplication
>> nextEventMatchingMask:untilDate:inMode:dequeue:]
>> 1971 _DPSNextEvent
>> 1971 BlockUntilNextEventMatchingListInMode
>> 1971 ReceiveNextEventCommon
>> 1971 RunCurrentEventLoopInMode
>> 1971 CFRunLoopRunSpecific
>> 1971 mach_msg
>> 1971 mach_msg_trap
>> 1971 mach_msg_trap
>> 1971 Thread_2603
>> 1971 _pthread_start
>> 1971 CAPThread::Entry(CAPThread*)
>> 1971 HALRunLoop::OwnThread(void*)
>> 1971 CFRunLoopRunSpecific
>> 1971 mach_msg
>> 1971 mach_msg_trap
>> 1971 mach_msg_trap
>> 1971 Thread_2703
>> 1971 _pthread_start
>> 1971 __ape_agent
>> 1971 mach_msg
>> 1971 mach_msg_trap
>> 1971 mach_msg_trap
>> 1971 Thread_2803
>> 1971 _pthread_start
>> 1971 server_thread
>> 1971 dix_main
>> 1971 Dispatch
>> 1971 WaitForSomething
>> 1971 select$DARWIN_EXTSN
>> 1971 select$DARWIN_EXTSN
>> 1971 Thread_2903
>> 1971 _pthread_start
>> 1971 glcDebugListener
>> 1971 mach_msg
>> 1971 mach_msg_trap
>> 1971 mach_msg_trap
>> 1971 Thread_2a03
>> 1971 _pthread_start
>> 1971 glvmDoWork
>> 1971 _pthread_cond_wait
>> 1971 __semwait_signal
>> 1971 __semwait_signal
>> 1971 Thread_2b03
>> 1971 _pthread_start
>> 1971 DarwinProcessFDAdditionQueue_thread
>> 1971 _pthread_cond_wait
>> 1971 __semwait_signal
>> 1971 __semwait_signal
>> 1971 Thread_2c03
>> 1971 _pthread_start
>> 1971 xpbproxy_input_thread
>> 1971 _pthread_cond_wait
>> 1971 __semwait_signal
>> 1971 __semwait_signal
>> 1971 Thread_2d03
>> 1971 __CFSocketManager
>> 1971 select$DARWIN_EXTSN
>> 1971 select$DARWIN_EXTSN
>> 1971 Thread_2e03
>> 1971 _pthread_start
>> 1971 _xp_async_thread
>> 1971 _xp_async_dequeue
>> 1971 _pthread_cond_wait
>> 1971 __semwait_signal
>> 1971 __semwait_signal
>>
>> Total number in stack (recursive counted multiple, when >=5):
>> 8 _pthread_start
>>
>> Sort by top of stack, same collapsed (when >= 5):
>> __semwait_signal 7884
>> mach_msg_trap 7884
>> select$DARWIN_EXTSN 3942
>> Sample analysis of process 275 written to file /dev/stdout
>>
>>
>>
>>
>> Console:
>>
>> 12/31/08 12:07:30 PM [0x0-0x1d01d].org.x.X11[275] X11.app: main(): argc=2
>> 12/31/08 12:07:30 PM [0x0-0x1d01d].org.x.X11[275] argv[0] =
>> /Applications/Utilities/X11.app/Contents/MacOS/X11.bin
>> 12/31/08 12:07:30 PM [0x0-0x1d01d].org.x.X11[275] argv[1] = -psn_0_118813
>> 12/31/08 12:07:30 PM [0x0-0x1d01d].org.x.X11[275] Waiting for startup
>> parameters via Mach IPC.
>> 12/31/08 12:07:31 PM org.x.startx[298] font_cache: Scanning user font
>> directories to generate X11 font caches
>> 12/31/08 12:07:31 PM org.x.startx[298] font_cache: Updating FC cache
>> 12/31/08 12:07:31 PM org.x.privileged_startx[314] font_cache: Scanning
>> system font directories to generate X11 font caches
>> 12/31/08 12:07:31 PM defaults[334]
>> The domain/default pair of (org.x.X11, dpi) does not exist
>>
>> 12/31/08 12:07:32 PM org.x.startx[298] xauth: creating new authority
>> file /Users/jkor/.serverauth.298
>> 12/31/08 12:07:32 PM [0x0-0x1d01d].org.x.X11[275] X11.app: Listening
>> on socket for fd handoff: (3) /var/tmp/tmp.0.6cmj73
>> 12/31/08 12:07:32 PM [0x0-0x1d01d].org.x.X11[275] X11.app: Thread
>> created for handoff. Returning success to tell caller to connect and
>> push the fd.
>> 12/31/08 12:07:32 PM org.x.startx[298] Xquartz: Handoff connection
>> established (try 1 of 5) on fd 4, "/var/tmp/tmp.0.6cmj73". Sending
>> message.
>> 12/31/08 12:07:32 PM org.x.startx[298] Xquartz: Message sent. Closing
>> handoff fd.
>> 12/31/08 12:07:32 PM [0x0-0x1d01d].org.x.X11[275] X11.app: Received
>> new $DISPLAY fd: 5 ... sleeping to allow xinitrc to catchup.
>> 12/31/08 12:07:32 PM [0x0-0x1d01d].org.x.X11[275] X11.app:
>> do_start_x11_server(): argc=4
>> 12/31/08 12:07:32 PM [0x0-0x1d01d].org.x.X11[275] argv[0] =
>> /usr/X11/bin/X
>> 12/31/08 12:07:32 PM [0x0-0x1d01d].org.x.X11[275] argv[1] = :0
>> 12/31/08 12:07:32 PM [0x0-0x1d01d].org.x.X11[275] argv[2] = -auth
>> 12/31/08 12:07:32 PM [0x0-0x1d01d].org.x.X11[275] argv[3] =
>> /Users/jkor/.serverauth.298
>> 12/31/08 12:07:33 PM [0x0-0x1d01d].org.x.X11[275]
>> InitConnectionLimits: MaxClients = 255
>> 12/31/08 12:07:33 PM [0x0-0x1d01d].org.x.X11[275] Xquartz starting:
>> 12/31/08 12:07:33 PM [0x0-0x1d01d].org.x.X11[275] X.Org X Server
>> 1.4.2-apple30
>> 12/31/08 12:07:33 PM [0x0-0x1d01d].org.x.X11[275] Build Date: 20081229
>> 12/31/08 12:07:33 PM [0x0-0x1d01d].org.x.X11[275] Sync Extension 3.0
>> 12/31/08 12:07:33 PM [0x0-0x1d01d].org.x.X11[275] (EE) XKB: Couldn't
>> open rules file /usr/X11/share/X11/xkb/rules/base
>> 12/31/08 12:07:33 PM [0x0-0x1d01d].org.x.X11[275] (dix) initialising
>> device 0
>> 12/31/08 12:07:33 PM [0x0-0x1d01d].org.x.X11[275] (dix) initialising
>> device 1
>> 12/31/08 12:07:33 PM [0x0-0x1d01d].org.x.X11[275] (dix) initialising
>> device 2
>> 12/31/08 12:07:33 PM [0x0-0x1d01d].org.x.X11[275] (EE) XKB: Couldn't
>> open rules file /usr/X11/share/X11/xkb/rules/base
>> 12/31/08 12:07:33 PM [0x0-0x1d01d].org.x.X11[275] (dix) initialising
>> device 3
>> 12/31/08 12:07:33 PM [0x0-0x1d01d].org.x.X11[275] (dix) initialising
>> device 4
>> 12/31/08 12:07:33 PM [0x0-0x1d01d].org.x.X11[275] (dix) initialising
>> device 5
>> 12/31/08 12:07:33 PM [0x0-0x1d01d].org.x.X11[275] (dix) initialising
>> device 6
>> 12/31/08 12:07:33 PM [0x0-0x1d01d].org.x.X11[275] (dix) enabling device 0
>> 12/31/08 12:07:33 PM [0x0-0x1d01d].org.x.X11[275] (dix) enabling device 1
>> 12/31/08 12:07:33 PM [0x0-0x1d01d].org.x.X11[275] (dix) enabling device 2
>> 12/31/08 12:07:33 PM [0x0-0x1d01d].org.x.X11[275] (dix) enabling device 3
>> 12/31/08 12:07:33 PM [0x0-0x1d01d].org.x.X11[275] (dix) enabling device 4
>> 12/31/08 12:07:33 PM [0x0-0x1d01d].org.x.X11[275] (dix) enabling device 5
>> 12/31/08 12:07:33 PM [0x0-0x1d01d].org.x.X11[275] (dix) enabling device 6
>> 12/31/08 12:07:34 PM org.x.startx[298] font_cache: Done
>> 12/31/08 12:07:34 PM [0x0-0x1d01d].org.x.X11[275] AllocNewConnection:
>> client index = 1, socket fd = 10
>> 12/31/08 12:07:35 PM [0x0-0x1d01d].org.x.X11[275] AllocNewConnection:
>> client index = 2, socket fd = 11
>> 12/31/08 12:07:35 PM [0x0-0x1d01d].org.x.X11[275] AllocNewConnection:
>> client index = 3, socket fd = 12
>> 12/31/08 12:07:35 PM [0x0-0x1d01d].org.x.X11[275] X11.app Handing off
>> fd to server thread via DarwinListenOnOpenFD(5)
>> 12/31/08 12:07:35 PM [0x0-0x1d01d].org.x.X11[275] DarwinListenOnOpenFD: 5
>> 12/31/08 12:07:35 PM [0x0-0x1d01d].org.x.X11[275] Calling
>> ListenOnOpenFD() for new fd: 5
>> 12/31/08 12:07:35 PM [0x0-0x1d01d].org.x.X11[275] AllocNewConnection:
>> client index = 3, socket fd = 12
>> 12/31/08 12:07:35 PM [0x0-0x1d01d].org.x.X11[275] AllocNewConnection:
>> client index = 4, socket fd = 13
>> 12/31/08 12:07:35 PM [0x0-0x1d01d].org.x.X11[275] X11.app: Launching
>> /usr/bin/true:
>> 12/31/08 12:07:35 PM [0x0-0x1d01d].org.x.X11[275] argv[0] = /bin/tcsh
>> 12/31/08 12:07:35 PM [0x0-0x1d01d].org.x.X11[275] argv[1] = -c
>> 12/31/08 12:07:35 PM [0x0-0x1d01d].org.x.X11[275] argv[2] = /usr/bin/true
>> 12/31/08 12:07:36 PM [0x0-0x1d01d].org.x.X11[275] AllocNewConnection:
>> client index = 3, socket fd = 15
>> 12/31/08 12:07:36 PM org.x.privileged_startx[314] font_cache: Updating FC
>> cache
>> 12/31/08 12:07:38 PM org.x.privileged_startx[314] font_cache: Done
>> 12/31/08 12:07:38 PM org.x.privileged_startx[314] font_cache: Done
>> _______________________________________________
>> Xquartz-dev mailing list
>> Xquartz-dev at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
>
> _______________________________________________
> Xquartz-dev mailing list
> Xquartz-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
>
More information about the Xquartz-dev
mailing list