hnakamur’s blog

ものすごい勢いで忘れる私のために未整理でもいいからとりあえずメモ

2011-12-06

Mac OS X 10.5以降でIMEを切り替えるコマンドラインツールを作りました

hnakamur/inputsource - GitHubに置いてあります。ライセンスはMITです。

バイナリだけ欲しい方はLionでビルドした64bit実行形式のバイナリをどうぞ。保存ダイアログが開いたときに拡張子に.txtが追加されて"inputsource.txt"と表示されてしまいますが、保存後"inputsource"とリネームしてお使いください。

引数無しで実行すると、現在選ばれている入力ソースのIDを表示します。

入力ソースIDを引数に指定して実行すると、その入力ソースを選択状態にします。

入力ソースIDの例:
- com.apple.inputmethod.Kotoeri.Roman: Kotoeri ASCII
- com.apple.inputmethod.Kotoeri.Japanese: Kotoeri Hiragana
- com.google.inputmethod.Japanese.Roman: Google Japanese Input ASCII
- com.google.inputmethod.Japanese.base: Google Japanese Input Hiragana

2011-12-03

google-code-prettifyの設置

16 Free Javascript Code Syntax Highlighters For Better Programmingで見つけたgoogle-code-prettify - syntax highlighting of code snippets in a web page - Google Project Hostingを設置してみました。これを選択した理由は単に正規表現でキーワードをマッチさせる方式より高度な判定を行っているからです。

Javascript code prettifierを参考に設定します。
htmlの</head>の前に以下の2行を追加します。
<link href="http://google-code-prettify.googlecode.com/svn/trunk/src/prettify.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="http://google-code-prettify.googlecode.com/svn/trunk/src/prettify.js"></script>
そして、<body>onload="prettyPrint()"を追加します。Bloggerの場合は管理画面の[Template]の[Backup/Restore]でテンプレートのXMLをダウンロード、編集、アップロードします。

使い方は<pre><code>class="prettyprint"を追加します。Javascript code prettifierからリンクされている4.6.11 The code element — HTML5: Edition for Web Authorsでは<pre><code class="language-html">という書き方が紹介してあるので、<pre>内で言語を指定する場合は<pre class="prettyprint"><code class="language-html">という書き方にしようと思います。

2011-11-26

OS Xにperlbrewとcpanmをインストール

参考:OS X LionにperlbrewとcpanmをインストールしてPerl環境を整える | ましましブログ
Perlbrew

curl -kL http://xrl.us/perlbrewinstall | bash
echo 'source ~/perl5/perlbrew/etc/bashrc' >> ~/.bashrc
. ~/.bashrc
perlbrew install perl-5.14.2
perlbrew switch perl-5.14.2

perlbrew install-cpanm

2011-11-21

virt-cloneでコピー後eth0がeth1などに変わってしまうのを戻す

参考:Banym's Blog - Change network device name from eth1 back to eth0.

/etc/udev/rules.d/70-persistent-net.rulesを編集。NAME="eth0"の行のMACアドレスを書き換える。NAME="eth1"など使わない行は削除。
# PCI device 0x1af4:0x1000 (virtio-pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="52:54:00:2a:7a:d9", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

/etc/sysconfig/network-scripts/ifcfg-eth0の内容を適切に変更して、それ以外のifcfg-eth?は削除。その後ゲストを再起動。

2011-11-13

Scientific Linux 6.1のyumレポジトリ設定

参考:Scientific Linux 6.1 での yum リポジトリ設定 - ふたつの川うるおう日記
Scientific Linux 6 - 初期設定 - システム最新化 : Server World

yum -y install yum-conf-sl-other yum-plugin-fastestmirror yum-plugin-priorities

cd /etc/yum.repos.d/
mv sl.repo sl.repo.default
mv sl-other.repo sl-other.repo.default

cat << '_EOF_' > /etc/yum.repos.d/sl.repo
[sl]
name=Scientific Linux $releasever - $basearch
mirrorlist = file:///etc/yum.repos.d/mirrors-sl
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl file:///etc/pki/rpm-gpg/RPM-GPG-KEY-dawson
priority=1

[sl-security]
name=Scientific Linux $releasever - $basearch - security updates
mirrorlist = file:///etc/yum.repos.d/mirrors-sl-security
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl file:///etc/pki/rpm-gpg/RPM-GPG-KEY-dawson
priority=1

[sl-source]
name=Scientific Linux $releasever - Source
mirrorlist = file:///etc/yum.repos.d/mirrors-sl-source
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl file:///etc/pki/rpm-gpg/RPM-GPG-KEY-dawson
priority=1
_EOF_
cat << '_EOF_' > /etc/yum.repos.d/mirrors-sl
http://ftp.ne.jp/Linux/packages/scientificlinux/$releasever/$basearch/os/
http://ftp.jaist.ac.jp/pub/Linux/scientific/$releasever/$basearch/os/
http://ftp.riken.jp/Linux/scientific/$releasever/$basearch/os/
http://ftp.scientificlinux.org/linux/scientific/$releasever/$basearch/os/
http://ftp1.scientificlinux.org/linux/scientific/$releasever/$basearch/os/
http://ftp2.scientificlinux.org/linux/scientific/$releasever/$basearch/os/
ftp://ftp.scientificlinux.org/linux/scientific/$releasever/$basearch/os/
_EOF_
cat << '_EOF_' > /etc/yum.repos.d/mirrors-sl-security
http://ftp.ne.jp/Linux/packages/scientificlinux/$releasever/$basearch/updates/security/
http://ftp.jaist.ac.jp/pub/Linux/scientific/$releasever/$basearch/updates/security/
http://ftp.riken.jp/Linux/scientific/$releasever/$basearch/updates/security/
http://ftp.scientificlinux.org/linux/scientific/$releasever/$basearch/updates/security/
http://ftp1.scientificlinux.org/linux/scientific/$releasever/$basearch/updates/security/
http://ftp2.scientificlinux.org/linux/scientific/$releasever/$basearch/updates/security/
ftp://ftp.scientificlinux.org/linux/scientific/$releasever/$basearch/updates/security/
_EOF_
cat << '_EOF_' > /etc/yum.repos.d/mirrors-sl-source
http://ftp.ne.jp/Linux/packages/scientificlinux/$releasever/SRPMS/
http://ftp.jaist.ac.jp/pub/Linux/scientific/$releasever/SRPMS/
http://ftp.riken.jp/Linux/scientific/$releasever/SRPMS/
http://ftp.scientificlinux.org/linux/scientific/$releasever/SRPMS/
http://ftp1.scientificlinux.org/linux/scientific/$releasever/SRPMS/
http://ftp2.scientificlinux.org/linux/scientific/$releasever/SRPMS/
ftp://ftp.scientificlinux.org/linux/scientific/$releasever/SRPMS/
_EOF_

cat << '_EOF_' > /etc/yum.repos.d/sl-other.repo
[sl-fastbugs]
name=Scientific Linux $releasever - $basearch - fastbug updates
mirrorlist = file:///etc/yum.repos.d/mirrors-sl-fastbugs
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl file:///etc/pki/rpm-gpg/RPM-GPG-KEY-dawson
priority=1

[sl-debuginfo]
name=Scientific Linux Debuginfo
mirrorlist = file:///etc/yum.repos.d/mirrors-sl-debuginfo
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl file:///etc/pki/rpm-gpg/RPM-GPG-KEY-dawson
priority=1

[sl-testing]
name=Scientific Linux Testing - $basearch
mirrorlist = file:///etc/yum.repos.d/mirrors-sl-testing
enabled=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl file:///etc/pki/rpm-gpg/RPM-GPG-KEY-dawson
priority=1

[sl-testing-source]
name=Scientific Linux Testing - Source
mirrorlist = file:///etc/yum.repos.d/mirrors-sl-testing-source
enabled=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-sl file:///etc/pki/rpm-gpg/RPM-GPG-KEY-dawson
priority=1
_EOF_
cat << '_EOF_' > /etc/yum.repos.d/mirrors-sl-fastbugs
http://ftp.ne.jp/Linux/packages/scientificlinux/$releasever/$basearch/updates/fastbugs/
http://ftp.jaist.ac.jp/pub/Linux/scientific/$releasever/$basearch/updates/fastbugs/
http://ftp.riken.jp/Linux/scientific/$releasever/$basearch/updates/fastbugs/
http://ftp.scientificlinux.org/linux/scientific/$releasever/$basearch/updates/fastbugs/
http://ftp1.scientificlinux.org/linux/scientific/$releasever/$basearch/updates/fastbugs/
http://ftp2.scientificlinux.org/linux/scientific/$releasever/$basearch/updates/fastbugs/
ftp://ftp.scientificlinux.org/linux/scientific/$releasever/$basearch/updates/fastbugs/
_EOF_
cat << '_EOF_' > /etc/yum.repos.d/mirrors-sl-debuginfo
http://ftp.ne.jp/Linux/packages/scientificlinux/$releasever/archive/debuginfo/
http://ftp.jaist.ac.jp/pub/Linux/scientific/$releasever/archive/debuginfo/
http://ftp.riken.jp/Linux/scientific/$releasever/archive/debuginfo/
http://ftp.scientificlinux.org/linux/scientific/$releasever/archive/debuginfo/
http://ftp1.scientificlinux.org/linux/scientific/$releasever/archive/debuginfo/
http://ftp2.scientificlinux.org/linux/scientific/$releasever/archive/debuginfo/
ftp://ftp.scientificlinux.org/linux/scientific/$releasever/archive/debuginfo/
_EOF_
cat << '_EOF_' > /etc/yum.repos.d/mirrors-sl-testing
http://ftp.ne.jp/Linux/packages/scientificlinux/6rolling/testing/$basearch/
http://ftp.jaist.ac.jp/pub/Linux/scientific/6rolling/testing/$basearch/
http://ftp.riken.jp/Linux/scientific/6rolling/testing/$basearch/
http://ftp.scientificlinux.org/linux/scientific/6rolling/testing/$basearch/
http://ftp1.scientificlinux.org/linux/scientific/6rolling/testing/$basearch/
http://ftp2.scientificlinux.org/linux/scientific/6rolling/testing/$basearch/
ftp://ftp.scientificlinux.org/linux/scientific/6rolling/testing/$basearch/
_EOF_
cat << '_EOF_' > /etc/yum.repos.d/mirrors-sl-testing-source
http://ftp.ne.jp/Linux/packages/scientificlinux/6rolling/testing/SRPMS/
http://ftp.jaist.ac.jp/pub/Linux/scientific/6rolling/testing/SRPMS/
http://ftp.riken.jp/Linux/scientific/6rolling/testing/SRPMS/
http://ftp.scientificlinux.org/linux/scientific/6rolling/testing/SRPMS/
http://ftp1.scientificlinux.org/linux/scientific/6rolling/testing/SRPMS/
http://ftp2.scientificlinux.org/linux/scientific/6rolling/testing/SRPMS/
ftp://ftp.scientificlinux.org/linux/scientific/6rolling/testing/SRPMS/
_EOF_

Scientific Linux 6.1にKVMのゲストインストール

参考:Scientific Linux 6 - KVM - 仮想マシン作成#1 : Server World

mkdir -p /var/kvm/images
virt-install -n www \
-r 1024 \
-f /var/kvm/images/www.img \
-s 20 \
--vcpus=2 \
--os-type linux \
--os-variant=rhel6 \
--network bridge=br0 \
--nographics \
--location='http://ftp.riken.jp/Linux/scientific/6.1/x86_64/os/' \
--extra-args='console=tty0 console=ttyS0,115200n8'

ゲストOSのインストール後、再起動したらhnakamur’s blog: Scientific Linux 6.1のyumレポジトリ設定を行った後、パッケージをアップデート。
yum update

私の環境は英語キーボードなので特に設定変更は不要。

ゲストOSをシャットダウンした状態で、イメージをテンプレート用にコピーしてとっておく。
virt-clone --original www --name template --file /var/kvm/images/template.img
クローンするたびにゲストでifconfig -aで見たときにイーサデバイスの名前がeth1, eth2と変わっていくことが判明。virt-clone したら eth0 が eth1 になっていた件 | MyNotebookでも同じ現象があったようだ。でも私のところではゲストをシャットダウンしても治らなかった。私のところでもその後さらにシャットダウンして起動で治りました。hnakamur’s blog: virt-cloneでコピー後eth0がeth1などに変わってしまうのを戻すの手順を行う必要があります。

ストレージプールの設定
mkdir /etc/libvirt/storage
cat << _EOF_ > /etc/libvirt/storage/disk01.xml
<pool type='dir'>
  <name>disk01</name>
  <capacity>0</capacity>
  <allocation>0</allocation>
  <available>0</available>
  <source>
  </source>
  <target>
    <path>/var/kvm/images</path>
    <permissions>
        <mode>0700</mode>
        <owner>-1</owner>
        <group>-1</group>
    </permissions>
  </target>
</pool>
_EOF_

virsh pool-define /etc/libvirt/storage/disk01.xml

virsh pool-start disk01

