[PHP-DEV] Re: [PHP-QA] php 4.3.0 pre2

2002-10-28 Thread Tomki
Yes, it is set..
#define HAVE_GETOPT_LONG 1
as well as
#define HAVE_GETOPT 1
#define HAVE_GETOPT_LONG_ONLY 1

I have a feeling that the compile tests are succeeding because of the 
getopt.h linked in from mysql..
configure:66328: checking for getopt_long
configure:66356: gcc -o conftest -g -O2  -DMOD_SSL=208110 -DUSE_HSREGEX 
-DEAPI -DEAPI_MM -DUSE_EXPAT 
-DFD_SETSIZE=4096  -Wl,-rpath,/usr/local/ssl/lib -L/usr/local/ssl/lib 
-Wl,-rpath,/usr/local/lib -L/usr/local/lib 
-Wl,-rpath,/usr/var/tmp/imap-2002.RC8/c-client 
-L/usr/var/tmp/imap-2002.RC8/c-client -Wl,-rpath,/usr/local/mysql//lib 
-L/usr/local/mysql//lib conftest.c -lmysqlclient -lfreetype -lpng -lz 
-ljpeg -lgdbm -lbz2 -lz -lssl -lcrypto -lm -ldl  15
configure:66328: checking for getopt_long_only
configure:66356: gcc -o conftest -g -O2  -DMOD_SSL=208110 -DUSE_HSREGEX 
-DEAPI -DEAPI_MM -DUSE_EXPAT 
-DFD_SETSIZE=4096  -Wl,-rpath,/usr/local/ssl/lib -L/usr/local/ssl/lib 
-Wl,-rpath,/usr/local/lib -L/usr/local/lib 
-Wl,-rpath,/usr/var/tmp/imap-2002.RC8/c-client 
-L/usr/var/tmp/imap-2002.RC8/c-client -Wl,-rpath,/usr/local/mysql//lib 
-L/usr/local/mysql//lib conftest.c -lmysqlclient -lfreetype -lpng -lz 
-ljpeg -lgdbm -lbz2 -lz -lssl -lcrypto -lm -ldl  15



At 12:04 10/28/2002 +0100, Melvyn Sopacua wrote:
At 05:47 28-10-2002, Tomki wrote:


There is no getopt.h installed in any system directories, and my paths 
don't have anything other.
The applications that have their own getopt.h in their source trees: 
mysql, apache, mod_ssl, openssh.

Could you check main/php_config.h, to see if HAVE_GETOPT_LONG is set?
And if so, the context of config.log to see where this is done?

I think there's a conflict with one of those external apps, that defines 
HAVE_GETOPT_LONG. If there's no trace of HAVE_GETOPT_LONG being set in 
main/php_config.h, then that's the problem and we should probably use 
something like PHP_HAVE_GETOPT_LONG instead.
There's also 1 other user, on a Mac system, with the same problem (#20131).



At 03:46 10/28/2002 +0100, Melvyn Sopacua wrote:

Tom,

BSDi doesn't come with getopt.h, so you probably installed that afterwards,
but you need to compile a shared libgetopt from getopt.c, and provide that
to EXTRA_LIBS, to make it work. [1]
OR if you have a source licence, recompile the kernel from source, with
some careful hacks :)

But - to make it work for now, please rename getopt.h.

[1] Did that once with another package, but haven't tested this with php.


At 02:29 28-10-2002, Tomki wrote:


On BSDI i386, egcs 1.1.2
configure line:
./configure --enable-yp --enable-sockets --enable-memory-limit 
--with-mysql=/usr/local/mysql/ --with-imap=../imap-2002.RC8 
--with-imap-ssl --with-ttf --with-gd --enable-ftp --with-gdbm 
--with-bz2=/usr --with-zlib --with-openssl 
--with-apxs=/usr/local/web/apache/bin/apxs 
--with-freetype-dir=/usr/local  --enable-gd-native-ttf 
--with-jpeg-dir=/usr --with-png-dir=/usr --enable-ftp --enable-db 
--enable-mbregex

