[Xquartz-dev] 2.3.2_rc5 quitting and restarting

John Koren jpkoren at gmail.com
Tue Dec 30 22:21:41 PST 2008


> I need a sample of X11 in this hung state you mention and log snippets of it
> failing to start and throttle.

The activity monitor says in red that X11 and quartz-wm  are not responding.

Here is the sample:

Sampling process 547 for 3 seconds with 1 millisecond of run time
between samples
Sampling completed, processing symbols...
Analysis of sampling X11.bin (pid 547) every 1 millisecond
Call graph:
    1816 Thread_2503
      1746 0xbffff5f0
        1746 start
          1746 main
            1746 mach_msg_server
              1746 mach_startup_server
                1746 _Xstart_x11_server
                  1746 do_start_x11_server
                    1746 server_main
                      1746 X11ApplicationMain
                        1746 xpbproxy_init
                          1746 XOpenDisplay
                            1746 _XRead
                              1746 _XWaitForReadable
                                1737 poll$UNIX2003
                                  1737 poll$UNIX2003
                                9 cerror
                                  8 cerror
                                  1 cthread_set_errno_self
                                    1 dyld_stub___error
                                      1 dyld_stub___error
      70 _XWaitForReadable
        70 _sigtramp
          70 _sigtramp
    1816 Thread_2603
      1816 _pthread_start
        1816 CAPThread::Entry(CAPThread*)
          1816 HALRunLoop::OwnThread(void*)
            1816 CFRunLoopRunSpecific
              1816 mach_msg
                1816 mach_msg_trap
                  1816 mach_msg_trap
    1816 Thread_2703
      1816 _pthread_start
        1816 __ape_agent
          1816 mach_msg
            1816 mach_msg_trap
              1816 mach_msg_trap
    1816 Thread_2803
      1816 _pthread_start
        1816 server_thread
          1816 dix_main
            1816 Dispatch
              1816 ProcAppleWMDispatch
                1816 X11ApplicationSetCanQuit
                  1816 message_kit_thread
                    1816 mach_msg
                      1816 mach_msg_trap
                        1816 mach_msg_trap
    1816 Thread_2903
      1816 _pthread_start
        1816 glcDebugListener
          1816 mach_msg
            1816 mach_msg_trap
              1816 mach_msg_trap
    1816 Thread_2a03
      1816 _pthread_start
        1816 glvmDoWork
          1816 _pthread_cond_wait
            1816 __semwait_signal
              1816 __semwait_signal
    1816 Thread_2b03
      1816 _pthread_start
        1816 DarwinProcessFDAdditionQueue_thread
          1816 _pthread_cond_wait
            1816 __semwait_signal
              1816 __semwait_signal
    1816 Thread_2c03
      1816 _pthread_start
        1816 _xp_async_thread
          1816 _xp_async_dequeue
            1816 _pthread_cond_wait
              1816 __semwait_signal
                1816 __semwait_signal

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

Sort by top of stack, same collapsed (when >= 5):
        mach_msg_trap        7264
        __semwait_signal        5448
        poll$UNIX2003        1737
        _sigtramp        70
        cerror        8
Sample analysis of process 547 written to file /dev/stdout


Console:
12/30/08 10:07:09 PM [0x0-0x2d02d].org.x.X11[340] Quitting Xquartz...
12/30/08 10:07:09 PM org.x.startx[363] X connection to :0.0 broken
(explicit kill or server shutdown).
12/30/08 10:07:09 PM [0x0-0x2d02d].org.x.X11[340] Quitting Xquartz...
12/30/08 10:07:09 PM org.x.startx[363] X connection to :0.0 broken
(explicit kill or server shutdown).
12/30/08 10:07:09 PM org.x.startx[363] Xquartz: start_x11_server:
(ipc/mig) server died
12/30/08 10:07:09 PM org.x.startx[363] /usr/X11/bin/xinit:  connection
to X server lost.
12/30/08 10:07:09 PM org.x.startx[363] /usr/X11/bin/xinit:  Operation
not permitted (errno 1):  can't send HUP to process group 425

12/30/08 10:07:20 PM [0x0-0x2f02f].org.x.X11[547] X11.app: main(): argc=2
12/30/08 10:07:20 PM [0x0-0x2f02f].org.x.X11[547]  argv[0] =
/Applications/Utilities/X11.app/Contents/MacOS/X11.bin
12/30/08 10:07:20 PM [0x0-0x2f02f].org.x.X11[547]  argv[1] = -psn_0_192559
12/30/08 10:07:20 PM [0x0-0x2f02f].org.x.X11[547] Waiting for startup
parameters via Mach IPC.
12/30/08 10:07:21 PM org.x.startx[570] font_cache: Scanning user font
directories to generate X11 font caches
12/30/08 10:07:21 PM org.x.privileged_startx[375] font_cache: Scanning
system font directories to generate X11 font caches
12/30/08 10:07:21 PM org.x.startx[570] font_cache: Updating FC cache
12/30/08 10:07:21 PM defaults[598]
The domain/default pair of (org.x.X11, dpi) does not exist