virsh pool-autostart disk01

virsh pool-list

virsh pool-info disk01


2011-11-12

Scientific Linux 6.1のネットワーク設定ファイルの項目についての説明を調べた

KVMを入れようと思ってふと見ると/etc/sysconfig/network-scripts/ifcfg-eth0は以下のようになっていました(HWADDRの値は伏せてます)。
DEVICE="eth0"
BOOTPROTO="none"
HWADDR="XX:XX:XX:XX:XX:XX"
IPV6INIT="yes"
IPV6_AUTOCONF="yes"
NM_CONTROLLED="yes"
ONBOOT="yes"
TYPE=Ethernet
IPADDR=192.168.11.103
PREFIX=24
GATEWAY=192.168.11.1
DNS1=192.168.11.1
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
NAME="System eth0"

RHEL6のリファレンスDeployment Guideを見ても載ってない項目がありました。

NM_CONTROLLEDは10.2. Bridged networking with libvirtに説明がありました。

IPV6INITとIPV6_AUTOCONFは「site: docs.redhat.com」付きで検索しても説明が見つけられず。1次情報ではないですがRed Hat / CentOS IPv6 Network ConfigurationPeter Bieringer's IPv6-HowTo - Script Files (3.15+)に説明を見つけました。

IPV4_FAILURE_FATALやNAMEは◇ネットワークの詳細設定(CentOS6)◇初心者のためのLinuxサーバー構築講座(CentOS 自宅サーバー対応)☆お便利サーバー.com☆に説明を見つけました。

Scientific Linux 6.1にKVMをインストール

参考:Scientific Linux 6 - KVM - インストール : Server World

kvm関連パッケージインストールとlibvirtd起動設定


必要なパッケージをインストール。
# yum -y install qemu-kvm libvirt python-virtinst bridge-utils

lsmodで確認してみると、modprobeは自動で実行されていました。
# lsmod | grep kvm
kvm_intel              47790  0 
kvm                   300762  1 kvm_intel

libvirtdを起動。
# /etc/init.d/libvirtd start
libvirtdの自動起動設定。
# chkconfig libvirtd on

ブリッジ設定


/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
#BOOTPROTO=none
HWADDR=6C:62:6D:67:2E:A4
#IPV6INIT=no
#IPV6_AUTOCONF=yes
#NM_CONTROLLED=no
ONBOOT=yes
TYPE=Ethernet
BRIDGE=br0
#IPADDR=192.168.11.103
#PREFIX=24
#GATEWAY=192.168.11.1
#DNS1=192.168.11.1
#DEFROUTE=yes
#IPV4_FAILURE_FATAL=yes
#NAME=System eth0

/etc/sysconfig/network-scripts/ifcfg-br0
DEVICE=br0
BOOTPROTO=static
#HWADDR=6C:62:6D:67:2E:A4
IPV6INIT=no
IPV6_AUTOCONF=yes
NM_CONTROLLED=no
ONBOOT=yes
TYPE=Bridge
IPADDR=192.168.11.103
PREFIX=24
GATEWAY=192.168.11.1
DNS1=192.168.11.1
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
#NAME=System br0

上記のように書き換えた後以下のコマンドを実行。
# /etc/init.d/network reload

2011-11-03

MacBook Pro (15-inch, Late 2008)にSnow LeopardとBootCampでWindows XPをインストール

別のノートPCで使っていたSSDをMacBook Proに回すことにしたので再セットアップ。
MacBook ProのプリインストールOSはLeopardで、Snow LeopardとLionはアップデートで買っていました。

LionだとWindows XPのドライバが入っていないとのことなので(手動で方法はあるらしい)、まずSnow LeopardをインストールしてBootCampでWindows XPを入れることにしました。

手持ちのWindows XPはSP2だったので、Windows XP SP3をダウンロードしてインストールしようとしたが、「osloader.ntdをコピーできません」というエラーが出た。これには下記の対応が必要でした。
Boot Camp 3.0:Windows XP Service Pack 3 をインストールできない

SP3とIE8をインストールして再起動した後もまだWindows Updateが実行できない。Fix itのボタンを押すと、Microsoft .NET Framework 2.0を入れろとのこと。

入れて再度Windows Updateを試すとまだだめ。Fix itを再実行。.NET 2.0はFix itを動かすのに必要だったのか。「Windows Updateのコンポーネントを修復する必要がある」の状況が「解決済み」になりました。

