Bug 96662 - XQuartz changed startx locations, needs to request user logout
Summary: XQuartz changed startx locations, needs to request user logout
Status: RESOLVED FIXED
Alias: None
Product: XQuartz
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: development (betas, rcs, git)
Hardware: x86-64 (AMD64) Mac OS X (All)
: medium blocker
Assignee: Jeremy Huddleston Sequoia
QA Contact: Jeremy Huddleston Sequoia
URL:
Whiteboard: milestone:xquartz-2.7.10
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-24 00:11 UTC by woods-logins-for-bug-reporting-are-stupid-and-counter-productive
Modified: 2017-03-10 08:38 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description woods-logins-for-bug-reporting-are-stupid-and-counter-productive 2016-06-24 00:11:11 UTC
XQuartz 2.7.10_beta2 does not start on OSX 10.9.5

The dock icon bounces for a while, and an Xquartz.app and X11.bin and xterm processes start, but the menu bar does not change, and it is impossible to find or access the app or any of its windows.


XQuartz 2.7.9 continues to work fine.


Note I have it configured to run in full-screen mode.
Comment 1 Jeremy Huddleston Sequoia 2016-06-24 00:27:24 UTC
Do you have any more information?  Do you have any crash reports or logging?
Comment 2 woods-logins-for-bug-reporting-are-stupid-and-counter-productive 2016-06-24 02:30:43 UTC
OK, one more install to try it out for you.

This time the xterm processes didn't start.  The dock icon eventually stops bouncing.

This is all that appears in the system log which might possibly be related (content free error messages aren't much help are they -- what binary didn't exec?  what file was not found?), but then again these lines don't always show up:

Jun 23 19:00:18 lithium com.apple.launchd.peruser.501[203] (org.macosforge.xquartz.startx[17014]): Job failed to exec(3). Setting up event to tell us when to try again: 2: No such file or directory
Jun 23 19:00:18 lithium com.apple.launchd.peruser.501[203] (org.macosforge.xquartz.startx[17014]): Job failed to exec(3) for weird reason: 2


The virtual size of the processes is stupidly large:

  UID   PID  PPID CPU PRI NI      VSZ    RSS WCHAN  STAT   TT       TIME COMMAND
  501 16942   203   0  33  0 21477337372  23996 -      S      ??    0:00.36 /Applications/Utilities/XQuartz.app/Contents/MacOS/X11.bin
  501 17013     1   0  31  0 21477338520   1076 -      S      ??    0:00.00 /Applications/Utilities/XQuartz.app/Contents/MacOS/X11.bin

This shows up after sending SIGTERM to both those processes:

Jun 23 19:16:42 lithium com.apple.launchd.peruser.501[203] (org.macosforge.xquartz.X11.46848[16942]): Exited: Terminated: 15

(I don't know what signal Activity Monitor sends when you "quit" something, but it won't "quit" the X11.bin process that shows up as "XQuartz", i.e. the one that uses some CPU, but on "Force Quit" it sends SIGTERM as the same log message appears.)

Nothing new shows up in ~/Library/Logs/X11.  (old logs from 2.7.9 are there though)




(BTW, the installer completely bogarts the time estimate while it is running fc-cache, which takes nearly 5.5 CPU minutes (and even longer on the wall clock of course) on my quad-core MacBook Air.  It should say "This will take a while!" instead of "About a minute".)
Comment 3 Jeremy Huddleston Sequoia 2016-06-24 02:39:29 UTC
Setting up event to tell us when to try again: 2: No such file or directory

That means that the launchd job couldn't spawn.  Why was that?  Take a look at the output of 'launchctl list org.macosforge.xquartz.startx'.  What is it?  It should be executing /opt/X11/libexec/launchd_startx.  Does /opt/X11/libexec/launchd_startx not exist on your system for some reason?
Comment 4 Jeremy Huddleston Sequoia 2016-06-24 02:41:14 UTC
As for the "about a minute" ... yeah, I have no idea how to tell the package how to adjust that language.  It's not something that we set.
Comment 5 woods-logins-for-bug-reporting-are-stupid-and-counter-productive 2016-06-24 02:45:35 UTC
# launchctl list org.macosforge.xquartz.startx
launchctl list returned unknown response
Comment 6 woods-logins-for-bug-reporting-are-stupid-and-counter-productive 2016-06-24 02:46:47 UTC
oops, sorry I've already reinstalled 2.7.9, so that may not be correct
Comment 7 woods-logins-for-bug-reporting-are-stupid-and-counter-productive 2016-06-24 03:00:01 UTC
Well, lauchctl still says the same thing after re-installing the beta, again.

# launchctl list org.macosforge.xquartz.startx
launchctl list returned unknown response


The startx binaries appear OK though:

# ll /opt/X11/libexec/                        
total 424
55914296 168 -rwxr-xr-x  1 root  wheel   83728 May 31 02:42 launchd_startx
55914297 256 -rwxr-xr-x  1 root  wheel  129360 May 31 02:42 privileged_startx
# file /opt/X11/libexec/*
/opt/X11/libexec/launchd_startx:    Mach-O universal binary with 2 architectures
/opt/X11/libexec/launchd_startx (for architecture i386):        Mach-O executable i386
/opt/X11/libexec/launchd_startx (for architecture x86_64):      Mach-O 64-bit executable x86_64
/opt/X11/libexec/privileged_startx: Mach-O universal binary with 2 architectures
/opt/X11/libexec/privileged_startx (for architecture i386):     Mach-O executable i386
/opt/X11/libexec/privileged_startx (for architecture x86_64):   Mach-O 64-bit executable x86_64
Comment 8 woods-logins-for-bug-reporting-are-stupid-and-counter-productive 2016-06-24 03:01:27 UTC
a plain "launchctl list" gave me a hint:

# launchctl list org.macosforge.xquartz.privileged_startx   
{
        "Label" = "org.macosforge.xquartz.privileged_startx";
        "LimitLoadToSessionType" = "System";
        "OnDemand" = true;
        "LastExitStatus" = 0;
        "TimeOut" = 120;
        "ProgramArguments" = (
                "/opt/X11/libexec/privileged_startx";
                "-d";
                "/opt/X11/lib/X11/xinit/privileged_startx.d";
        );
        "EnableTransactions" = true;
        "MachServices" = {
                "org.macosforge.xquartz.privileged_startx" = mach-port-object;
        };
};
Comment 9 Jeremy Huddleston Sequoia 2016-06-24 03:04:36 UTC
Uh... are you trying to run as root?
Comment 10 woods-logins-for-bug-reporting-are-stupid-and-counter-productive 2016-06-24 04:45:51 UTC
No, why would you think that I was trying to run it as root?  Like I said, I just click on the dock icon to start Xquartz, the same as I always have on several different machines.

I never start it from the command line.  I never start any X11 commands independently before starting the server.  I always run it in full-screen mode.

My terminal shell is running as root of course, but that's just for poking around looking at log files, etc.
Comment 11 Jeremy Huddleston Sequoia 2016-06-24 05:41:19 UTC
(In reply to woods-logins-for-bug-reporting-are-stupid-and-counter-productive from comment #10)
> No, why would you think that I was trying to run it as root? 

Because of 2 reasons:
 1) when you run 'launchctl list ...' it is accessing the system session.  That should only be the case if you're running as root.

 2) Your prompt is a # rather than a $

> Like I said, I
> just click on the dock icon to start Xquartz, the same as I always have on
> several different machines.

Are you running *launchctl* as root?  You should be running it as the same user you're trying to launch XQuartz as.


> I never start it from the command line.  I never start any X11 commands
> independently before starting the server.  I always run it in full-screen
> mode.
> 
> My terminal shell is running as root of course

Why "of course"?  The assumption would be the exact opposite.  It's never advised to use a root shell.

> , but that's just for poking
> around looking at log files, etc.

You don't need to be root to do that.
Comment 12 Jeremy Huddleston Sequoia 2016-06-24 05:41:58 UTC
So yes, please respond to my earlier question regarding the output of 'launchctl list org.macosforge.xquartz.startx' when run as the same user that is trying to launch XQuartz.
Comment 13 woods-logins-for-bug-reporting-are-stupid-and-counter-productive 2016-06-24 06:15:04 UTC
Sorry, it's too late today -- I've got to do real work with that machine and I need a working X11 install on it, so I've gone back to 2.7.9.

If I get bored tomorrow and I don't have too many things open and running on it at some point then I'll try an upgrade to the beta again.

I've been root on unix systems for more than 30 years now, and on more systems and more types of systems than I can ever hope to count -- I always poke about with full privs when I'm debugging stuff that's been installed for all users.  I explicitly showed the '#' prompt on purpose to help it be clear I was using a root shell for poking about.

However I'm no fan of launchd (nor any of its even poorer cousins on other systems of course) -- I had no idea its control command worked differently for different users or that it was even useful for non-root users to run it.  There's no room in my brain any more for this kind of non-unixy thing.  Where's the config file?  :-)

Here's what launchctl says for 2.7.9, run as my normal user-id:

$ launchctl list org.macosforge.xquartz.startx
{
        "Label" = "org.macosforge.xquartz.startx";
        "LimitLoadToSessionType" = "Aqua";
        "OnDemand" = true;
        "LastExitStatus" = 512;
        "PID" = 18648;
        "TimeOut" = 30;
        "ProgramArguments" = (
                "/opt/X11/lib/X11/xinit/launchd_startx";
                "/opt/X11/bin/startx";
                "--";
                "/opt/X11/bin/Xquartz";
        );
        "EnableTransactions" = true;
        "Sockets" = {
                "org.macosforge.xquartz:0" = (
                        file-descriptor-object;
                );
        };
};



This bug would seem like it's trivial to reproduce though:

- Take a 10.9.5 system.

- install XQuartz 2.7.9

- configure it for full-screen use with multiple "Spaces" on the desktop, and keep the Xquartz icon in the dock.  (I can send my "defaults read" output if you need it)

- install 2.7.10_beta2 to upgrade

- click on the dock icon to try and start it again



BTW, the xterms I mentioned that I thought had started after the first time I tried to upgrade were not from the new upgrade -- they were being displayed on another system, so not related at all.  I use this machine both as a console and a server, in different contexts.
Comment 14 Jeremy Huddleston Sequoia 2016-06-24 09:01:52 UTC
You'll probably like launchd2 (the rewrite that shipped in Yosemite) much better as it solves that problem of different behavior when being run as root.  I hate having to go back to Mavericks and earlier systems with launchd1.

As for the config files, they're all in /Library/LaunchAgents, /Library/LaunchDaemons, /System/Library/LaunchAgents, and /System/Library/LaunchDaemons.  Check out the launchd.plist man page.

Yes, one would hope it would reproduce trivially following your steps, but it does not reproduce for me, hence why I'm trying to get data from you ;)