12/30/08 10:07:21 PM org.x.startx[570] xauth:  creating new authority
file /Users/jkor/.serverauth.570
12/30/08 10:07:21 PM [0x0-0x2f02f].org.x.X11[547] X11.app: Listening
on socket for fd handoff:  (3) /var/tmp/tmp.0.y1dyi0
12/30/08 10:07:21 PM [0x0-0x2f02f].org.x.X11[547] X11.app: Thread
created for handoff.  Returning success to tell caller to connect and
push the fd.
12/30/08 10:07:21 PM org.x.startx[570] Xquartz: Handoff connection
established (try 1 of 5) on fd 4, "/var/tmp/tmp.0.y1dyi0".  Sending
message.
12/30/08 10:07:21 PM org.x.startx[570] Xquartz: Message sent.  Closing
handoff fd.
12/30/08 10:07:21 PM [0x0-0x2f02f].org.x.X11[547] X11.app:
do_start_x11_server(): argc=4
12/30/08 10:07:21 PM [0x0-0x2f02f].org.x.X11[547]  argv[0] = /usr/X11/bin/X
12/30/08 10:07:21 PM [0x0-0x2f02f].org.x.X11[547]  argv[1] = :0
12/30/08 10:07:21 PM [0x0-0x2f02f].org.x.X11[547]  argv[2] = -auth
12/30/08 10:07:21 PM [0x0-0x2f02f].org.x.X11[547]  argv[3] =
/Users/jkor/.serverauth.570
12/30/08 10:07:21 PM [0x0-0x2f02f].org.x.X11[547] X11.app: Received
new $DISPLAY fd: 7 ... sleeping to allow xinitrc to catchup.
12/30/08 10:07:22 PM [0x0-0x2f02f].org.x.X11[547]
InitConnectionLimits: MaxClients = 255
12/30/08 10:07:22 PM [0x0-0x2f02f].org.x.X11[547] Xquartz starting:
12/30/08 10:07:22 PM [0x0-0x2f02f].org.x.X11[547] X.Org X Server 1.4.2-apple30
12/30/08 10:07:22 PM [0x0-0x2f02f].org.x.X11[547] Build Date: 20081229
12/30/08 10:07:22 PM [0x0-0x2f02f].org.x.X11[547] Sync Extension 3.0
12/30/08 10:07:22 PM [0x0-0x2f02f].org.x.X11[547] (EE) XKB: Couldn't
open rules file /usr/X11/share/X11/xkb/rules/base
12/30/08 10:07:22 PM [0x0-0x2f02f].org.x.X11[547] (dix) initialising device 0
12/30/08 10:07:22 PM [0x0-0x2f02f].org.x.X11[547] (dix) initialising device 1
12/30/08 10:07:22 PM [0x0-0x2f02f].org.x.X11[547] (dix) initialising device 2
12/30/08 10:07:22 PM [0x0-0x2f02f].org.x.X11[547] (EE) XKB: Couldn't
open rules file /usr/X11/share/X11/xkb/rules/base
12/30/08 10:07:22 PM [0x0-0x2f02f].org.x.X11[547] (dix) initialising device 3
12/30/08 10:07:22 PM [0x0-0x2f02f].org.x.X11[547] (dix) initialising device 4
12/30/08 10:07:22 PM [0x0-0x2f02f].org.x.X11[547] (dix) initialising device 5
12/30/08 10:07:22 PM [0x0-0x2f02f].org.x.X11[547] (dix) initialising device 6
12/30/08 10:07:22 PM [0x0-0x2f02f].org.x.X11[547] (dix) enabling device 0
12/30/08 10:07:22 PM [0x0-0x2f02f].org.x.X11[547] (dix) enabling device 1
12/30/08 10:07:22 PM [0x0-0x2f02f].org.x.X11[547] (dix) enabling device 2
12/30/08 10:07:22 PM [0x0-0x2f02f].org.x.X11[547] (dix) enabling device 3
12/30/08 10:07:22 PM [0x0-0x2f02f].org.x.X11[547] (dix) enabling device 4
12/30/08 10:07:22 PM [0x0-0x2f02f].org.x.X11[547] (dix) enabling device 5
12/30/08 10:07:22 PM [0x0-0x2f02f].org.x.X11[547] (dix) enabling device 6
12/30/08 10:07:23 PM org.x.startx[570] font_cache: Done
12/30/08 10:07:23 PM org.x.privileged_startx[375] font_cache: Updating FC cache
12/30/08 10:07:23 PM [0x0-0x2f02f].org.x.X11[547] AllocNewConnection:
client index = 1, socket fd = 10
12/30/08 10:07:23 PM [0x0-0x2f02f].org.x.X11[547] AllocNewConnection:
client index = 2, socket fd = 11
12/30/08 10:07:23 PM [0x0-0x2f02f].org.x.X11[547] AllocNewConnection:
client index = 3, socket fd = 12
12/30/08 10:07:24 PM [0x0-0x2f02f].org.x.X11[547] AllocNewConnection:
client index = 3, socket fd = 12
12/30/08 10:07:24 PM [0x0-0x2f02f].org.x.X11[547] X11.app Handing off
fd to server thread via DarwinListenOnOpenFD(7)
12/30/08 10:07:24 PM [0x0-0x2f02f].org.x.X11[547] DarwinListenOnOpenFD: 7
12/30/08 10:07:25 PM org.x.privileged_startx[375] font_cache: Done


More information about the Xquartz-dev mailing list