それでも相変わらずWindows Updateの画面ではだめ( http://support.microsoft.com/kb/2497281 のページに飛ばされてしまう)で、今度はMicrosoft Fix it Centerというプログラムを実行してみましたが、一覧に表示される項目はいまいち関係なさそうでした。

http://support.microsoft.com/kb/2497281 の手順に従って、自動更新が有効になっていることを確認し、コマンドプロンプトでwuauclt /detectnowを実行してから再度Windows Updateを実行するうとようやく動くようになりました。

あとは更新プログラムが出なくなるまでWindows Updateと再起動を繰り返し。

2011-11-02

LionではTime Machineのバックアップ先としてネットワーク上の共有フォルダは使えないらしい

Time Capsuleを買えってことですかね。NASじゃなくてUSB接続の外付HDDにすればいいのかな。

調べてみるとそのようでした。
価格.com - 『LionのTimemachineに対応した外付けHDDはある?』 APPLE MacBook Air 1700/13.3 MC966J/A のクチコミ掲示板

Scientific Linux 6.1のnetatalk 2.2.1でLion用Time Machine設定

参考:CentOS 6 で netatalk 2.2.0 の Lion Time Machine 対応設定 - Debian GNU/Linux 3.1 on PowerMac G4

/etc/netatalk/apfd.confに以下の1行追加(変更前の最終行のコメントアウトしてある行をコピペして-setuplogオプションを追加した)。
- -tcp -noddp -uamlist uams_dhx.so,uams_dhx2.so -nosavepassword -setuplog "defau
lt INFO_LOG /var/log/netatalk.log"

/etc/netatalk/AppleVolumes.defaultの:DEFAULT:を編集。dperm:0700 fperm:0600 ea:sysを追加。
:DEFAULT: options:upriv,usedots dperm:0700 fperm:0600 ea:sys

~の行はコメントアウト。
# The "~" below indicates that Home directories are visible by default.
# If you do not wish to have people accessing their Home directories,
# please put a pound sign in front of the tilde or delete it.
# ~

タイムマシン用の設定を追加。volsizelimitについてはファイル中に説明あり。1000=1GB
# Time Machine
/mnt/TimeMachine "Time Machine" options:tm volsizelimit:512000

自動起動を有効化。
chkconfig netatalk on

起動。
/etc/init.d/netatalk start

ポート番号調査。
ps auxww | grep afpd

root     21762  0.2  0.0 182236  2940 ?        S    22:18   0:00 /usr/sbin/afpd -U uams_dhx.so,uams_dhx2.so -g nobody -c 20 -n sunshine103
root     21855  0.0  0.0 107432   952 pts/0    S+   22:21   0:00 grep afpd

netstat -an --program | grep "^tcp.*21762"
tcp        0      0 0.0.0.0:548                 0.0.0.0:*                   LISTEN      21762/afpd

netatalkはポート548を使っていることが判明。

/etc/sysconfig/iptablesに以下の行を追加。
-A INPUT -m state --state NEW -m tcp -p tcp --dport 548 -j ACCEPT

反映。
/etc/init.d/iptables restart

これで、MacでFinderの[移動]/[サーバーへ接続]メニューを実行し「afp://サーバのアドレス/」を入力すると「Time Machine」という共有フォルダが表示されます。選択するとサーバー上のユーザIDとパスワードを聞かれるので入力するとアクセスできました。

Scientific Linux 6.1にnetatalk 2.2.1をインストール

参考:Netatalk 2.2.1 (安定版) SRPM:HAT blog

wget http://www003.upp.so-net.ne.jp/hat/files/netatalk-2.2.1-0.1.5.el6.src.rpm

rpm -ivh netatalk-2.2.1-0.1.5.el6.src.rpm
yum install rpm-build
cd rpmbuild/SPECS/
rpmbuild -bb netatalk.spec

エラー: ビルド依存性の失敗:
 cracklib-devel は netatalk-4:2.2.1-0.1.5.el6.x86_64 に必要とされています
 quota-devel は netatalk-4:2.2.1-0.1.5.el6.x86_64 に必要とされています
 libtool は netatalk-4:2.2.1-0.1.5.el6.x86_64 に必要とされています
 db4-devel は netatalk-4:2.2.1-0.1.5.el6.x86_64 に必要とされています
 pam-devel は netatalk-4:2.2.1-0.1.5.el6.x86_64 に必要とされています
 tcp_wrappers-devel は netatalk-4:2.2.1-0.1.5.el6.x86_64 に必要とされています
 libgcrypt-devel は netatalk-4:2.2.1-0.1.5.el6.x86_64 に必要とされています
 avahi-devel は netatalk-4:2.2.1-0.1.5.el6.x86_64 に必要とされています
 libacl-devel は netatalk-4:2.2.1-0.1.5.el6.x86_64 に必要とされています
 openldap-devel は netatalk-4:2.2.1-0.1.5.el6.x86_64 に必要とされています

yum install cracklib-devel quota-devel libtool db4-devel pam-devel tcp_wrappers-devel \
libgcrypt-devel avahi-devel libacl-devel openldap-devel


rpmbuild -bb netatalk.spec

cd ~/rpmbuild/RPMS/x86_64/
rpm -ivh netatalk-2.2.1-0.1.5.el6.x86_64.rpm
rpm -ivh netatalk-devel-2.2.1-0.1.5.el6.x86_64.rpm

Scientific Linux 6.1でソフトウェアRAID1

参考:
/dev/sdbと/dev/sdcに1TBのHDDがある状態で、この2台でソフトウェアRAID1を組んで見ました。

以下のコマンドを実行。
yum install dmraid mdadm

以下のコマンドを実行。
fdisk /dev/sdb
パーティションがある場合はまず削除します。
その後type=fd (Linux raid 自動検出)のパーティションを作成します。

もう1台のHDDでも同様に実行。
fdisk /dev/sdc


/etc/mdadm.confを編集。下記の行を追記。
# RAID1 on two 1TB disks
DEVICE /dev/sd[bc]1
ARRAY /dev/md0 devices=/dev/sdb1,/dev/sdc1

以下のコマンドを実行。
mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sd[bc]1

継続して良いか聞かれるのでyを押す。
mdadm: /dev/sdb1 appears to contain an ext2fs file system
    size=488287608K  mtime=Wed Nov  2 18:33:48 2011
mdadm: Note: this array has metadata at the start and
    may not be suitable as a boot device.  If you plan to
    store '/boot' on this device please ensure that
    your boot-loader understands md/v1.x metadata, or use
    --metadata=0.90
mdadm: /dev/sdc1 appears to contain an ext2fs file system
    size=976760000K  mtime=Wed Nov  2 18:33:48 2011
Continue creating array? y
mdadm: Defaulting to version 1.2 metadata
mdadm: array /dev/md0 started.

状態確認。
mdadm --detail /dev/md0

Personalities : [raid1] 
md0 : active raid1 sdc1[1] sdb1[0]
      976758841 blocks super 1.2 [2/2] [UU]
      [>....................]  resync =  1.9% (18636544/976758841) finish=168.2min speed=94907K/sec
      
unused devices: 
[root@sunshine103 etc]# mdadm --detail /dev/md0
/dev/md0:
        Version : 1.2
  Creation Time : Wed Nov  2 20:29:13 2011
     Raid Level : raid1
     Array Size : 976758841 (931.51 GiB 1000.20 GB)
  Used Dev Size : 976758841 (931.51 GiB 1000.20 GB)
   Raid Devices : 2
  Total Devices : 2
    Persistence : Superblock is persistent

    Update Time : Wed Nov  2 20:29:13 2011
          State : clean, resyncing
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

 Rebuild Status : 2% complete

           Name : sunshine103:0  (local to host sunshine103)
           UUID : 85baee8b:5601c9d3:146ff925:09e772cf
         Events : 0

    Number   Major   Minor   RaidDevice State
       0       8       17        0      active sync   /dev/sdb1
       1       8       33        1      active sync   /dev/sdc1

物理ボリューム作成。
pvcreate /dev/md0

物理エクステントサイズを計算。
bc
1024*1024/65000
16

物理ボリュームグループ作成。
vgcreate -s 16M lvm-raid /dev/md0

物理ボリュームグループ情報表示。
vgdisplay lvm-raid

--- Volume group ---
  VG Name               lvm-raid
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  1
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                0
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               931.50 GiB
  PE Size               16.00 MiB
  Total PE              59616
  Alloc PE / Size       0 / 0   
  Free  PE / Size       59616 / 931.50 GiB
  VG UUID               E0vNd7-vrMF-3CSL-tdhA-uIfW-opeQ-hy22su

512GBの論理ボリュームをlvm0という名前で作成。
lvcreate --size 512G lvm-raid -n lvm0

空き容量確認。
vgdisplay lvm-raid
--- Volume group ---
  VG Name               lvm-raid
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  2
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                1
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               931.50 GiB
  PE Size               16.00 MiB
  Total PE              59616
  Alloc PE / Size       32768 / 512.00 GiB
  Free  PE / Size       26848 / 419.50 GiB
  VG UUID               E0vNd7-vrMF-3CSL-tdhA-uIfW-opeQ-hy22su

残りの容量一杯の論理ボリュームをlvm1という名前で作成。
lvcreate -l 26848 lvm-raid -n lvm1

状態確認。
vgdisplay lvm-raid
--- Volume group ---
  VG Name               lvm-raid
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  5
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               931.50 GiB
  PE Size               16.00 MiB
  Total PE              59616
  Alloc PE / Size       59616 / 931.50 GiB
  Free  PE / Size       0 / 0   
  VG UUID               E0vNd7-vrMF-3CSL-tdhA-uIfW-opeQ-hy22su

論理ボリューム内にext4ファイルシステムを作成。
mkfs -t ext4 /dev/lvm-raid/lvm0
mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
33554432 inodes, 134217728 blocks
6710886 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
4096 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks: 
 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
 4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 
 102400000

Writing inode tables: done                            
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 34 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.

mkfs -t ext4 /dev/lvm-raid/lvm1
mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
27492352 inodes, 109969408 blocks
5498470 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
3356 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks: 
 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
 4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 
 102400000

Writing inode tables: done                            
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 22 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.


マウントポイントを作成。
mkdir /mnt/{TimeMachine,data}

/etc/fstabに以下の行を追加。
/dev/lvm-raid/lvm0 /mnt/TimeMachine             ext4    defaults        0 0
/dev/lvm-raid/lvm1 /mnt/data                    ext4    defaults        0 0

マウント実行。
mount -a

2011-09-26

Node.jsで同期的な記述ができるQ-Oper8を試す

参考:
インストール
npm install qoper8 -g

サンプルを試す
git clone https://github.com/robtweed/Q-Oper8.git
cd Q-Oper8
cp examples/qoper8ChildProcess.js ~/local/node/lib/node_modules/qoper8/lib/
mkdir -p ~/node_sandbox/qoper8
cp examples/webQOper8.js examples/qoper8Test.js ~/node_sandbox/qoper8/
cd ~/node_sandbox/qoper8/
npm link qoper8
node webQOper8.js

Scientific Linux 6.0にnode.jsインストール

参考:Building and Installing Node.js - GitHub

python 2.6.6は既に入っていたので、openssl-develをインストール。
sudo yum install openssl-devel

git clone --depth 1 git://github.com/joyent/node.git
git checkout v0.4.12
export JOBS=2
mkdir ~/local
./configure --prefix=$HOME/local/node
make
make install
echo 'export PATH=$HOME/local/node/bin:$PATH' >> ~/.bash_profile
echo 'export NODE_PATH=$HOME/local/node:$HOME/local/node/lib/node_modules' >> ~/.bash_profile
source ~/.bash_profile

npmをインストール
curl http://npmjs.org/install.sh | sh

2011-09-17

MacBook Air + OS X Lionでキーボードショートカットでスクリーンセーバー起動

参考:10.6: Lock the screen via a keyboard shortcut - Mac OS X Hints

Automatorでスクリーンセーバーを起動するサービスを作成


Automatorを起動
→新規作成で書類の種類は[サービス]を選択して[選択]ボタンを押す。


ライブラリのツリーで「ユーティリティ」を選択
→右の列の[スクリーンセーバーを開始]を画面右のペインにドラッグ&ドロップ
→画面右の["サービス"は、次の項目を受け取ります]は[入力なし]、[検索対象]は[すべてのアプリケーション]を選択
→[ファイル]/[保存]メニューで「StartScreenSaver」などと名前を付けて保存



スクリーンセーバーを起動するキーボードショートカットを設定


Shift+Command+Lに割り当てたいが、[Search With Google]に割り当てられているのでそちらをまず解除。

システム環境設定を起動し、[キーボード]アイコン→[キーボードショートカット]タブを選択
→左のリストで[サービス]を選択
→右のツリーの[検索]/[Search With Google]のチェックボックスをオフにする。



右のツリーを一番下までスクロールして[一般]/[StartScreenSaver]を選択
→行の右端をダブルクリックし、入力フィールドが表示されたらShift+Command+Lを入力
→行の左端のチェックボックスをオンにする




スクリーンセーバーからの復帰にパスワードを要求するよう設定

システム環境設定の[セキュリティとプライバシー]アイコン→[一般]タブで「スリープの後、またはスクリーンセーバーが開始した後、[すぐに]パスワードを要求」にチェックをつけておきます。



キーボードショートカットでスクリーンセーバーを起動する

上記の設定を終えると、Shift+Command+Lでスクリーンセーバーが起動します。
パスワード入力欄が表示されますが、[ESC]を押せば消えて全画面がスクリーンセーバーになります。
もう一度[ESC]を押すかマウスカーソルを動かせば、パスワード入力欄が表示されます。

MySQLでのDBとユーザ作成

参考:MySQL :: MySQL 5.1 リファレンスマニュアル :: 4.8.2 MySQL への新規ユーザの追加

DBとユーザ作成
create database db1 character set 'utf8' collate 'utf8_general_ci';
grant all privileges on db1.* to user1@localhost identified by 'my_password';
grant all privileges on db1.* to user1@'%' identified by 'my_password';
試行錯誤した感じだと@'%'のほうだけだとlocalhostからつなげないっぽい。そこでlocalhostからつなぐ用の許可は別途作成する。

grantで許可を与える場合はflush privilegesは不要。mysql.userやmysql.dbテーブルを直接いじったときには必要。

状況確認用のSQL
select host, user, password from mysql.user;
select host, db, user from mysql.db;

2011-07-26

OSX LionのXcodeを4.1にアップグレードしようとしてはまる

MacPorts 2.0.0登場 - 8200ソフトに対応、Lionもサポート | エンタープライズ | マイコミジャーナルを読んでXcodeを4.1にアップデートしたときのメモ。

一度App Storeからダウンロードしてアップグレードしたが、インストール途中でiTunesを止めろという主旨のダイアログが表示された。アクティビティモニタでiTunesHelperを終了させると続行した。

しかし、インストールが終わって起動するとinconsistentだかなんだか言われてクラッシュする。

AppStoreにあったコメントを参考にアンインストール、OS再起動、再インストールをしてみた。

アンインストール
sudo /Developer/Library/uninstall-devtools --mode=all

以前のバージョンをインストールするなら再起動するような主旨のメッセージがターミナルに表示されたので、念のためOS再起動。

再インストール
アプリケーション/Install Xcodeのパッケージの内容を表示
→Contents/Resources/Xcode.mpkgを実行

再インストール後、Xcodeは無事起動できました。が、iPhoneのプロジェクトを作ってみるとエラー発生。まずはプロジェクトを作成するディレクトリが無いというエラー。これはディスクを整理してXcodeのプロジェクトのフォルダをごそっと消していたのが原因のよう。さらに進むとクラッシュ。

OSX Applicationのプロジェクトも試してみたがこちらもクラッシュ。下記のエラーレポートが出ました。/usr/lib/libSystem.B.dylibにあるはずの_dispatch_queue_attr_createというシンボルが無いとのこと。ここで一旦ペンディング。
Process:         Xcode [1078]
Path:            /Developer-old/*/Xcode.app/Contents/MacOS/Xcode
Identifier:      com.apple.Xcode
Version:         3.2 (1610)
Build Info:      DevToolsIDE-16100000~6
Code Type:       X86-64 (Native)
Parent Process:  launchd [224]

Date/Time:       2011-07-26 06:47:25.631 +0900
OS Version:      Mac OS X 10.7 (11A511)
Report Version:  9

Interval Since Last Report:          63573 sec
Crashes Since Last Report:           6
Per-App Interval Since Last Report:  171 sec
Per-App Crashes Since Last Report:   4
Anonymous UUID:                      25CDA7D8-3726-4852-A83C-E941D0FABCBD

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000

Application Specific Information:
Performing @selector(ok:) from sender NSButton 0x401627e80
objc[1078]: garbage collection is ON

Dyld Error Message:
  Symbol not found: _dispatch_queue_attr_create
  Referenced from: /Developer-old/*/Xcode.app/Contents/MacOS/../../../../Library/PrivateFrameworks//DevToolsCore.framework/Versions/A/DevToolsCore
  Expected in: /usr/lib/libSystem.B.dylib

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   dyld                           0x00007fff6b11806d dyld_fatal_error + 1
1   dyld                           0x00007fff6b11b918 dyld::fastBindLazySymbol(ImageLoader**, unsigned long) + 128
2   libdyld.dylib                  0x00007fff8fe38716 dyld_stub_binder_ + 13
3   ???                            0x000000010054d010 0 + 4300525584
4   com.apple.Xcode.DevToolsCore   0x00000001001137a7 -[PBXProjectIndex initWithProject:] + 87
5   com.apple.Xcode.DevToolsCore   0x0000000100113479 -[PBXProject loadIndex] + 137
6   com.apple.Xcode.DevToolsCore   0x0000000100113304 -[PBXProject beginIndexing] + 52
7   com.apple.Xcode.DevToolsCore   0x00000001001132cb -[PBXProject openIndex] + 43
8   com.apple.Xcode.DevToolsInterface 0x000000010086db7f -[PBXProjectDocument initWithProject:] + 367
9   com.apple.Xcode.DevToolsInterface 0x000000010096ab80 +[PBXProjectDocument documentWithProject:] + 48
10  com.apple.Xcode.DevToolsInterface 0x00000001009cfbff -[PBXProjectWizard _finishTemplateInstantiationAfterFileCopying:instantiationResult:] + 351
11  com.apple.Xcode.DevToolsInterface 0x0000000100a735eb -[PBXFileCopyingWizard _finishCopyingTemplate:filesToPreserve:] + 219
12  com.apple.Xcode.DevToolsInterface 0x0000000100a73394 -[PBXFileCopyingWizard _checkForOverwritingFiles:] + 2052
13  com.apple.Xcode.DevToolsInterface 0x00000001009cf86f -[PBXProjectWizard finish] + 1167
14  com.apple.Xcode.DevToolsInterface 0x00000001009caf2e -[PBXProjectWizardChooserWizard sheetDidEndWithReturnCode:fileSystemLocations:contextInfo:] + 542
15  com.apple.Xcode.DevToolsInterface 0x00000001009691eb +[PBXOpenSavePanelHelper sheetDidEnd:returnCode:contextInfo:] + 203
16  com.apple.AppKit               0x00007fff8d52b166 -[NSSavePanel _didEndSheet:returnCode:contextInfo:] + 369
17  com.apple.AppKit               0x00007fff8d2ab356 -[NSApplication endSheet:returnCode:] + 275
18  com.apple.CoreFoundation       0x00007fff8890511d -[NSObject performSelector:withObject:] + 61
19  com.apple.AppKit               0x00007fff8d0fa852 -[NSApplication sendAction:to:from:] + 139
20  com.apple.AppKit               0x00007fff8d0fa784 -[NSControl sendAction:to:] + 88
21  com.apple.AppKit               0x00007fff8d0fa6af -[NSCell _sendActionFrom:] + 137
22  com.apple.AppKit               0x00007fff8d0f9b7a -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 2014
23  com.apple.AppKit               0x00007fff8d17957c -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 489
24  com.apple.AppKit               0x00007fff8d0f8786 -[NSControl mouseDown:] + 786
25  com.apple.AppKit               0x00007fff8d0c366e -[NSWindow sendEvent:] + 6280
26  com.apple.AppKit               0x00007fff8d05bf19 -[NSApplication sendEvent:] + 5665
27  com.apple.Xcode.DevToolsInterface 0x0000000100866bdd -[PBXExtendedApplication sendEvent:] + 301
28  com.apple.AppKit               0x00007fff8cff242b -[NSApplication run] + 548
29  com.apple.AppKit               0x00007fff8d27052a NSApplicationMain + 867
30  com.apple.Xcode                0x000000010000e97e 0x100000000 + 59774
31  com.apple.Xcode                0x0000000100001844 0x100000000 + 6212

Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib         0x00007fff90f0d7e6 kevent + 10
1   libdispatch.dylib              0x00007fff88b3760e _dispatch_mgr_invoke + 923
2   libdispatch.dylib              0x00007fff88b3619e _dispatch_mgr_thread + 54

Thread 2:
0   libsystem_kernel.dylib         0x00007fff90f0b67a mach_msg_trap + 10
1   libsystem_kernel.dylib         0x00007fff90f0ad71 mach_msg + 73
2   com.apple.CoreFoundation       0x00007fff888a229c __CFRunLoopServiceMachPort + 188
3   com.apple.CoreFoundation       0x00007fff888aaa04 __CFRunLoopRun + 1204
4   com.apple.CoreFoundation       0x00007fff888aa216 CFRunLoopRunSpecific + 230
5   com.apple.DTDeviceKit          0x0000000106d0c6be -[DTDKInstallBundleController fsEventsThread] + 321
6   com.apple.Foundation           0x00007fff9062a1ea -[NSThread main] + 68
7   com.apple.Foundation           0x00007fff9062a162 __NSThread__main__ + 1575
8   libsystem_c.dylib              0x00007fff8aaca8bf _pthread_start + 335
9   libsystem_c.dylib              0x00007fff8aacdb75 thread_start + 13

Thread 3:
0   libsystem_kernel.dylib         0x00007fff90f0b67a mach_msg_trap + 10
1   libsystem_kernel.dylib         0x00007fff90f0ad71 mach_msg + 73
2   com.apple.CoreFoundation       0x00007fff888a229c __CFRunLoopServiceMachPort + 188
3   com.apple.CoreFoundation       0x00007fff888aaa04 __CFRunLoopRun + 1204
4   com.apple.CoreFoundation       0x00007fff888aa216 CFRunLoopRunSpecific + 230
5   com.apple.DTDeviceKit          0x0000000106d1440c -[DTDKRemoteDeviceDataListener listenerThreadImplementation] + 232
6   com.apple.Foundation           0x00007fff9062a1ea -[NSThread main] + 68
7   com.apple.Foundation           0x00007fff9062a162 __NSThread__main__ + 1575
8   libsystem_c.dylib              0x00007fff8aaca8bf _pthread_start + 335
9   libsystem_c.dylib              0x00007fff8aacdb75 thread_start + 13

Thread 4:: com.apple.CFSocket.private
0   libsystem_kernel.dylib         0x00007fff90f0cdf2 __select + 10
1   com.apple.CoreFoundation       0x00007fff888f366b __CFSocketManager + 1355
2   libsystem_c.dylib              0x00007fff8aaca8bf _pthread_start + 335
3   libsystem_c.dylib              0x00007fff8aacdb75 thread_start + 13

Thread 5:
0   libsystem_kernel.dylib         0x00007fff90f0d192 __workq_kernreturn + 10
1   libsystem_c.dylib              0x00007fff8aacc594 _pthread_wqthread + 758
2   libsystem_c.dylib              0x00007fff8aacdb85 start_wqthread + 13

Thread 6:
0   libsystem_kernel.dylib         0x00007fff90f0d192 __workq_kernreturn + 10
1   libsystem_c.dylib              0x00007fff8aacc594 _pthread_wqthread + 758
2   libsystem_c.dylib              0x00007fff8aacdb85 start_wqthread + 13

Thread 7:
0   libsystem_kernel.dylib         0x00007fff90f0d192 __workq_kernreturn + 10
1   libsystem_c.dylib              0x00007fff8aacc594 _pthread_wqthread + 758
2   libsystem_c.dylib              0x00007fff8aacdb85 start_wqthread + 13

Thread 8:
0   libsystem_kernel.dylib         0x00007fff90f0d192 __workq_kernreturn + 10
1   libsystem_c.dylib              0x00007fff8aacc594 _pthread_wqthread + 758
2   libsystem_c.dylib              0x00007fff8aacdb85 start_wqthread + 13

Thread 9:: com.apple.appkit-heartbeat
0   libsystem_kernel.dylib         0x00007fff90f0ce42 __semwait_signal + 10
1   libsystem_c.dylib              0x00007fff8aa80dea nanosleep + 164
2   libsystem_c.dylib              0x00007fff8aa80bb5 usleep + 53
3   com.apple.AppKit               0x00007fff8d22c0b8 -[NSUIHeartBeat _heartBeatThread:] + 1727
4   com.apple.Foundation           0x00007fff9062a1ea -[NSThread main] + 68
5   com.apple.Foundation           0x00007fff9062a162 __NSThread__main__ + 1575
6   libsystem_c.dylib              0x00007fff8aaca8bf _pthread_start + 335
7   libsystem_c.dylib              0x00007fff8aacdb75 thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x000000010b117ba0  rcx: 0xfefefefefefefeff  rdx: 0x0000000000000308
  rdi: 0x00007fff6b14ddf0  rsi: 0x0000000000000000  rbp: 0x00007fff5fbfed50  rsp: 0x00007fff5fbfed38
   r8: 0x8080808080808080   r9: 0xfeff0961686b7863  r10: 0x00007fff6b14ddf0  r11: 0x8080808080808080
  r12: 0x0000000400e985e0  r13: 0x0000000100f9f920  r14: 0x00007fff6b14ddf0  r15: 0x00000001005a2c30
  rip: 0x00007fff6b11806d  rfl: 0x0000000000000202  cr2: 0x0000000101c14000
Logical CPU: 1

Binary Images:
       0x100000000 -        0x100024ff7  com.apple.Xcode (3.2 - 1610)  /Developer-old/*/Xcode.app/Contents/MacOS/Xcode
       0x100037000 -        0x100062fff  com.apple.DevToolsFoundation (3.1 - 1607)  /Developer-old/*/DevToolsFoundation.framework/Versions/A/DevToolsFoundation
       0x100082000 -        0x10009efff  com.apple.JavaKit (5.1 - 1591)  /Developer-old/*/JavaKit.framework/Versions/A/JavaKit
       0x1000b2000 -        0x10054cfff  com.apple.Xcode.DevToolsCore (5.1 - 1608) <1B15C007-ABA8-AF2A-AA73-8E0A5D4678D5> /Developer-old/*/DevToolsCore.framework/Versions/A/DevToolsCore
       0x1007cf000 -        0x100810ff7  com.apple.Xcode.DevToolsSupport (5.1 - 1591) <5A361B76-DA12-0DE0-C6DF-8522DD27B735> /Developer-old/*/DevToolsSupport.framework/Versions/A/DevToolsSupport
       0x10083c000 -        0x100845fff  com.apple.Xcode.DevToolsRemoteClient (5.1 - 1610)  /Developer-old/*/DevToolsRemoteClient.framework/Versions/A/DevToolsRemoteClient
       0x100850000 -        0x100f4aff7  com.apple.Xcode.DevToolsInterface (5.1 - 1610)  /Developer-old/*/DevToolsInterface.framework/Versions/A/DevToolsInterface
       0x10133d000 -        0x1013fcfff  com.apple.Xcode.DevToolsCParsing (5.1 - 1591)  /Developer-old/*/DevToolsCParsing.framework/Versions/A/DevToolsCParsing
       0x101462000 -        0x1014f0ff7  com.apple.Xcode.XcodeEdit (3.1 - 1611)  /Developer-old/*/XcodeEdit.framework/Versions/A/XcodeEdit
       0x101535000 -        0x1015a3fff  com.apple.CoreSymbolication (2.1 - 67) <194A355B-58C7-3B1E-A714-00F71ACCDB0A> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication
       0x1015e1000 -        0x10161bfef  com.apple.DebugSymbols (2.1 - 85) <7E0E17D9-C8D4-3117-B36A-506929F6FF72> /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols
       0x101635000 -        0x10169cfff  com.apple.Symbolication (1.2 - 87)  /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolication
       0x1016db000 -        0x10171fff7  com.apple.DocSetAccess (2.1 - 1602)  /Developer-old/*/DocSetAccess.framework/Versions/A/DocSetAccess
       0x101748000 -        0x101797fff  com.apple.Xdesign.XDBase (3.1 - 1591) <566DE2EA-5E07-FA98-9BD8-CDC980917B0C> /Developer-old/*/XDBase.framework/Versions/A/XDBase
       0x1017d7000 -        0x1017eeff7  com.apple.DocSetManagement (1.0 - 1603)  /Developer-old/*/DocSetManagement.framework/Versions/A/DocSetManagement
       0x1017ff000 -        0x101835ff7  com.apple.DocSetViewing (1.0 - 1603)  /Developer-old/*/DocSetViewing.framework/Versions/A/DocSetViewing
       0x101c7c000 -        0x101c7cffd +cl_kernels (??? - ???) <72837D59-E248-49D1-8120-F4E01F21F77F> cl_kernels
       0x101d13000 -        0x101d19fef  libcldcpuengine.dylib (1.50.61 - compatibility 1.0.0)  /System/Library/Frameworks/OpenCL.framework/Libraries/libcldcpuengine.dylib
       0x101d1f000 -        0x101d22ff7  libCoreFSCache.dylib (??? - ???) <783C2402-CA3F-3D9B-B909-0F251145CF1D> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache.dylib
       0x101d36000 -        0x101d37ffc +cl_kernels (??? - ???) <304AB741-2ED6-4340-B62C-358DA79EB450> cl_kernels
       0x101d7c000 -        0x101d7dff3 +cl_kernels (??? - ???)  cl_kernels
       0x101dd1000 -        0x101decfff  libJapaneseConverter.dylib (54.0.0 - compatibility 1.0.0) <489CAB2F-2854-3435-81CD-A062384016F7> /System/Library/CoreServices/Encodings/libJapaneseConverter.dylib
       0x101fa8000 -        0x101fa8ff7  com.apple.xcode.plug-in.CoreBuildTasks (3.0 - 1608)  /Developer-old/*/CoreBuildTasks
       0x101fac000 -        0x101fb2ff7  com.apple.AppleScriptStudio.ASKPlugin (1.7 - 68) <5A8B5991-DB14-A486-1E66-CD90720EFFF8> /Developer-old/*/ASKPlugin
       0x101fbc000 -        0x101fbfff7  com.apple.AppleScriptStudio.ASKDictionaryPlugin (1.6 - 68) <9F90E141-EEEE-4FA0-B180-B15F967DC90C> /Developer-old/*/ASKDictionaryPlugin
       0x101fc7000 -        0x101fc8fff  com.apple.Xcode.iPhoneSimulatorLaunchPlugin (2.0 - 28)  /Developer-old/*/iPhoneSimulatorLaunchPlugin
       0x101ff6000 -        0x101ff7ff7  com.apple.Xdesign.XDInterface.GraphLayouter.ForceDirected (3.1 - 1594) <16592320-E98F-738E-1BA9-780288E4E4F3> /Developer-old/*/XDInterface.framework/Versions/A/PlugIns/XDForceDirectedGraphLayouter.diagramGraphLayouter/Contents/MacOS/XDForceDirectedGraphLayouter
       0x101ffb000 -        0x101ffcff7  com.apple.Xdesign.XDInterface.GraphLayouter.Hierarchical (3.1 - 1594)  /Developer-old/*/XDInterface.framework/Versions/A/PlugIns/XDHierarchicalGraphLayouter.diagramGraphLayouter/Contents/MacOS/XDHierarchicalGraphLayouter
       0x1058ea000 -        0x1058edfff  libsvn_fs-1.0.dylib (??? - ???) <9F510A98-3848-3D25-B2E9-C1F8D7B2E1E6> /usr/lib/libsvn_fs-1.0.dylib
       0x105912000 -        0x105931ff7  com.apple.XdesignPlugin (3.1 - 1591) <35FDC89D-DF5B-0888-D268-12B11B36F40D> /Developer-old/*/XdesignPlugin
       0x105943000 -        0x105983ff7  com.apple.XDSourceCode (3.1 - 1591) <4E10C425-83C9-718F-497F-63807A04FC0A> /Developer-old/*/XDClassModel
       0x1059a6000 -        0x1059e2ff7  com.apple.xdcoredataplugin (3.1 - 1591) <512A3388-9285-12A3-7838-A1CD0A74F69D> /Developer-old/*/XDCoreDataModel
       0x105a00000 -        0x105a0afff  com.apple.xdmappingmodel (3.1 - 1591) <83D9843B-3BFB-8445-9E4C-2DA314B99078> /Developer-old/*/XDMappingModel
       0x105a14000 -        0x105a23ff7  com.apple.xcode.subversion (3.1 - 1605)  /Developer-old/*/XcodeSubversionPlugin
       0x105a2f000 -        0x105a37fff  libsvn_delta-1.0.dylib (??? - ???) <6DCB3EBE-1C25-3174-8505-C6F59F5896C9> /usr/lib/libsvn_delta-1.0.dylib
       0x105a3c000 -        0x105a43fff  libsvn_diff-1.0.dylib (??? - ???) <9979DE1A-7665-352E-A474-C72E85710548> /usr/lib/libsvn_diff-1.0.dylib
       0x105a48000 -        0x105a48fff  libsvn_fs_util-1.0.dylib (??? - ???)  /usr/lib/libsvn_fs_util-1.0.dylib
       0x105a4c000 -        0x105a4cff7  com.apple.xcode.subversion.ui (3.1 - 1605)  /Developer-old/*/XcodeSubversionIDEPlugin
       0x105e70000 -        0x105e8fff7  libapr-1.0.dylib (5.2.0 - compatibility 5.0.0)  /usr/lib/libapr-1.0.dylib
       0x105e9c000 -        0x105eb8ff7  libaprutil-1.0.dylib (4.10.0 - compatibility 4.0.0)  /usr/lib/libaprutil-1.0.dylib
       0x105ec4000 -        0x105ee0fff  libsvn_fs_fs-1.0.dylib (??? - ???) <009B0B09-192C-3890-81E9-DD8CAE09F041> /usr/lib/libsvn_fs_fs-1.0.dylib
       0x105eea000 -        0x105eeefff  libsvn_ra_local-1.0.dylib (??? - ???)  /usr/lib/libsvn_ra_local-1.0.dylib
       0x105ef4000 -        0x105ef9fff  libsvn_ra-1.0.dylib (??? - ???)  /usr/lib/libsvn_ra-1.0.dylib
       0x106000000 -        0x106140fef  com.apple.Xdesign.XDInterface (3.1 - 1594) <1C2D24D1-7B03-0AB7-0719-1707121494B9> /Developer-old/*/XDInterface.framework/Versions/A/XDInterface
       0x1061f4000 -        0x106226fff  libsvn_client-1.0.dylib (??? - ???) <0F2E53E7-8B3E-3B40-B3DE-AE6E509F6BE8> /usr/lib/libsvn_client-1.0.dylib
       0x106234000 -        0x106242fff  libsvn_ra_svn-1.0.dylib (??? - ???) <7D436E81-20DA-303C-BB0F-A38F5148ABEC> /usr/lib/libsvn_ra_svn-1.0.dylib
       0x106249000 -        0x106267fff  libsvn_repos-1.0.dylib (??? - ???)  /usr/lib/libsvn_repos-1.0.dylib
       0x106271000 -        0x1062a9ff7  libsvn_subr-1.0.dylib (??? - ???) <6CD0DB55-EACD-3285-873A-DB427425B223> /usr/lib/libsvn_subr-1.0.dylib
       0x1062bb000 -        0x1062efff7  libsvn_wc-1.0.dylib (??? - ???) <1A1E4150-E52C-388D-9E7D-AED8720494FF> /usr/lib/libsvn_wc-1.0.dylib
       0x1062fc000 -        0x106317ff7  libpq.5.dylib (5.3.0 - compatibility 5.0.0) <30B95501-4104-35B5-A395-39B58A818574> /usr/lib/libpq.5.dylib
       0x106322000 -        0x106339ff7  libsvn_ra_neon-1.0.dylib (??? - ???) <05913514-D5E7-3B69-8E7E-C04BDA5F42B4> /usr/lib/libsvn_ra_neon-1.0.dylib
       0x106343000 -        0x10635ffff  libneon.27.dylib (30.0.0 - compatibility 30.0.0) <3EFC3225-3623-3984-9FE7-E5E5488884BC> /usr/lib/libneon.27.dylib
       0x10636b000 -        0x10637ffff  com.apple.xcode.perforce (3.1 - 1605) <15EE3306-0768-220C-08EB-BD3EF395CCBC> /Developer-old/*/XcodePerforcePlugin
       0x10638b000 -        0x10638ffff  com.apple.xcode.perforce.ui (3.1 - 1605) <4D33345A-C3A7-5E63-7EC0-7D1C1851D0C6> /Developer-old/*/XcodePerforceIDEPlugin
       0x106393000 -        0x1063adff7  com.apple.xcode.cvs (3.1 - 1605)  /Developer-old/*/XcodeCVSPlugin
       0x1063bc000 -        0x1063bffff  com.apple.xcode.cvs.ui (3.1 - 1605) <44E0B62A-9F92-FEAF-8CBA-FAE15B3E4EF0> /Developer-old/*/XcodeCVSIDEPlugin
       0x1063c3000 -        0x1063ccfff  com.apple.Xcode.PlistPlugin (3.2 - 1607) <6234EA36-D8B8-0DB2-4953-AB929C4E40C4> /Developer-old/*/PlistPlugin
       0x1063d4000 -        0x1063fcff7  com.apple.Xcode.PlistEdit (3.2 - 1607) <4F0C2E09-4391-4B4D-80F6-C6778F023AA4> /Developer-old/*/PlistEdit.framework/Versions/A/PlistEdit
       0x106414000 -        0x10641efff  com.apple.AppleScriptStudio.ASKDebuggerPlugin (1.6 - 68) <672A915A-32FF-E3E5-7FE0-C321880A7582> /Developer-old/*/ASKDebuggerPlugin
       0x106447000 -        0x10644afff  com.apple.Xcode.iPhoneSimulatorDevicePlugin (2.0 - 28)  /Developer-old/*/iPhoneSimulatorDevicePlugin
       0x106452000 -        0x1064a5fff  com.apple.AppleScriptKit (1.5.2 - 85) <8EC83B08-262C-3B63-9375-1EBB09B834DD> /System/Library/Frameworks/AppleScriptKit.framework/Versions/A/AppleScriptKit
       0x1064e6000 -        0x106519fff  com.apple.Xcode.JavaDebugging (5.1 - 1610) <4A778B9A-2859-CAFC-D6F7-C7BB38C16A33> /Developer-old/*/Xcode.app/Contents/PlugIns/JavaDebugging.xcplugin/Contents/MacOS/JavaDebugging
       0x10653b000 -        0x1065abfff  com.apple.Xcode.GDBMIDebuggingPlugin (5.1 - 1610) <540A1D8F-448B-9DFD-6B07-75397493861E> /Developer-old/*/Xcode.app/Contents/PlugIns/GDBMIDebugging.xcplugin/Contents/MacOS/GDBMIDebugging
       0x1065f1000 -        0x106602fff  com.apple.Xcode.BuildSettingsPanes (5.1 - 1610) <4948A347-9A38-65A0-32DA-1C354C777D67> /Developer-old/*/Xcode.app/Contents/PlugIns/BuildSettingsPanes.xcplugin/Contents/MacOS/BuildSettingsPanes
       0x10660c000 -        0x106617fff  com.apple.platform.iphoneos.plugin (1.0 - 1.0) <0EABDC8C-F452-1D24-F313-CADA00E32CC2> /Developer-old/*/iPhoneOS Build System Support
       0x10661f000 -        0x10662bfff  com.apple.DTDeviceKitBase (1 - 46.6) <4BB26348-4A0C-205D-9176-CBC05E4D9D55> /Developer-old/*/DTDeviceKitBase.framework/Versions/A/DTDeviceKitBase
       0x106636000 -        0x1066affff  com.apple.mobiledevice (423.1 - 423.1) <6B3B46A2-D6AB-391E-BF8A-05F55707BD94> /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice
       0x1066e6000 -        0x1067c9fff  libcrypto.0.9.7.dylib (0.9.7 - compatibility 0.9.7) <358B5B40-43B2-3F92-9FD3-DAA68806E1FF> /usr/lib/libcrypto.0.9.7.dylib
       0x10681f000 -        0x106846fff  libssl.0.9.7.dylib (0.9.7 - compatibility 0.9.7)  /usr/lib/libssl.0.9.7.dylib
       0x106b01000 -        0x106b4efff  com.apple.Xcode.iPhoneSupport (3.0 - 155.2) <0E82F504-137B-FA5C-4532-211C44DD7B80> /Developer-old/*/iPhoneRemoteDevice
       0x106b9a000 -        0x106bb1fff  com.apple.DeviceLinkX (4.1 - 223) <7CE62016-E1A6-3DB6-A9B6-2E4FB50EBBDA> /System/Library/PrivateFrameworks/DeviceLink.framework/Versions/A/DeviceLink
       0x106bc0000 -        0x106bc7fff  com.apple.iPhoneSimulatorRemoteClient (2.0 - 14)  /Developer-old/*/iPhoneSimulatorRemoteClient.framework/Versions/A/iPhoneSimulatorRemoteClient
       0x106d00000 -        0x106d22fff  com.apple.DTDeviceKit (1 - 46.6)  /Developer-old/*/DTDeviceKit.framework/Versions/A/DTDeviceKit
       0x106e7c000 -        0x106e7dff3 +cl_kernels (??? - ???) <7FE6106C-6886-450A-A9D3-889E9FE030EE> cl_kernels
       0x106eb7000 -        0x106ebcff7  libgermantok.dylib (??? - ???)  /usr/lib/libgermantok.dylib
       0x106eca000 -        0x106eccfff  com.apple.AddressBook.LocalSourceBundle (1.1 - 1043)  /System/Library/Address Book Plug-Ins/LocalSource.sourcebundle/Contents/MacOS/LocalSource
       0x106edd000 -        0x106ee0fff  com.apple.DirectoryServicesSource (1.1 - 1043)  /System/Library/Address Book Plug-Ins/DirectoryServices.sourcebundle/Contents/MacOS/DirectoryServices
       0x108316000 -        0x108316ff5 +cl_kernels (??? - ???)  cl_kernels
       0x108363000 -        0x108363ffd +cl_kernels (??? - ???) <6EE591E1-0BB3-477A-801C-708F06EE57D8> cl_kernels
       0x109475000 -        0x109475ff1 +cl_kernels (??? - ???)  cl_kernels
       0x10bc0d000 -        0x10bca0ff7  unorm8_bgra.dylib (1.50.61 - compatibility 1.0.0) <3ED8B0D5-4A55-3E39-8490-B7BC1780F67B> /System/Library/Frameworks/OpenCL.framework/Libraries/ImageFormats/unorm8_bgra.dylib
       0x10cacb000 -        0x10cb5eff7  unorm8_argb.dylib (1.50.61 - compatibility 1.0.0)  /System/Library/Frameworks/OpenCL.framework/Libraries/ImageFormats/unorm8_argb.dylib
       0x10cb7d000 -        0x10cc93ff7  libmecab.1.0.0.dylib (??? - ???) <3A9B0BEB-025A-34A1-9E87-9AA84900AC37> /usr/lib/libmecab.1.0.0.dylib
    0x7fff6b117000 -     0x7fff6b14bac7  dyld (195.5 - ???) <4A6E2B28-C7A2-3528-ADB7-4076B9836041> /usr/lib/dyld
    0x7fff84d73000 -     0x7fff854419df  com.apple.CoreGraphics (1.600.0 - ???)  /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    0x7fff85442000 -     0x7fff85446fff  libCGXType.A.dylib (600.0.0 - compatibility 64.0.0) <5EEAD17D-006C-3855-8093-C7A4A97EE0D0> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXType.A.dylib
    0x7fff85475000 -     0x7fff854dffff  com.apple.framework.IOKit (2.0 - ???)  /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x7fff854e0000 -     0x7fff854fbfff  libexpat.1.dylib (7.2.0 - compatibility 7.0.0)  /usr/lib/libexpat.1.dylib
    0x7fff8553f000 -     0x7fff85574fff  com.apple.securityinterface (5.0 - 55004) <790DDF7E-6BA9-36DD-B818-2322A712E1F5> /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInterface
    0x7fff855c0000 -     0x7fff85630fff  com.apple.datadetectorscore (3.0 - 179.3)  /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
    0x7fff85631000 -     0x7fff856d0fff  com.apple.LaunchServices (480.19 - 480.19) <41ED4C8B-C74B-34EA-A9BF-34DBA5F52307> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
    0x7fff856d1000 -     0x7fff85711fff  libtidy.A.dylib (??? - ???)  /usr/lib/libtidy.A.dylib
    0x7fff85712000 -     0x7fff85735ff7  com.apple.RemoteViewServices (1.0 - 1)  /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices
    0x7fff857cd000 -     0x7fff857fdfff  com.apple.shortcut (2.0 - 2.0) <6E6C9F01-5DAC-35F4-876D-082D915EE782> /System/Library/PrivateFrameworks/Shortcut.framework/Versions/A/Shortcut
    0x7fff857fe000 -     0x7fff85879ff7  com.apple.print.framework.PrintCore (7.0 - 366)  /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
    0x7fff8587a000 -     0x7fff85881ff7  com.apple.CommerceCore (1.0 - 17)  /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/CommerceCore.framework/Versions/A/CommerceCore
    0x7fff85edf000 -     0x7fff85f07ff7  com.apple.CoreVideo (1.7 - 70.0) <59D5B407-CCB6-3406-8C55-C1B0168D7DC2> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
    0x7fff85f08000 -     0x7fff85f62fff  com.apple.HIServices (1.9 - ???) <8791E8AA-C034-330D-B2BA-5141154C21CD> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
    0x7fff85f7f000 -     0x7fff86031fff  com.apple.CoreText (4.0.0 - ???)  /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
    0x7fff86068000 -     0x7fff860fafff  com.apple.PDFKit (2.6 - 2.6)  /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit.framework/Versions/A/PDFKit
    0x7fff860fd000 -     0x7fff860fffff  libCVMSPluginSupport.dylib (??? - ???) <2D21E6BE-CB20-3F76-8DCC-1CB0660A8A5B> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib
    0x7fff8610b000 -     0x7fff86526fff  com.apple.SceneKit (2.0 - 124) <9E331DDE-BDF4-34C5-A8F9-E7F12ADBB785> /System/Library/PrivateFrameworks/SceneKit.framework/Versions/A/SceneKit
    0x7fff86527000 -     0x7fff86874ff7  com.apple.FinderKit (1.0 - 1) <906BCBF7-CBE6-36D2-A183-4980E73CA5EF> /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit
    0x7fff86875000 -     0x7fff868a2fe7  libSystem.B.dylib (159.0.0 - compatibility 1.0.0) <7B4D685D-939C-3ABE-8780-77A1889E0DE9> /usr/lib/libSystem.B.dylib
    0x7fff868a3000 -     0x7fff86cbeff7  com.apple.RawCamera.bundle (3.7.2 - 573)  /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
    0x7fff86cbf000 -     0x7fff86cc4fff  com.apple.OpenDirectory (10.7 - 144)  /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
    0x7fff86cc5000 -     0x7fff86cd2ff7  libbz2.1.0.dylib (1.0.5 - compatibility 1.0.0) <8EDE3492-D916-37B2-A066-3E0F054411FD> /usr/lib/libbz2.1.0.dylib
    0x7fff86cd8000 -     0x7fff86d16fff  com.apple.bom (11.0 - 183) <841FA160-A37A-368D-B14E-27AA9DD1AEDA> /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
    0x7fff86d17000 -     0x7fff86d23fff  com.apple.DirectoryService.Framework (10.7 - 144) <067ACB41-E9B7-3177-9EDE-C188D9B352DC> /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryService
    0x7fff86d24000 -     0x7fff86d25fff  libunc.dylib (24.0.0 - compatibility 1.0.0)  /usr/lib/system/libunc.dylib
    0x7fff86d26000 -     0x7fff86d2cfff  libGFXShared.dylib (??? - ???)  /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
    0x7fff86d68000 -     0x7fff86dbcff7  com.apple.ScalableUserInterface (1.0 - 1) <1873D7BE-2272-31A1-8F85-F70C4D706B3B> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/ScalableUserInterface.framework/Versions/A/ScalableUserInterface
    0x7fff86dbd000 -     0x7fff873a1faf  libBLAS.dylib (??? - ???)  /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
    0x7fff873a2000 -     0x7fff873cbfff  com.apple.CoreServicesInternal (113.7 - 113.7)  /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/CoreServicesInternal
    0x7fff873d0000 -     0x7fff873d7fff  com.apple.NetFS (4.0 - 4.0)  /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
    0x7fff873d8000 -     0x7fff874ddff7  libFontParser.dylib (??? - ???) <22AADE96-E54D-3918-9DFA-1967F8B21E54> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
    0x7fff874de000 -     0x7fff87560fff  com.apple.Metadata (10.7.0 - 627.9)  /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
    0x7fff87561000 -     0x7fff87564fff  libRadiance.dylib (??? - ???)  /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
    0x7fff87565000 -     0x7fff876beff7  com.apple.audio.toolbox.AudioToolbox (1.7 - 1.7) <296F10D0-A871-39C1-B8B2-9200AB12B5AF> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    0x7fff876bf000 -     0x7fff876bffff  com.apple.vecLib (3.7 - vecLib 3.7) <29927F20-262F-379C-9108-68A6C69A03D0> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
    0x7fff876c0000 -     0x7fff876c1fff  libDiagnosticMessagesClient.dylib (??? - ???) <3DCF577B-F126-302B-BCE2-4DB9A95B8598> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fff87744000 -     0x7fff87773fff  com.apple.DictionaryServices (1.2 - 158) <2CE51CD1-EE3D-3618-9507-E39A09C9BB8D> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
    0x7fff87774000 -     0x7fff8778efff  com.apple.CoreMediaAuthoring (2.0 - 889) <99D8E4C6-DDD3-3B0C-BBFB-A513877F10F6> /System/Library/PrivateFrameworks/CoreMediaAuthoring.framework/Versions/A/CoreMediaAuthoring
    0x7fff877d6000 -     0x7fff877d9fff  libCoreVMClient.dylib (??? - ???) <9E9F7B24-567C-3102-909C-219CF2B191FD> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
    0x7fff87b3e000 -     0x7fff87b3ffff  libdnsinfo.dylib (395.6.0 - compatibility 1.0.0) <718A135F-6349-354A-85D5-430B128EFD57> /usr/lib/system/libdnsinfo.dylib
    0x7fff87b40000 -     0x7fff87b40fff  com.apple.Accelerate.vecLib (3.7 - vecLib 3.7) <4CC14F7C-BCA7-3CAC-BEC9-B06576E5A15B> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
    0x7fff87cad000 -     0x7fff87fd0fff  com.apple.HIToolbox (1.7 - ???) <10FA3432-6638-39D9-8681-9E95298D239E> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
    0x7fff87fd5000 -     0x7fff87ffbfff  com.apple.framework.internetaccounts (1.0 - 1) <64CC50BB-9EE4-36D1-969A-FDD2210026DC> /System/Library/PrivateFrameworks/InternetAccounts.framework/Versions/A/InternetAccounts
    0x7fff8803b000 -     0x7fff880aefff  libstdc++.6.dylib (52.0.0 - compatibility 7.0.0) <6BDD43E4-A4B1-379E-9ED5-8C713653DFF2> /usr/lib/libstdc++.6.dylib
    0x7fff880af000 -     0x7fff880bcfff  libCSync.A.dylib (600.0.0 - compatibility 64.0.0) <931F40EB-CA75-3A90-AC97-4DB8E210BC76> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
    0x7fff880bd000 -     0x7fff8810fff7  libGLU.dylib (??? - ???)  /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
    0x7fff88110000 -     0x7fff88122ff7  libbsm.0.dylib (??? - ???) <349BB16F-75FA-363F-8D98-7A9C3FA90A0D> /usr/lib/libbsm.0.dylib
    0x7fff88130000 -     0x7fff8813eff7  libkxld.dylib (??? - ???) <65BE345D-6618-3D1A-9E2B-255E629646AA> /usr/lib/system/libkxld.dylib
    0x7fff8813f000 -     0x7fff88168fff  libJPEG.dylib (??? - ???) <3DBFEB41-4BF2-3502-872A-BB3738EE61B0> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
    0x7fff88169000 -     0x7fff88171fff  libsystem_dnssd.dylib (??? - ???) <7749128E-D0C5-3832-861C-BC9913F774FA> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff881a4000 -     0x7fff881a7ff7  com.apple.securityhi (4.0 - 1)  /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
    0x7fff88300000 -     0x7fff8831dfff  libPng.dylib (??? - ???) <75DA9F95-C2A1-3534-9F8B-14CFFDE2A290> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
    0x7fff8831e000 -     0x7fff88344ff7  com.apple.framework.familycontrols (3.0 - 300) <72FEA71A-5865-3875-97E9-3C8C96B7F7FA> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyControls
    0x7fff8836d000 -     0x7fff8879ffe7  com.apple.VideoToolbox (1.0 - 705.35)  /System/Library/PrivateFrameworks/VideoToolbox.framework/Versions/A/VideoToolbox
    0x7fff887a0000 -     0x7fff887bffff  libresolv.9.dylib (46.0.0 - compatibility 1.0.0) <33263568-E6F3-359C-A4FA-66AD1300F7D4> /usr/lib/libresolv.9.dylib
    0x7fff887c0000 -     0x7fff88808fff  com.apple.framework.CoreWLAN (2.0 - 200.46) <04AFD988-DDFB-330D-B042-C1EB2826A0CC> /System/Library/Frameworks/CoreWLAN.framework/Versions/A/CoreWLAN
    0x7fff88872000 -     0x7fff88a45ff7  com.apple.CoreFoundation (6.7 - 635) <57446B22-0778-3E07-9690-96AC705D57E8> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff88a46000 -     0x7fff88aa6fff  libvDSP.dylib (325.3.0 - compatibility 1.0.0) <74B62E70-4189-3022-8FC9-1182EA7C6E34> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
    0x7fff88aa7000 -     0x7fff88abdff7  com.apple.ImageCapture (7.0 - 7.0) <69E6E2E1-777E-332E-8BCF-4F0611517DD0> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
    0x7fff88abe000 -     0x7fff88accfff  com.apple.HelpData (2.1.0 - 68)  /System/Library/PrivateFrameworks/HelpData.framework/Versions/A/HelpData
    0x7fff88b34000 -     0x7fff88b42fff  libdispatch.dylib (187.5.0 - compatibility 1.0.0) <698F8EFB-7075-3111-94E3-891156C88172> /usr/lib/system/libdispatch.dylib
    0x7fff88b4b000 -     0x7fff88b51ff7  libunwind.dylib (30.0.0 - compatibility 1.0.0) <1E9C6C8C-CBE8-3F4B-A5B5-E03E3AB53231> /usr/lib/system/libunwind.dylib
    0x7fff88b52000 -     0x7fff88b6eff7  com.apple.GenerationalStorage (1.0 - 124)  /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage
    0x7fff88b6f000 -     0x7fff88de9ff7  com.apple.imageKit (2.1 - 1.0) <03200568-184B-36E8-AFE9-04D1FACDC926> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/ImageKit.framework/Versions/A/ImageKit
    0x7fff88e5a000 -     0x7fff88f3edef  libobjc.A.dylib (228.0.0 - compatibility 1.0.0)  /usr/lib/libobjc.A.dylib
    0x7fff88f3f000 -     0x7fff88f9bff7  com.apple.QuickLookFramework (3.0 - 489.1) <26470DFE-B3D7-3E05-A4D7-98B64FCB230B> /System/Library/Frameworks/QuickLook.framework/Versions/A/QuickLook
    0x7fff88f9c000 -     0x7fff88fb9ff7  libxpc.dylib (77.16.0 - compatibility 1.0.0) <0A4B4775-29A9-30D6-956B-3BE1DBF98090> /usr/lib/system/libxpc.dylib
    0x7fff88fba000 -     0x7fff88fe1fff  com.apple.PerformanceAnalysis (1.10 - 10) <2A058167-292E-3C3A-B1F8-49813336E068> /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis
    0x7fff88fe2000 -     0x7fff88fe2fff  com.apple.quartzframework (1.5 - 1.5) <21FCC91F-C7B9-304F-8C9C-04F3924F4AE3> /System/Library/Frameworks/Quartz.framework/Versions/A/Quartz
    0x7fff88fe3000 -     0x7fff88fe3fff  com.apple.CoreServices (53 - 53) <5946A0A6-393D-3087-86A0-4FFF6A305CC0> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x7fff88fe4000 -     0x7fff89778fff  com.apple.CoreAUC (6.11.03 - 6.11.03) <5A56B2DC-A0A6-357B-ADF2-5714AFEBD926> /System/Library/PrivateFrameworks/CoreAUC.framework/Versions/A/CoreAUC
    0x7fff89779000 -     0x7fff89784ff7  libc++abi.dylib (14.0.0 - compatibility 1.0.0) <8FF3D766-D678-36F6-84AC-423C878E6D14> /usr/lib/libc++abi.dylib
    0x7fff89785000 -     0x7fff89829fef  com.apple.ink.framework (1.3.2 - 110)  /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
    0x7fff8982a000 -     0x7fff89881fff  libTIFF.dylib (??? - ???) <9E32B490-4C5B-3D96-AF27-9C085C606403> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
    0x7fff898e7000 -     0x7fff89cadfff  com.apple.MediaToolbox (1.0 - 705.35)  /System/Library/PrivateFrameworks/MediaToolbox.framework/Versions/A/MediaToolbox
    0x7fff89d1d000 -     0x7fff8a036ff7  com.apple.AddressBook.framework (6.0 - 1043)  /System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook
    0x7fff8a4e6000 -     0x7fff8a522fff  libsystem_info.dylib (??? - ???)  /usr/lib/system/libsystem_info.dylib
    0x7fff8a523000 -     0x7fff8a530fff  libexslt.0.dylib (9.13.0 - compatibility 9.0.0)  /usr/lib/libexslt.0.dylib
    0x7fff8a531000 -     0x7fff8a79fff7  com.apple.QuartzComposer (5.0 - 232)  /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzComposer.framework/Versions/A/QuartzComposer
    0x7fff8a7a0000 -     0x7fff8a7a0fff  com.apple.Carbon (153 - 153) <895C2BF2-1666-3A59-A669-311B1F4F368B> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    0x7fff8a7a1000 -     0x7fff8a92bff7  com.apple.QTKit (7.7.1 - 2246)  /System/Library/Frameworks/QTKit.framework/Versions/A/QTKit
    0x7fff8a9e8000 -     0x7fff8a9edfff  libpam.2.dylib (3.0.0 - compatibility 3.0.0)  /usr/lib/libpam.2.dylib
    0x7fff8aa5c000 -     0x7fff8aa6bfff  com.apple.opengl (1.7.4 - 1.7.4) <38AF4430-7E81-3C98-9330-21DCDA90507E> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x7fff8aa7c000 -     0x7fff8ab59fef  libsystem_c.dylib (763.11.0 - compatibility 1.0.0) <1D61CA57-3C6D-30F7-89CB-CC6F0787B1DC> /usr/lib/system/libsystem_c.dylib
    0x7fff8ab5a000 -     0x7fff8ab5ffff  libGIF.dylib (??? - ???) <21851808-BFD2-3141-8354-A419479726BF> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
    0x7fff8ab60000 -     0x7fff8ab67fff  libcopyfile.dylib (85.1.0 - compatibility 1.0.0) <172B1985-F24A-34E9-8D8B-A2403C9A0399> /usr/lib/system/libcopyfile.dylib
    0x7fff8ab7b000 -     0x7fff8abddff7  com.apple.coreui (0.3 - 162)  /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
    0x7fff8abde000 -     0x7fff8ace0ff7  libxml2.2.dylib (10.3.0 - compatibility 10.0.0)  /usr/lib/libxml2.2.dylib
    0x7fff8ace1000 -     0x7fff8ad7bff7  com.apple.SearchKit (1.4.0 - 1.4.0)  /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
    0x7fff8ad7c000 -     0x7fff8ae89fff  libJP2.dylib (??? - ???)  /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
    0x7fff8ae8a000 -     0x7fff8af6afff  com.apple.CoreServices.OSServices (478.25 - 478.25)  /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
    0x7fff8af6b000 -     0x7fff8af6bfff  com.apple.Accelerate (1.7 - Accelerate 1.7) <3E4582EB-CFEF-34EA-9DA8-8421F1C3C77D> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x7fff8b0e2000 -     0x7fff8b0edff7  com.apple.speech.recognition.framework (4.0.19 - 4.0.19) <7ADAAF5B-1D78-32F2-9FFF-D2E3FBB41C2B> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
    0x7fff8b0ee000 -     0x7fff8b102ff7  com.apple.LangAnalysis (1.7.0 - 1.7.0) <04C31EF0-912A-3004-A08F-CEC27030E0B2> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
    0x7fff8b103000 -     0x7fff8b10efff  com.apple.CommonAuth (2.1 - 2.0) <49949286-61FB-3A7F-BF49-0EBA45E2664E> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
    0x7fff8b10f000 -     0x7fff8b126fff  com.apple.CFOpenDirectory (10.7 - 144) <9709423E-8484-3B26-AAE8-EF58D1B8FB3F> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
    0x7fff8b127000 -     0x7fff8b12dfff  IOSurface (??? - ???) <06FA3FDD-E6D5-391F-B60D-E98B169DAB1B> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
    0x7fff8b1d3000 -     0x7fff8b1d3fff  com.apple.audio.units.AudioUnit (1.7 - 1.7)  /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
    0x7fff8b1d4000 -     0x7fff8b1fdff7  com.apple.framework.Apple80211 (7.0 - 700.57) <0D7D7E08-377B-32F0-AD91-673F992B5CFF> /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Apple80211
    0x7fff8b1fe000 -     0x7fff8b1fefff  com.apple.Cocoa (6.6 - ???) <021D4214-9C23-3CD8-AFB2-F331697A4508> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
    0x7fff8b3fd000 -     0x7fff8b456fff  com.apple.Suggestions (1.0 - 84.0) <6B925EBB-CEEF-3134-8D25-2103F21DE624> /System/Library/PrivateFrameworks/Suggestions.framework/Versions/A/Suggestions
    0x7fff8b457000 -     0x7fff8b659fff  libicucore.A.dylib (46.1.0 - compatibility 1.0.0) <82DCB94B-3819-3CC3-BC16-2AACA7F64F8A> /usr/lib/libicucore.A.dylib
    0x7fff8b6d7000 -     0x7fff8b6ecfff  com.apple.speech.synthesis.framework (4.0.74 - 4.0.74)  /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
    0x7fff8b6ed000 -     0x7fff8b726fe7  libssl.0.9.8.dylib (0.9.8 - compatibility 0.9.8)  /usr/lib/libssl.0.9.8.dylib
    0x7fff8b727000 -     0x7fff8b728ff7  libsystem_blocks.dylib (53.0.0 - compatibility 1.0.0) <8BCA214A-8992-34B2-A8B9-B74DEACA1869> /usr/lib/system/libsystem_blocks.dylib
    0x7fff8b729000 -     0x7fff8b72efff  libcompiler_rt.dylib (6.0.0 - compatibility 1.0.0) <98ECD5F6-E85C-32A5-98CD-8911230CB66A> /usr/lib/system/libcompiler_rt.dylib
    0x7fff8b825000 -     0x7fff8c51efef  com.apple.WebCore (7534 - 7534.48.3) <7C5A681C-3749-382C-9551-C197EF878C22> /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/WebCore
    0x7fff8c51f000 -     0x7fff8c606fff  com.apple.backup.framework (1.3 - 1.3)  /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
    0x7fff8c607000 -     0x7fff8c699fff  com.apple.CorePDF (3.0 - 3.0) <6056B710-155A-3543-9373-B9F3E5FC99CE> /System/Library/PrivateFrameworks/CorePDF.framework/Versions/A/CorePDF
    0x7fff8c69a000 -     0x7fff8c6e1ff7  com.apple.CoreMedia (1.0 - 705.35) <6BEC7E0A-BC2E-30DA-8E18-7AF6E8A7821F> /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia
    0x7fff8c6e2000 -     0x7fff8c6fffff  com.apple.frameworks.preferencepanes (15.0 - 15.0)  /System/Library/Frameworks/PreferencePanes.framework/Versions/A/PreferencePanes
    0x7fff8c700000 -     0x7fff8c7c7ff7  com.apple.ColorSync (4.7.0 - 4.7.0)  /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
    0x7fff8c7c8000 -     0x7fff8c7c9fff  libsystem_sandbox.dylib (??? - ???) <8D14139B-B671-35F4-9E5A-023B4C523C38> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff8c7ca000 -     0x7fff8c7cdfff  com.apple.help (1.3.2 - 42)  /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
    0x7fff8c7fe000 -     0x7fff8c894ff7  libvMisc.dylib (325.3.0 - compatibility 1.0.0)  /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
    0x7fff8c895000 -     0x7fff8c897fff  com.apple.TrustEvaluationAgent (2.0 - 1) <80AFB5D8-5CC4-3A38-83B9-A7DF5820031A> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
    0x7fff8c898000 -     0x7fff8c8a6fff  com.apple.NetAuth (1.0 - 3.0)  /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
    0x7fff8cac8000 -     0x7fff8cacefff  com.apple.DiskArbitration (2.4 - 2.4) <5185FEA6-92CA-3CAA-8442-BD71DBC64AFD> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x7fff8cacf000 -     0x7fff8cb44ff7  libc++.1.dylib (19.0.0 - compatibility 1.0.0)  /usr/lib/libc++.1.dylib
    0x7fff8cbd3000 -     0x7fff8cc27ff7  com.apple.ImageCaptureCore (3.0 - 3.0)  /System/Library/Frameworks/ImageCaptureCore.framework/Versions/A/ImageCaptureCore
    0x7fff8cc28000 -     0x7fff8cc3ffff  com.apple.MultitouchSupport.framework (220.62 - 220.62) <7EF58A7E-CB97-335F-A025-4A0F00AEF896> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
    0x7fff8ccdf000 -     0x7fff8cd0afff  libpcre.0.dylib (1.1.0 - compatibility 1.0.0) <7D3CDB0A-840F-3856-8F84-B4A50E66431B> /usr/lib/libpcre.0.dylib
    0x7fff8cd0b000 -     0x7fff8cd19ff7  com.apple.AppleFSCompression (37 - 1.0) <88C436E8-38AE-3D96-A8C8-2D1805CC47B7> /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/AppleFSCompression
    0x7fff8cd1a000 -     0x7fff8cd3eff7  com.apple.Kerberos (1.0 - 1) <2FF2569B-F59A-371E-AF33-66297F512CB3> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
    0x7fff8ce07000 -     0x7fff8ce11ff7  liblaunch.dylib (392.18.0 - compatibility 1.0.0) <39EF04F2-7F0C-3435-B785-BF283727FFBD> /usr/lib/system/liblaunch.dylib
    0x7fff8ce12000 -     0x7fff8ce13fff  liblangid.dylib (??? - ???)  /usr/lib/liblangid.dylib
    0x7fff8ce14000 -     0x7fff8ce55fff  com.apple.QD (3.12 - ???) <4F3C5629-97C7-3E55-AF3C-ACC524929DA2> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
    0x7fff8ce56000 -     0x7fff8ce5afff  libmathCommon.A.dylib (2026.0.0 - compatibility 1.0.0)  /usr/lib/system/libmathCommon.A.dylib
    0x7fff8ce5b000 -     0x7fff8ce6dff7  libsasl2.2.dylib (3.15.0 - compatibility 3.0.0) <6245B497-784B-355C-98EF-2DC6B45BF05C> /usr/lib/libsasl2.2.dylib
    0x7fff8ceb3000 -     0x7fff8cfecfef  com.apple.vImage (5.0 - 5.0)  /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
    0x7fff8cfed000 -     0x7fff8dbe5fff  com.apple.AppKit (6.7 - 1138)  /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x7fff8dbe6000 -     0x7fff8dcdbfff  libiconv.2.dylib (7.0.0 - compatibility 7.0.0) <5C40E880-0706-378F-B864-3C2BD922D926> /usr/lib/libiconv.2.dylib
    0x7fff8dcdc000 -     0x7fff8dd43ff7  com.apple.audio.CoreAudio (4.0.0 - 4.0.0) <0B715012-C8E8-386D-9C6C-90F72AE62A2F> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    0x7fff8dd44000 -     0x7fff8de50fef  libcrypto.0.9.8.dylib (0.9.8 - compatibility 0.9.8) <3AD29F8D-E3BC-3F49-A438-2C8AAB71DC99> /usr/lib/libcrypto.0.9.8.dylib
    0x7fff8de51000 -     0x7fff8de7efff  com.apple.quartzfilters (1.7.0 - 1.7.0)  /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzFilters.framework/Versions/A/QuartzFilters
    0x7fff8de7f000 -     0x7fff8e01efff  com.apple.QuartzCore (1.7 - 269.0)  /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x7fff8e01f000 -     0x7fff8e0a4ff7  com.apple.Heimdal (2.1 - 2.0)  /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
    0x7fff8e0a5000 -     0x7fff8e0e4fff  com.apple.AE (527.6 - 527.6) <6F8DF9EF-3250-3B7F-8841-FCAD8E323954> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
    0x7fff8e0e5000 -     0x7fff8e1e8fff  libsqlite3.dylib (9.6.0 - compatibility 9.0.0)  /usr/lib/libsqlite3.dylib
    0x7fff8e1e9000 -     0x7fff8e1ebfff  libquarantine.dylib (36.0.0 - compatibility 1.0.0) <4C3BFBC7-E592-3939-B376-1C2E2D7C5389> /usr/lib/system/libquarantine.dylib
    0x7fff8e1ec000 -     0x7fff8e227fff  com.apple.LDAPFramework (3.0 - 120.1) <0C23534F-A8E7-3144-B2B2-50F9875101E2> /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
    0x7fff8e228000 -     0x7fff8e231fff  libnotify.dylib (80.0.0 - compatibility 1.0.0)  /usr/lib/system/libnotify.dylib
    0x7fff8e232000 -     0x7fff8e2a8fff  com.apple.ISSupport (1.9.8 - 56) <2CEE7E6B-D841-36D8-BC9F-081B33F6E501> /System/Library/PrivateFrameworks/ISSupport.framework/Versions/A/ISSupport
    0x7fff8e2a9000 -     0x7fff8e2c6ff7  com.apple.openscripting (1.3.3 - ???)  /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
    0x7fff8e2c7000 -     0x7fff8e3c9ff7  com.apple.PubSub (1.0.5 - 65.28)  /System/Library/Frameworks/PubSub.framework/Versions/A/PubSub
    0x7fff8e3ca000 -     0x7fff8e3d0ff7  com.apple.phonenumbers (1.0 - 47) <8CE13253-C65B-392F-B87F-D85A15D500D3> /System/Library/PrivateFrameworks/PhoneNumbers.framework/Versions/A/PhoneNumbers
    0x7fff8e40f000 -     0x7fff8e728fff  com.apple.CoreServices.CarbonCore (960.13 - 960.13) <398ABDD7-BB95-3C05-96D2-B54243FC4745> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
    0x7fff8e729000 -     0x7fff8e827ff7  com.apple.QuickLookUIFramework (3.0 - 489.1)  /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuickLookUI.framework/Versions/A/QuickLookUI
    0x7fff8e828000 -     0x7fff8e906ff7  com.apple.ImageIO.framework (3.1.0 - 3.1.0) <70228E69-063C-32FF-BBE7-FCCD9C5C0864> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
    0x7fff8e907000 -     0x7fff8ea03ff7  com.apple.avfoundation (2.0 - 180.23)  /System/Library/Frameworks/AVFoundation.framework/Versions/A/AVFoundation
    0x7fff8ea06000 -     0x7fff8ec77fff  com.apple.CoreImage (7.77 - 1.0.1)  /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage.framework/Versions/A/CoreImage
    0x7fff8eca2000 -     0x7fff8ece1ff7  libGLImage.dylib (??? - ???) <29F82AD9-45F0-3AC5-A4A4-B767EC555D82> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
    0x7fff8ece2000 -     0x7fff8ed25ff7  libRIP.A.dylib (600.0.0 - compatibility 64.0.0) <2B1571E1-8E87-364E-BC36-C9C9B5D3EAC4> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
    0x7fff8ed2c000 -     0x7fff8ed2cfff  libkeymgr.dylib (23.0.0 - compatibility 1.0.0) <61EFED6A-A407-301E-B454-CD18314F0075> /usr/lib/system/libkeymgr.dylib
    0x7fff8ed2d000 -     0x7fff8ed78fff  com.apple.SystemConfiguration (1.11 - 1.11) <0B02FEC4-C36E-32CB-8004-2214B6793AE8> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
    0x7fff8ed79000 -     0x7fff8ed8ffff  libGL.dylib (??? - ???) <22064411-0A62-373C-828B-0AA2BA2A8D34> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
    0x7fff8ed90000 -     0x7fff8eda5fff  com.apple.FileSync.framework (6.0 - 432) <7DF40003-7A8A-3C42-AC26-FCA0A0DFEE17> /System/Library/PrivateFrameworks/FileSync.framework/Versions/A/FileSync
    0x7fff8eda6000 -     0x7fff8edf6fff  com.apple.CoreMediaIO (201.0 - 3148) <66287EB0-61F1-3175-90DC-24BB29473C67> /System/Library/Frameworks/CoreMediaIO.framework/Versions/A/CoreMediaIO
    0x7fff8edf7000 -     0x7fff8ef81fff  com.apple.WebKit (7534 - 7534.48.3) <03AC8252-B3A1-3A7C-9DAF-99CC9DC56D5D> /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
    0x7fff8f083000 -     0x7fff8f083fff  com.apple.ApplicationServices (41 - 41) <03F3FA8F-8D2A-3AB6-A8E3-40B001116339> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
    0x7fff8f084000 -     0x7fff8f089fff  libcache.dylib (47.0.0 - compatibility 1.0.0)  /usr/lib/system/libcache.dylib
    0x7fff8f08a000 -     0x7fff8f10eff7  com.apple.ApplicationServices.ATS (5.0 - ???)  /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
    0x7fff8f10f000 -     0x7fff8f113ff7  com.apple.CommonPanels (1.2.5 - 94) <0BB2C436-C9D5-380B-86B5-E355A7711259> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
    0x7fff8f189000 -     0x7fff8f34afe7  com.apple.CoreData (103 - 358.4) <8D8ABA2E-0161-334D-A7C9-79E5297E188B> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
    0x7fff8f34b000 -     0x7fff8f778fff  libLAPACK.dylib (??? - ???) <4F2E1055-2207-340B-BB45-E4F16171EE0D> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
    0x7fff8f779000 -     0x7fff8f88efff  com.apple.DesktopServices (1.6.0 - 1.6.0) <208D40FC-8BBE-330F-B999-18771BEA6895> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
    0x7fff8f88f000 -     0x7fff8f896fff  libCGXCoreImage.A.dylib (600.0.0 - compatibility 64.0.0) <40374018-2832-3144-8114-CED417321C76> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXCoreImage.A.dylib
    0x7fff8f8b0000 -     0x7fff8f8b1ff7  libremovefile.dylib (21.0.0 - compatibility 1.0.0)  /usr/lib/system/libremovefile.dylib
    0x7fff8f8b2000 -     0x7fff8f8b4ff7  com.apple.print.framework.Print (7.0 - 247) <579D7E49-A7F4-3C41-9434-3114B8A9B96C> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
    0x7fff8f8b5000 -     0x7fff8f908fff  libFontRegistry.dylib (??? - ???) <8FE14D77-1286-3619-A02E-0AC1A622596E> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
    0x7fff8f909000 -     0x7fff8fb16fff  com.apple.JavaScriptCore (7534 - 7534.48) <99B60407-592A-3DDC-A3D0-86578B92B3F8> /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore
    0x7fff8fb17000 -     0x7fff8fdeefff  com.apple.security (7.0 - 55010) <2418B583-D3BD-3BC5-8B07-8289C8A5B43B> /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x7fff8fdef000 -     0x7fff8fdf2fff  com.apple.AppleSystemInfo (1.0 - 1) <598ADC13-C994-3579-A885-0D6658DDD564> /System/Library/PrivateFrameworks/AppleSystemInfo.framework/Versions/A/AppleSystemInfo
    0x7fff8fdf3000 -     0x7fff8fe20ff7  com.apple.opencl (1.50.62 - 1.50.62) <616ADE61-11D1-3816-A255-3F0F80F2EAC8> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
    0x7fff8fe21000 -     0x7fff8fe22fff  com.apple.MonitorPanelFramework (1.4.0 - 1.4.0) <0F55CD76-DB24-309B-BD12-62B00C1AAB9F> /System/Library/PrivateFrameworks/MonitorPanel.framework/Versions/A/MonitorPanel
    0x7fff8fe23000 -     0x7fff8fe36ff7  libCRFSuite.dylib (??? - ???) <034D4DAA-63F0-35E4-BCEF-338DD7A453DD> /usr/lib/libCRFSuite.dylib
    0x7fff8fe37000 -     0x7fff8fe3bfff  libdyld.dylib (195.5.0 - compatibility 1.0.0)  /usr/lib/system/libdyld.dylib
    0x7fff8fe3c000 -     0x7fff8fe47fff  com.apple.DisplayServicesFW (2.5.0 - 302.1.2) <36377733-C737-3F36-A601-85D6188A2AAA> /System/Library/PrivateFrameworks/DisplayServices.framework/Versions/A/DisplayServices
    0x7fff90581000 -     0x7fff905cfff7  libauto.dylib (??? - ???)  /usr/lib/libauto.dylib
    0x7fff905d0000 -     0x7fff908e2fff  com.apple.Foundation (6.7 - 833.1) <618D7923-3519-3C53-9CBD-CF3C7130CB32> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7fff908e3000 -     0x7fff90922ff7  libcups.2.dylib (2.9.0 - compatibility 2.0.0)  /usr/lib/libcups.2.dylib
    0x7fff90923000 -     0x7fff90929fff  libmacho.dylib (800.0.0 - compatibility 1.0.0)  /usr/lib/system/libmacho.dylib
    0x7fff9092a000 -     0x7fff9093cff7  libz.1.dylib (1.2.5 - compatibility 1.0.0) <30CBEF15-4978-3DED-8629-7109880A19D4> /usr/lib/libz.1.dylib
    0x7fff9093d000 -     0x7fff90970fff  com.apple.GSS (2.1 - 2.0)  /System/Library/Frameworks/GSS.framework/Versions/A/GSS
    0x7fff90c27000 -     0x7fff90c69ff7  libcommonCrypto.dylib (55010.0.0 - compatibility 1.0.0)  /usr/lib/system/libcommonCrypto.dylib
    0x7fff90c9b000 -     0x7fff90d3dff7  com.apple.securityfoundation (5.0 - 55005) <0D59908C-A61B-389E-AF37-741ACBBA6A94> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
    0x7fff90d3e000 -     0x7fff90d91fff  com.apple.AppleVAFramework (5.0.14 - 5.0.14) <5FA4AED9-8E55-389C-9F5B-02FFE5BCBB75> /System/Library/PrivateFrameworks/AppleVA.framework/Versions/A/AppleVA
    0x7fff90d92000 -     0x7fff90ef5fff  com.apple.CFNetwork (520.0.13 - 520.0.13) <67E3BB43-2A22-3F5A-964E-391375B24CE0> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
    0x7fff90ef6000 -     0x7fff90f16fff  libsystem_kernel.dylib (1699.22.73 - compatibility 1.0.0) <69F2F501-72D8-3B3B-8357-F4418B3E1348> /usr/lib/system/libsystem_kernel.dylib
    0x7fff90f29000 -     0x7fff913d0ff7  FaceCoreLight (1.4.2 - compatibility 1.0.0) <6F89E9A9-DEB6-32B5-8B50-3B97F5DB597D> /System/Library/PrivateFrameworks/FaceCoreLight.framework/Versions/A/FaceCoreLight
    0x7fff913d1000 -     0x7fff913fcff7  libxslt.1.dylib (3.24.0 - compatibility 3.0.0) <8051A3FC-7385-3EA9-9634-78FC616C3E94> /usr/lib/libxslt.1.dylib
    0x7fff913fd000 -     0x7fff91402ff7  libsystem_network.dylib (??? - ???) <4ABCEEF3-A3F9-3E06-9682-CE00F17138B7> /usr/lib/system/libsystem_network.dylib
    0x7fff91405000 -     0x7fff9144bfff  com.apple.OSAKit (1.2.2 - 80) <2D6F7A0D-61DD-317B-B812-8FF6797BD5BF> /System/Library/Frameworks/OSAKit.framework/Versions/A/OSAKit

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 15
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 1890
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=233.2M resident=130.7M(56%) swapped_out_or_unallocated=102.5M(44%)
Writable regions: Total=16.1G written=43.1M(0%) resident=54.8M(0%) swapped_out=0K(0%) unallocated=16.0G(100%)
 
REGION TYPE                      VIRTUAL
===========                      =======
CG backing stores                  4036K
CG image                             44K
CG raster data                      620K
CG shared images                   3416K
CoreGraphics                         16K
CoreImage                            32K
CoreServices                       1368K
MALLOC                            308.0M
MALLOC (reserved)                  15.8G        reserved VM address space (unallocated)
MALLOC guard page                    64K
Memory tag=240                        4K
Memory tag=242                       12K
Memory tag=251                      128K
OpenCL                               68K
SQLite page cache                   288K
STACK GUARD                        56.0M
Stack                              12.1M
VM_ALLOCATE                        17.8M
__CI_BITMAP                          80K
__DATA                             26.5M
__IMAGE                            1256K
__LINKEDIT                         55.0M
__TEXT                            178.2M
__UNICODE                           544K
mapped file                       128.3M
shared memory                      16.1M
===========                      =======
TOTAL                              16.5G
TOTAL, minus reserved VM space    809.7M

Model: MacBook5,1, BootROM MB51.007D.B03, 2 processors, Intel Core 2 Duo, 2 GHz, 4 GB, SMC 1.32f8
Graphics: NVIDIA GeForce 9400M, NVIDIA GeForce 9400M, PCI, 256 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1067 MHz, 0x0198, 0x000000000000000000000000000000000000
Memory Module: BANK 0/DIMM1, 2 GB, DDR3, 1067 MHz, 0x0198, 0x000000000000000000000000000000000000
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.100.98.75.6)
Bluetooth: Version 2.5.0f17, 2 service, 12 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: Hitachi HTS543232L9A300, 320.07 GB
Serial ATA Device: HL-DT-ST DVDRW  GS21N
USB Device: Built-in iSight, apple_vendor_id, 0x8507, 0x24400000 / 2
USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x06100000 / 2
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8213, 0x06110000 / 3
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0236, 0x04600000 / 3
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0x04500000 / 2