So from your data, you reported:

        "ProgramArguments" = (
                "/opt/X11/lib/X11/xinit/launchd_startx";
                "/opt/X11/bin/startx";
                "--";
                "/opt/X11/bin/Xquartz";
        );

But I would expect /opt/X11/libexec/launchd_startx.

What's the output of ' plutil -p /Library/LaunchAgents/org.macosforge.xquartz.startx.plist'?  I suspect it will show the expected path of /opt/X11/libexec/launchd_startx, and if you just logged out and back in, the job would reload with the correct path.

Assuming my hunch is correct, it looks like a bug in the build system having changed those paths between the versions:

    /opt/X11/libexec/launchd_startx
    /opt/X11/lib/X11/xinit/launchd_startx

I need to figure out why that happened.  Thanks for reporting.
Comment 15 woods-logins-for-bug-reporting-are-stupid-and-counter-productive 2016-07-19 23:29:16 UTC
With 2.7.9 installed and working fine I have:

$ plutil -p /Library/LaunchAgents/org.macosforge.xquartz.startx.plist
{
  "Sockets" => {
    "org.macosforge.xquartz:0" => {
      "SecureSocketWithKey" => "DISPLAY"
    }
  }
  "ProgramArguments" => [
    0 => "/opt/X11/lib/X11/xinit/launchd_startx"
    1 => "/opt/X11/bin/startx"
    2 => "--"
    3 => "/opt/X11/bin/Xquartz"
  ]
  "ServiceIPC" => 1
  "EnableTransactions" => 1
  "Label" => "org.macosforge.xquartz.startx"
}
Comment 16 douglasdd 2016-09-21 08:31:42 UTC
Similar experience:  Restarting fixed it for me
All the details in this update are from *BEFORE* the restart.
(I'll add another update tomorrow for post-restart details)

2.7.9_beta1 - Previous working version
2.7.10_rc2 - Issue started immediately after updating

Mac OS X El Capitan 10.11.6 on a MBP (Retina 15, Mid 2015), w/ Intel Iris Pro 1536 MB

I always start X from the XQuartz.app dock icon.
Now the doc icon bounces for a few minutes then stops.

but some new processes are left running:
0 $ ps -efww | egrep -i 'x11|xquartz' | egrep -v ' egrep -'
  501  2879     1   0 12:17AM ??         0:00.04 /Applications/Utilities/XQuartz.app/Contents/MacOS/X11.bin
  501  2949     1   0 12:17AM ??         0:00.00 /Applications/Utilities/XQuartz.app/Contents/MacOS/X11.bin
(several minutes later those 2 have not used any more CPU time)

The only thing appearing in Console "All Messages" is:

201609/21/ 00:18:04.000 syslogd[44]: ASL Sender Statistics
201609/21/ 00:18:14.079 iTerm2[1568]: Time to encode state for window <PseudoTerminal: 0x7fefa84597e0 tabs=1 window=<PTYWindow: 0x7fefa8627f40 frame=NSRect: {{43, 200}, {625, 677}} title=1. ddd@roc : ~ (top) alpha=1.000000 isMain=0 isKey=0 isVisible=1 delegate=0x7fefa84597e0>>: 0.001733005046844482
...(and a some more similar iTerm2 messages)...

Nothing new appears in Console "~/Library/Logs/X11/org.macosforge.xquartz.log".

0 $ ls -l $DISPLAY
srw-rw-rw-  1 ddd  wheel  0 Sep 20 23:37 /private/tmp/com.apple.launchd.AJgDjRkECK/org.macosforge.xquartz:0=
...looks like this is from about boot time (expected from launchd)

0 $ date ; uptime
Wed Sep 21 00:27:24 PDT 2016
 0:27  up 51 mins, 3 users, load averages: 1.55 1.42 1.44

Trying to start xterm from iTerm just hangs.
(Same for both /opt/X11/bin/xterm, AND /usr/X11R6/bin/xterm)

0 $ launchctl list org.macosforge.xquartz.startx
{
	"EnableTransactions" = true;
	"Sockets" = {
		"org.macosforge.xquartz:0" = (
			file-descriptor-object;
		);
	};
	"LimitLoadToSessionType" = "Aqua";
	"Label" = "org.macosforge.xquartz.startx";
	"TimeOut" = 30;
	"OnDemand" = true;
	"LastExitStatus" = 19968;
	"Program" = "/opt/X11/lib/X11/xinit/launchd_startx";
	"ProgramArguments" = (
		"/opt/X11/lib/X11/xinit/launchd_startx";
		"/opt/X11/bin/startx";
		"--";
		"/opt/X11/bin/Xquartz";
	);
};

...NOT /opt/X11/libexec/launchd_startx like you mentioned in <Comment 3>
!?!?!?

0 $ plutil -p /Library/LaunchAgents/org.macosforge.xquartz.startx.plist
{
  "Sockets" => {
    "org.macosforge.xquartz:0" => {
      "SecureSocketWithKey" => "DISPLAY"
    }
  }
  "ProgramArguments" => [
    0 => "/opt/X11/libexec/launchd_startx"
    1 => "/opt/X11/bin/startx"
    2 => "--"
    3 => "/opt/X11/bin/Xquartz"
  ]
  "ServiceIPC" => 1
  "EnableTransactions" => 1
  "Label" => "org.macosforge.xquartz.startx"
}

0 $ find /opt/X11 -type f -ls | egrep -i 'xinit|startx|xquartz' | fgrep -v /share/man/ | perl -pe 's( {6})( )g'
4355958  16 -rwxr-xr-x    1 root   wheel      8073 Sep 10 23:00 /opt/X11/bin/startx
4355996 128 -rwxr-xr-x    1 root   wheel     62640 Sep 10 23:02 /opt/X11/bin/xinit
4356021 128 -rwxr-xr-x    1 root   wheel     62784 Sep 10 23:02 /opt/X11/bin/Xquartz
4357462   8 -rwxr-xr-x    1 root   wheel      2263 Sep 10 23:00 /opt/X11/lib/X11/xinit/privileged_startx.d/10-tmpdirs
4357463   8 -rwxr-xr-x    1 root   wheel      1561 Sep 10 23:00 /opt/X11/lib/X11/xinit/privileged_startx.d/20-font_cache
4357464   8 -rw-r--r--    1 root   wheel       957 Sep 10 23:00 /opt/X11/lib/X11/xinit/xinitrc
4357466   8 -rwxr-xr-x    1 root   wheel       718 Sep 10 23:01 /opt/X11/lib/X11/xinit/xinitrc.d/10-fontdir.sh
4357467   8 -rwxr-xr-x    1 root   wheel       157 Sep 10 23:01 /opt/X11/lib/X11/xinit/xinitrc.d/98-user.sh
4357468   8 -rwxr-xr-x    1 root   wheel       297 Sep 10 23:01 /opt/X11/lib/X11/xinit/xinitrc.d/99-quartz-wm.sh
4357470   8 -rw-r--r--    1 root   wheel       598 Sep 10 23:00 /opt/X11/lib/X11/xserver/Xquartz.plist
4357485 120 -rwxr-xr-x    1 root   wheel     58672 Sep 10 23:03 /opt/X11/libexec/launchd_startx
4357486 144 -rwxr-xr-x    1 root   wheel     69984 Sep 10 23:03 /opt/X11/libexec/privileged_startx
4357630   8 -rw-r--r--    1 root   wheel      2669 Sep 10 10:20 /opt/X11/share/doc/fontconfig/fontconfig-devel/fcmatrixinit.html

0 $ ll /Applications/Utilities/XQuartz.app/Contents/MacOS
total 8176
-rwxr-xr-x  1 root  wheel      434 Sep 10 23:00 X11*
-rwxr-xr-x  1 root  wheel  4180704 Sep 10 23:02 X11.bin*



#############################################################################

xterm sample:
sample[3925]: sample cannot examine process 3592 (xterm) for unknown reasons, even though it appears to exist; try running with `sudo`.

0 $ sudo sample 3592
Password:
Sampling process 3592 for 10 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Sample analysis of process 3592 written to file /tmp/xterm_2016-09-21_004926_5w9E.sample.txt

Analysis of sampling xterm (pid 3592) every 1 millisecond
Process:         xterm [3592]
Path:            /opt/X11/bin/xterm
Load Address:    0x1019c4000
Identifier:      xterm
Version:         ???
Code Type:       X86-64
Parent Process:  bash [1920]

Date/Time:       2016-09-21 00:49:26.503 -0700
Launch Time:     2016-09-21 00:43:00.805 -0700
OS Version:      Mac OS X 10.11.6 (15G1004)
Report Version:  7
Analysis Tool:   /usr/bin/sample
----

Call graph:
    9061 Thread_29553   DispatchQueue_1: com.apple.main-thread  (serial)
      9061 start  (in xterm) + 52  [0x1019c58a8]
        9061 main  (in xterm) + 1784  [0x1019e7384]
          9061 xtermOpenApplication  (in xterm) + 82  [0x1019f4dc3]
            9061 XtOpenApplication  (in libXt.6.dylib) + 110  [0x101b1c5e0]
              9061 _XtAppInit  (in libXt.6.dylib) + 185  [0x101b136ac]
                9061 XtOpenDisplay  (in libXt.6.dylib) + 195  [0x101b13229]
                  9061 XOpenDisplay  (in libX11.6.dylib) + 187  [0x101b7edd2]
                    9061 _XConnectXCB  (in libX11.6.dylib) + 200  [0x101b8d2f9]
                      9061 xcb_connect_to_display_with_auth_info  (in libxcb.1.dylib) + 883  [0x101d4a348]
                        9061 xcb_connect_to_fd  (in libxcb.1.dylib) + 492  [0x101d46ca7]
                          9061 _xcb_in_read_block  (in libxcb.1.dylib) + 398  [0x101d4965a]
                            9061 __select  (in libsystem_kernel.dylib) + 10  [0x7fff9b4cb07a]

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

Sort by top of stack, same collapsed (when >= 5):
        __select  (in libsystem_kernel.dylib)        9061

Binary Images:
       0x1019c4000 -        0x101a26fff +xterm (???) <DE8AD2BF-86D1-31D0-8705-24EBF2DC2963> /usr/X11R6/bin/xterm
       0x101a54000 -        0x101a55fff +libXinerama.1.dylib (2) <35D0ADB5-99B5-3D89-872D-358EB497A01C> /opt/X11/lib/libXinerama.1.dylib
       0x101a5d000 -        0x101a6cfff +libXft.2.dylib (6.2) <6EEAA458-4B14-39D0-BF16-065B39466E3A> /opt/X11/lib/libXft.2.dylib
       0x101a7b000 -        0x101a8cff7 +libXmu.6.dylib (9) <79ECC91D-02F8-3FCA-8E6B-8CD6837429EE> /opt/X11/lib/libXmu.6.dylib
       0x101a98000 -        0x101ae0ff7 +libXaw.7.dylib (8) <F66D60D0-6B64-35F1-928F-A4689CEE19B5> /opt/X11/lib/libXaw.7.dylib
       0x101b08000 -        0x101b4dff7 +libXt.6.dylib (7) <30606AC3-756F-3B8E-86F7-E5CDD707669B> /opt/X11/lib/libXt.6.dylib
       0x101b6b000 -        0x101c77ff7 +libX11.6.dylib (10) <2265FCFA-33E0-3CA7-8591-3E11AF9C5ADA> /opt/X11/lib/libX11.6.dylib
       0x101ca7000 -        0x101cb4fff +libXpm.4.dylib (16) <EBFA39F4-5145-3A52-9CA8-2D78798202A0> /opt/X11/lib/libXpm.4.dylib
       0x101cbf000 -        0x101ccffff +libICE.6.dylib (10) <4ACA23B9-8837-386A-85BE-B71F4A656FF9> /opt/X11/lib/libICE.6.dylib
       0x101ce3000 -        0x101d16fff +libfontconfig.1.dylib (11.2) <613FED4D-72A4-3351-B8CC-B622204272C7> /opt/X11/lib/libfontconfig.1.dylib
       0x101d2f000 -        0x101d3bfff +libXext.6.dylib (11) <B3784F24-07A3-3784-95A4-DA16C7EA61EC> /opt/X11/lib/libXext.6.dylib
       0x101d46000 -        0x101d5fff7 +libxcb.1.dylib (3) <D8640BEA-43FB-3357-A732-C921B8A0CBC9> /opt/X11/lib/libxcb.1.dylib
       0x101d7a000 -        0x101d7bfff +libXau.6.dylib (7) <16D0F235-2187-38AC-AD4D-211E6E1C3D81> /opt/X11/lib/libXau.6.dylib
       0x101d81000 -        0x101d84fff +libXdmcp.6.dylib (7) <63E2E531-FF81-3749-AA62-77C10672CEB2> /opt/X11/lib/libXdmcp.6.dylib
       0x101d90000 -        0x101e18ff7 +libfreetype.6.dylib (19.6) <42D2051B-77A8-3053-920D-AAE4A4190452> /opt/X11/lib/libfreetype.6.dylib
       0x101e37000 -        0x101e3dfff +libXrender.1.dylib (5) <3F7712FB-38F8-39F9-BCC8-E3B1DE2F7489> /opt/X11/lib/libXrender.1.dylib
       0x101e48000 -        0x101e61fff  libexpat.1.dylib (12.60.1) <6BF318AC-F90F-3F16-99C2-6ADDE404E280> /usr/lib/libexpat.1.dylib
       0x101e6d000 -        0x101e72fff +libSM.6.dylib (7.1) <91980EF7-05BE-3351-AD96-CBF90DC3856B> /opt/X11/lib/libSM.6.dylib
    0x7fff6e0c2000 -     0x7fff6e0f9a47  dyld (0.0 - ???) <DC81CC9D-651A-3A45-8809-928282052BD3> /usr/lib/dyld
    0x7fff8a396000 -     0x7fff8a396ff7  libunc.dylib (29) <DDB1E947-C775-33B8-B461-63E5EB698F0E> /usr/lib/system/libunc.dylib
    0x7fff8a6e3000 -     0x7fff8a70cff7  libxpc.dylib (765.50.8) <54D1328E-054E-3DAA-89E2-375722F9D18F> /usr/lib/system/libxpc.dylib
    0x7fff8c2c7000 -     0x7fff8c2c9fff  libsystem_coreservices.dylib (19.2) <1B3F5AFC-FFCD-3ECB-8B9A-5538366FB20D> /usr/lib/system/libsystem_coreservices.dylib
    0x7fff8ccd5000 -     0x7fff8ccddfff  libcopyfile.dylib (127) <A48637BC-F3F2-34F2-BB68-4C65FD012832> /usr/lib/system/libcopyfile.dylib
    0x7fff8dcad000 -     0x7fff8dd13ff7  libsystem_network.dylib (583.50.1) <B52DAB73-92DC-3DA7-B9F4-B899D66445C1> /usr/lib/system/libsystem_network.dylib
    0x7fff8ec61000 -     0x7fff8ec69fef  libsystem_platform.dylib (74.40.2) <29A905EF-6777-3C33-82B0-6C3A88C4BA15> /usr/lib/system/libsystem_platform.dylib
    0x7fff8f32a000 -     0x7fff8f335ff7  libcommonCrypto.dylib (60075.50.1) <93732261-34B4-3914-B7A2-90A81A182DBA> /usr/lib/system/libcommonCrypto.dylib
    0x7fff8f77b000 -     0x7fff8f797ff7  libsystem_malloc.dylib (67.40.1) <5748E8B2-F81C-34C6-8B13-456213127678> /usr/lib/system/libsystem_malloc.dylib
    0x7fff8f8ac000 -     0x7fff8f8b1ff3  libunwind.dylib (35.3) <F6EB48E5-4D12-359A-AB54-C937FBBE9043> /usr/lib/system/libunwind.dylib
    0x7fff8f8b2000 -     0x7fff8f8b5fff  libsystem_sandbox.dylib (460.60.2) <2A68B39C-B786-3A05-87A2-56E688469FB8> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff8fc0d000 -     0x7fff8fc0dff7  liblaunch.dylib (765.50.8) <834ED605-5114-3641-AA4D-ECF31B801C50> /usr/lib/system/liblaunch.dylib
    0x7fff90527000 -     0x7fff9053eff7  libsystem_asl.dylib (323.50.1) <41F8E11F-1BD0-3F1D-BA3A-AA1577ED98A9> /usr/lib/system/libsystem_asl.dylib
    0x7fff9144d000 -     0x7fff9145eff7  libz.1.dylib (61.20.1) <B3EBB42F-48E3-3287-9F0D-308E04D407AC> /usr/lib/libz.1.dylib
    0x7fff9162c000 -     0x7fff9165dff7  libncurses.5.4.dylib (46) <D4C10699-3E8F-3F42-A695-7490EA4B6B32> /usr/lib/libncurses.5.4.dylib
    0x7fff91691000 -     0x7fff91692fff  libsystem_secinit.dylib (20) <32B1A8C6-DC84-3F4F-B8CE-9A52B47C3E6B> /usr/lib/system/libsystem_secinit.dylib
    0x7fff91ad8000 -     0x7fff91adaff7  libsystem_configuration.dylib (802.40.13) <3DEB7DF9-6804-37E1-BC83-0166882FF0FF> /usr/lib/system/libsystem_configuration.dylib
    0x7fff924c8000 -     0x7fff9282af3f  libobjc.A.dylib (680) <7489D2D6-1EFD-3414-B18D-2AECCCC90286> /usr/lib/libobjc.A.dylib
    0x7fff92cfb000 -     0x7fff92cfeffb  libdyld.dylib (360.22) <25D28225-99AE-3A04-B98C-ACFF47D6D9B0> /usr/lib/system/libdyld.dylib
    0x7fff93682000 -     0x7fff93683fff  libDiagnosticMessagesClient.dylib (100) <4243B6B4-21E9-355B-9C5A-95A216233B96> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fff944ed000 -     0x7fff9457afef  libsystem_c.dylib (1082.60.1) <28733D22-553E-3CBC-8D2C-EDCEB46E46AF> /usr/lib/system/libsystem_c.dylib
    0x7fff946f3000 -     0x7fff94739ff7  libauto.dylib (186) <999E610F-41FC-32A3-ADCA-5EC049B65DFB> /usr/lib/libauto.dylib
    0x7fff94a58000 -     0x7fff94a59fff  libsystem_blocks.dylib (65) <1244D9D5-F6AA-35BB-B307-86851C24B8E5> /usr/lib/system/libsystem_blocks.dylib
    0x7fff94e7f000 -     0x7fff94e87ffb  libsystem_dnssd.dylib (625.60.4) <80189998-32B0-316C-B5C5-53857486713D> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff9551a000 -     0x7fff95531ff7  libsystem_coretls.dylib (83.40.5) <C90DAE38-4082-381C-A185-2A6A8B677628> /usr/lib/system/libsystem_coretls.dylib
    0x7fff95a74000 -     0x7fff95a9dfff  libsystem_info.dylib (477.50.4) <FAA9226D-64DE-3769-A6D8-6CABA4B7FF4D> /usr/lib/system/libsystem_info.dylib
    0x7fff972a7000 -     0x7fff972abfff  libcache.dylib (75) <9548AAE9-2AB7-3525-9ECE-A2A7C4688447> /usr/lib/system/libcache.dylib
    0x7fff97d15000 -     0x7fff97d1eff3  libsystem_notify.dylib (150.40.1) <D48BDE34-0F7E-34CA-A0FF-C578E39987CC> /usr/lib/system/libsystem_notify.dylib
    0x7fff980ad000 -     0x7fff980adff7  libkeymgr.dylib (28) <8371CE54-5FDD-3CE9-B3DF-E98C761B6FE0> /usr/lib/system/libkeymgr.dylib
    0x7fff980d8000 -     0x7fff980d9ffb  libSystem.B.dylib (1226.10.1) <012548CD-614D-3AF0-B3B1-676F427D2CD6> /usr/lib/libSystem.B.dylib
    0x7fff9936a000 -     0x7fff99373ff7  libsystem_pthread.dylib (138.10.4) <3DD1EF4C-1D1B-3ABF-8CC6-B3B1CEEE9559> /usr/lib/system/libsystem_pthread.dylib
    0x7fff998ee000 -     0x7fff99941ff7  libc++.1.dylib (120.1) <8FC3D139-8055-3498-9AC5-6467CB7F4D14> /usr/lib/libc++.1.dylib
    0x7fff9a225000 -     0x7fff9a226ffb  libremovefile.dylib (41) <552EF39E-14D7-363E-9059-4565AC2F894E> /usr/lib/system/libremovefile.dylib
    0x7fff9a227000 -     0x7fff9a29efeb  libcorecrypto.dylib (335.50.1) <B5C05FD7-A540-345A-87BF-8E41848A3C17> /usr/lib/system/libcorecrypto.dylib
    0x7fff9a38b000 -     0x7fff9a38dff7  libquarantine.dylib (80) <0F4169F0-0C84-3A25-B3AE-E47B3586D908> /usr/lib/system/libquarantine.dylib
    0x7fff9b4b4000 -     0x7fff9b4d2ff7  libsystem_kernel.dylib (3248.60.11) <A3F069EA-6A41-35CA-BDF8-187E0209B3E2> /usr/lib/system/libsystem_kernel.dylib
    0x7fff9b56a000 -     0x7fff9b56fff7  libmacho.dylib (875.1) <318264FA-58F1-39D8-8285-1F6254EE410E> /usr/lib/system/libmacho.dylib
    0x7fff9b5c1000 -     0x7fff9b5c9fff  libsystem_networkextension.dylib (385.40.36) <66095DC7-6539-38F2-95EE-458F15F6D014> /usr/lib/system/libsystem_networkextension.dylib
    0x7fff9bcc5000 -     0x7fff9bcd3ff7  libbz2.1.0.dylib (38) <28E54258-C0FE-38D4-AB76-1734CACCB344> /usr/lib/libbz2.1.0.dylib
    0x7fff9bcdc000 -     0x7fff9bcedff7  libsystem_trace.dylib (201.10.3) <E9311C03-9E61-3B13-AF3F-A64956FFF269> /usr/lib/system/libsystem_trace.dylib
    0x7fff9bf30000 -     0x7fff9bf5fffb  libsystem_m.dylib (3105) <08E1A4B2-6448-3DFE-A58C-ACC7335BE7E4> /usr/lib/system/libsystem_m.dylib
    0x7fff9cbef000 -     0x7fff9cbf6ff7  libcompiler_rt.dylib (62) <A13ECF69-F59F-38AE-8609-7B731450FBCD> /usr/lib/system/libcompiler_rt.dylib
    0x7fff9e17b000 -     0x7fff9e1a5ff7  libc++abi.dylib (307.2) <922EFB36-0E9E-315B-8270-E81AC43472C0> /usr/lib/libc++abi.dylib
    0x7fff9f0e3000 -     0x7fff9f110fff  libdispatch.dylib (501.40.12) <C7499857-61A5-3D7D-A5EA-65DCC8C3DF92> /usr/lib/system/libdispatch.dylib

#############################################################################

xquartz Open Files and Ports

/Users/ddd
/Applications/Utilities/XQuartz.app/Contents/MacOS/X11.bin
/Applications/Utilities/XQuartz.app/Contents/Frameworks/Sparkle.framework/Versions/A/Sparkle
/opt/X11/lib/libXplugin.1.dylib
/opt/X11/lib/libAppleWM.7.dylib
/opt/X11/lib/libXfixes.3.dylib
/opt/X11/lib/libX11.6.dylib
/opt/X11/lib/libxcb.1.dylib
/opt/X11/lib/libpixman-1.0.dylib
/opt/X11/lib/libXfont.1.dylib
/opt/X11/lib/libfreetype.6.dylib
/opt/X11/lib/libfontenc.1.dylib
/opt/X11/lib/libXau.6.dylib
/opt/X11/lib/libxshmfence.1.dylib
/opt/X11/lib/libXdmcp.6.dylib
/opt/X11/lib/libXext.6.dylib
/usr/lib/dyld
/private/var/db/dyld/dyld_shared_cache_x86_64h
/dev/null
->0x42f149ac4086093
->0x42f149ab55628d3
->0x42f149ac4085553
->0x42f149aad775c13
count=2, state=0x12

#### xquartz sample:

Sampling process 3302 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling X11.bin (pid 3302) every 1 millisecond
Process:         X11.bin [3302]
Path:            /Applications/Utilities/XQuartz.app/Contents/MacOS/X11
Load Address:    0x109724000
Identifier:      org.macosforge.xquartz.X11
Version:         ???
Code Type:       X86-64
Parent Process:  ??? [1]

Date/Time:       2016-09-21 00:52:45.063 -0700
Launch Time:     2016-09-21 00:37:21.141 -0700
OS Version:      Mac OS X 10.11.6 (15G1004)
Report Version:  7
Analysis Tool:   /usr/bin/sample
----

Call graph:
    2695 Thread_28064   DispatchQueue_1: com.apple.main-thread  (serial)
    + 2695 start  (in X11.bin) + 52  [0x1097260c4]
    +   2695 main  (in X11.bin) + 1476  [0x109726ca9]
    +     2695 mach_msg_server  (in libsystem_kernel.dylib) + 405  [0x7fff9b4c4c7d]
    +       2695 mach_msg  (in libsystem_kernel.dylib) + 55  [0x7fff9b4c43b3]
    +         2695 mach_msg_trap  (in libsystem_kernel.dylib) + 10  [0x7fff9b4c4f72]
    2695 Thread_28174   DispatchQueue_2: com.apple.libdispatch-manager  (serial)
      2695 _dispatch_mgr_thread  (in libdispatch.dylib) + 52  [0x7fff9f0eadcd]
        2695 _dispatch_mgr_invoke  (in libdispatch.dylib) + 216  [0x7fff9f0eb165]
          2695 kevent_qos  (in libsystem_kernel.dylib) + 10  [0x7fff9b4cbefa]

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

Sort by top of stack, same collapsed (when >= 5):
        kevent_qos  (in libsystem_kernel.dylib)        2695
        mach_msg_trap  (in libsystem_kernel.dylib)        2695

Binary Images:
       0x109724000 -        0x1098daff7 +X11.bin (???) <DE0AAAC4-6CBB-370D-BBE5-EC676EB6B1D7> /Applications/Utilities/XQuartz.app/Contents/MacOS/X11.bin
       0x10995e000 -        0x109981fff +org.andymatuschak.Sparkle (1.6 git - 1.6) <904D266A-A572-38D5-B7C1-F6EC56DFB213> /Applications/Utilities/XQuartz.app/Contents/Frameworks/Sparkle.framework/Versions/A/Sparkle
       0x1099a5000 -        0x1099b2ff7 +libXplugin.1.dylib (1) <7EC4B3F6-1D64-3344-8E83-AAF7811C1E7A> /opt/X11/lib/libXplugin.1.dylib
       0x1099c4000 -        0x1099c5fff +libAppleWM.7.dylib (8) <3DE27806-1D6C-3B85-8D55-3A829F107007> /opt/X11/lib/libAppleWM.7.dylib
       0x1099d0000 -        0x1099d3fff +libXfixes.3.dylib (5) <B5EE4C34-92E3-3FB3-99D2-B894A514D80E> /opt/X11/lib/libXfixes.3.dylib
       0x1099dc000 -        0x109ae8ff7 +libX11.6.dylib (10) <2265FCFA-33E0-3CA7-8591-3E11AF9C5ADA> /opt/X11/lib/libX11.6.dylib
       0x109b14000 -        0x109b2dff7 +libxcb.1.dylib (3) <D8640BEA-43FB-3357-A732-C921B8A0CBC9> /opt/X11/lib/libxcb.1.dylib
       0x109b42000 -        0x109bbcfff +libpixman-1.0.dylib (35) <235CA1B7-6700-317E-8682-F1CC257E65EA> /opt/X11/lib/libpixman-1.0.dylib
       0x109bd5000 -        0x109c04fff +libXfont.1.dylib (6.1) <E8957A19-EBA6-3EA8-906C-2A122F5BE8C7> /opt/X11/lib/libXfont.1.dylib
       0x109c14000 -        0x109c9cff7 +libfreetype.6.dylib (19.6) <42D2051B-77A8-3053-920D-AAE4A4190452> /opt/X11/lib/libfreetype.6.dylib
       0x109cbb000 -        0x109cbefff +libfontenc.1.dylib (2) <44B6AFF6-31B9-38A0-8CF0-06694E87BABC> /opt/X11/lib/libfontenc.1.dylib
       0x109cc6000 -        0x109cc7fff +libXau.6.dylib (7) <16D0F235-2187-38AC-AD4D-211E6E1C3D81> /opt/X11/lib/libXau.6.dylib
       0x109cd0000 -        0x109cd0fff +libxshmfence.1.dylib (2) <E67433CE-FB96-3FDF-9404-326898465991> /opt/X11/lib/libxshmfence.1.dylib
       0x109cda000 -        0x109cddfff +libXdmcp.6.dylib (7) <63E2E531-FF81-3749-AA62-77C10672CEB2> /opt/X11/lib/libXdmcp.6.dylib
       0x109ce6000 -        0x109cf2fff +libXext.6.dylib (11) <B3784F24-07A3-3784-95A4-DA16C7EA61EC> /opt/X11/lib/libXext.6.dylib
    0x7fff6adde000 -     0x7fff6ae15a47  dyld (0.0 - ???) <DC81CC9D-651A-3A45-8809-928282052BD3> /usr/lib/dyld
    0x7fff88cf3000 -     0x7fff88d62fff  com.apple.SearchKit (1.4.0 - 1.4.0) <F159A888-34CA-36F1-AC8E-EB1B38C9DFB3> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
    0x7fff88d63000 -     0x7fff88dd1ff7  com.apple.ApplicationServices.ATS (377 - 394.4) <9779E916-0788-3CAC-B1EC-F68BCB12A2B6> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
    0x7fff8913a000 -     0x7fff8913afff  libmetal_timestamp.dylib (600.0.44.2) <DEEA1127-7A5D-3EF2-A4B2-AE125CBA5DB5> /System/Library/PrivateFrameworks/GPUCompiler.framework/libmetal_timestamp.dylib
    0x7fff89b09000 -     0x7fff89b32ff7  libxslt.1.dylib (14.4) <72CD1CA4-1FBD-3672-ADCE-A89AB741689A> /usr/lib/libxslt.1.dylib
    0x7fff8a396000 -     0x7fff8a396ff7  libunc.dylib (29) <DDB1E947-C775-33B8-B461-63E5EB698F0E> /usr/lib/system/libunc.dylib
    0x7fff8a397000 -     0x7fff8a3e7ff7  com.apple.Symbolication (1.4 - 58044) <F70BF765-FBE9-3F1E-85CA-BB2F8E53E8C2> /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolication
    0x7fff8a437000 -     0x7fff8a445fff  com.apple.opengl (12.1.0 - 12.1.0) <0718DB60-BA4F-3CF7-A117-10A2515D931F> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x7fff8a456000 -     0x7fff8a45fff7  com.apple.CommonAuth (4.0 - 2.0) <4B8673E1-3697-3FE2-8D30-AC7AC5D4F8BF> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
    0x7fff8a6e3000 -     0x7fff8a70cff7  libxpc.dylib (765.50.8) <54D1328E-054E-3DAA-89E2-375722F9D18F> /usr/lib/system/libxpc.dylib
    0x7fff8a759000 -     0x7fff8a7e2ff7  com.apple.PerformanceAnalysis (1.0 - 1) <9EF745B2-ECD5-33F8-912F-E96771C9E6F8> /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis
    0x7fff8a7e3000 -     0x7fff8b8ccff3  com.apple.WebCore (11601 - 11601.7.5) <9153DA7E-1625-382A-8257-8D4293F06F7F> /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/WebCore
    0x7fff8b9b6000 -     0x7fff8b9b9ff7  libCoreFSCache.dylib (119.5) <2389D7DA-B8EF-3EB4-AAAF-FBEDE01CDECA> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache.dylib
    0x7fff8ba28000 -     0x7fff8ba28fff  libOpenScriptingUtil.dylib (169.1) <AD0DAC8A-9849-3077-999F-9AEC6112BDAB> /usr/lib/libOpenScriptingUtil.dylib
    0x7fff8c2c7000 -     0x7fff8c2c9fff  libsystem_coreservices.dylib (19.2) <1B3F5AFC-FFCD-3ECB-8B9A-5538366FB20D> /usr/lib/system/libsystem_coreservices.dylib
    0x7fff8c46c000 -     0x7fff8c68dff7  com.apple.CoreImage (11.4.0 - 366.4.19) <F5B7B115-E43A-3C61-A6AD-EFCDE7FC43A1> /System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage
    0x7fff8c6ee000 -     0x7fff8c6f3fff  com.apple.TCC (1.0 - 1) <F5EEB2D3-9517-3975-97BE-22CB8E11B8A3> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
    0x7fff8c6f4000 -     0x7fff8c70efff  com.apple.Kerberos (3.0 - 1) <1B4744BF-E5AE-38E2-AA56-E22D3270F2E8> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
    0x7fff8c77d000 -     0x7fff8c78cffb  com.apple.LangAnalysis (1.7.0 - 1.7.0) <18D21123-A3E7-3851-974A-08E5D4540475> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
    0x7fff8c78d000 -     0x7fff8c7c7ff7  com.apple.DebugSymbols (132 - 132) <23A42C53-B941-3871-9EE2-4C87A46005B5> /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols
    0x7fff8c7d5000 -     0x7fff8c885fff  com.apple.backup.framework (1.7.4 - 1.7.4) <F304E9D1-991A-379E-9659-BF85C35B4808> /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
    0x7fff8c886000 -     0x7fff8c8cbff3  libFontRegistry.dylib (155.2) <A70DD497-35F3-34DA-9C19-F4B90080E961> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
    0x7fff8ccd5000 -     0x7fff8ccddfff  libcopyfile.dylib (127) <A48637BC-F3F2-34F2-BB68-4C65FD012832> /usr/lib/system/libcopyfile.dylib
    0x7fff8cd07000 -     0x7fff8cd65fff  com.apple.CoreServices.OSServices (728.13 - 728.13) <27C12B92-7845-38DD-B82D-DC5B678352D6> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
    0x7fff8cdd3000 -     0x7fff8ce42fff  com.apple.datadetectorscore (7.0 - 460) <E8616F01-90AC-3863-B18C-426E6DD1ACDE> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
    0x7fff8d026000 -     0x7fff8d043ff7  com.apple.AppleVPAFramework (2.1.2 - 2.1.2) <41378C0B-B56A-3A73-9BD0-E06FA1F87B8C> /System/Library/PrivateFrameworks/AppleVPA.framework/Versions/A/AppleVPA
    0x7fff8da04000 -     0x7fff8da26fff  com.apple.IconServices (68.1 - 68.1) <CDEEDBE6-F53B-3BA1-82D4-23BCA3DD8949> /System/Library/PrivateFrameworks/IconServices.framework/Versions/A/IconServices
    0x7fff8da27000 -     0x7fff8dc34fff  libicucore.A.dylib (551.51.4) <3899B146-3840-3D4A-8C4A-FE391D5D25C7> /usr/lib/libicucore.A.dylib
    0x7fff8dc35000 -     0x7fff8dc69ff7  com.apple.CoreVideo (1.8 - 191.3) <1AA24A1B-CB84-3F6B-B6DE-11494542649C> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
    0x7fff8dca4000 -     0x7fff8dcacfff  com.apple.NetFS (6.0 - 4.0) <842A5346-24C3-3F22-9ECF-E586A10EA1F2> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
    0x7fff8dcad000 -     0x7fff8dd13ff7  libsystem_network.dylib (583.50.1) <B52DAB73-92DC-3DA7-B9F4-B899D66445C1> /usr/lib/system/libsystem_network.dylib
    0x7fff8dd14000 -     0x7fff8dd60ffb  com.apple.HIServices (1.22 - 550) <6B76B41C-CF5A-34C4-89F4-EFD7CA3D1C9D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
    0x7fff8de0f000 -     0x7fff8de15fff  com.apple.IOAccelerator (205.11 - 205.11) <C51BF724-F8E8-3B9F-806E-A00C65056445> /System/Library/PrivateFrameworks/IOAccelerator.framework/Versions/A/IOAccelerator
    0x7fff8de2b000 -     0x7fff8e4caffb  com.apple.JavaScriptCore (11601 - 11601.7.8) <38585ADC-1AD4-3BD2-8972-B90344CE57C0> /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore
    0x7fff8e908000 -     0x7fff8ec46ff7  com.apple.WebKit (11601 - 11601.7.8) <23BB9B4F-489D-3F1B-9F6F-1BBD45CB30C6> /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
    0x7fff8ec47000 -     0x7fff8ec47fff  com.apple.Accelerate.vecLib (3.10 - vecLib 3.10) <054DFE32-737D-3211-9A14-0FC5E1A880E3> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
    0x7fff8ec4e000 -     0x7fff8ec50ff7  com.apple.xpc.ServiceManagement (1.0 - 1) <D96D7A6D-EDEB-35EE-B5D9-E33A3BF011B5> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
    0x7fff8ec51000 -     0x7fff8ec53ff7  libRadiance.dylib (1459) <43B09AB2-B747-3EA0-A0AF-9A33B3A449D2> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
    0x7fff8ec61000 -     0x7fff8ec69fef  libsystem_platform.dylib (74.40.2) <29A905EF-6777-3C33-82B0-6C3A88C4BA15> /usr/lib/system/libsystem_platform.dylib
    0x7fff8ef17000 -     0x7fff8ef7efff  com.apple.framework.CoreWiFi (11.0 - 1101.20) <993592F1-B3F1-3FAD-87BD-EA83C361BCCF> /System/Library/PrivateFrameworks/CoreWiFi.framework/Versions/A/CoreWiFi
    0x7fff8f03a000 -     0x7fff8f2c1fff  com.apple.CFNetwork (760.6.3 - 760.6.3) <8CB9CB2E-D0FB-31D4-A1AE-2A5FE028AD6B> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
    0x7fff8f2c2000 -     0x7fff8f2c7ff7  libheimdal-asn1.dylib (453.40.10) <981DE40B-FA16-36F7-BE92-8C8A115D6CD9> /usr/lib/libheimdal-asn1.dylib
    0x7fff8f2c8000 -     0x7fff8f2c8fff  com.apple.ApplicationServices (48 - 48) <ADD57D3A-142F-3EF5-BFD8-EACD82164884> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
    0x7fff8f327000 -     0x7fff8f329fff  com.apple.loginsupport (1.0 - 1) <9B2F5F9B-ED38-313F-B798-D2B667BCD6B5> /System/Library/PrivateFrameworks/login.framework/Versions/A/Frameworks/loginsupport.framework/Versions/A/loginsupport
    0x7fff8f32a000 -     0x7fff8f335ff7  libcommonCrypto.dylib (60075.50.1) <93732261-34B4-3914-B7A2-90A81A182DBA> /usr/lib/system/libcommonCrypto.dylib
    0x7fff8f3ae000 -     0x7fff8f648ff3  com.apple.security (7.0 - 57337.60.2) <E2E553E7-28C4-3296-B3B6-BB1B3CA73943> /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x7fff8f687000 -     0x7fff8f71dfff  com.apple.ColorSync (4.9.0 - 4.9.0) <8FC37E20-6579-3CB2-9D49-BC39FC38DF87> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
    0x7fff8f71e000 -     0x7fff8f77afff  libTIFF.dylib (1459) <1E1839C3-2C99-38B8-A729-788459576858> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
    0x7fff8f77b000 -     0x7fff8f797ff7  libsystem_malloc.dylib (67.40.1) <5748E8B2-F81C-34C6-8B13-456213127678> /usr/lib/system/libsystem_malloc.dylib
    0x7fff8f8ac000 -     0x7fff8f8b1ff3  libunwind.dylib (35.3) <F6EB48E5-4D12-359A-AB54-C937FBBE9043> /usr/lib/system/libunwind.dylib
    0x7fff8f8b2000 -     0x7fff8f8b5fff  libsystem_sandbox.dylib (460.60.2) <2A68B39C-B786-3A05-87A2-56E688469FB8> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff8f8b6000 -     0x7fff8fc0afff  com.apple.Foundation (6.9 - 1259) <71A9D3A0-0B1F-3E3A-86F3-1486365A6EF2> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7fff8fc0d000 -     0x7fff8fc0dff7  liblaunch.dylib (765.50.8) <834ED605-5114-3641-AA4D-ECF31B801C50> /usr/lib/system/liblaunch.dylib
    0x7fff90418000 -     0x7fff90526ff3  com.apple.desktopservices (1.10.3 - 1.10.3) <3A6906D4-C0B8-30D1-B589-0466E5E42B69> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
    0x7fff90527000 -     0x7fff9053eff7  libsystem_asl.dylib (323.50.1) <41F8E11F-1BD0-3F1D-BA3A-AA1577ED98A9> /usr/lib/system/libsystem_asl.dylib
    0x7fff9053f000 -     0x7fff9053ffff  com.apple.audio.units.AudioUnit (1.13 - 1.13) <378B5292-F216-32AB-B628-8C33A72D7052> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
    0x7fff90d3e000 -     0x7fff90d41fff  com.apple.IOSurface (108.2.3 - 108.2.3) <52E51D16-42E9-3DDB-A16C-48225EF262C4> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
    0x7fff90d42000 -     0x7fff90d93fff  com.apple.audio.CoreAudio (4.3.0 - 4.3.0) <EA7D4F3B-062B-3C81-A98C-C89264D00D48> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    0x7fff90e40000 -     0x7fff91135fff  com.apple.HIToolbox (2.1.1 - 807.2) <36413C45-36AF-34EF-9C0E-F18B31D1E565> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
    0x7fff91139000 -     0x7fff91229ff7  libJP2.dylib (1459) <5212E346-B7FC-31F4-B4F7-CF1DD9BBAFBB> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
    0x7fff912f7000 -     0x7fff9136cfff  com.apple.framework.IOKit (2.0.2 - 1179.50.2) <A509D3AE-9D48-31B7-89C7-326A7A2007B2> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x7fff9136d000 -     0x7fff91375fff  com.apple.CoreServices.FSEvents (1223.10.1 - 1223.10.1) <7F5B7A23-BC1D-3FA9-A9B8-D534F1E1979A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents
    0x7fff9144d000 -     0x7fff9145eff7  libz.1.dylib (61.20.1) <B3EBB42F-48E3-3287-9F0D-308E04D407AC> /usr/lib/libz.1.dylib
    0x7fff9158a000 -     0x7fff91595fff  libGL.dylib (12.1) <70D51643-04AC-3400-8F11-A6FC25985289> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
    0x7fff91691000 -     0x7fff91692fff  libsystem_secinit.dylib (20) <32B1A8C6-DC84-3F4F-B8CE-9A52B47C3E6B> /usr/lib/system/libsystem_secinit.dylib
    0x7fff916b1000 -     0x7fff916e2fff  com.apple.GSS (4.0 - 2.0) <B490333A-3B3E-397A-AD75-68846E9A9140> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
    0x7fff91ad8000 -     0x7fff91adaff7  libsystem_configuration.dylib (802.40.13) <3DEB7DF9-6804-37E1-BC83-0166882FF0FF> /usr/lib/system/libsystem_configuration.dylib
    0x7fff9202d000 -     0x7fff92151fff  libsqlite3.dylib (216.4) <280D67B8-F93D-3587-A146-19F36C817548> /usr/lib/libsqlite3.dylib
    0x7fff92173000 -     0x7fff92265ff7  libiconv.2.dylib (44) <F05A0A5A-92A9-3668-8F20-F27CBDA26BE9> /usr/lib/libiconv.2.dylib
    0x7fff92353000 -     0x7fff9239ffff  com.apple.print.framework.PrintCore (11.2 - 472.2) <5AE8AA6B-CE09-397D-B0D4-0F9CCBF1F77D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
    0x7fff923a7000 -     0x7fff923c0fff  com.apple.openscripting (1.7.1 - 169.1) <36EBF6A7-334A-3197-838F-E8C7B27FCDBB> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
    0x7fff923f9000 -     0x7fff9249dfff  com.apple.Bluetooth (4.4.6 - 4.4.6f1) <F8E54D34-DAAB-319F-8AE7-F3C55CA0CC68> /System/Library/Frameworks/IOBluetooth.framework/Versions/A/IOBluetooth
    0x7fff924c8000 -     0x7fff9282af3f  libobjc.A.dylib (680) <7489D2D6-1EFD-3414-B18D-2AECCCC90286> /usr/lib/libobjc.A.dylib
    0x7fff92845000 -     0x7fff9285fff3  liblzma.5.dylib (10) <CC03591B-FA57-3CA5-AC81-0D76033AC0CE> /usr/lib/liblzma.5.dylib
    0x7fff92a56000 -     0x7fff92ac1ff7  com.apple.framework.CoreWLAN (11.0 - 1101.20) <3B35C543-7FCE-333F-80C1-432FA41DDCDE> /System/Library/Frameworks/CoreWLAN.framework/Versions/A/CoreWLAN
    0x7fff92ac2000 -     0x7fff92c90ff3  com.apple.QuartzCore (1.11 - 410.14) <076BDE58-8AED-3D47-84FD-548CF8E8EDB9> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x7fff92ccd000 -     0x7fff92cd2fff  com.apple.ImageCapture (9.0 - 9.0) <ACECF0B7-7D92-3A22-BF47-E8FADF4C5378> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
    0x7fff92cd3000 -     0x7fff92cfafff  com.apple.ChunkingLibrary (167 - 167) <AD7F285C-005E-36BB-98A3-5826413533BE> /System/Library/PrivateFrameworks/ChunkingLibrary.framework/Versions/A/ChunkingLibrary
    0x7fff92cfb000 -     0x7fff92cfeffb  libdyld.dylib (360.22) <25D28225-99AE-3A04-B98C-ACFF47D6D9B0> /usr/lib/system/libdyld.dylib
    0x7fff92db8000 -     0x7fff92df0ff7  com.apple.RemoteViewServices (2.0 - 101) <B2881449-8CFE-3D1C-B4BF-155640392533> /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices
    0x7fff92df1000 -     0x7fff92df9fff  libGFXShared.dylib (12.1) <5A0C2493-200C-30BE-97D5-8E8C0B8E604D> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
    0x7fff92dfa000 -     0x7fff92e58fff  com.apple.SystemConfiguration (1.14 - 1.14) <D801FAD7-5A2D-3E5E-9F44-B6C9B8BEA747> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
    0x7fff92e62000 -     0x7fff92e81ff7  com.apple.framework.Apple80211 (11.0 - 1121.34.2) <90477FAE-B835-3931-80FB-FDFF02B21D9D> /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Apple80211
    0x7fff92ebd000 -     0x7fff92ebefff  liblangid.dylib (122) <9CC4F0D1-5C51-3B69-BC8F-EE3A51FD0822> /usr/lib/liblangid.dylib
    0x7fff93525000 -     0x7fff93614ff7  libxml2.2.dylib (29.10) <B3B03292-7E1A-34AB-888C-3D49D63D60C6> /usr/lib/libxml2.2.dylib
    0x7fff93682000 -     0x7fff93683fff  libDiagnosticMessagesClient.dylib (100) <4243B6B4-21E9-355B-9C5A-95A216233B96> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fff93684000 -     0x7fff937dfff3  com.apple.WebKitLegacy (11601 - 11601.7.8) <914A9394-5D69-3C0A-A25C-122DA1547D70> /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebKitLegacy.framework/Versions/A/WebKitLegacy
    0x7fff938c3000 -     0x7fff944ecff7  com.apple.AppKit (6.9 - 1404.47) <F3411F6E-DD87-34D0-8C68-C69B2205E41D> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x7fff944ed000 -     0x7fff9457afef  libsystem_c.dylib (1082.60.1) <28733D22-553E-3CBC-8D2C-EDCEB46E46AF> /usr/lib/system/libsystem_c.dylib
    0x7fff9457e000 -     0x7fff94599ff7  libCRFSuite.dylib (34) <078B4CD8-6A8C-3067-B2BA-0C2A0BAB8AC3> /usr/lib/libCRFSuite.dylib
    0x7fff946f3000 -     0x7fff94739ff7  libauto.dylib (186) <999E610F-41FC-32A3-ADCA-5EC049B65DFB> /usr/lib/libauto.dylib
    0x7fff9473a000 -     0x7fff947aeff3  com.apple.securityfoundation (6.0 - 55126) <DAA4FDD0-7F84-30AA-BE6F-96BB9F871F07> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
    0x7fff94a42000 -     0x7fff94a46fff  com.apple.CommonPanels (1.2.6 - 96) <4AE7E5AE-55B3-37FA-9BDE-B23147ADA2E9> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
    0x7fff94a58000 -     0x7fff94a59fff  libsystem_blocks.dylib (65) <1244D9D5-F6AA-35BB-B307-86851C24B8E5> /usr/lib/system/libsystem_blocks.dylib
    0x7fff94b46000 -     0x7fff94c42ff7  libFontParser.dylib (158.6) <267A9AE4-4138-3112-8D73-BDFDC96568FF> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
    0x7fff94c43000 -     0x7fff94c4fff7  com.apple.OpenDirectory (10.11 - 194) <31A67AD5-5CC2-350A-96D7-821DF4BC4196> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
    0x7fff94c50000 -     0x7fff94c5cfff  com.apple.SpeechRecognitionCore (2.2.7 - 2.2.7) <6BA06290-D4A3-351C-87F9-B61EF61FF055> /System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore
    0x7fff94c5d000 -     0x7fff94d8aff3  com.apple.CoreText (352.0 - 494.12) <ADBE8355-D4F5-3316-A6C4-D641D615CEC4> /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
    0x7fff94e7f000 -     0x7fff94e87ffb  libsystem_dnssd.dylib (625.60.4) <80189998-32B0-316C-B5C5-53857486713D> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff94e88000 -     0x7fff94f38fe7  libvMisc.dylib (563.5) <6D73C20D-D1C4-3BA5-809B-4B597C15AA86> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
    0x7fff94f96000 -     0x7fff94fc1ffb  libarchive.2.dylib (33.20.2) <6C370A21-63FD-3A68-B4B3-5333F24B770B> /usr/lib/libarchive.2.dylib
    0x7fff94fc2000 -     0x7fff94fd3fff  libcmph.dylib (6) <BA4BF2C6-7F4E-33B8-9DD7-619C9EB83ECF> /usr/lib/libcmph.dylib
    0x7fff9551a000 -     0x7fff95531ff7  libsystem_coretls.dylib (83.40.5) <C90DAE38-4082-381C-A185-2A6A8B677628> /usr/lib/system/libsystem_coretls.dylib
    0x7fff95532000 -     0x7fff95535ffb  libScreenReader.dylib (426.42) <16FC79D1-4573-3E90-945F-CBA22D5185FD> /usr/lib/libScreenReader.dylib
    0x7fff955bf000 -     0x7fff955c5ff7  com.apple.speech.recognition.framework (5.1.1 - 5.1.1) <9E5A980A-F455-32D5-BBEE-3BD6018CC45E> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
    0x7fff955eb000 -     0x7fff956fafe7  libvDSP.dylib (563.5) <9AB6CA3C-4F0E-35E6-9184-9DF86E7C3DAD> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
    0x7fff956fb000 -     0x7fff95717ff3  libresolv.9.dylib (60) <A650B5C8-1950-36A0-86D1-0B2465318BFA> /usr/lib/libresolv.9.dylib
    0x7fff9598b000 -     0x7fff959e0fff  com.apple.AE (701 - 701) <AD492742-F884-386B-A450-FAC281B9FFA4> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
    0x7fff95a74000 -     0x7fff95a9dfff  libsystem_info.dylib (477.50.4) <FAA9226D-64DE-3769-A6D8-6CABA4B7FF4D> /usr/lib/system/libsystem_info.dylib
    0x7fff95b2f000 -     0x7fff95ec4fdb  com.apple.vImage (8.0 - 8.0) <4BAC9B6F-7482-3580-8787-AB0A5B4D331B> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
    0x7fff960c6000 -     0x7fff9615bfff  com.apple.ink.framework (10.9 - 214) <1F76CF36-3F79-36B8-BC37-C540AF34B338> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
    0x7fff96165000 -     0x7fff9628cfff  com.apple.LaunchServices (728.13 - 728.13) <DF9A69C3-06AD-3062-A40A-50ED12CA18CA> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
    0x7fff962f4000 -     0x7fff962f6ff7  com.apple.securityhi (9.0 - 55006) <1E7BE52B-97EA-371A-AECA-1EE2AD246D8A> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
    0x7fff96368000 -     0x7fff963dcff7  com.apple.Heimdal (4.0 - 2.0) <5D365381-8B5E-3259-8867-FC4A7D307BDE> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
    0x7fff963dd000 -     0x7fff963f0fff  com.apple.CoreBluetooth (1.0 - 1) <E54CA9A2-A5C6-30C5-9D6E-8472DBA9371E> /System/Library/Frameworks/CoreBluetooth.framework/Versions/A/CoreBluetooth
    0x7fff97251000 -     0x7fff9728fff7  libGLImage.dylib (12.1) <BB1F1A93-5101-3906-AB17-8D83FCB200F9> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
    0x7fff972a7000 -     0x7fff972abfff  libcache.dylib (75) <9548AAE9-2AB7-3525-9ECE-A2A7C4688447> /usr/lib/system/libcache.dylib
    0x7fff972ac000 -     0x7fff976a8fff  libLAPACK.dylib (1162.2) <987E42B0-5108-3065-87F0-9DF7616A8A06> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
    0x7fff976a9000 -     0x7fff976adfff  libGIF.dylib (1459) <7C84B660-04BC-3D05-8C02-A7FBE51FD77B> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
    0x7fff976d3000 -     0x7fff979b8ffb  com.apple.CoreServices.CarbonCore (1136.2 - 1136.2) <2DBAFC9A-6CD6-351D-B1F4-87D81AA6D640> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
    0x7fff97aa5000 -     0x7fff97aa7fff  libCVMSPluginSupport.dylib (12.1) <D81B3D8D-B83F-3918-BD4B-6C794A30AF9F> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib
    0x7fff97aa8000 -     0x7fff97ad7ff7  com.apple.DictionaryServices (1.2 - 250.3) <30250542-CBAA-39C1-91AA-B57A5DE17594> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
    0x7fff97b49000 -     0x7fff97d0fff7  com.apple.ImageIO.framework (3.3.0 - 1459) <228306DC-0C7F-3D69-92FA-B2E46E47AA9F> /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
    0x7fff97d10000 -     0x7fff97d13ff7  com.apple.help (1.3.3 - 46) <35DA4D48-0BC2-35A1-8D7C-40905CDF4F64> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
    0x7fff97d14000 -     0x7fff97d14fff  com.apple.Carbon (154 - 157) <8F6ED602-5943-3E29-A793-BC331E2C183D> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    0x7fff97d15000 -     0x7fff97d1eff3  libsystem_notify.dylib (150.40.1) <D48BDE34-0F7E-34CA-A0FF-C578E39987CC> /usr/lib/system/libsystem_notify.dylib
    0x7fff980ad000 -     0x7fff980adff7  libkeymgr.dylib (28) <8371CE54-5FDD-3CE9-B3DF-E98C761B6FE0> /usr/lib/system/libkeymgr.dylib
    0x7fff980c7000 -     0x7fff980d7fff  libbsm.0.dylib (34) <7E14504C-A8B0-3574-B6EB-5D5FABC72926> /usr/lib/libbsm.0.dylib
    0x7fff980d8000 -     0x7fff980d9ffb  libSystem.B.dylib (1226.10.1) <012548CD-614D-3AF0-B3B1-676F427D2CD6> /usr/lib/libSystem.B.dylib
    0x7fff980da000 -     0x7fff99325feb  com.apple.CoreGraphics (1.600.0 - 960.3) <407FA367-204F-389E-8E33-0435E3B56D40> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    0x7fff9936a000 -     0x7fff99373ff7  libsystem_pthread.dylib (138.10.4) <3DD1EF4C-1D1B-3ABF-8CC6-B3B1CEEE9559> /usr/lib/system/libsystem_pthread.dylib
    0x7fff99374000 -     0x7fff9951aff7  com.apple.audio.toolbox.AudioToolbox (1.13 - 1.13) <370E95BC-956C-3962-86CC-0A14CF6A0389> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    0x7fff9951b000 -     0x7fff99540ff7  libPng.dylib (1459) <F3A3BCAD-244C-3014-9D44-5ED179BD391D> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
    0x7fff998ee000 -     0x7fff99941ff7  libc++.1.dylib (120.1) <8FC3D139-8055-3498-9AC5-6467CB7F4D14> /usr/lib/libc++.1.dylib
    0x7fff99942000 -     0x7fff99966fff  com.apple.MultitouchSupport.framework (304.12 - 304.12) <65CB7653-EACD-3ADB-ABB6-2E0671708301> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
    0x7fff99967000 -     0x7fff9996afff  libCoreVMClient.dylib (119.5) <560D70FB-709F-3030-96C9-F249FCB7DA6D> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
    0x7fff9996b000 -     0x7fff99ae9fff  com.apple.UIFoundation (1.0 - 436.1) <AABB5267-E7B7-3D75-B051-E665BDA8DEF4> /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation
    0x7fff99e74000 -     0x7fff99eb5ff7  libGLU.dylib (12.1) <CD7A5916-3E3C-3EF3-A275-B281016B99CB> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
    0x7fff99eb6000 -     0x7fff99ecdfff  libmarisa.dylib (4) <E4919B03-D9BD-3AF8-B436-C415C98E3F0A> /usr/lib/libmarisa.dylib
    0x7fff99f13000 -     0x7fff99f21fff  libxar.1.dylib (302) <03207F66-2C4A-3DBD-8D81-70F4C85903C4> /usr/lib/libxar.1.dylib
    0x7fff9a225000 -     0x7fff9a226ffb  libremovefile.dylib (41) <552EF39E-14D7-363E-9059-4565AC2F894E> /usr/lib/system/libremovefile.dylib
    0x7fff9a227000 -     0x7fff9a29efeb  libcorecrypto.dylib (335.50.1) <B5C05FD7-A540-345A-87BF-8E41848A3C17> /usr/lib/system/libcorecrypto.dylib
    0x7fff9a38b000 -     0x7fff9a38dff7  libquarantine.dylib (80) <0F4169F0-0C84-3A25-B3AE-E47B3586D908> /usr/lib/system/libquarantine.dylib
    0x7fff9a403000 -     0x7fff9a43dfff  com.apple.QD (3.12 - 302) <0FE53180-2895-3D14-A1E7-F82DE1D106E1> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
    0x7fff9a43e000 -     0x7fff9a43efff  com.apple.CoreServices (728.13 - 728.13) <E3DFECD2-ECEA-3242-972D-95B9646B57B8> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x7fff9a43f000 -     0x7fff9a458fff  com.apple.CFOpenDirectory (10.11 - 194) <11F95672-55E0-3F9D-9171-5E8C56AEE948> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
    0x7fff9a459000 -     0x7fff9a464ff7  libChineseTokenizer.dylib (16) <79B8C67A-3061-3C78-92CD-4650719E68D4> /usr/lib/libChineseTokenizer.dylib
    0x7fff9a524000 -     0x7fff9a5cbfff  com.apple.LanguageModeling (1.0 - 1) <58C18A47-BDE7-3CBE-81C0-797029D170A1> /System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/LanguageModeling
    0x7fff9a664000 -     0x7fff9a8fafff  libmecabra.dylib (696.5) <EF6C0BD4-5FE8-34FB-8ADF-69A53CEC97A9> /usr/lib/libmecabra.dylib
    0x7fff9a9c8000 -     0x7fff9a9d4fff  com.apple.speech.synthesis.framework (5.4.12 - 5.4.12) <71DA00B8-5EA2-326B-8814-59DB25512F65> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
    0x7fff9b342000 -     0x7fff9b35afef  libcompression.dylib (28) <E7601B62-1053-369D-8A9E-91CF86239220> /usr/lib/libcompression.dylib
    0x7fff9b3a8000 -     0x7fff9b3adfff  com.apple.DiskArbitration (2.7 - 2.7) <F55902AA-5316-3255-A701-FDED5B553065> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x7fff9b3c5000 -     0x7fff9b3c9fff  libpam.2.dylib (20) <CFCD19BD-87BC-3F2B-BB1C-4C23E8E55F1A> /usr/lib/libpam.2.dylib
    0x7fff9b3ca000 -     0x7fff9b3dbfff  libSparseBLAS.dylib (1162.2) <EBEB3848-3468-342A-91A6-5C47F2369CD9> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparseBLAS.dylib
    0x7fff9b4b4000 -     0x7fff9b4d2ff7  libsystem_kernel.dylib (3248.60.11) <A3F069EA-6A41-35CA-BDF8-187E0209B3E2> /usr/lib/system/libsystem_kernel.dylib
    0x7fff9b56a000 -     0x7fff9b56fff7  libmacho.dylib (875.1) <318264FA-58F1-39D8-8285-1F6254EE410E> /usr/lib/system/libmacho.dylib
    0x7fff9b5c1000 -     0x7fff9b5c9fff  libsystem_networkextension.dylib (385.40.36) <66095DC7-6539-38F2-95EE-458F15F6D014> /usr/lib/system/libsystem_networkextension.dylib
    0x7fff9b5ca000 -     0x7fff9b5d5fff  com.apple.CrashReporterSupport (10.11 - 718) <05892B57-F2CD-3C84-B984-0417F6B361DB> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/CrashReporterSupport
    0x7fff9b5d6000 -     0x7fff9b61bff7  com.apple.coreservices.SharedFileList (24.4 - 24.5) <1D2AD77B-778F-3253-A295-3D0A32A8121C> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList
    0x7fff9b623000 -     0x7fff9b6b0dd7  com.apple.AppleJPEG (1.0 - 1) <BF7EDBDB-A52D-37F7-BDE4-EAD49310D7A9> /System/Library/PrivateFrameworks/AppleJPEG.framework/Versions/A/AppleJPEG
    0x7fff9b6b1000 -     0x7fff9b6b1fff  com.apple.Accelerate (1.10 - Accelerate 1.10) <185EC96A-5AF0-3620-A4ED-4D3654D25B39> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x7fff9b6e4000 -     0x7fff9b6e4fff  libenergytrace.dylib (10.40.1) <0A491CA7-3451-3FD5-999A-58AB4362682B> /usr/lib/libenergytrace.dylib
    0x7fff9b85f000 -     0x7fff9bc8dfff  com.apple.vision.FaceCore (3.3.1 - 3.3.1) <E54028EA-4217-3078-A2B1-C52E4214D59E> /System/Library/PrivateFrameworks/FaceCore.framework/Versions/A/FaceCore
    0x7fff9bcc5000 -     0x7fff9bcd3ff7  libbz2.1.0.dylib (38) <28E54258-C0FE-38D4-AB76-1734CACCB344> /usr/lib/libbz2.1.0.dylib
    0x7fff9bcdc000 -     0x7fff9bcedff7  libsystem_trace.dylib (201.10.3) <E9311C03-9E61-3B13-AF3F-A64956FFF269> /usr/lib/system/libsystem_trace.dylib
    0x7fff9bf30000 -     0x7fff9bf5fffb  libsystem_m.dylib (3105) <08E1A4B2-6448-3DFE-A58C-ACC7335BE7E4> /usr/lib/system/libsystem_m.dylib
    0x7fff9bf60000 -     0x7fff9c206ff7  com.apple.CoreData (120 - 641.3) <A29A5491-6169-372B-828F-84EE0CFD4BC4> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
    0x7fff9c3d9000 -     0x7fff9c42aff7  libcups.2.dylib (435.2) <91584A40-214D-33E8-A613-CE22289037C8> /usr/lib/libcups.2.dylib
    0x7fff9c434000 -     0x7fff9c8aafff  com.apple.CoreFoundation (6.9 - 1258.1) <943A1383-DA6A-3DC0-ABCD-D9AEB3D0D34D> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff9c8b1000 -     0x7fff9c939fff  com.apple.CoreSymbolication (3.1 - 58048.1) <4730422E-4178-34F9-8550-BB92F2A4F44B> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication
    0x7fff9c96f000 -     0x7fff9c98bff7  libextension.dylib (78) <FD952DA6-BBEC-3CB6-98B3-E1D111C5C54E> /usr/lib/libextension.dylib
    0x7fff9cbef000 -     0x7fff9cbf6ff7  libcompiler_rt.dylib (62) <A13ECF69-F59F-38AE-8609-7B731450FBCD> /usr/lib/system/libcompiler_rt.dylib
    0x7fff9cc2b000 -     0x7fff9cc41ff7  libLinearAlgebra.dylib (1162.2) <FFE54EDF-F06F-3C0A-864A-4CA7BBFD4B2D> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLinearAlgebra.dylib
    0x7fff9cc48000 -     0x7fff9cc52fff  com.apple.NetAuth (6.0 - 6.0) <D692B1EF-534F-3892-8E2F-2BBA7C8AFD74> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
    0x7fff9cc53000 -     0x7fff9ce5efff  libFosl_dynamic.dylib (16.24) <5F9DB82D-FD4B-3952-8531-CE020F93ED49> /usr/lib/libFosl_dynamic.dylib
    0x7fff9ce84000 -     0x7fff9cea8fff  libJPEG.dylib (1459) <B274689A-56C5-3DBE-9E4E-049608BBD50B> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
    0x7fff9de3d000 -     0x7fff9de7fff7  com.apple.Metal (56.6 - 56.6) <30518711-8D00-3759-AA19-800D3C88E693> /System/Library/Frameworks/Metal.framework/Versions/A/Metal
    0x7fff9dfde000 -     0x7fff9e000ff7  com.apple.Sharing (442.13.6 - 442.13.6) <DDD2811C-6ECB-32F2-8EE1-69BF9657B4A8> /System/Library/PrivateFrameworks/Sharing.framework/Versions/A/Sharing
    0x7fff9e17b000 -     0x7fff9e1a5ff7  libc++abi.dylib (307.2) <922EFB36-0E9E-315B-8270-E81AC43472C0> /usr/lib/libc++abi.dylib
    0x7fff9e3ad000 -     0x7fff9e514fff  libBLAS.dylib (1162.2) <A1398FE0-39D2-33EA-9A0F-B2644EEA29A0> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
    0x7fff9e515000 -     0x7fff9e531fff  com.apple.GenerationalStorage (2.0 - 239.1) <8C821448-4294-3736-9CEF-467C93785CB9> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage
    0x7fff9ee93000 -     0x7fff9efddff7  com.apple.coreui (2.1 - 366.1) <8138636F-A0A7-31C7-896C-5F5747FA1B2A> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
    0x7fff9f00d000 -     0x7fff9f0adfff  com.apple.Metadata (10.7.0 - 972.34) <A58195C5-5D5C-32D5-8BBB-F4D32201E5AA> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
    0x7fff9f0e3000 -     0x7fff9f110fff  libdispatch.dylib (501.40.12) <C7499857-61A5-3D7D-A5EA-65DCC8C3DF92> /usr/lib/system/libdispatch.dylib
    0x7fff9f454000 -     0x7fff9f45ffff  libkxld.dylib (3248.60.11) <9F422A08-0212-36E1-BFF8-1491C70EBFCA> /usr/lib/system/libkxld.dylib
    0x7fff9f460000 -     0x7fff9f461ff3  com.apple.print.framework.Print (10.0 - 266) <3E85F70C-D7D4-34E1-B88A-C1F503F99CDA> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
    0x7fff9f462000 -     0x7fff9f462fff  com.apple.Cocoa (6.11 - 22) <807787AB-D231-3F51-A99B-A9314623C571> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
    0x7fff9f463000 -     0x7fff9f4b2ff7  com.apple.opencl (2.7.0 - 2.7.0) <39581F1A-04FE-3CCA-9118-E9BB9053F7A1> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
Sample analysis of process 3302 written to file /dev/stdout



#############################################################################

xterm Open Files and Ports

/opt/X11
/opt/X11/bin/xterm
/opt/X11/lib/libXinerama.1.dylib
/opt/X11/lib/libXft.2.dylib
/opt/X11/lib/libXmu.6.dylib
/opt/X11/lib/libXaw7.7.dylib
/opt/X11/lib/libXt.6.dylib
/opt/X11/lib/libX11.6.dylib
/opt/X11/lib/libXpm.4.dylib
/opt/X11/lib/libICE.6.dylib
/opt/X11/lib/libfontconfig.1.dylib
/opt/X11/lib/libXext.6.dylib
/opt/X11/lib/libxcb.1.dylib
/opt/X11/lib/libXau.6.dylib
/opt/X11/lib/libXdmcp.6.dylib
/opt/X11/lib/libfreetype.6.dylib
/opt/X11/lib/libXrender.1.dylib
/usr/lib/libexpat.1.dylib
/opt/X11/lib/libSM.6.dylib
/usr/lib/dyld
/private/var/db/dyld/dyld_shared_cache_x86_64h
/dev/ttys001
/dev/ttys001
/dev/ttys001
->0x42f149ac3fcb46b
Comment 17 douglasdd 2016-09-21 08:43:57 UTC
Post restart details:
Fixed. (Now it *IS* "/opt/X11/libexec/launchd_startx" like you expected in <Comment 3>)

0 $ ps -efww | egrep -i 'x11|xquartz' | egrep -v ' egrep -'
  501   685     1   0  1:28AM ??         0:03.24 /Applications/Utilities/XQuartz.app/Contents/MacOS/X11.bin
  501   756     1   0  1:28AM ??         0:00.01 /opt/X11/libexec/launchd_startx /opt/X11/bin/startx -- /opt/X11/bin/Xquartz
  501   757   756   0  1:28AM ??         0:00.01 /bin/sh /opt/X11/bin/startx -- /opt/X11/bin/Xquartz
  501   912   757   0  1:28AM ??         0:00.00 /opt/X11/bin/xinit /Users/ddd/.xinitrc -- /opt/X11/bin/Xquartz :0 -nolisten tcp -iglx -auth /Users/ddd/.serverauth.757
  501   913   912   0  1:28AM ??         0:00.01 /opt/X11/bin/Xquartz :0 -nolisten tcp -iglx -auth /Users/ddd/.serverauth.757

0 $ ls -l $DISPLAY
srw-rw-rw-  1 ddd  wheel  0 Sep 21 01:24 /private/tmp/com.apple.launchd.3M6NNLcaLQ/org.macosforge.xquartz:0=

0 $ launchctl list org.macosforge.xquartz.startx
{
        "EnableTransactions" = true;
        "Sockets" = {
                "org.macosforge.xquartz:0" = (
                        file-descriptor-object;
                );
        };
        "LimitLoadToSessionType" = "Aqua";
        "Label" = "org.macosforge.xquartz.startx";
        "TimeOut" = 30;
        "OnDemand" = true;
        "LastExitStatus" = 0;
        "PID" = 756;
        "Program" = "/opt/X11/libexec/launchd_startx";
        "ProgramArguments" = (
                "/opt/X11/libexec/launchd_startx";
                "/opt/X11/bin/startx";
                "--";
                "/opt/X11/bin/Xquartz";
        );
};

0 $ plutil -p /Library/LaunchAgents/org.macosforge.xquartz.startx.plist
{
  "Sockets" => {
    "org.macosforge.xquartz:0" => {
      "SecureSocketWithKey" => "DISPLAY"
    }
  }
  "ProgramArguments" => [
    0 => "/opt/X11/libexec/launchd_startx"
    1 => "/opt/X11/bin/startx"
    2 => "--"
    3 => "/opt/X11/bin/Xquartz"
  ]
  "ServiceIPC" => 1
  "EnableTransactions" => 1
  "Label" => "org.macosforge.xquartz.startx"
}

0 $ find /opt/X11 -type f -ls | egrep -i 'xinit|startx|xquartz' | fgrep -v /share/man/ | perl -pe 's( {6})( )g'
4355958  16 -rwxr-xr-x    1 root   wheel      8073 Sep 10 23:00 /opt/X11/bin/startx
4355996 128 -rwxr-xr-x    1 root   wheel     62640 Sep 10 23:02 /opt/X11/bin/xinit
4356021 128 -rwxr-xr-x    1 root   wheel     62784 Sep 10 23:02 /opt/X11/bin/Xquartz
4357462   8 -rwxr-xr-x    1 root   wheel      2263 Sep 10 23:00 /opt/X11/lib/X11/xinit/privileged_startx.d/10-tmpdirs
4357463   8 -rwxr-xr-x    1 root   wheel      1561 Sep 10 23:00 /opt/X11/lib/X11/xinit/privileged_startx.d/20-font_cache
4357464   8 -rw-r--r--    1 root   wheel       957 Sep 10 23:00 /opt/X11/lib/X11/xinit/xinitrc
4357466   8 -rwxr-xr-x    1 root   wheel       718 Sep 10 23:01 /opt/X11/lib/X11/xinit/xinitrc.d/10-fontdir.sh
4357467   8 -rwxr-xr-x    1 root   wheel       157 Sep 10 23:01 /opt/X11/lib/X11/xinit/xinitrc.d/98-user.sh
4357468   8 -rwxr-xr-x    1 root   wheel       297 Sep 10 23:01 /opt/X11/lib/X11/xinit/xinitrc.d/99-quartz-wm.sh
4357470   8 -rw-r--r--    1 root   wheel       598 Sep 10 23:00 /opt/X11/lib/X11/xserver/Xquartz.plist
4357485 120 -rwxr-xr-x    1 root   wheel     58672 Sep 10 23:03 /opt/X11/libexec/launchd_startx
4357486 144 -rwxr-xr-x    1 root   wheel     69984 Sep 10 23:03 /opt/X11/libexec/privileged_startx
4357630   8 -rw-r--r--    1 root   wheel      2669 Sep 10 10:20 /opt/X11/share/doc/fontconfig/fontconfig-devel/fcmatrixinit.html

0 $  ll /Applications/Utilities/XQuartz.app/Contents/MacOS
total 8176
-rwxr-xr-x  1 root  wheel      434 Sep 10 23:00 X11*
-rwxr-xr-x  1 root  wheel  4180704 Sep 10 23:02 X11.bin*

<skipped the process samples since they look irrelevant to this launchd-config bug>
Comment 18 Jeremy Huddleston Sequoia 2016-09-22 16:18:29 UTC
Yes, this is well understood and should be properly fixed for the next release.
Comment 19 Jeremy Huddleston Sequoia 2016-09-26 07:40:34 UTC
I've got a fix for this.  It'll be fixed in 2.7.10_rc3.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.