php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34132 endless loop for imap enabled manual build
Submitted: 2005-08-15 10:10 UTC Modified: 2005-08-23 01:00 UTC
From: islammayer at glmail dot com Assigned:
Status: No Feedback Package: Output Control
PHP Version: 4.4.0 OS: CentOS release 4.0 (Final)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: islammayer at glmail dot com
New email:
PHP Version: OS:

 

 [2005-08-15 10:10 UTC] islammayer at glmail dot com
Description:
------------
Php goes to endless loop (in userspace) with  
--with-imap  
--with-imap-ssl  
--with-zip  
--with-kerberos  
  
options.  

Reproduce code:
---------------
`php -v' will to endless loop

Expected result:
----------------
Php should show version and exit in a second. 

Actual result:
--------------
[islam@server php-4.4.0]$ strace ./sapi/cli/php -v    
execve("./sapi/cli/php", ["./sapi/cli/php", "-v"], [/* 21    
vars */]) = 0    
uname({sys="Linux", node="server.handtoplay.com", ...}) =    
0    
brk(0)                                  = 0x9fc6000    
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No    
such file or directory)    
open("/usr/kerberos/lib/tls/i686/sse2/libcrypt.so.1",    
O_RDONLY) = -1 ENOENT (No such file or directory)    
stat64("/usr/kerberos/lib/tls/i686/sse2", 0xbff20b28) = -1    
ENOENT (No such file or directory)    
open("/usr/kerberos/lib/tls/i686/libcrypt.so.1", O_RDONLY)    
= -1 ENOENT (No such file or directory)    
stat64("/usr/kerberos/lib/tls/i686", 0xbff20b28) = -1    
ENOENT (No such file or directory)    
open("/usr/kerberos/lib/tls/sse2/libcrypt.so.1", O_RDONLY)    
= -1 ENOENT (No such file or directory)    
stat64("/usr/kerberos/lib/tls/sse2", 0xbff20b28) = -1    
ENOENT (No such file or directory)    
open("/usr/kerberos/lib/tls/libcrypt.so.1", O_RDONLY) = -1    
ENOENT (No such file or directory)    
stat64("/usr/kerberos/lib/tls", 0xbff20b28) = -1 ENOENT    
(No such file or directory)    
open("/usr/kerberos/lib/i686/sse2/libcrypt.so.1",    
O_RDONLY) = -1 ENOENT (No such file or directory)    
stat64("/usr/kerberos/lib/i686/sse2", 0xbff20b28) = -1    
ENOENT (No such file or directory)    
open("/usr/kerberos/lib/i686/libcrypt.so.1", O_RDONLY) =    
-1 ENOENT (No such file or directory)    
stat64("/usr/kerberos/lib/i686", 0xbff20b28) = -1 ENOENT    
(No such file or directory)    
open("/usr/kerberos/lib/sse2/libcrypt.so.1", O_RDONLY) =    
-1 ENOENT (No such file or directory)    
stat64("/usr/kerberos/lib/sse2", 0xbff20b28) = -1 ENOENT    
(No such file or directory)    
open("/usr/kerberos/lib/libcrypt.so.1", O_RDONLY) = -1    
ENOENT (No such file or directory)    
stat64("/usr/kerberos/lib", 0xbff20b28) = -1 ENOENT (No    
such file or directory)    
open("/etc/ld.so.cache", O_RDONLY)      = 3    
fstat64(3, {st_mode=S_IFREG|0644, st_size=26659, ...}) = 0    
old_mmap(NULL, 26659, PROT_READ, MAP_PRIVATE, 3, 0) =    
0xb7ff9000    
close(3)                                = 0    
open("/lib/libcrypt.so.1", O_RDONLY)    = 3    
read(3,    
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\347"...,    
512) = 512    
fstat64(3, {st_mode=S_IFREG|0755, st_size=23444, ...}) = 0    
old_mmap(0xb4e000, 184636, PROT_READ|PROT_EXEC,    
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb4e000    
old_mmap(0xb53000, 8192, PROT_READ|PROT_WRITE,    
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0xb53000    
old_mmap(0xb55000, 155964, PROT_READ|PROT_WRITE,    
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb55000    
close(3)                                = 0    
open("/usr/lib/libc-client.so.0", O_RDONLY) = 3    
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0    
\2\1\000"..., 512) = 512    
fstat64(3, {st_mode=S_IFREG|0755, st_size=767416, ...}) =    
0    
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|   
MAP_ANONYMOUS, -1, 0) = 0xb7ff8000    
old_mmap(NULL, 767856, PROT_READ|PROT_EXEC, MAP_PRIVATE|   
MAP_DENYWRITE, 3, 0) = 0xbaa000    
old_mmap(0xc62000, 16384, PROT_READ|PROT_WRITE,    
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb8000) =    
0xc62000    
close(3)                                = 0    
open("/usr/lib/libzzip-0.so.13", O_RDONLY) = 3    
read(3,    
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20)\260"...,    
512) = 512    
fstat64(3, {st_mode=S_IFREG|0755, st_size=27987, ...}) = 0    
old_mmap(0xb01000, 23252, PROT_READ|PROT_EXEC,    
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb01000    
old_mmap(0xb06000, 4096, PROT_READ|PROT_WRITE,    
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0xb06000    
close(3)                                = 0    
open("/usr/lib/libpng12.so.0", O_RDONLY) = 3    
read(3,    
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000:   
\220"..., 512) = 512    
fstat64(3, {st_mode=S_IFREG|0755, st_size=144044, ...}) =    
0    
old_mmap(0x8fe000, 141476, PROT_READ|PROT_EXEC,    
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x8fe000    
old_mmap(0x920000, 4096, PROT_READ|PROT_WRITE,    
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) =    
0x920000    
close(3)                                = 0    
open("/usr/lib/libz.so.1", O_RDONLY)    = 3    
read(3,    
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\325"...,    
512) = 512    
fstat64(3, {st_mode=S_IFREG|0755, st_size=63528, ...}) = 0    
old_mmap(0xb3c000, 65028, PROT_READ|PROT_EXEC,    
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb3c000    
old_mmap(0xb4b000, 4096, PROT_READ|PROT_WRITE,    
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe000) = 0xb4b000    
close(3)                                = 0    
open("/usr/lib/libcurl.so.3", O_RDONLY) = 3    
read(3,    
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\207"...,    
512) = 512    
fstat64(3, {st_mode=S_IFREG|0755, st_size=192640, ...}) =    
0    
old_mmap(0xc32000, 194236, PROT_READ|PROT_EXEC,    
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x111000    
old_mmap(0x13f000, 8192, PROT_READ|PROT_WRITE,    
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2d000) =    
0x13f000    
close(3)                                = 0    
open("/lib/libresolv.so.2", O_RDONLY)   = 3    
read(3,    
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\3\270"...,    
512) = 512    
fstat64(3, {st_mode=S_IFREG|0755, st_size=68992, ...}) = 0    
old_mmap(0xb7e000, 75944, PROT_READ|PROT_EXEC,    
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e000    
old_mmap(0xb8d000, 8192, PROT_READ|PROT_WRITE,    
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf000) = 0xb8d000    
old_mmap(0xb8f000, 6312, PROT_READ|PROT_WRITE,    
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb8f000    
close(3)                                = 0    
open("/lib/tls/libm.so.6", O_RDONLY)    = 3    
read(3,    
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\23n\000"...,    
512) = 512    
fstat64(3, {st_mode=S_IFREG|0755, st_size=138684, ...}) =    
0    
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|   
MAP_ANONYMOUS, -1, 0) = 0xb7ff7000    
old_mmap(0x6de000, 139424, PROT_READ|PROT_EXEC,    
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x6de000    
old_mmap(0x6ff000, 8192, PROT_READ|PROT_WRITE,    
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x20000) =    
0x6ff000    
close(3)                                = 0    
open("/lib/libdl.so.2", O_RDONLY)       = 3    
read(3,    
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\313"...,    
512) = 512    
fstat64(3, {st_mode=S_IFREG|0755, st_size=11168, ...}) = 0    
old_mmap(0x4ec000, 12388, PROT_READ|PROT_EXEC,    
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4ec000    
old_mmap(0x4ee000, 8192, PROT_READ|PROT_WRITE,    
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x4ee000    
close(3)                                = 0    
open("/lib/libnsl.so.1", O_RDONLY)      = 3    
read(3,    
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320d\271"...,    
512) = 512    
fstat64(3, {st_mode=S_IFREG|0755, st_size=78352, ...}) = 0    
old_mmap(0xb93000, 88064, PROT_READ|PROT_EXEC,    
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb93000    
old_mmap(0xba5000, 8192, PROT_READ|PROT_WRITE,    
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11000) =    
0xba5000    
old_mmap(0xba7000, 6144, PROT_READ|PROT_WRITE,    
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xba7000    
close(3)                                = 0    
open("/lib/libssl.so.4", O_RDONLY)      = 3    
read(3,    
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\266"...,    
512) = 512    
fstat64(3, {st_mode=S_IFREG|0755, st_size=213600, ...}) =    
0    
old_mmap(0x4f2000, 212692, PROT_READ|PROT_EXEC,    
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4f2000    
old_mmap(0x523000, 12288, PROT_READ|PROT_WRITE,    
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x31000) =    
0x523000    
close(3)                                = 0    
open("/lib/libcrypto.so.4", O_RDONLY)   = 3    
read(3,    
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\351a"...,    
512) = 512    
fstat64(3, {st_mode=S_IFREG|0755, st_size=933312, ...}) =    
0    
old_mmap(0x5f4000, 949560, PROT_READ|PROT_EXEC,    
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x5f4000    
old_mmap(0x6c7000, 73728, PROT_READ|PROT_WRITE,    
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd2000) =    
0x6c7000    
old_mmap(0x6d9000, 11576, PROT_READ|PROT_WRITE,    
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x6d9000    
close(3)                                = 0    
open("/usr/lib/libgssapi_krb5.so.2", O_RDONLY) = 3    
read(3,    
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\\\216"...,    
512) = 512    
fstat64(3, {st_mode=S_IFREG|0755, st_size=82944, ...}) = 0    
old_mmap(0x8e1000, 80272, PROT_READ|PROT_EXEC,    
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x8e1000    
old_mmap(0x8f4000, 4096, PROT_READ|PROT_WRITE,    
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13000) =    
0x8f4000    
close(3)                                = 0    
open("/usr/lib/libkrb5.so.3", O_RDONLY) = 3    
read(3,    
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`h\220\000"...,    
512) = 512    
fstat64(3, {st_mode=S_IFREG|0755, st_size=415188, ...}) =    
0    
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|   
MAP_ANONYMOUS, -1, 0) = 0xb7ff6000    
old_mmap(0x8f7000, 413000, PROT_READ|PROT_EXEC,    
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x141000    
old_mmap(0x1a4000, 8192, PROT_READ|PROT_WRITE,    
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x63000) =    
0x1a4000    
close(3)                                = 0    
open("/lib/libcom_err.so.2", O_RDONLY)  = 3    
read(3,    
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\354\310"...,    
512) = 512    
fstat64(3, {st_mode=S_IFREG|0755, st_size=7004, ...}) = 0    
old_mmap(0xb2c000, 8636, PROT_READ|PROT_EXEC, MAP_PRIVATE|   
MAP_DENYWRITE, 3, 0) = 0xb2c000    
old_mmap(0xb2e000, 4096, PROT_READ|PROT_WRITE,    
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0xb2e000    
close(3)                                = 0    
open("/usr/lib/libk5crypto.so.3", O_RDONLY) = 3    
read(3,    
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\22\226"...,    
512) = 512    
fstat64(3, {st_mode=S_IFREG|0755, st_size=136016, ...}) =    
0    
old_mmap(0x95e000, 134560, PROT_READ|PROT_EXEC,    
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x95e000    
old_mmap(0x97e000, 4096, PROT_READ|PROT_WRITE,    
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x20000) =    
0x97e000    
close(3)                                = 0    
open("/usr/lib/libidn.so.11", O_RDONLY) = 3    
read(3,    
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260M\271"...,    
512) = 512    
fstat64(3, {st_mode=S_IFREG|0755, st_size=193700, ...}) =    
0    
old_mmap(0xb93000, 195200, PROT_READ|PROT_EXEC,    
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x1a6000    
old_mmap(0x1d4000, 8192, PROT_READ|PROT_WRITE,    
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2d000) =    
0x1d4000    
close(3)                                = 0    
open("/lib/tls/libc.so.6", O_RDONLY)    = 3    
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0    
\257\236"..., 512) = 512    
fstat64(3, {st_mode=S_IFREG|0755, st_size=1212936, ...}) =    
0    
old_mmap(0x9d6000, 1215644, PROT_READ|PROT_EXEC,    
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x9d6000    
old_mmap(0xaf9000, 16384, PROT_READ|PROT_WRITE,    
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x123000) =    
0xaf9000    
old_mmap(0xafd000, 7324, PROT_READ|PROT_WRITE,    
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xafd000    
close(3)                                = 0    
open("/lib/libpam.so.0", O_RDONLY)      = 3    
read(3,    
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2603\303"...,    
512) = 512    
fstat64(3, {st_mode=S_IFREG|0755, st_size=29344, ...}) = 0    
old_mmap(0xc32000, 30812, PROT_READ|PROT_EXEC,    
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x1d6000    
old_mmap(0x1dd000, 4096, PROT_READ|PROT_WRITE,    
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x1dd000    
close(3)                                = 0    
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|   
MAP_ANONYMOUS, -1, 0) = 0xb7ff5000    
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|   
MAP_ANONYMOUS, -1, 0) = 0xb7ff4000    
mprotect(0xaf9000, 4096, PROT_READ)     = 0    
mprotect(0x9d2000, 4096, PROT_READ)     = 0    
set_thread_area({entry_number:-1 -> 6,    
base_addr:0xb7ff46c0, limit:1048575, seg_32bit:1,    
contents:0, read_exec_only:0, limit_in_pages:1,    
seg_not_present:0, useable:1}) = 0    
munmap(0xb7ff9000, 26659)               = 0    
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0    
brk(0)                                  = 0x9fc6000    
brk(0x9fe7000)                          = 0x9fe7000    
open("/usr/lib/locale/locale-archive", O_RDONLY|   
O_LARGEFILE) = 3    
fstat64(3, {st_mode=S_IFREG|0644, st_size=39550416, ...})    
= 0    
mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) =    
0xb7df4000    
mmap2(NULL, 184320, PROT_READ, MAP_PRIVATE, 3, 0x102a) =    
0xb7dc7000    
mmap2(NULL, 24576, PROT_READ, MAP_PRIVATE, 3, 0x105c) =    
0xb7dc1000    
mmap2(NULL, 4096, PROT_READ, MAP_PRIVATE, 3, 0x10a7) =    
0xb7dc0000    
close(3)                                = 0    
open("/etc/localtime", O_RDONLY)        = 3    
fstat64(3, {st_mode=S_IFREG|0644, st_size=56, ...}) = 0    
fstat64(3, {st_mode=S_IFREG|0644, st_size=56, ...}) = 0    
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|   
MAP_ANONYMOUS, -1, 0) = 0xb7dbf000    
read(3,    
"TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\1\0"...,    
4096) = 56    
close(3)                                = 0    
munmap(0xb7dbf000, 4096)                = 0    
open("./sapi/cli//php-cli.ini", O_RDONLY) = -1 ENOENT (No    
such file or directory)    
open("/opt/php/lib/php-cli.ini", O_RDONLY) = -1 ENOENT (No    
such file or directory)    
open("./sapi/cli//php.ini", O_RDONLY)   = -1 ENOENT (No    
such file or directory)    
open("/opt/php/lib/php.ini", O_RDONLY)  = 3    
getcwd("/root/php-4.4.0", 4096)         = 16    
lstat64("/opt", {st_mode=S_IFDIR|0755, st_size=4096, ...})    
= 0    
lstat64("/opt/php", {st_mode=S_IFDIR|0755,    
st_size=4096, ...}) = 0    
lstat64("/opt/php/lib", {st_mode=S_IFDIR|0755,    
st_size=4096, ...}) = 0    
lstat64("/opt/php/lib/php.ini", {st_mode=S_IFREG|0644,    
st_size=185, ...}) = 0    
fstat64(3, {st_mode=S_IFREG|0644, st_size=185, ...}) = 0    
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|   
MAP_ANONYMOUS, -1, 0) = 0xb7dbf000    
read(3, "register_globals = On\nmemory_lim"..., 8192) =    
185    
read(3, "", 4096)                       = 0    
read(3, "", 8192)                       = 0    
close(3)                                = 0    
munmap(0xb7dbf000, 4096)                = 0    
brk(0xa008000)                          = 0xa008000    
open("/etc/nsswitch.conf", O_RDONLY)    = 3    
fstat64(3, {st_mode=S_IFREG|0644, st_size=1686, ...}) = 0    
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|   
MAP_ANONYMOUS, -1, 0) = 0xb7dbf000    
read(3, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) =    
1686    
read(3, "", 4096)                       = 0    
close(3)                                = 0    
munmap(0xb7dbf000, 4096)                = 0    
open("/etc/ld.so.cache", O_RDONLY)      = 3    
fstat64(3, {st_mode=S_IFREG|0644, st_size=26659, ...}) = 0    
old_mmap(NULL, 26659, PROT_READ, MAP_PRIVATE, 3, 0) =    
0xb7db9000    
close(3)                                = 0    
open("/lib/libnss_files.so.2", O_RDONLY) = 3    
read(3,    
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\32"...,    
512) = 512    
fstat64(3, {st_mode=S_IFREG|0755, st_size=38360, ...}) = 0    
old_mmap(NULL, 41604, PROT_READ|PROT_EXEC, MAP_PRIVATE|   
MAP_DENYWRITE, 3, 0) = 0xdeb000    
old_mmap(0xdf4000, 8192, PROT_READ|PROT_WRITE,    
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0xdf4000    
close(3)                                = 0    
munmap(0xb7db9000, 26659)               = 0    
open("/etc/protocols", O_RDONLY)        = 3    
fcntl64(3, F_GETFD)                     = 0    
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0    
fstat64(3, {st_mode=S_IFREG|0644, st_size=5834, ...}) = 0    
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|   
MAP_ANONYMOUS, -1, 0) = 0xb7dbf000    
read(3, "# /etc/protocols:\n# $Id: protoco"..., 4096) =    
4096    
close(3)                                = 0    
munmap(0xb7dbf000, 4096)                = 0    
open("/etc/protocols", O_RDONLY)        = 3    
fcntl64(3, F_GETFD)                     = 0    
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0    
fstat64(3, {st_mode=S_IFREG|0644, st_size=5834, ...}) = 0    
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|   
MAP_ANONYMOUS, -1, 0) = 0xb7dbf000    
read(3, "# /etc/protocols:\n# $Id: protoco"..., 4096) =    
4096    
close(3)                                = 0    
munmap(0xb7dbf000, 4096)                = 0    
open("/etc/services", O_RDONLY)         = 3    
fcntl64(3, F_GETFD)                     = 0    
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0    
fstat64(3, {st_mode=S_IFREG|0644, st_size=20373, ...}) = 0    
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|   
MAP_ANONYMOUS, -1, 0) = 0xb7dbf000    
read(3, "# /etc/services:\n# $Id: services"..., 4096) =    
4096    
read(3, "123/tcp\nntp\t\t123/udp\t\t\t\t# Networ"...,    
4096) = 4096    
read(3, "\t\t873/tcp\t\t\t\t# rsync\nrsync\t\t873/"...,    
4096) = 4096    
read(3, "pserver\t2401/tcp\t\t\t# CVS client/"..., 4096) =    
4096    
close(3)                                = 0    
munmap(0xb7dbf000, 4096)                = 0    
stat64("/etc/cram-md5.pwd", 0xbff210e4) = -1 ENOENT (No    
such file or directory)    
uname({sys="Linux", node="server.handtoplay.com", ...}) =    
0    
gettimeofday({1124090569, 463549}, NULL) = 0    
getpid()                                = 5774    
open("/etc/resolv.conf", O_RDONLY)      = 3    
fstat64(3, {st_mode=S_IFREG|0644, st_size=43, ...}) = 0    
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|   
MAP_ANONYMOUS, -1, 0) = 0xb7dbf000    
read(3, "search hostforweb.net\nnameserver"..., 4096) = 43    
read(3, "", 4096)                       = 0    
close(3)                                = 0    
munmap(0xb7dbf000, 4096)                = 0    
socket(PF_FILE, SOCK_STREAM, 0)         = 3    
fcntl64(3, F_GETFL)                     = 0x2 (flags    
O_RDWR)    
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0    
connect(3, {sa_family=AF_FILE,    
path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such    
file or directory)    
close(3)                                = 0    
socket(PF_FILE, SOCK_STREAM, 0)         = 3    
fcntl64(3, F_GETFL)                     = 0x2 (flags    
O_RDWR)    
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0    
connect(3, {sa_family=AF_FILE,    
path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such    
file or directory)    
close(3)                                = 0    
open("/etc/host.conf", O_RDONLY)        = 3    
fstat64(3, {st_mode=S_IFREG|0644, st_size=17, ...}) = 0    
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|   
MAP_ANONYMOUS, -1, 0) = 0xb7dbf000    
read(3, "order hosts,bind\n", 4096)     = 17    
read(3, "", 4096)                       = 0    
close(3)                                = 0    
munmap(0xb7dbf000, 4096)                = 0    
open("/etc/hosts", O_RDONLY)            = 3    
fcntl64(3, F_GETFD)                     = 0    
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0    
fstat64(3, {st_mode=S_IFREG|0644, st_size=172, ...}) = 0    
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|   
MAP_ANONYMOUS, -1, 0) = 0xb7dbf000    
read(3, "# Do not remove the following li"..., 4096) = 172    
read(3, "", 4096)                       = 0    
close(3)                                = 0    
munmap(0xb7dbf000, 4096)                = 0    
open("/etc/ld.so.cache", O_RDONLY)      = 3    
fstat64(3, {st_mode=S_IFREG|0644, st_size=26659, ...}) = 0    
old_mmap(NULL, 26659, PROT_READ, MAP_PRIVATE, 3, 0) =    
0xb7db9000    
close(3)                                = 0    
open("/lib/libnss_dns.so.2", O_RDONLY)  = 3    
read(3,    
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\r\0"...,    
512) = 512    
fstat64(3, {st_mode=S_IFREG|0755, st_size=17844, ...}) = 0    
old_mmap(NULL, 20612, PROT_READ|PROT_EXEC, MAP_PRIVATE|   
MAP_DENYWRITE, 3, 0) = 0x444000    
old_mmap(0x448000, 8192, PROT_READ|PROT_WRITE,    
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x448000    
close(3)                                = 0    
munmap(0xb7db9000, 26659)               = 0    
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3    
connect(3, {sa_family=AF_INET, sin_port=htons(53),    
sin_addr=inet_addr("127.0.0.1")}, 28) = 0    
fcntl64(3, F_GETFL)                     = 0x2 (flags    
O_RDWR)    
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0    
gettimeofday({1124090569, 476865}, NULL) = 0    
poll([{fd=3, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1    
send(3,    
"F\372\1\0\0\1\0\0\0\0\0\0\6server\nhandtoplay\3c"..., 39,    
0) = 39    
poll([{fd=3, events=POLLIN}], 1, 5000)  = 0    
gettimeofday({1124090574, 478218}, NULL) = 0    
poll([{fd=3, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1    
send(3,    
"F\372\1\0\0\1\0\0\0\0\0\0\6server\nhandtoplay\3c"..., 39,    
0) = 39    
poll([{fd=3, events=POLLIN}], 1, 5000)  = 0    
close(3)                                = 0    
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3    
connect(3, {sa_family=AF_INET, sin_port=htons(53),    
sin_addr=inet_addr("127.0.0.1")}, 28) = 0    
fcntl64(3, F_GETFL)                     = 0x2 (flags    
O_RDWR)    
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0    
gettimeofday({1124090579, 480521}, NULL) = 0    
poll([{fd=3, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1    
send(3,    
"\323\224\1\0\0\1\0\0\0\0\0\0\6server\nhandtoplay\3c"...,    
54, 0) = 54    
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, 5000) = 1    
ioctl(3, FIONREAD, [117])               = 0    
recvfrom(3,    
"\323\224\201\200\0\1\0\0\0\1\0\0\6server\nhandtoplay\3"...,    
1024, 0, {sa_family=AF_INET, sin_port=htons(53),    
sin_addr=inet_addr("127.0.0.1")}, [16]) = 117    
close(3)                                = 0    
alarm(0)                                = 0    
getuid32()                              = 0    
stat64("/etc/krb5.conf", {st_mode=S_IFREG|0644,    
st_size=615, ...}) = 0    
open("/etc/krb5.conf", O_RDONLY|O_LARGEFILE) = 3    
access("/etc/krb5.conf", W_OK)          = 0    
fstat64(3, {st_mode=S_IFREG|0644, st_size=615, ...}) = 0    
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|   
MAP_ANONYMOUS, -1, 0) = 0xb7dbf000    
read(3, "[logging]\n default = FILE:/var/l"..., 4096) =    
615    
read(3, "", 4096)                       = 0    
close(3)                                = 0    
munmap(0xb7dbf000, 4096)                = 0    
stat64("/etc/krb5.conf", {st_mode=S_IFREG|0644,    
st_size=615, ...}) = 0    
open("/etc/krb5.conf", O_RDONLY|O_LARGEFILE) = 3    
access("/etc/krb5.conf", W_OK)          = 0    
fstat64(3, {st_mode=S_IFREG|0644, st_size=615, ...}) = 0    
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|   
MAP_ANONYMOUS, -1, 0) = 0xb7dbf000    
read(3, "[logging]\n default = FILE:/var/l"..., 4096) =    
615    
read(3, "", 4096)                       = 0    
close(3)                                = 0    
munmap(0xb7dbf000, 4096)                = 0    
open("/dev/urandom", O_RDONLY|O_LARGEFILE) = 3    
fstat64(3, {st_mode=S_IFCHR|0444, st_rdev=makedev(1,    
9), ...}) = 0    
read(3,    
"\341\355\372\r\252Q_\270\215\365\312o\v\371\r5u\3036\10"...,    
20) = 20    
close(3)                                = 0    
gettimeofday({1124090579, 593424}, NULL) = 0    
stat64("/etc/krb5.conf", {st_mode=S_IFREG|0644,    
st_size=615, ...}) = 0    
stat64("/etc/krb5.conf", {st_mode=S_IFREG|0644,    
st_size=615, ...}) = 0    
stat64("/etc/krb5.conf", {st_mode=S_IFREG|0644,    
st_size=615, ...}) = 0    
stat64("/etc/krb5.conf", {st_mode=S_IFREG|0644,    
st_size=615, ...}) = 0    
stat64("/etc/krb5.conf", {st_mode=S_IFREG|0644,    
st_size=615, ...}) = 0    
stat64("/etc/krb5.conf", {st_mode=S_IFREG|0644,    
st_size=615, ...}) = 0    
stat64("/etc/krb5.conf", {st_mode=S_IFREG|0644,    
st_size=615, ...}) = 0    
stat64("/etc/krb5.conf", {st_mode=S_IFREG|0644,    
st_size=615, ...}) = 0    
stat64("/etc/krb5.conf", {st_mode=S_IFREG|0644,    
st_size=615, ...}) = 0    
stat64("/etc/krb5.conf", {st_mode=S_IFREG|0644,    
st_size=615, ...}) = 0    
stat64("/etc/krb5.conf", {st_mode=S_IFREG|0644,    
st_size=615, ...}) = 0    
stat64("/etc/krb5.conf", {st_mode=S_IFREG|0644,    
st_size=615, ...}) = 0    
stat64("/etc/krb5.conf", {st_mode=S_IFREG|0644,    
st_size=615, ...}) = 0    
stat64("/etc/krb5.conf", {st_mode=S_IFREG|0644,    
st_size=615, ...}) = 0    
open("/etc/hosts", O_RDONLY)            = 3    
fcntl64(3, F_GETFD)                     = 0    
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0    
fstat64(3, {st_mode=S_IFREG|0644, st_size=172, ...}) = 0    
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|   
MAP_ANONYMOUS, -1, 0) = 0xb7dbf000    
read(3, "# Do not remove the following li"..., 4096) = 172    
read(3, "", 4096)                       = 0    
close(3)                                = 0    
munmap(0xb7dbf000, 4096)                = 0    
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3    
connect(3, {sa_family=AF_INET, sin_port=htons(53),    
sin_addr=inet_addr("127.0.0.1")}, 28) = 0    
fcntl64(3, F_GETFL)                     = 0x2 (flags    
O_RDWR)    
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0    
gettimeofday({1124090579, 601488}, NULL) = 0    
poll([{fd=3, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1    
send(3,    
"\373\220\1\0\0\1\0\0\0\0\0\0\6server\nhandtoplay\3c"...,    
39, 0) = 39    
poll([{fd=3, events=POLLIN}], 1, 5000)  = 0    
gettimeofday({1124090584, 602074}, NULL) = 0    
poll([{fd=3, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1    
send(3,    
"\373\220\1\0\0\1\0\0\0\0\0\0\6server\nhandtoplay\3c"...,    
39, 0) = 39    
poll([{fd=3, events=POLLIN}], 1, 5000)  = 0    
close(3)                                = 0    
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3    
connect(3, {sa_family=AF_INET, sin_port=htons(53),    
sin_addr=inet_addr("127.0.0.1")}, 28) = 0    
fcntl64(3, F_GETFL)                     = 0x2 (flags    
O_RDWR)    
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0    
gettimeofday({1124090589, 604271}, NULL) = 0    
poll([{fd=3, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1    
send(3,    
"\242\220\1\0\0\1\0\0\0\0\0\0\6server\nhandtoplay\3c"...,    
54, 0) = 54    
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, 5000) = 1    
ioctl(3, FIONREAD, [117])               = 0    
recvfrom(3,    
"\242\220\201\200\0\1\0\0\0\1\0\0\6server\nhandtoplay\3"...,    
1024, 0, {sa_family=AF_INET, sin_port=htons(53),    
sin_addr=inet_addr("127.0.0.1")}, [16]) = 117    
close(3)                                = 0    
open("/etc/hosts", O_RDONLY)            = 3    
fcntl64(3, F_GETFD)                     = 0    
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0    
fstat64(3, {st_mode=S_IFREG|0644, st_size=172, ...}) = 0    
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|   
MAP_ANONYMOUS, -1, 0) = 0xb7dbf000    
read(3, "# Do not remove the following li"..., 4096) = 172    
read(3, "", 4096)                       = 0    
close(3)                                = 0    
munmap(0xb7dbf000, 4096)                = 0    
open("/etc/hosts", O_RDONLY)            = 3    
fcntl64(3, F_GETFD)                     = 0    
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0    
fstat64(3, {st_mode=S_IFREG|0644, st_size=172, ...}) = 0    
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|   
MAP_ANONYMOUS, -1, 0) = 0xb7dbf000    
read(3, "# Do not remove the following li"..., 4096) = 172    
read(3, "", 4096)                       = 0    
close(3)                                = 0    
munmap(0xb7dbf000, 4096)                = 0    
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3    
connect(3, {sa_family=AF_INET, sin_port=htons(53),    
sin_addr=inet_addr("127.0.0.1")}, 28) = 0    
fcntl64(3, F_GETFL)                     = 0x2 (flags    
O_RDWR)    
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0    
gettimeofday({1124090589, 611827}, NULL) = 0    
poll([{fd=3, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1    
send(3,    
"\224\254\1\0\0\1\0\0\0\0\0\0\6server\nhandtoplay\3c"...,    
39, 0) = 39    
poll( <unfinished ...>    
  
Stoped by Ctrl-C after about 10 seconds.  
  
--  
email:   Ismam S. Mayer <islmamayer@gmail.com> 
work:    http://www.emistry.com/ 
  

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-08-15 10:47 UTC] sniper@php.net
Thank you for the totally useless strace output.
A gdb backtrace would be more useful..

 [2005-08-23 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun Jan 23 06:03:36 2022 UTC