2011-07-22

Haskellのdataとtypeとnewtypeの違い

Chapter 6. Using Typeclassesでdataとtypeとnewtypeの違いを読んで整理してみる。

参考:Newtype - HaskellWiki
The Haskell 98 Report: Declarations

  data type newtype
一言で言うと 新規型定義 シノニム 独立型定義
既存型との区別 - 区別されない(混在可) 区別される(混在不可)
データコンストラクタ数 1以上 - 1
フィールド数 0以上 - 1
まだ理解が浅いのでこの表はたぶん中途半端。

2011-07-20

GHCのCharの定義を調べてみた

ghc-7.0.3-src.tar.bz2のincludeでCharを検索してみた。
$ grep -r Char includes
includes/RtsAPI.h:HaskellObj   rts_mkChar       ( Capability *, HsChar   c );
includes/RtsAPI.h:HsChar       rts_getChar      ( HaskellObj );
includes/Stg.h:typedef StgChar  C_;
includes/rts/storage/Closures.h:} StgIntCharlikeClosure;
includes/HsFFI.h:typedef StgChar   HsChar;
includes/HsFFI.h:/* this should correspond to the type of StgChar in StgTypes.h */
includes/stg/Types.h: StgChar, StgFloat, StgDouble
includes/stg/Types.h:typedef StgWord32          StgChar;
Binary file includes/stg/.Types.h.swp matches
includes/stg/Regs.h:    StgChar        c;
includes/stg/MiscClosures.h:extern DLL_IMPORT_RTS StgIntCharlikeClosure stg_CHARLIKE_closure[];
includes/stg/MiscClosures.h:extern DLL_IMPORT_RTS StgIntCharlikeClosure stg_INTLIKE_closure[];

StgWord32の定義はstg/Types.hにありました。

#if SIZEOF_LONG == 4
typedef signed   long            StgInt32;
typedef unsigned long            StgWord32;
#elif SIZEOF_INT == 4
typedef signed   int             StgInt32;
typedef unsigned int             StgWord32;
#else
#error GHC untested on this architecture: sizeof(int) != 4
#endif

というわけでGHCのCharは32bitです。

ブログ アーカイブ