'make' fails with:
/bin/sh libtool --silent --mode=compile gcc  -Iext/standard/ 
-I/usr/var/tmp/php-4.3.0pre2/ext/standard/ -DPHP_ATOM_INC 
-I/usr/var/tmp/php-4.3.0pre2/include -I/usr/var/tmp/php-4.3.0pre2/main 
-I/usr/var/tmp/php-4.3.0pre2 -I/usr/var/tmp/php-4.3.0pre2/Zend 
-I/usr/local/ssl/include -I/usr/local/include/freetype2 
-I/usr/var/tmp/imap-2002.RC8/c-client -I/usr/local/mysql//include/mysql 
-I/usr/var/tmp/php-4.3.0pre2/ext/xml/expat  -DMOD_SSL=208110 
-DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -DFD_SETSIZE=4096 
-I/usr/var/tmp/php-4.3.0pre2/TSRM  -g -O2  -prefer-pic -c 
/usr/var/tmp/php-4.3.0pre2/ext/standard/basic_functions.c -o 
ext/standard/basic_functions.lo
/usr/var/tmp/php-4.3.0pre2/ext/standard/basic_functions.c:1377: 
warning: `struct option' declared inside parameter list


Met vriendelijke groeten / With kind regards,

Webmaster IDG.nl
Melvyn Sopacua



--
PHP Quality Assurance Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php





Met vriendelijke groeten / With kind regards,

Webmaster IDG.nl
Melvyn Sopacua



--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] Bug #14716 Updated: PHP 4.1.1 DSO: apache startup fail

2002-01-02 Thread tomki

ID: 14716
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Apache related
Operating System: Linux, RH 6.1 base, Kernel2.2.19
PHP Version: 4.1.0
New Comment:

OK, it turns out to be the --with-dmalloc option.  I can use [almost] any other 
options that pertain to libraries available on my system, but with that one...  php 
builds fine, but then has the mentioned problem at runtime.
So would this be some problem with my dmalloc??  Is this a single report of this 
issue, or what?

Previous Comments:


[2002-01-01 02:13:12] [EMAIL PROTECTED]

This seems to have been remedied by supplying --with-regex=php.  Supplying 
--with-regex=apache caused a build failure.



[2001-12-27 06:41:23] [EMAIL PROTECTED]

/usr/local/apacheS/bin/apachectl start gives me:
Syntax error on line 968 of /usr/local/apacheS/conf/httpd.conf:
BrowserMatch regex could not be compiled.
../bin/apachectl start: httpd could not be started

Before installing the libphp4.so module, the server was fine.  This problem seems to 
occur regardless of whether or not I comment the modssl and modperl module lines.
Something about the options below that don't work together?  Please let me know.  :(

I have compiled PHP4.1.1 with this configure line:
./configure --with-mysql=/usr/local --with-ldap --enable-mailparse --with-db3 
--with-gdbm --with-ndbm --with-ttf --with-freetype-dir=/usr/local/include/freetype/ 
--with-imap --with-openssl=/usr/local/ssl/ --with-imap-ssl=/usr/local/ssl --with-gd 
--enable-dmalloc --with-bz2 --enable-ftp --with-apxs=/usr/local/apacheS/bin/apxs 
--sysconfdir=/etc --with-jpeg-dir=/usr/ --with-zlib-dir=/usr/local 
--with-png-dir=/usr/local --with-xpm-dir=/usr/X11R6 --with-mcrypt=/usr/local 
--with-mhash=/usr/local/ --enable-gd-native-ttf --with-java=/usr/jdk1.3/ 
--enable-track-vars
Everything is OK, no debug.log generated.





Edit this bug report at http://bugs.php.net/?id=14716edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #14716 Updated: PHP 4.1.1 DSO: apache startup fail

2001-12-31 Thread tomki

ID: 14716
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Apache related
Operating System: Linux, RH 6.1 base, Kernel2.2.19
PHP Version: 4.1.0
New Comment:

This seems to have been remedied by supplying --with-regex=php.  Supplying 
--with-regex=apache caused a build failure.

Previous Comments:


[2001-12-27 06:41:23] [EMAIL PROTECTED]

/usr/local/apacheS/bin/apachectl start gives me:
Syntax error on line 968 of /usr/local/apacheS/conf/httpd.conf:
BrowserMatch regex could not be compiled.
../bin/apachectl start: httpd could not be started

Before installing the libphp4.so module, the server was fine.  This problem seems to 
occur regardless of whether or not I comment the modssl and modperl module lines.
Something about the options below that don't work together?  Please let me know.  :(

I have compiled PHP4.1.1 with this configure line:
./configure --with-mysql=/usr/local --with-ldap --enable-mailparse --with-db3 
--with-gdbm --with-ndbm --with-ttf --with-freetype-dir=/usr/local/include/freetype/ 
--with-imap --with-openssl=/usr/local/ssl/ --with-imap-ssl=/usr/local/ssl --with-gd 
--enable-dmalloc --with-bz2 --enable-ftp --with-apxs=/usr/local/apacheS/bin/apxs 
--sysconfdir=/etc --with-jpeg-dir=/usr/ --with-zlib-dir=/usr/local 
--with-png-dir=/usr/local --with-xpm-dir=/usr/X11R6 --with-mcrypt=/usr/local 
--with-mhash=/usr/local/ --enable-gd-native-ttf --with-java=/usr/jdk1.3/ 
--enable-track-vars
Everything is OK, no debug.log generated.





Edit this bug report at http://bugs.php.net/?id=14716edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #14786: configure failure without trailing slash

2001-12-31 Thread tomki

From: [EMAIL PROTECTED]
Operating system: RH Linux 6.1
PHP version:  4.1.1
PHP Bug Type: PHP options/info functions
Bug description:  configure failure without trailing slash

When supplying the path to openssl and including the mcrypt option, the
below failure occurs unless the opensslpath has a trailing slash.

checking for mcrypt support... yes
checking for mcrypt_module_open in -lmcrypt... no
checking for init_mcrypt in -lmcrypt... no
configure: error: Sorry

./configure --with-mysql=/usr/local --with-ldap --with-db3 --with-gdbm
--with-imap --with-openssl=/usr/local/ssl/ --with-imap-ssl=/usr/local/ssl
--sysconfdir=/etc --enable-track-vars --with-config-file-path=/etc
--enable-force-cgi-redirect --with-zlib --with-regex=php --enable-sockets
--with-mm --with-apxs=/usr/local/apache1322/bin/apxs --with-gd
--enable-dmalloc --with-bz2 --with-jpeg-dir=/usr/
--with-zlib-dir=/usr/local --with-png-dir=/usr/local
--with-xpm-dir=/usr/X11R6 --with-mcrypt=/usr/local/
--with-mhash=/usr/local/ --enable-gd-native-ttf  --enable-gmp 
--with-freetype-dir=/usr/local/include/freetype/

-- 
Edit bug report at: http://bugs.php.net/?id=14786edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #14716: PHP 4.1.1 DSO: apache startup fail

2001-12-27 Thread tomki

From: [EMAIL PROTECTED]
Operating system: Linux, RH 6.1 base, Kernel2.2.19
PHP version:  4.1.0
PHP Bug Type: Dynamic loading
Bug description:  PHP 4.1.1 DSO: apache startup fail

/usr/local/apacheS/bin/apachectl start gives me:
Syntax error on line 968 of /usr/local/apacheS/conf/httpd.conf:
BrowserMatch regex could not be compiled.
../bin/apachectl start: httpd could not be started

Before installing the libphp4.so module, the server was fine.  This problem
seems to occur regardless of whether or not I comment the modssl and
modperl module lines.
Something about the options below that don't work together?  Please let me
know.  :(

I have compiled PHP4.1.1 with this configure line:
./configure --with-mysql=/usr/local --with-ldap --enable-mailparse
--with-db3 --with-gdbm --with-ndbm --with-ttf
--with-freetype-dir=/usr/local/include/freetype/ --with-imap
--with-openssl=/usr/local/ssl/ --with-imap-ssl=/usr/local/ssl --with-gd
--enable-dmalloc --with-bz2 --enable-ftp
--with-apxs=/usr/local/apacheS/bin/apxs --sysconfdir=/etc
--with-jpeg-dir=/usr/ --with-zlib-dir=/usr/local --with-png-dir=/usr/local
--with-xpm-dir=/usr/X11R6 --with-mcrypt=/usr/local --with-mhash=/usr/local/
--enable-gd-native-ttf --with-java=/usr/jdk1.3/ --enable-track-vars
Everything is OK, no debug.log generated.
-- 
Edit bug report at: http://bugs.php.net/?id=14716edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #14728: Static PHP w/SSL DSO startup crash

2001-12-27 Thread tomki

From: [EMAIL PROTECTED]
Operating system: RH 6.1, Kernel 2.2.19
PHP version:  4.1.1
PHP Bug Type: Unknown/Other Function
Bug description:  Static PHP w/SSL DSO startup crash

All configurations are fine..
Config line for PHP:
./configure --with-mysql=/usr/local --with-ldap --with-db3 --with-gdbm
--with-imap --with-openssl=/usr/local/ssl/ --with-imap-ssl=/usr/local/ssl
--enable-dmalloc --with-apache=../apache_1.3.22/ --sysconfdir=/etc
--with-mcrypt=/usr/local --with-mhash=/usr/local/ --enable-track-vars

'/usr/local/apache1322/bin/apachectl start' gives:
bin/apachectl start: httpd could not be started

If I comment out the mod_php4.c line, startup is fine.

'strace /usr/local/apache1322/bin/apachectl start' gives:
execve(/usr/local/apache1322/bin/apachectl,
[/usr/local/apache1322/bin/apachectl, start], [/* 26 vars */]) = 0
brk(0)  = 0x80a5420
open(/etc/ld.so.preload, O_RDONLY)= -1 ENOENT (No such file or
directory)
open(/lib/i686/mmx/libtermcap.so.2, O_RDONLY) = -1 ENOENT (No such file
or directory)
stat(/lib/i686/mmx, 0xb53c)   = -1 ENOENT (No such file or
directory)
open(/lib/i686/libtermcap.so.2, O_RDONLY) = -1 ENOENT (No such file or
directory)
stat(/lib/i686, 0xb53c)   = -1 ENOENT (No such file or
directory)
open(/lib/mmx/libtermcap.so.2, O_RDONLY) = -1 ENOENT (No such file or
directory)
stat(/lib/mmx, 0xb53c)= -1 ENOENT (No such file or
directory)
open(/lib/libtermcap.so.2, O_RDONLY)  = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=15001, ...}) = 0
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\v\0..., 4096)
= 4096
mmap(0, 13896, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40013000
mprotect(0x40016000, 1608, PROT_NONE)   = 0
mmap(0x40016000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x2000) = 0x40016000
close(3)= 0
open(/lib/libc.so.6, O_RDONLY)= 3
fstat(3, {st_mode=S_IFREG|0755, st_size=4118299, ...}) = 0
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\250\202..., 4096)
= 4096
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40017000
mmap(0, 993500, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40018000
mprotect(0x40103000, 30940, PROT_NONE)  = 0
mmap(0x40103000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0xea000) = 0x40103000
mmap(0x40107000, 14556, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40107000
close(3)= 0
mprotect(0x40018000, 962560, PROT_READ|PROT_WRITE) = 0
mprotect(0x40018000, 962560, PROT_READ|PROT_EXEC) = 0
personality(0 /* PER_??? */)= 0
getpid()= 859
brk(0)  = 0x80a5420
brk(0x80a55c0)  = 0x80a55c0
brk(0x80a6000)  = 0x80a6000
getuid()= 0
getgid()= 0
geteuid()   = 0
getegid()   = 0
time(NULL)  = 1009508020
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGHUP, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV
USR2 PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV
USR2 PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGILL, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV
USR2 PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTRAP, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV
USR2 PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGABRT, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV
USR2 PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGFPE, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV
USR2 PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGBUS, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV
USR2 PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGSEGV, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV
USR2 PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGPIPE, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV
USR2 PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGALRM, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV
USR2 PIPE ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {0x804bb38, [HUP INT ILL 

[PHP-DEV] Bug #14728 Updated: Static PHP w/SSL DSO startup crash

2001-12-27 Thread tomki

ID: 14728
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Unknown/Other Function
Operating System: RH 6.1, Kernel 2.2.19
PHP Version: 4.1.1
New Comment:

Still fails with the ldap and imap config options taken out:
./configure --with-mysql=/usr/local --with-db3 --with-gdbm 
--with-openssl=/usr/local/ssl/ --enable-dmalloc --with-apache=../apache_1.3.22/ 
--sysconfdir=/etc --with-mcrypt=/usr/local --with-mhash=/usr/local/ 
--enable-track-vars


Previous Comments:


[2001-12-27 22:01:13] [EMAIL PROTECTED]

All configurations are fine..
Config line for PHP:
./configure --with-mysql=/usr/local --with-ldap --with-db3 --with-gdbm --with-imap 
--with-openssl=/usr/local/ssl/ --with-imap-ssl=/usr/local/ssl --enable-dmalloc 
--with-apache=../apache_1.3.22/ --sysconfdir=/etc --with-mcrypt=/usr/local 
--with-mhash=/usr/local/ --enable-track-vars

'/usr/local/apache1322/bin/apachectl start' gives:
bin/apachectl start: httpd could not be started

If I comment out the mod_php4.c line, startup is fine.

'strace /usr/local/apache1322/bin/apachectl start' gives:
execve(/usr/local/apache1322/bin/apachectl, [/usr/local/apache1322/bin/apachectl, 
start], [/* 26 vars */]) = 0
brk(0)  = 0x80a5420
open(/etc/ld.so.preload, O_RDONLY)= -1 ENOENT (No such file or directory)
open(/lib/i686/mmx/libtermcap.so.2, O_RDONLY) = -1 ENOENT (No such file or 
directory)
stat(/lib/i686/mmx, 0xb53c)   = -1 ENOENT (No such file or directory)
open(/lib/i686/libtermcap.so.2, O_RDONLY) = -1 ENOENT (No such file or directory)
stat(/lib/i686, 0xb53c)   = -1 ENOENT (No such file or directory)
open(/lib/mmx/libtermcap.so.2, O_RDONLY) = -1 ENOENT (No such file or directory)
stat(/lib/mmx, 0xb53c)= -1 ENOENT (No such file or directory)
open(/lib/libtermcap.so.2, O_RDONLY)  = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=15001, ...}) = 0
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\v\0..., 4096) = 4096
mmap(0, 13896, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40013000
mprotect(0x40016000, 1608, PROT_NONE)   = 0
mmap(0x40016000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) = 
0x40016000
close(3)= 0
open(/lib/libc.so.6, O_RDONLY)= 3
fstat(3, {st_mode=S_IFREG|0755, st_size=4118299, ...}) = 0
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\250\202..., 4096) = 4096
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
mmap(0, 993500, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40018000
mprotect(0x40103000, 30940, PROT_NONE)  = 0
mmap(0x40103000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xea000) = 
0x40103000
mmap(0x40107000, 14556, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 
0) = 0x40107000
close(3)= 0
mprotect(0x40018000, 962560, PROT_READ|PROT_WRITE) = 0
mprotect(0x40018000, 962560, PROT_READ|PROT_EXEC) = 0
personality(0 /* PER_??? */)= 0
getpid()= 859
brk(0)  = 0x80a5420
brk(0x80a55c0)  = 0x80a55c0
brk(0x80a6000)  = 0x80a6000
getuid()= 0
getgid()= 0
geteuid()   = 0
getegid()   = 0
time(NULL)  = 1009508020
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGHUP, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE 
ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE 
ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGILL, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE 
ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTRAP, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE 
ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGABRT, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE 
ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGFPE, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE 
ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGBUS, {0x804bb38, [HUP INT ILL TRAP ABRT BUS FPE USR1 SEGV USR2 PIPE 
ALRM TERM XCPU XFSZ VTALRM PROF], 0x400}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGSEGV, {0x804bb38, [HUP INT ILL TRAP