php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71433 Basic usage of pcntl_signal causes segfault
Submitted: 2016-01-22 16:10 UTC Modified: 2017-03-05 04:22 UTC
Votes:4
Avg. Score:4.5 ± 0.5
Reproduced:4 of 4 (100.0%)
Same Version:4 (100.0%)
Same OS:4 (100.0%)
From: dannykopping at gmail dot com Assigned:
Status: No Feedback Package: PCNTL related
PHP Version: 5.5.31 OS: OSX Yosemite
Private report: No CVE-ID: None
 [2016-01-22 16:10 UTC] dannykopping at gmail dot com
Description:
------------
Using the simple pcntl_signal example from the documentation, this produces a segfault.

Installed PHP modules:

[PHP Modules]
bcmath
blackfire
bz2
calendar
Core
ctype
curl
date
dba
dom
ereg
exif
fileinfo
filter
ftp
gd
gearman
gettext
hash
iconv
intl
json
ldap
libxml
mbstring
mcrypt
memcache
mhash
mysql
mysqli
mysqlnd
odbc
openssl
pcntl
pcre
PDO
pdo_mysql
PDO_ODBC
pdo_sqlite
phalcon
Phar
posix
readline
Reflection
session
shmop
SimpleXML
soap
sockets
sphinx
SPL
sqlite3
ssh2
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xdebug
xhprof
xml
xmlreader
xmlrpc
xmlwriter
xsl
zip
zlib

[Zend Modules]
Xdebug
blackfire


Test script:
---------------
<?php
// tick use required as of PHP 4.3.0
declare(ticks = 1);

// signal handler function
function sig_handler($signo)
{

     switch ($signo) {
         case SIGTERM:
             // handle shutdown tasks
             exit;
             break;
         case SIGHUP:
             // handle restart tasks
             break;
         case SIGUSR1:
             echo "Caught SIGUSR1...\n";
             break;
         default:
             // handle all other signals
     }

}

echo "Installing signal handler...\n";

// setup signal handlers
pcntl_signal(SIGTERM, "sig_handler");
pcntl_signal(SIGHUP,  "sig_handler");
pcntl_signal(SIGUSR1, "sig_handler");

// or use an object, available as of PHP 4.3.0
// pcntl_signal(SIGUSR1, array($obj, "do_something"));

echo"Generating signal SIGUSR1 to self...\n";

// send SIGUSR1 to current process id
// posix_* functions require the posix extension
posix_kill(posix_getpid(), SIGUSR1);

echo "Done\n";

Expected result:
----------------
I would expect the signal to be handled as it is on ubuntu

Actual result:
--------------
A segmentation fault occurs.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-01-22 16:35 UTC] dannykopping at gmail dot com
I ran the script through dtruss:

SYSCALL(args)            = return
thread_selfid(0x0, 0x0, 0x0)             = 1912055 0
csops(0x0, 0x0, 0x7FFF5051FF88)          = 0 0
issetugid(0x0, 0x0, 0x7FFF5051FF88)              = 0 0
shared_region_check_np(0x7FFF5051DEC8, 0x0, 0x7FFF5051FF88)              = 0 0
stat64("/usr/lib/dtrace/libdtrace_dyld.dylib\0", 0x7FFF5051F058, 0x7FFF5051FF88)                 = 0 0
open("/usr/lib/dtrace/libdtrace_dyld.dylib\0", 0x0, 0x0)                 = 3 0
pread(0x3, "\312\376\272\276\0", 0x1000, 0x0)            = 4096 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x1000)               = 4096 0
fcntl(0x3, 0x3D, 0x7FFF5051D3C0)                 = 0 0
mmap(0x11019B000, 0x2000, 0x5, 0x12, 0x3, 0x1000)                = 0x11019B000 0
mmap(0x11019D000, 0x1000, 0x3, 0x12, 0x3, 0x3000)                = 0x11019D000 0
mmap(0x11019E000, 0x1FC0, 0x1, 0x12, 0x3, 0x4000)                = 0x11019E000 0
close(0x3)               = 0 0
stat64("/usr/lib/dtrace/libdtrace_dyld.dylib\0", 0x7FFF5051F9D8, 0x1)            = 0 0
stat64("/usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib\0", 0x7FFF5051ECA8, 0x1)                = 0 0
open("/usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib\0", 0x0, 0x0)             = 3 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0)          = 4096 0
mmap(0x1101A0000, 0x170000, 0x5, 0x12, 0x3, 0x0)                 = 0x1101A0000 0
mmap(0x110310000, 0x25000, 0x3, 0x12, 0x3, 0x170000)             = 0x110310000 0
mmap(0x110337000, 0x4F004, 0x1, 0x12, 0x3, 0x195000)             = 0x110337000 0
fcntl(0x3, 0x2C, 0x7FFF5051CF88)                 = 0 0
madvise(0x110337000, 0x2000, 0x2)                = 0 0
close(0x3)               = 0 0
stat64("/usr/local/opt/openssl/lib/libssl.1.0.0.dylib\0", 0x7FFF5051ECA8, 0x2)           = 0 0
open("/usr/local/opt/openssl/lib/libssl.1.0.0.dylib\0", 0x0, 0x0)                = 3 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0)          = 4096 0
mmap(0x11038C000, 0x3F000, 0x5, 0x12, 0x3, 0x0)          = 0x11038C000 0
mmap(0x1103CB000, 0xA000, 0x3, 0x12, 0x3, 0x3F000)               = 0x1103CB000 0
mmap(0x1103D5000, 0x10E70, 0x1, 0x12, 0x3, 0x49000)              = 0x1103D5000 0
fcntl(0x3, 0x2C, 0x7FFF5051CFD8)                 = 0 0
close(0x3)               = 0 0
stat64("/usr/lib/libz.1.dylib\0", 0x7FFF5051ECA8, 0x7FFF5051CFD8)                = 0 0
stat64("/usr/lib/libexslt.0.dylib\0", 0x7FFF5051ECA8, 0x7FFF5051CFD8)            = 0 0
stat64("/usr/lib/libresolv.9.dylib\0", 0x7FFF5051ECA8, 0x7FFF5051CFD8)           = 0 0
stat64("/usr/lib/libedit.3.dylib\0", 0x7FFF5051ECA8, 0x7FFF5051CFD8)             = 0 0
open("/usr/lib/libedit.3.dylib\0", 0x0, 0x0)             = 3 0
pread(0x3, "\312\376\272\276\0", 0x1000, 0x0)            = 4096 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x1000)               = 4096 0
fcntl(0x3, 0x3D, 0x7FFF5051CFC0)                 = 0 0
mmap(0x1103EC000, 0x1F000, 0x5, 0x12, 0x3, 0x1000)               = 0x1103EC000 0
mmap(0x11040B000, 0x2000, 0x3, 0x12, 0x3, 0x20000)               = 0x11040B000 0
mmap(0x110411000, 0x86B0, 0x1, 0x12, 0x3, 0x22000)               = 0x110411000 0
fcntl(0x3, 0x2C, 0x7FFF5051CFD8)                 = 0 0
close(0x3)               = 0 0
stat64("/usr/lib/libedit.3.dylib\0", 0x7FFF5051F628, 0x7FFF5051CFD8)             = 0 0
stat64("/usr/lib/libncurses.5.4.dylib\0", 0x7FFF5051ECA8, 0x7FFF5051CFD8)                = 0 0
stat64("/System/Library/Frameworks/LDAP.framework/Versions/A/LDAP\0", 0x7FFF5051ECA8, 0x7FFF5051CFD8)            = 0 0
stat64("/usr/lib/libiconv.2.dylib\0", 0x7FFF5051ECA8, 0x7FFF5051CFD8)            = 0 0
stat64("/usr/local/opt/gettext/lib/libintl.8.dylib\0", 0x7FFF5051ECA8, 0x7FFF5051CFD8)           = 0 0
open("/usr/local/opt/gettext/lib/libintl.8.dylib\0", 0x0, 0x0)           = 3 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0)          = 4096 0
mmap(0x11041E000, 0xA000, 0x5, 0x12, 0x3, 0x0)           = 0x11041E000 0
mmap(0x110428000, 0x1000, 0x3, 0x12, 0x3, 0xA000)                = 0x110428000 0
mmap(0x110429000, 0x23E4, 0x1, 0x12, 0x3, 0xB000)                = 0x110429000 0
fcntl(0x3, 0x2C, 0x7FFF5051CEE8)                 = 0 0
close(0x3)               = 0 0
stat64("/usr/local/opt/libpng/lib/libpng16.16.dylib\0", 0x7FFF5051ECA8, 0x7FFF5051CEE8)          = 0 0
open("/usr/local/opt/libpng/lib/libpng16.16.dylib\0", 0x0, 0x0)          = 3 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0)          = 4096 0
mmap(0x11042D000, 0x24000, 0x5, 0x12, 0x3, 0x0)          = 0x11042D000 0
mmap(0x110451000, 0x1000, 0x3, 0x12, 0x3, 0x24000)               = 0x110451000 0
mmap(0x110452000, 0x62E4, 0x1, 0x12, 0x3, 0x25000)               = 0x110452000 0
fcntl(0x3, 0x2C, 0x7FFF5051D0E8)                 = 0 0
close(0x3)               = 0 0
stat64("/usr/local/lib/libjpeg.8.dylib\0", 0x7FFF5051ECA8, 0x7FFF5051D0E8)               = 0 0
open("/usr/local/lib/libjpeg.8.dylib\0", 0x0, 0x0)               = 3 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0)          = 4096 0
mmap(0x11045C000, 0x31000, 0x5, 0x12, 0x3, 0x0)          = 0x11045C000 0
mmap(0x11048D000, 0x1000, 0x3, 0x12, 0x3, 0x31000)               = 0x11048D000 0
mmap(0x11048E000, 0x4988, 0x1, 0x12, 0x3, 0x32000)               = 0x11048E000 0
fcntl(0x3, 0x2C, 0x7FFF5051D0C8)                 = 0 0
close(0x3)               = 0 0
stat64("/usr/lib/libcurl.4.dylib\0", 0x7FFF5051ECA8, 0x7FFF5051D0C8)             = 0 0
stat64("/usr/lib/libbz2.1.0.dylib\0", 0x7FFF5051ECA8, 0x7FFF5051D0C8)            = 0 0
stat64("/usr/lib/libSystem.B.dylib\0", 0x7FFF5051ECA8, 0x7FFF5051D0C8)           = 0 0
stat64("/usr/lib/libxml2.2.dylib\0", 0x7FFF5051ECA8, 0x7FFF5051D0C8)             = 0 0
stat64("/System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos\0", 0x7FFF5051ECA8, 0x7FFF5051D0C8)            = 0 0
stat64("/usr/local/lib/libfreetype.6.dylib\0", 0x7FFF5051ECA8, 0x7FFF5051D0C8)           = 0 0
open("/usr/local/lib/libfreetype.6.dylib\0", 0x0, 0x0)           = 3 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0)          = 4096 0
mmap(0x110495000, 0x70000, 0x5, 0x12, 0x3, 0x0)          = 0x110495000 0
mmap(0x110505000, 0x5000, 0x3, 0x12, 0x3, 0x70000)               = 0x110505000 0
mmap(0x11050A000, 0x101CC, 0x1, 0x12, 0x3, 0x75000)              = 0x11050A000 0
fcntl(0x3, 0x2C, 0x7FFF5051D018)                 = 0 0
close(0x3)               = 0 0
stat64("/usr/local/lib/libodbc.2.dylib\0", 0x7FFF5051ECA8, 0x7FFF5051D018)               = 0 0
open("/usr/local/lib/libodbc.2.dylib\0", 0x0, 0x0)               = 3 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0)          = 4096 0
mmap(0x110521000, 0x53000, 0x5, 0x12, 0x3, 0x0)          = 0x110521000 0
mmap(0x110574000, 0x8000, 0x3, 0x12, 0x3, 0x53000)               = 0x110574000 0
mmap(0x11057C000, 0x7234, 0x1, 0x12, 0x3, 0x5B000)               = 0x11057C000 0
fcntl(0x3, 0x2C, 0x7FFF5051CFA8)                 = 0 0
close(0x3)               = 0 0
stat64("/usr/lib/libxslt.1.dylib\0", 0x7FFF5051ECA8, 0x7FFF5051CFA8)             = 0 0
stat64("/usr/lib/libc++.1.dylib\0", 0x7FFF5051ECA8, 0x7FFF5051CFA8)              = 0 0
stat64("/usr/lib/system/libcache.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)               = 0 0
stat64("/usr/lib/system/libcommonCrypto.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)                = 0 0
stat64("/usr/lib/system/libcompiler_rt.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)                 = 0 0
stat64("/usr/lib/system/libcopyfile.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)            = 0 0
stat64("/usr/lib/system/libcorecrypto.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)          = 0 0
stat64("/usr/lib/system/libdispatch.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)            = 0 0
stat64("/usr/lib/system/libdyld.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)                = 0 0
stat64("/usr/lib/system/libkeymgr.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)              = 0 0
stat64("/usr/lib/system/liblaunch.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)              = 0 0
stat64("/usr/lib/system/libmacho.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)               = 0 0
stat64("/usr/lib/system/libquarantine.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)          = 0 0
stat64("/usr/lib/system/libremovefile.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)          = 0 0
stat64("/usr/lib/system/libsystem_asl.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)          = 0 0
stat64("/usr/lib/system/libsystem_blocks.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)               = 0 0
stat64("/usr/lib/system/libsystem_c.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)            = 0 0
stat64("/usr/lib/system/libsystem_configuration.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)                = 0 0
stat64("/usr/lib/system/libsystem_coreservices.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)                 = 0 0
stat64("/usr/lib/system/libsystem_coretls.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)              = 0 0
stat64("/usr/lib/system/libsystem_dnssd.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)                = 0 0
stat64("/usr/lib/system/libsystem_info.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)                 = 0 0
stat64("/usr/lib/system/libsystem_kernel.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)               = 0 0
stat64("/usr/lib/system/libsystem_m.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)            = 0 0
stat64("/usr/lib/system/libsystem_malloc.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)               = 0 0
stat64("/usr/lib/system/libsystem_network.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)              = 0 0
stat64("/usr/lib/system/libsystem_networkextension.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)             = 0 0
stat64("/usr/lib/system/libsystem_notify.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)               = 0 0
stat64("/usr/lib/system/libsystem_platform.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)             = 0 0
stat64("/usr/lib/system/libsystem_pthread.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)              = 0 0
stat64("/usr/lib/system/libsystem_sandbox.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)              = 0 0
stat64("/usr/lib/system/libsystem_secinit.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)              = 0 0
stat64("/usr/lib/system/libsystem_stats.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)                = 0 0
stat64("/usr/lib/system/libsystem_trace.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)                = 0 0
stat64("/usr/lib/system/libunc.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)                 = 0 0
stat64("/usr/lib/system/libunwind.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)              = 0 0
stat64("/usr/lib/system/libxpc.dylib\0", 0x7FFF5051E7B8, 0x7FFF5051CFA8)                 = 0 0
stat64("/usr/lib/libobjc.A.dylib\0", 0x7FFF5051DA98, 0x7FFF5051CFA8)             = 0 0
stat64("/usr/lib/libauto.dylib\0", 0x7FFF5051DA98, 0x7FFF5051CFA8)               = 0 0
stat64("/usr/lib/libc++abi.dylib\0", 0x7FFF5051D978, 0x7FFF5051CFA8)             = 0 0
stat64("/usr/lib/libDiagnosticMessagesClient.dylib\0", 0x7FFF5051D868, 0x7FFF5051CFA8)           = 0 0
stat64("/usr/local/Cellar/openssl/1.0.2e_1/lib/libcrypto.1.0.0.dylib\0", 0x7FFF5051EBB8, 0x7FFF5051CFA8)                 = 0 0
stat64("/usr/lib/libicucore.A.dylib\0", 0x7FFF5051EA88, 0x7FFF5051CFA8)          = 0 0
stat64("/usr/lib/libsasl2.2.dylib\0", 0x7FFF5051EB28, 0x7FFF5051CFA8)            = 0 0
stat64("/System/Library/Frameworks/Security.framework/Versions/A/Security\0", 0x7FFF5051EB28, 0x7FFF5051CFA8)            = 0 0
stat64("/System/Library/PrivateFrameworks/CoreDaemon.framework/Versions/B/CoreDaemon\0", 0x7FFF5051EB28, 0x7FFF5051CFA8)                 = 0 0
stat64("/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation\0", 0x7FFF5051EB28, 0x7FFF5051CFA8)                = 0 0
stat64("/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration\0", 0x7FFF5051EB28, 0x7FFF5051CFA8)              = 0 0
stat64("/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit\0", 0x7FFF5051EB28, 0x7FFF5051CFA8)          = 0 0
stat64("/usr/lib/libbsm.0.dylib\0", 0x7FFF5051E948, 0x7FFF5051CFA8)              = 0 0
stat64("/usr/lib/libxar.1.dylib\0", 0x7FFF5051E948, 0x7FFF5051CFA8)              = 0 0
stat64("/usr/lib/libsqlite3.dylib\0", 0x7FFF5051E948, 0x7FFF5051CFA8)            = 0 0
stat64("/usr/lib/libpam.2.dylib\0", 0x7FFF5051E948, 0x7FFF5051CFA8)              = 0 0
stat64("/usr/lib/libOpenScriptingUtil.dylib\0", 0x7FFF5051E948, 0x7FFF5051CFA8)          = 0 0
stat64("/usr/lib/system/libkxld.dylib\0", 0x7FFF5051E808, 0x7FFF5051CFA8)                = 0 0
stat64("/usr/lib/libcrypto.0.9.8.dylib\0", 0x7FFF5051E978, 0x7FFF5051CFA8)               = 0 0
stat64("/System/Library/PrivateFrameworks/AppleSRP.framework/Versions/A/AppleSRP\0", 0x7FFF5051E978, 0x7FFF5051CFA8)             = 0 0
stat64("/System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement\0", 0x7FFF5051E978, 0x7FFF5051CFA8)          = 0 0
stat64("/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices\0", 0x7FFF5051E978, 0x7FFF5051CFA8)            = 0 0
stat64("/System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent\0", 0x7FFF5051E868, 0x7FFF5051CFA8)             = 0 0
stat64("/System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork\0", 0x7FFF5051E688, 0x7FFF5051CFA8)          = 0 0
stat64("/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents\0", 0x7FFF5051E688, 0x7FFF5051CFA8)               = 0 0
stat64("/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore\0", 0x7FFF5051E688, 0x7FFF5051CFA8)           = 0 0
stat64("/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata\0", 0x7FFF5051E688, 0x7FFF5051CFA8)               = 0 0
stat64("/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices\0", 0x7FFF5051E688, 0x7FFF5051CFA8)           = 0 0
stat64("/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit\0", 0x7FFF5051E688, 0x7FFF5051CFA8)             = 0 0
stat64("/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE\0", 0x7FFF5051E688, 0x7FFF5051CFA8)           = 0 0
stat64("/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices\0", 0x7FFF5051E688, 0x7FFF5051CFA8)           = 0 0
stat64("/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices\0", 0x7FFF5051E688, 0x7FFF5051CFA8)           = 0 0
stat64("/System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration\0", 0x7FFF5051E4D8, 0x7FFF5051CFA8)              = 0 0
stat64("/System/Library/Frameworks/NetFS.framework/Versions/A/NetFS\0", 0x7FFF5051E4D8, 0x7FFF5051CFA8)          = 0 0
stat64("/System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth\0", 0x7FFF5051E388, 0x7FFF5051CFA8)               = 0 0
stat64("/System/Library/PrivateFrameworks/login.framework/Versions/A/Frameworks/loginsupport.framework/Versions/A/loginsupport\0", 0x7FFF5051E278, 0x7FFF5051CFA8)               = 0 0
stat64("/System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore\0", 0x7FFF5051E4B8, 0x7FFF5051CFA8)           = 0 0
stat64("/System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC\0", 0x7FFF5051E4B8, 0x7FFF5051CFA8)               = 0 0
stat64("/usr/lib/libmecabra.dylib\0", 0x7FFF5051E4B8, 0x7FFF5051CFA8)            = 0 0
stat64("/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation\0", 0x7FFF5051E4B8, 0x7FFF5051CFA8)                = 0 0
stat64("/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices\0", 0x7FFF5051E1D8, 0x7FFF5051CFA8)              = 0 0
stat64("/System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics\0", 0x7FFF5051DFF8, 0x7FFF5051CFA8)            = 0 0
stat64("/System/Library/Frameworks/CoreText.framework/Versions/A/CoreText\0", 0x7FFF5051DFF8, 0x7FFF5051CFA8)            = 0 0
stat64("/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO\0", 0x7FFF5051DFF8, 0x7FFF5051CFA8)              = 0 0
stat64("/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS\0", 0x7FFF5051DFF8, 0x7FFF5051CFA8)          = 0 0
stat64("/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync\0", 0x7FFF5051DFF8, 0x7FFF5051CFA8)              = 0 0
stat64("/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices\0", 0x7FFF5051DFF8, 0x7FFF5051CFA8)            = 0 0
stat64("/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis\0", 0x7FFF5051DFF8, 0x7FFF5051CFA8)                = 0 0
stat64("/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore\0", 0x7FFF5051DFF8, 0x7FFF5051CFA8)              = 0 0
stat64("/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD\0", 0x7FFF5051DFF8, 0x7FFF5051CFA8)            = 0 0
stat64("/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis\0", 0x7FFF5051DFF8, 0x7FFF5051CFA8)          = 0 0
stat64("/System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface\0", 0x7FFF5051DE18, 0x7FFF5051CFA8)          = 0 0
stat64("/System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate\0", 0x7FFF5051DE18, 0x7FFF5051CFA8)                = 0 0
stat64("/System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport\0", 0x7FFF5051DE18, 0x7FFF5051CFA8)           = 0 0
stat64("/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage\0", 0x7FFF5051DCF8, 0x7FFF5051CFA8)             = 0 0
stat64("/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib\0", 0x7FFF5051DCF8, 0x7FFF5051CFA8)             = 0 0
stat64("/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib\0", 0x7FFF5051DCF8, 0x7FFF5051CFA8)              = 0 0
stat64("/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib\0", 0x7FFF5051DBA8, 0x7FFF5051CFA8)             = 0 0
stat64("/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib\0", 0x7FFF5051DBA8, 0x7FFF5051CFA8)            = 0 0
stat64("/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib\0", 0x7FFF5051DBA8, 0x7FFF5051CFA8)              = 0 0
stat64("/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLinearAlgebra.dylib\0", 0x7FFF5051DBA8, 0x7FFF5051CFA8)             = 0 0
stat64("/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib\0", 0x7FFF5051DE18, 0x7FFF5051CFA8)                = 0 0
stat64("/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib\0", 0x7FFF5051DE18, 0x7FFF5051CFA8)              = 0 0
stat64("/usr/lib/libextension.dylib\0", 0x7FFF5051DBB8, 0x7FFF5051CFA8)          = 0 0
stat64("/usr/lib/libarchive.2.dylib\0", 0x7FFF5051DBB8, 0x7FFF5051CFA8)          = 0 0
stat64("/usr/lib/liblangid.dylib\0", 0x7FFF5051DBB8, 0x7FFF5051CFA8)             = 0 0
stat64("/usr/lib/libCRFSuite.dylib\0", 0x7FFF5051DBB8, 0x7FFF5051CFA8)           = 0 0
stat64("/usr/lib/liblzma.5.dylib\0", 0x7FFF5051DA78, 0x7FFF5051CFA8)             = 0 0
stat64("/System/Library/PrivateFrameworks/AppleVPA.framework/Versions/A/AppleVPA\0", 0x7FFF5051DBA8, 0x7FFF5051CFA8)             = 0 0
stat64("/System/Library/PrivateFrameworks/AppleJPEG.framework/Versions/A/AppleJPEG\0", 0x7FFF5051DBA8, 0x7FFF5051CFA8)           = 0 0
stat64("/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib\0", 0x7FFF5051DBA8, 0x7FFF5051CFA8)              = 0 0
stat64("/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib\0", 0x7FFF5051DBA8, 0x7FFF5051CFA8)              = 0 0
stat64("/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib\0", 0x7FFF5051DBA8, 0x7FFF5051CFA8)               = 0 0
stat64("/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib\0", 0x7FFF5051DBA8, 0x7FFF5051CFA8)               = 0 0
stat64("/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib\0", 0x7FFF5051DBA8, 0x7FFF5051CFA8)               = 0 0
stat64("/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib\0", 0x7FFF5051DBA8, 0x7FFF5051CFA8)          = 0 0
stat64("/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL\0", 0x7FFF5051DA08, 0x7FFF5051CFA8)                = 0 0
stat64("/System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo\0", 0x7FFF5051DA08, 0x7FFF5051CFA8)          = 0 0
stat64("/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib\0", 0x7FFF5051D808, 0x7FFF5051CFA8)                = 0 0
stat64("/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib\0", 0x7FFF5051D808, 0x7FFF5051CFA8)          = 0 0
stat64("/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib\0", 0x7FFF5051D808, 0x7FFF5051CFA8)                 = 0 0
stat64("/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib\0", 0x7FFF5051D698, 0x7FFF5051CFA8)            = 0 0
stat64("/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib\0", 0x7FFF5051D588, 0x7FFF5051CFA8)          = 0 0
stat64("/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib\0", 0x7FFF5051D468, 0x7FFF5051CFA8)               = 0 0
stat64("/usr/lib/libcups.2.dylib\0", 0x7FFF5051DDB8, 0x7FFF5051CFA8)             = 0 0
stat64("/System/Library/Frameworks/GSS.framework/Versions/A/GSS\0", 0x7FFF5051DC18, 0x7FFF5051CFA8)              = 0 0
stat64("/System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal\0", 0x7FFF5051DAF8, 0x7FFF5051CFA8)               = 0 0
stat64("/usr/lib/libheimdal-asn1.dylib\0", 0x7FFF5051D978, 0x7FFF5051CFA8)               = 0 0
stat64("/System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory\0", 0x7FFF5051DA78, 0x7FFF5051CFA8)          = 0 0
stat64("/System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth\0", 0x7FFF5051DA78, 0x7FFF5051CFA8)                 = 0 0
stat64("/System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory\0", 0x7FFF5051D8F8, 0x7FFF5051CFA8)                = 0 0
stat64("/System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation\0", 0x7FFF5051D8F8, 0x7FFF5051CFA8)                = 0 0
stat64("/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio\0", 0x7FFF5051DE78, 0x7FFF5051CFA8)          = 0 0
stat64("/System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox\0", 0x7FFF5051DE78, 0x7FFF5051CFA8)            = 0 0
stat64("/System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/LanguageModeling\0", 0x7FFF5051E2B8, 0x7FFF5051CFA8)             = 0 0
stat64("/usr/lib/libcmph.dylib\0", 0x7FFF5051E2B8, 0x7FFF5051CFA8)               = 0 0
stat64("/System/Library/Frameworks/CoreData.framework/Versions/A/CoreData\0", 0x7FFF5051E2B8, 0x7FFF5051CFA8)            = 0 0
stat64("/usr/local/lib/libpng16.16.dylib\0", 0x7FFF5051EB88, 0x7FFF5051CFA8)             = 0 0
getpid(0x1104955F8, 0x7FFF5051EB88, 0x7FFF5051CFA8)              = 11150 0
madvise(0x110337000, 0x2000, 0x5)                = 0 0
madvise(0x1100BE000, 0x7000, 0x5)                = 0 0
open("/dev/dtracehelper\0", 0x2, 0x10F6DF000)            = 3 0
Installing signal handler...
Generating signal SIGUSR1 to self...
ioctl(0x3, 0x80086804, 0x7FFF5051FE08)           = 0 0
close(0x3)               = 0 0
sysctl(0x7FFF5051E378, 0x2, 0x7FFF5051E388)              = 0 0
thread_selfid(0x7FFF5051E378, 0x2, 0x7FFF5051E388)               = 1912055 0
bsdthread_register(0x7FFF91AF33E0, 0x7FFF91AF33D0, 0x2000)               = 1073741855 0
mprotect(0x110197000, 0x88, 0x1)                 = 0 0
mprotect(0x110584000, 0x1000, 0x0)               = 0 0
mprotect(0x11059A000, 0x1000, 0x0)               = 0 0
mprotect(0x11059B000, 0x1000, 0x0)               = 0 0
mprotect(0x1105B1000, 0x1000, 0x0)               = 0 0
mprotect(0x110199000, 0x1000, 0x1)               = 0 0
mprotect(0x110197000, 0x88, 0x3)                 = 0 0
mprotect(0x110197000, 0x88, 0x1)                 = 0 0
issetugid(0x110197000, 0x88, 0x1)                = 0 0
getpid(0x110197000, 0x88, 0x1)           = 11150 0
stat64("/AppleInternal/XBS/.isChrooted\0", 0x7FFF5051E2D8, 0x1)          = -1 Err#2
stat64("/BuildSupport/makeProject\0", 0x7FFF5051E2D8, 0x1)               = -1 Err#2
stat64("/AppleInternal\0", 0x7FFF5051E248, 0x1)          = -1 Err#2
csops(0x2B8E, 0x7, 0x7FFF5051DD70)               = -1 Err#22
csops(0x2B8E, 0x7, 0x7FFF5051D650)               = -1 Err#22
getuid(0x2B8E, 0x7, 0x7FFF5051D650)              = 0 0
geteuid(0x2B8E, 0x7, 0x7FFF5051D650)             = 0 0
getuid(0x2B8E, 0x7, 0x7FFF5051D650)              = 0 0
sysctl(0x7FFF5051D860, 0x4, 0x7FFF5051D878)              = 0 0
issetugid(0x7FFF5051D860, 0x4, 0x7FFF5051D878)           = 0 0
getuid(0x7FFF5051D860, 0x4, 0x7FFF5051D878)              = 0 0
stat64("/System/Library/PrivateFrameworks/Heimdal.framework/Heimdal\0", 0x7FFF5051D4D8, 0x7FFF5051D878)          = 0 0
stat64("/System/Library/Frameworks/GSS.framework/GSS\0", 0x7FFF5051D4D8, 0x7FFF5051D878)                 = 0 0
mprotect(0x110387000, 0x88, 0x1)                 = 0 0
mprotect(0x1105B2000, 0x1000, 0x0)               = 0 0
mprotect(0x1105C8000, 0x1000, 0x0)               = 0 0
mprotect(0x1105C9000, 0x1000, 0x0)               = 0 0
mprotect(0x1105DF000, 0x1000, 0x0)               = 0 0
mprotect(0x110199000, 0x1000, 0x3)               = 0 0
mprotect(0x110199000, 0x1000, 0x1)               = 0 0
mprotect(0x110387000, 0x88, 0x3)                 = 0 0
mprotect(0x110387000, 0x88, 0x1)                 = 0 0
sigaction(0xD, 0x7FFF50520718, 0x7FFF50520740)           = 0 0
sigaction(0x1, 0x0, 0x7FFF50520710)              = 0 0
sigaction(0x2, 0x0, 0x7FFF50520710)              = 0 0
sigaction(0x3, 0x0, 0x7FFF50520710)              = 0 0
sigaction(0x4, 0x0, 0x7FFF50520710)              = 0 0
sigaction(0x5, 0x0, 0x7FFF50520710)              = 0 0
sigaction(0x6, 0x0, 0x7FFF50520710)              = 0 0
sigaction(0x7, 0x0, 0x7FFF50520710)              = 0 0
sigaction(0x8, 0x0, 0x7FFF50520710)              = 0 0
sigaction(0xA, 0x0, 0x7FFF50520710)              = 0 0
sigaction(0xB, 0x0, 0x7FFF50520710)              = 0 0
sigaction(0xC, 0x0, 0x7FFF50520710)              = 0 0
sigaction(0xD, 0x0, 0x7FFF50520710)              = 0 0
sigaction(0xE, 0x0, 0x7FFF50520710)              = 0 0
sigaction(0xF, 0x0, 0x7FFF50520710)              = 0 0
sigaction(0x10, 0x0, 0x7FFF50520710)             = 0 0
sigaction(0x12, 0x0, 0x7FFF50520710)             = 0 0
sigaction(0x13, 0x0, 0x7FFF50520710)             = 0 0
sigaction(0x14, 0x0, 0x7FFF50520710)             = 0 0
sigaction(0x15, 0x0, 0x7FFF50520710)             = 0 0
sigaction(0x16, 0x0, 0x7FFF50520710)             = 0 0
sigaction(0x17, 0x0, 0x7FFF50520710)             = 0 0
sigaction(0x18, 0x0, 0x7FFF50520710)             = 0 0
sigaction(0x19, 0x0, 0x7FFF50520710)             = 0 0
sigaction(0x1A, 0x0, 0x7FFF50520710)             = 0 0
sigaction(0x1B, 0x0, 0x7FFF50520710)             = 0 0
sigaction(0x1C, 0x0, 0x7FFF50520710)             = 0 0
sigaction(0x1D, 0x0, 0x7FFF50520710)             = 0 0
sigaction(0x1E, 0x0, 0x7FFF50520710)             = 0 0
sigaction(0x1F, 0x0, 0x7FFF50520710)             = 0 0
open_nocancel(".\0", 0x0, 0x1)           = 3 0
fstat64(0x3, 0x7FFF50520150, 0x1)                = 0 0
fcntl_nocancel(0x3, 0x32, 0x7FFF50520340)                = 0 0
close_nocancel(0x3)              = 0 0
stat64("/Volumes/CSP/usr/local/var/www/kew\0", 0x7FFF505200C0, 0x7FFF50520340)           = 0 0
getrlimit(0x1008, 0x7FFF5051FAC0, 0x7FFF50520340)                = 0 0
open_nocancel("/usr/share/locale/en_US.UTF-8/LC_CTYPE\0", 0x0, 0x1B6)            = 3 0
fstat64(0x3, 0x7FFF5051FC38, 0x1B6)              = 0 0
fstat64(0x3, 0x7FFF5051FA28, 0x1B6)              = 0 0
lseek(0x3, 0x0, 0x1)             = 0 0
lseek(0x3, 0x0, 0x0)             = 0 0
read_nocancel(0x3, "RuneMagAUTF-8\0", 0x1000)            = 4096 0
read_nocancel(0x3, "\0", 0x1000)                 = 4096 0
read_nocancel(0x3, "\0", 0x1000)                 = 4096 0
read_nocancel(0x3, "\0", 0x1000)                 = 4096 0
read_nocancel(0x3, "\0", 0x1000)                 = 4096 0
read_nocancel(0x3, "\0", 0x1000)                 = 4096 0
read_nocancel(0x3, "@\004\031\0", 0xDDD0)                = 56784 0
close_nocancel(0x3)              = 0 0
access("/etc/localtime\0", 0x4, 0xDDD0)          = 0 0
open_nocancel("/etc/localtime\0", 0x0, 0x0)              = 3 0
fstat64(0x3, 0x7FFF5051CDE0, 0x0)                = 0 0
read_nocancel(0x3, "TZif\0", 0x2A64)             = 98 0
close_nocancel(0x3)              = 0 0
shm_open(0x7FFF8F56BCCA, 0x0, 0x0)               = 3 0
mmap(0x0, 0x1000, 0x1, 0x1, 0x3, 0x0)            = 0x110389000 0
close_nocancel(0x3)              = 0 0
lstat64("/Users/dannykopping/.rvm/gems/ruby-1.9.3-p551/bin/php\0", 0x7FFF5051F808, 0x1)          = -1 Err#2
lstat64("/Users/dannykopping/.rvm/gems/ruby-1.9.3-p551@global/bin/php\0", 0x7FFF5051F808, 0x1)           = -1 Err#2
lstat64("/Users/dannykopping/.rvm/rubies/ruby-1.9.3-p551/bin/php\0", 0x7FFF5051F808, 0x1)                = -1 Err#2
open_nocancel(".\0", 0x0, 0x1)           = 3 0
fstat64(0x3, 0x7FFF5051FB70, 0x1)                = 0 0
fcntl_nocancel(0x3, 0x32, 0x7FFF5051FD70)                = 0 0
close_nocancel(0x3)              = 0 0
stat64("/Volumes/CSP/usr/local/var/www/kew\0", 0x7FFF5051FAE0, 0x7FFF5051FD70)           = 0 0
lstat64("/Volumes/CSP/usr/local/var/www/kew/vendor/bin/php\0", 0x7FFF5051F808, 0x7FFF5051FD70)           = -1 Err#2
lstat64("/usr/local/opt/php54/bin/php\0", 0x7FFF5051F808, 0x7FFF5051FD70)                = -1 Err#2
lstat64("/usr/local/bin/php\0", 0x7FFF5051F808, 0x7FFF5051FD70)          = 0 0
readlink("/usr/local/bin/php\0", 0x7FFF5051F920, 0x400)          = 30 0
lstat64("/usr/local/bin/../Cellar/php55/5.5.31/bin/php\0", 0x7FFF5051F698, 0x400)                = 0 0
lstat64("/usr/local/bin/../Cellar/php55/5.5.31/bin\0", 0x7FFF5051F518, 0x400)            = 0 0
lstat64("/usr/local/bin/../Cellar/php55/5.5.31\0", 0x7FFF5051F398, 0x400)                = 0 0
lstat64("/usr/local/bin/../Cellar/php55\0", 0x7FFF5051F218, 0x400)               = 0 0
lstat64("/usr/local/bin/../Cellar\0", 0x7FFF5051F0A8, 0x400)             = 0 0
lstat64("/usr/local/bin\0", 0x7FFF5051EDE8, 0x400)               = 0 0
lstat64("/usr/local\0", 0x7FFF5051EC88, 0x400)           = 0 0
lstat64("/usr\0", 0x7FFF5051EB28, 0x400)                 = 0 0
access("/usr/local/Cellar/php55/5.5.31/bin/php\0", 0x1, 0x400)           = 0 0
stat64("/usr/local/Cellar/php55/5.5.31/bin/php\0", 0x7FFF505201E0, 0x400)                = 0 0
open_nocancel("/usr/local/Cellar/php55/5.5.31/bin/php-cli.ini\0", 0x0, 0x1B6)            = -1 Err#2
open_nocancel("/usr/local/etc/php/5.5/php-cli.ini\0", 0x0, 0x1B6)                = -1 Err#2
open_nocancel("/usr/local/Cellar/php55/5.5.31/bin/php.ini\0", 0x0, 0x1B6)                = -1 Err#2
open_nocancel("/usr/local/etc/php/5.5/php.ini\0", 0x0, 0x1B6)            = 3 0
ioctl(0x3, 0x4004667A, 0x7FFF5051F8FC)           = -1 Err#25
ioctl(0x3, 0x40487413, 0x7FFF5051F900)           = -1 Err#25
fstat64(0x3, 0x7FFF5051F978, 0x7FFF5051F900)             = 0 0
sysctl(0x7FFF5051F8D8, 0x2, 0x7FFF7542EE00)              = 0 0
mmap(0x0, 0x10FA1, 0x1, 0x2, 0x3, 0x0)           = 0x110720000 0
lseek(0x3, 0x0, 0x1)             = 0 0
munmap(0x110720000, 0x10FA1)             = 0 0
close_nocancel(0x3)              = 0 0
open_nocancel("/usr/local/etc/php/5.5/conf.d\0", 0x1100004, 0x0)                 = 3 0
fstatfs64(0x3, 0x7FFF5051F198, 0x0)              = 0 0
getdirentries64(0x3, 0x7FCEDC004E00, 0x1000)             = 456 0
getdirentries64(0x3, 0x7FCEDC004E00, 0x1000)             = 0 0
close_nocancel(0x3)              = 0 0
stat64("/usr/local/etc/php/5.5/conf.d/ext-gearman.ini\0", 0x7FFF5051FBA8, 0x1000)                = 0 0
open_nocancel("/usr/local/etc/php/5.5/conf.d/ext-gearman.ini\0", 0x0, 0x1B6)             = 3 0
ioctl(0x3, 0x4004667A, 0x7FFF5051F8FC)           = -1 Err#25
ioctl(0x3, 0x40487413, 0x7FFF5051F900)           = -1 Err#25
fstat64(0x3, 0x7FFF5051F978, 0x7FFF5051F900)             = 0 0
mmap(0x0, 0x5E, 0x1, 0x2, 0x3, 0x0)              = 0x11038A000 0
lseek(0x3, 0x0, 0x1)             = 0 0
munmap(0x11038A000, 0x5E)                = 0 0
close_nocancel(0x3)              = 0 0
stat64("/usr/local/etc/php/5.5/conf.d/ext-intl.ini\0", 0x7FFF5051FBA8, 0x1)              = 0 0
open_nocancel("/usr/local/etc/php/5.5/conf.d/ext-intl.ini\0", 0x0, 0x1B6)                = 3 0
ioctl(0x3, 0x4004667A, 0x7FFF5051F8FC)           = -1 Err#25
ioctl(0x3, 0x40487413, 0x7FFF5051F900)           = -1 Err#25
fstat64(0x3, 0x7FFF5051F978, 0x7FFF5051F900)             = 0 0
mmap(0x0, 0x14F, 0x1, 0x2, 0x3, 0x0)             = 0x11038A000 0
lseek(0x3, 0x0, 0x1)             = 0 0
munmap(0x11038A000, 0x14F)               = 0 0
close_nocancel(0x3)              = 0 0
stat64("/usr/local/etc/php/5.5/conf.d/ext-mcrypt.ini\0", 0x7FFF5051FBA8, 0x1)            = 0 0
open_nocancel("/usr/local/etc/php/5.5/conf.d/ext-mcrypt.ini\0", 0x0, 0x1B6)              = 3 0
ioctl(0x3, 0x4004667A, 0x7FFF5051F8FC)           = -1 Err#25
ioctl(0x3, 0x40487413, 0x7FFF5051F900)           = -1 Err#25
fstat64(0x3, 0x7FFF5051F978, 0x7FFF5051F900)             = 0 0
mmap(0x0, 0x65, 0x1, 0x2, 0x3, 0x0)              = 0x11038A000 0
lseek(0x3, 0x0, 0x1)             = 0 0
munmap(0x11038A000, 0x65)                = 0 0
close_nocancel(0x3)              = 0 0
stat64("/usr/local/etc/php/5.5/conf.d/ext-memcache.ini\0", 0x7FFF5051FBA8, 0x1)          = 0 0
open_nocancel("/usr/local/etc/php/5.5/conf.d/ext-memcache.ini\0", 0x0, 0x1B6)            = 3 0
ioctl(0x3, 0x4004667A, 0x7FFF5051F8FC)           = -1 Err#25
ioctl(0x3, 0x40487413, 0x7FFF5051F900)           = -1 Err#25
fstat64(0x3, 0x7FFF5051F978, 0x7FFF5051F900)             = 0 0
mmap(0x0, 0x6A, 0x1, 0x2, 0x3, 0x0)              = 0x11038A000 0
lseek(0x3, 0x0, 0x1)             = 0 0
munmap(0x11038A000, 0x6A)                = 0 0
close_nocancel(0x3)              = 0 0
stat64("/usr/local/etc/php/5.5/conf.d/ext-phalcon.ini\0", 0x7FFF5051FBA8, 0x1)           = 0 0
open_nocancel("/usr/local/etc/php/5.5/conf.d/ext-phalcon.ini\0", 0x0, 0x1B6)             = 3 0
ioctl(0x3, 0x4004667A, 0x7FFF5051F8FC)           = -1 Err#25
ioctl(0x3, 0x40487413, 0x7FFF5051F900)           = -1 Err#25
fstat64(0x3, 0x7FFF5051F978, 0x7FFF5051F900)             = 0 0
mmap(0x0, 0x5E, 0x1, 0x2, 0x3, 0x0)              = 0x11038A000 0
lseek(0x3, 0x0, 0x1)             = 0 0
munmap(0x11038A000, 0x5E)                = 0 0
close_nocancel(0x3)              = 0 0
stat64("/usr/local/etc/php/5.5/conf.d/ext-redis.ini\0", 0x7FFF5051FBA8, 0x1)             = 0 0
open_nocancel("/usr/local/etc/php/5.5/conf.d/ext-redis.ini\0", 0x0, 0x1B6)               = 3 0
ioctl(0x3, 0x4004667A, 0x7FFF5051F8FC)           = -1 Err#25
ioctl(0x3, 0x40487413, 0x7FFF5051F900)           = -1 Err#25
fstat64(0x3, 0x7FFF5051F978, 0x7FFF5051F900)             = 0 0
mmap(0x0, 0x62, 0x1, 0x2, 0x3, 0x0)              = 0x11038A000 0
lseek(0x3, 0x0, 0x1)             = 0 0
munmap(0x11038A000, 0x62)                = 0 0
close_nocancel(0x3)              = 0 0
stat64("/usr/local/etc/php/5.5/conf.d/ext-sphinx.ini\0", 0x7FFF5051FBA8, 0x1)            = 0 0
open_nocancel("/usr/local/etc/php/5.5/conf.d/ext-sphinx.ini\0", 0x0, 0x1B6)              = 3 0
ioctl(0x3, 0x4004667A, 0x7FFF5051F8FC)           = -1 Err#25
ioctl(0x3, 0x40487413, 0x7FFF5051F900)           = -1 Err#25
fstat64(0x3, 0x7FFF5051F978, 0x7FFF5051F900)             = 0 0
mmap(0x0, 0x5B, 0x1, 0x2, 0x3, 0x0)              = 0x11038A000 0
lseek(0x3, 0x0, 0x1)             = 0 0
munmap(0x11038A000, 0x5B)                = 0 0
close_nocancel(0x3)              = 0 0
stat64("/usr/local/etc/php/5.5/conf.d/ext-ssh2.ini\0", 0x7FFF5051FBA8, 0x1)              = 0 0
open_nocancel("/usr/local/etc/php/5.5/conf.d/ext-ssh2.ini\0", 0x0, 0x1B6)                = 3 0
ioctl(0x3, 0x4004667A, 0x7FFF5051F8FC)           = -1 Err#25
ioctl(0x3, 0x40487413, 0x7FFF5051F900)           = -1 Err#25
fstat64(0x3, 0x7FFF5051F978, 0x7FFF5051F900)             = 0 0
mmap(0x0, 0x5D, 0x1, 0x2, 0x3, 0x0)              = 0x11038A000 0
lseek(0x3, 0x0, 0x1)             = 0 0
munmap(0x11038A000, 0x5D)                = 0 0
close_nocancel(0x3)              = 0 0
stat64("/usr/local/etc/php/5.5/conf.d/ext-xdebug.ini\0", 0x7FFF5051FBA8, 0x1)            = 0 0
open_nocancel("/usr/local/etc/php/5.5/conf.d/ext-xdebug.ini\0", 0x0, 0x1B6)              = 3 0
ioctl(0x3, 0x4004667A, 0x7FFF5051F8FC)           = -1 Err#25
ioctl(0x3, 0x40487413, 0x7FFF5051F900)           = -1 Err#25
fstat64(0x3, 0x7FFF5051F978, 0x7FFF5051F900)             = 0 0
mmap(0x0, 0x26A, 0x1, 0x2, 0x3, 0x0)             = 0x11038A000 0
lseek(0x3, 0x0, 0x1)             = 0 0
munmap(0x11038A000, 0x26A)               = 0 0
close_nocancel(0x3)              = 0 0
stat64("/usr/local/etc/php/5.5/conf.d/ext-xhprof.ini\0", 0x7FFF5051FBA8, 0x1)            = 0 0
open_nocancel("/usr/local/etc/php/5.5/conf.d/ext-xhprof.ini\0", 0x0, 0x1B6)              = 3 0
ioctl(0x3, 0x4004667A, 0x7FFF5051F8FC)           = -1 Err#25
ioctl(0x3, 0x40487413, 0x7FFF5051F900)           = -1 Err#25
fstat64(0x3, 0x7FFF5051F978, 0x7FFF5051F900)             = 0 0
mmap(0x0, 0x7D, 0x1, 0x2, 0x3, 0x0)              = 0x11038A000 0
lseek(0x3, 0x0, 0x1)             = 0 0
munmap(0x11038A000, 0x7D)                = 0 0
close_nocancel(0x3)              = 0 0
stat64("/usr/local/Cellar/php55-xdebug/2.2.5/xdebug.so\0", 0x7FFF5051F0B8, 0x1)          = 0 0
open("/usr/local/Cellar/php55-xdebug/2.2.5/xdebug.so\0", 0x0, 0x0)               = 3 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0)          = 4096 0
mmap(0x11076F000, 0x1F000, 0x5, 0x12, 0x3, 0x0)          = 0x11076F000 0
mmap(0x11078E000, 0x3000, 0x3, 0x12, 0x3, 0x1F000)               = 0x11078E000 0
mmap(0x110792000, 0x9678, 0x1, 0x12, 0x3, 0x22000)               = 0x110792000 0
close(0x3)               = 0 0
stat64("/usr/local/opt/php55-gearman/gearman.so\0", 0x7FFF5051F1A8, 0x1)                 = 0 0
open("/usr/local/opt/php55-gearman/gearman.so\0", 0x0, 0x0)              = 3 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0)          = 4096 0
mmap(0x11079C000, 0xB000, 0x5, 0x12, 0x3, 0x0)           = 0x11079C000 0
mmap(0x1107A7000, 0x6000, 0x3, 0x12, 0x3, 0xB000)                = 0x1107A7000 0
mmap(0x1107AD000, 0x8B8C, 0x1, 0x12, 0x3, 0x11000)               = 0x1107AD000 0
madvise(0x1107AD000, 0x2000, 0x2)                = 0 0
close(0x3)               = 0 0
stat64("/usr/local/opt/gearman/lib/libgearman.8.dylib\0", 0x7FFF5051EFC8, 0x2)           = 0 0
open("/usr/local/opt/gearman/lib/libgearman.8.dylib\0", 0x0, 0x0)                = 3 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0)          = 4096 0
mmap(0x1107B6000, 0x1B000, 0x5, 0x12, 0x3, 0x0)          = 0x1107B6000 0
mmap(0x1107D1000, 0x2000, 0x3, 0x12, 0x3, 0x1B000)               = 0x1107D1000 0
mmap(0x1107D3000, 0x93AC, 0x1, 0x12, 0x3, 0x1D000)               = 0x1107D3000 0
close(0x3)               = 0 0
madvise(0x1107AD000, 0x2000, 0x5)                = 0 0
stat64("/usr/local/opt/php55-intl/intl.so\0", 0x7FFF5051F1A8, 0x5)               = 0 0
open("/usr/local/opt/php55-intl/intl.so\0", 0x0, 0x0)            = 3 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0)          = 4096 0
mmap(0x1107DD000, 0x35000, 0x5, 0x12, 0x3, 0x0)          = 0x1107DD000 0
mmap(0x110812000, 0xA000, 0x3, 0x12, 0x3, 0x35000)               = 0x110812000 0
mmap(0x11081C000, 0x1A024, 0x1, 0x12, 0x3, 0x3F000)              = 0x11081C000 0
madvise(0x11081C000, 0x4000, 0x2)                = 0 0
close(0x3)               = 0 0
stat64("/usr/local/opt/icu4c/lib/libicui18n.56.dylib\0", 0x7FFF5051EF78, 0x2)            = 0 0
open("/usr/local/opt/icu4c/lib/libicui18n.56.dylib\0", 0x0, 0x0)                 = 3 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0)          = 4096 0
mmap(0x110837000, 0x161000, 0x5, 0x12, 0x3, 0x0)                 = 0x110837000 0
mmap(0x110998000, 0x10000, 0x3, 0x12, 0x3, 0x161000)             = 0x110998000 0
mmap(0x1109A8000, 0xC9298, 0x1, 0x12, 0x3, 0x171000)             = 0x1109A8000 0
madvise(0x1109A8000, 0x2000, 0x2)                = 0 0
close(0x3)               = 0 0
stat64("/usr/local/opt/icu4c/lib/libicuuc.56.dylib\0", 0x7FFF5051EF78, 0x2)              = 0 0
open("/usr/local/opt/icu4c/lib/libicuuc.56.dylib\0", 0x0, 0x0)           = 3 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0)          = 4096 0
mmap(0x110A72000, 0xFA000, 0x5, 0x12, 0x3, 0x0)          = 0x110A72000 0
mmap(0x110B6C000, 0x10000, 0x3, 0x12, 0x3, 0xFA000)              = 0x110B6C000 0
mmap(0x110B7D000, 0x52104, 0x1, 0x12, 0x3, 0x10A000)             = 0x110B7D000 0
close(0x3)               = 0 0
stat64("/usr/local/opt/icu4c/lib/libicudata.56.1.dylib\0", 0x7FFF5051EF78, 0x1)          = 0 0
open("/usr/local/opt/icu4c/lib/libicudata.56.1.dylib\0", 0x0, 0x0)               = 3 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0)          = 4096 0
mmap(0x110BD0000, 0x17E4000, 0x5, 0x12, 0x3, 0x0)                = 0x110BD0000 0
mmap(0x1123B4000, 0x60, 0x1, 0x12, 0x3, 0x17E4000)               = 0x1123B4000 0
close(0x3)               = 0 0
stat64("/usr/local/opt/icu4c/lib/libicuio.56.dylib\0", 0x7FFF5051EF78, 0x1)              = 0 0
open("/usr/local/opt/icu4c/lib/libicuio.56.dylib\0", 0x0, 0x0)           = 3 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0)          = 4096 0
mmap(0x1123B5000, 0x9000, 0x5, 0x12, 0x3, 0x0)           = 0x1123B5000 0
mmap(0x1123BE000, 0x2000, 0x3, 0x12, 0x3, 0x9000)                = 0x1123BE000 0
mmap(0x1123C0000, 0x33E0, 0x1, 0x12, 0x3, 0xB000)                = 0x1123C0000 0
close(0x3)               = 0 0
stat64("/\0", 0x7FFF5051D1D0, 0x1)               = 0 0
getattrlist("/usr\0", 0x7FFF6891F290, 0x7FFF5051EAE0)            = 0 0
getattrlist("/usr/local\0", 0x7FFF6891F290, 0x7FFF5051EAE0)              = 0 0
getattrlist("/usr/local/opt\0", 0x7FFF6891F290, 0x7FFF5051EAE0)          = 0 0
getattrlist("/usr/local/opt/icu4c\0", 0x7FFF6891F290, 0x7FFF5051EAE0)            = 0 0
readlink("/usr/local/opt/icu4c\0", 0x7FFF5051DEE0, 0x3FF)                = 20 0
getattrlist("/usr/local/Cellar\0", 0x7FFF6891F290, 0x7FFF5051EAE0)               = 0 0
getattrlist("/usr/local/Cellar/icu4c\0", 0x7FFF6891F290, 0x7FFF5051EAE0)                 = 0 0
getattrlist("/usr/local/Cellar/icu4c/56.1\0", 0x7FFF6891F290, 0x7FFF5051EAE0)            = 0 0
getattrlist("/usr/local/Cellar/icu4c/56.1/lib\0", 0x7FFF6891F290, 0x7FFF5051EAE0)                = 0 0
getattrlist("/usr/local/Cellar/icu4c/56.1/lib/libicui18n.56.dylib\0", 0x7FFF6891F290, 0x7FFF5051EAE0)            = 0 0
readlink("/usr/local/Cellar/icu4c/56.1/lib/libicui18n.56.dylib\0", 0x7FFF5051DEE0, 0x3FF)                = 21 0
getattrlist("/usr/local/Cellar/icu4c/56.1/lib/libicui18n.56.1.dylib\0", 0x7FFF6891F290, 0x7FFF5051EAE0)          = 0 0
stat64("/usr/local/opt/icu4c/lib/libicudata.56.dylib\0", 0x7FFF5051EE08, 0x7FFF5051EAE0)                 = 0 0
getattrlist("/usr\0", 0x7FFF6891F290, 0x7FFF5051E9D0)            = 0 0
getattrlist("/usr/local\0", 0x7FFF6891F290, 0x7FFF5051E9D0)              = 0 0
getattrlist("/usr/local/opt\0", 0x7FFF6891F290, 0x7FFF5051E9D0)          = 0 0
getattrlist("/usr/local/opt/icu4c\0", 0x7FFF6891F290, 0x7FFF5051E9D0)            = 0 0
readlink("/usr/local/opt/icu4c\0", 0x7FFF5051DDD0, 0x3FF)                = 20 0
getattrlist("/usr/local/Cellar\0", 0x7FFF6891F290, 0x7FFF5051E9D0)               = 0 0
getattrlist("/usr/local/Cellar/icu4c\0", 0x7FFF6891F290, 0x7FFF5051E9D0)                 = 0 0
getattrlist("/usr/local/Cellar/icu4c/56.1\0", 0x7FFF6891F290, 0x7FFF5051E9D0)            = 0 0
getattrlist("/usr/local/Cellar/icu4c/56.1/lib\0", 0x7FFF6891F290, 0x7FFF5051E9D0)                = 0 0
getattrlist("/usr/local/Cellar/icu4c/56.1/lib/libicuuc.56.dylib\0", 0x7FFF6891F290, 0x7FFF5051E9D0)              = 0 0
readlink("/usr/local/Cellar/icu4c/56.1/lib/libicuuc.56.dylib\0", 0x7FFF5051DDD0, 0x3FF)          = 19 0
getattrlist("/usr/local/Cellar/icu4c/56.1/lib/libicuuc.56.1.dylib\0", 0x7FFF6891F290, 0x7FFF5051E9D0)            = 0 0
stat64("/usr/local/opt/icu4c/lib/libicudata.56.dylib\0", 0x7FFF5051ECF8, 0x7FFF5051E9D0)                 = 0 0
getattrlist("/usr\0", 0x7FFF6891F290, 0x7FFF5051EAC0)            = 0 0
getattrlist("/usr/local\0", 0x7FFF6891F290, 0x7FFF5051EAC0)              = 0 0
getattrlist("/usr/local/opt\0", 0x7FFF6891F290, 0x7FFF5051EAC0)          = 0 0
getattrlist("/usr/local/opt/icu4c\0", 0x7FFF6891F290, 0x7FFF5051EAC0)            = 0 0
readlink("/usr/local/opt/icu4c\0", 0x7FFF5051DEC0, 0x3FF)                = 20 0
getattrlist("/usr/local/Cellar\0", 0x7FFF6891F290, 0x7FFF5051EAC0)               = 0 0
getattrlist("/usr/local/Cellar/icu4c\0", 0x7FFF6891F290, 0x7FFF5051EAC0)                 = 0 0
getattrlist("/usr/local/Cellar/icu4c/56.1\0", 0x7FFF6891F290, 0x7FFF5051EAC0)            = 0 0
getattrlist("/usr/local/Cellar/icu4c/56.1/lib\0", 0x7FFF6891F290, 0x7FFF5051EAC0)                = 0 0
getattrlist("/usr/local/Cellar/icu4c/56.1/lib/libicuio.56.dylib\0", 0x7FFF6891F290, 0x7FFF5051EAC0)              = 0 0
readlink("/usr/local/Cellar/icu4c/56.1/lib/libicuio.56.dylib\0", 0x7FFF5051DEC0, 0x3FF)          = 19 0
getattrlist("/usr/local/Cellar/icu4c/56.1/lib/libicuio.56.1.dylib\0", 0x7FFF6891F290, 0x7FFF5051EAC0)            = 0 0
stat64("/usr/local/opt/icu4c/lib/libicudata.56.dylib\0", 0x7FFF5051EDE8, 0x7FFF5051EAC0)                 = 0 0
madvise(0x1109A8000, 0x2000, 0x5)                = 0 0
madvise(0x11081C000, 0x4000, 0x5)                = 0 0
stat64("/usr/local/Cellar/php55-mcrypt/5.5.18/mcrypt.so\0", 0x7FFF5051F1A8, 0x5)                 = 0 0
open("/usr/local/Cellar/php55-mcrypt/5.5.18/mcrypt.so\0", 0x0, 0x0)              = 3 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0)          = 4096 0
mmap(0x1123C4000, 0x6000, 0x5, 0x12, 0x3, 0x0)           = 0x1123C4000 0
mmap(0x1123CA000, 0x2000, 0x3, 0x12, 0x3, 0x6000)                = 0x1123CA000 0
mmap(0x1123CC000, 0x30F4, 0x1, 0x12, 0x3, 0x8000)                = 0x1123CC000 0
close(0x3)               = 0 0
stat64("/usr/local/lib/libmcrypt.4.4.8.dylib\0", 0x7FFF5051EFA8, 0x1)            = 0 0
open("/usr/local/lib/libmcrypt.4.4.8.dylib\0", 0x0, 0x0)                 = 3 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0)          = 4096 0
mmap(0x1123D0000, 0x1F000, 0x5, 0x12, 0x3, 0x0)          = 0x1123D0000 0
mmap(0x1123EF000, 0x3000, 0x3, 0x12, 0x3, 0x1F000)               = 0x1123EF000 0
mmap(0x1123F8000, 0xB9D8, 0x1, 0x12, 0x3, 0x22000)               = 0x1123F8000 0
madvise(0x1123F8000, 0x4000, 0x2)                = 0 0
close(0x3)               = 0 0
stat64("/usr/local/lib/libltdl.7.dylib\0", 0x7FFF5051EFA8, 0x2)          = 0 0
open("/usr/local/lib/libltdl.7.dylib\0", 0x0, 0x0)               = 3 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0)          = 4096 0
mmap(0x112404000, 0x6000, 0x5, 0x12, 0x3, 0x0)           = 0x112404000 0
mmap(0x11240A000, 0x1000, 0x3, 0x12, 0x3, 0x6000)                = 0x11240A000 0
mmap(0x11240B000, 0x1C64, 0x1, 0x12, 0x3, 0x7000)                = 0x11240B000 0
close(0x3)               = 0 0
madvise(0x1123F8000, 0x4000, 0x5)                = 0 0
stat64("/usr/local/Cellar/php55-memcache/2.2.7/memcache.so\0", 0x7FFF5051F1A8, 0x5)              = 0 0
open("/usr/local/Cellar/php55-memcache/2.2.7/memcache.so\0", 0x0, 0x0)           = 3 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0)          = 4096 0
mmap(0x11240D000, 0x9000, 0x5, 0x12, 0x3, 0x0)           = 0x11240D000 0
mmap(0x112416000, 0x1000, 0x3, 0x12, 0x3, 0x9000)                = 0x112416000 0
mmap(0x112417000, 0x3584, 0x1, 0x12, 0x3, 0xA000)                = 0x112417000 0
close(0x3)               = 0 0
stat64("/usr/local/opt/php55-phalcon/phalcon.so\0", 0x7FFF5051F1A8, 0x1)                 = 0 0
open("/usr/local/opt/php55-phalcon/phalcon.so\0", 0x0, 0x0)              = 3 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0)          = 4096 0
mmap(0x11241B000, 0x1BD000, 0x5, 0x12, 0x3, 0x0)                 = 0x11241B000 0
mmap(0x1125D8000, 0x32000, 0x3, 0x12, 0x3, 0x1BD000)             = 0x1125D8000 0
mmap(0x11260C000, 0x51E0C, 0x1, 0x12, 0x3, 0x1EF000)             = 0x11260C000 0
madvise(0x11260C000, 0x3000, 0x2)                = 0 0
close(0x3)               = 0 0
madvise(0x11260C000, 0x3000, 0x5)                = 0 0
stat64("/usr/local/opt/php55-sphinx/sphinx.so\0", 0x7FFF5051F1A8, 0x5)           = 0 0
open("/usr/local/opt/php55-sphinx/sphinx.so\0", 0x0, 0x0)                = 3 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0)          = 4096 0
mmap(0x11265E000, 0xD000, 0x5, 0x12, 0x3, 0x0)           = 0x11265E000 0
mmap(0x11266B000, 0x2000, 0x3, 0x12, 0x3, 0xD000)                = 0x11266B000 0
mmap(0x11266D000, 0x3800, 0x1, 0x12, 0x3, 0xF000)                = 0x11266D000 0
close(0x3)               = 0 0
stat64("/usr/local/Cellar/php55-ssh2/0.12/ssh2.so\0", 0x7FFF5051F1A8, 0x1)               = 0 0
open("/usr/local/Cellar/php55-ssh2/0.12/ssh2.so\0", 0x0, 0x0)            = 3 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0)          = 4096 0
mmap(0x112671000, 0xA000, 0x5, 0x12, 0x3, 0x0)           = 0x112671000 0
mmap(0x11267B000, 0x1000, 0x3, 0x12, 0x3, 0xA000)                = 0x11267B000 0
mmap(0x11267C000, 0x45D8, 0x1, 0x12, 0x3, 0xB000)                = 0x11267C000 0
close(0x3)               = 0 0
stat64("/usr/local/lib/libssh2.1.dylib\0", 0x7FFF5051EFC8, 0x1)          = 0 0
open("/usr/local/lib/libssh2.1.dylib\0", 0x0, 0x0)               = 3 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0)          = 4096 0
mmap(0x112681000, 0x1D000, 0x5, 0x12, 0x3, 0x0)          = 0x112681000 0
mmap(0x11269E000, 0x1000, 0x3, 0x12, 0x3, 0x1D000)               = 0x11269E000 0
mmap(0x11269F000, 0x59F0, 0x1, 0x12, 0x3, 0x1E000)               = 0x11269F000 0
close(0x3)               = 0 0
stat64("/usr/local/Cellar/php55-xhprof/254eb24/xhprof.so\0", 0x7FFF5051F1A8, 0x1)                = 0 0
open("/usr/local/Cellar/php55-xhprof/254eb24/xhprof.so\0", 0x0, 0x0)             = 3 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0)          = 4096 0
mmap(0x1103E6000, 0x3000, 0x5, 0x12, 0x3, 0x0)           = 0x1103E6000 0
mmap(0x1103E9000, 0x1000, 0x3, 0x12, 0x3, 0x3000)                = 0x1103E9000 0
mmap(0x1103EA000, 0x1CF8, 0x1, 0x12, 0x3, 0x4000)                = 0x1103EA000 0
close(0x3)               = 0 0
stat64("/usr/lib/libz.dylib\0", 0x7FFF5051F0C8, 0x1)             = 0 0
sysctl(0x7FFF505200C4, 0x2, 0x7FFF5052009C)              = 0 0
open_nocancel("x.php\0", 0x0, 0x1B6)             = 3 0
fstat64(0x3, 0x7FFF5051FF18, 0x1B6)              = 0 0
read_nocancel(0x3, "<?php\n// tick use required as of PHP 4.3.0\ndeclare(ticks = 1);\n\n// signal handler function\nfunction sig_handler($signo)\n{\n\n    switch ($signo) {\n        case SIGTERM:\n            // handle shutdown tasks\n            exit;\n            break;\n        case SI", 0x1000)           = 934 0
lseek(0x3, 0x0, 0x1)             = 934 0
open_nocancel(".\0", 0x0, 0x1)           = 4 0
fstat64(0x4, 0x7FFF5051FA80, 0x1)                = 0 0
fcntl_nocancel(0x4, 0x32, 0x7FFF5051FC80)                = 0 0
close_nocancel(0x4)              = 0 0
stat64("/Volumes/CSP/usr/local/var/www/kew\0", 0x7FFF5051F9F0, 0x7FFF5051FC80)           = 0 0
lstat64("/Volumes/CSP/usr/local/var/www/kew/x.php\0", 0x7FFF5051F718, 0x7FFF5051FC80)            = 0 0
lstat64("/Volumes/CSP/usr/local/var/www/kew\0", 0x7FFF5051F598, 0x7FFF5051FC80)          = 0 0
lstat64("/Volumes/CSP/usr/local/var/www\0", 0x7FFF5051F418, 0x7FFF5051FC80)              = 0 0
lstat64("/Volumes/CSP/usr/local/var\0", 0x7FFF5051F2A8, 0x7FFF5051FC80)          = 0 0
lstat64("/Volumes/CSP/usr/local\0", 0x7FFF5051F138, 0x7FFF5051FC80)              = 0 0
lstat64("/Volumes/CSP/usr\0", 0x7FFF5051EFC8, 0x7FFF5051FC80)            = 0 0
lstat64("/Volumes/CSP\0", 0x7FFF5051EE58, 0x7FFF5051FC80)                = 0 0
lstat64("/Volumes\0", 0x7FFF5051ECF8, 0x7FFF5051FC80)            = 0 0
sigaction(0x1B, 0x0, 0x7FFF5051FF80)             = 0 0
sigaction(0x1B, 0x7FFF5051FF58, 0x0)             = 0 0
sigaction(0x1, 0x0, 0x7FFF5051FF80)              = 0 0
sigaction(0x1, 0x7FFF5051FF58, 0x0)              = 0 0
sigaction(0x2, 0x0, 0x7FFF5051FF80)              = 0 0
sigaction(0x2, 0x7FFF5051FF58, 0x0)              = 0 0
sigaction(0x3, 0x0, 0x7FFF5051FF80)              = 0 0
sigaction(0x3, 0x7FFF5051FF58, 0x0)              = 0 0
sigaction(0xF, 0x0, 0x7FFF5051FF80)              = 0 0
sigaction(0xF, 0x7FFF5051FF58, 0x0)              = 0 0
sigaction(0x1E, 0x0, 0x7FFF5051FF80)             = 0 0
sigaction(0x1E, 0x7FFF5051FF58, 0x0)             = 0 0
sigaction(0x1F, 0x0, 0x7FFF5051FF80)             = 0 0
sigaction(0x1F, 0x7FFF5051FF58, 0x0)             = 0 0
sigaction(0x1B, 0x7FFF5051FF38, 0x0)             = 0 0
sigprocmask(0x2, 0x7FFF5051FF6C, 0x0)            = 0x0 0
fstat64(0x0, 0x7FFF5051FE90, 0x0)                = 0 0
fstat64(0x0, 0x110614C58, 0x0)           = 0 0
lseek(0x0, 0x0, 0x1)             = 808773 0
fstat64(0x1, 0x7FFF5051FE90, 0x1)                = 0 0
fstat64(0x1, 0x110614F08, 0x1)           = 0 0
lseek(0x1, 0x0, 0x1)             = 808773 0
fstat64(0x2, 0x7FFF5051FE90, 0x1)                = 0 0
fstat64(0x2, 0x110615168, 0x1)           = 0 0
lseek(0x2, 0x0, 0x1)             = 808773 0
open_nocancel(".\0", 0x0, 0x1)           = 4 0
fstat64(0x4, 0x7FFF5051F450, 0x1)                = 0 0
fcntl_nocancel(0x4, 0x32, 0x7FFF5051F660)                = 0 0
close_nocancel(0x4)              = 0 0
stat64("/Volumes/CSP/usr/local/var/www/kew\0", 0x7FFF5051F3C0, 0x7FFF5051F660)           = 0 0
ioctl(0x3, 0x4004667A, 0x7FFF5051F4EC)           = -1 Err#25
ioctl(0x3, 0x40487413, 0x7FFF5051F4F0)           = -1 Err#25
fstat64(0x3, 0x7FFF5051F568, 0x7FFF5051F4F0)             = 0 0
mmap(0x0, 0x3C6, 0x1, 0x2, 0x3, 0x0)             = 0x11038A000 0
munmap(0x11038A000, 0x3C6)               = 0 0
close_nocancel(0x3)              = 0 0
write(0x1, "Installing signal handler...\n\0", 0x1D)             = 29 0
sigaction(0xF, 0x7FFF5051F558, 0x0)              = 0 0
sigprocmask(0x2, 0x7FFF5051F58C, 0x0)            = 0x0 0
sigaction(0x1, 0x7FFF5051F558, 0x0)              = 0 0
sigprocmask(0x2, 0x7FFF5051F58C, 0x0)            = 0x0 0
sigaction(0x1E, 0x7FFF5051F558, 0x0)             = 0 0
sigprocmask(0x2, 0x7FFF5051F58C, 0x0)            = 0x0 0
write(0x1, "Generating signal SIGUSR1 to self...\n\0", 0x25)             = 37 0
kill(0x2B8E, 0x1E, 0x1)          = 0 0
sigreturn(0x7FFF5051F560, 0x1E, 0x1)             = 0 Err#-2
sigprocmask(0x1, 0x1100BC320, 0x7FFF5051F76C)            = 0x0 0
 [2016-01-25 05:33 UTC] laruence@php.net
-Status: Open +Status: Feedback
 [2016-01-25 05:33 UTC] laruence@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.


 [2016-02-07 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 [2017-02-21 15:58 UTC] rioux dot jeff at gmail dot com
Here is my test:
==============================================================================
$ uname -a
Darwin test 15.6.0 Darwin Kernel Version 15.6.0: Mon Jan  9 23:07:29 PST 2017; root:xnu-3248.60.11.2.1~1/RELEASE_X86_64 x86_64
$ cat  ~/test.php 
<?php


function handleSignal($signo)
{
	$signals = array(
	  SIGTERM => "SIGTERM",
	  SIGINT => "SIGINT"
	);
	$signal = $signals[$signo];

	echo "Received received {$signal}... Shutting down\n";
	die(0);
}

if (function_exists("pcntl_signal"))
{
	pcntl_signal(SIGTERM, "handleSignal");
	pcntl_signal(SIGINT, "handleSignal");
}

while (true)
{
	sleep(1);
	echo ".\n";
	if (function_exists("pcntl_signal_dispatch")) pcntl_signal_dispatch();
}
$ /usr/local/opt/php55/bin/php  ~/test.php 
.
.
.
^CSegmentation fault: 11 (core dumped)
==============================================================================

Here the trace I was able to produce:

==============================================================================
$ lldb /usr/local/opt/php55/bin/php -c core.11075 
(lldb) target create "/usr/local/opt/php55/bin/php" --core "core.11075"
warning: (x86_64) /cores/core.11075 load command 155 LC_SEGMENT_64 has a fileoff + filesize (0x30430000) that extends beyond the end of the file (0x3042f000), the segment will be truncated to match
warning: (x86_64) /cores/core.11075 load command 156 LC_SEGMENT_64 has a fileoff (0x30430000) that extends beyond the end of the file (0x3042f000), ignoring this section
Core file '/cores/core.11075' (x86_64) was loaded.
(lldb) bt
* thread #1: tid = 0x0000, 0x0000000103b55393 php`zend_signal_handler_unblock + 55, stop reason = signal SIGSTOP
  * frame #0: 0x0000000103b55393 php`zend_signal_handler_unblock + 55
    frame #1: 0x0000000103ba9f1b php`zend_do_fcall_common_helper_SPEC + 1936
    frame #2: 0x0000000103b5cd68 php`execute_ex + 971
    frame #3: 0x0000000103b2a2a1 php`dtrace_execute_ex + 226
    frame #4: 0x0000000104b63b61 xdebug.so`xdebug_execute_ex + 2352
    frame #5: 0x0000000103b380e1 php`zend_execute_scripts + 491
    frame #6: 0x0000000103ae4729 php`php_execute_script + 800
    frame #7: 0x0000000103bceee6 php`do_cli + 3734
    frame #8: 0x0000000103bcded0 php`main + 1276
    frame #9: 0x00007fff985295ad libdyld.dylib`start + 1
    frame #10: 0x00007fff985295ad libdyld.dylib`start + 1

==============================================================================
 [2017-02-21 16:22 UTC] requinix@php.net
-Status: No Feedback +Status: Feedback
 [2017-02-21 16:22 UTC] requinix@php.net
PHP 5.5 is not supported. Can anyone reproduce this problem with a version still in active support (currently 7.0 and 7.1)?
http://php.net/supported-versions.php
 [2017-03-05 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC