php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4343 httpd core dumps on startup with SIGSEGV
Submitted: 2000-05-06 15:23 UTC Modified: 2002-10-01 12:53 UTC
From: rjmx at bigfoot dot com Assigned:
Status: Wont fix Package: Reproducible Crash
PHP Version: 3.0.16 OS: Linux RH 6.1 kernel 2.2.14
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: rjmx at bigfoot dot com
New email:
PHP Version: OS:

 

 [2000-05-06 15:23 UTC] rjmx at bigfoot dot com
Apache coredumps on startup if I enable php3. If I disable php3 in
httpd.conf, it starts up fine. The strange thing is that it was working
fine up till a week or so ago,  and I don't see what I've changed to
make it stop working.

Apache (1.3.12) was built with:
SSL_BASE=/usr/local/ssl \
   EAPI_MM=SYSTEM \
   ./configure --with-layout=Ron \
   --enable-module=auth_anon --enable-module=info  \
   --enable-module=so --enable-module=rewrite \
   --enable-module=digest --enable-module=usertrack \
   --enable-module=ssl --enable-shared=ssl

PHP was built with:
./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs    --with-xml
(from the INSTALL file)

Backtrace and the results of an strace are appended below. core dump
was started with SSL (i.e. mod_ssl) enabled, but running it without
doesn't make much difference.

Backtrace:
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
Core was generated by `/usr/local/apache/bin/httpd -DSSL'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /lib/libcrypt.so.1...done.
Reading symbols from /lib/libdb.so.3...done.
Reading symbols from /usr/local/lib/libmm.so.10...done.
Reading symbols from /lib/libdl.so.2...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
Reading symbols from /lib/libnss_files.so.2...done.
Reading symbols from /usr/local/apache/libexec/libphp3.so...done.
Reading symbols from /usr/lib/libgd.so.1...done.
Reading symbols from /usr/lib/libttf.so.2...done.
Reading symbols from /usr/lib/libmysqlclient.so.6...done.
Reading symbols from /usr/lib/libgdbm.so.2...done.
Reading symbols from /lib/libpam.so.0...done.
Reading symbols from /lib/libresolv.so.2...done.
Reading symbols from /lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libz.so.1...done.
Reading symbols from /lib/libpthread.so.0...done.
#0  0x403e16a8 in ?? ()
(gdb) bt
#0  0x403e16a8 in ?? ()
#1  0x400fb3fa in _IO_new_file_close_it (fp=0x80ebf90) at fileops.c:136
#2  0x400f727d in _IO_new_fclose (fp=0x80ebf90) at iofclose.c:50
#3  0x402bb8a3 in php3_init_config () at ./configuration-parser.y:226
#4  0x402b2d8b in php3_config_ini_startup () at main.c:947
#5  0x402b38e0 in php3_module_startup () at main.c:1238
#6  0x402b1150 in php3_create_dir () from /usr/local/apache/libexec/libphp3.so
#7  0x807bbc3 in ap_single_module_configure ()
#8  0x80741b3 in load_module ()
#9  0x807a41e in invoke_cmd ()
#10 0x807ad63 in ap_handle_command ()
#11 0x807adf9 in ap_srm_command_loop ()
#12 0x807b200 in ap_process_resource_config ()
#13 0x807bae2 in ap_read_config ()
#14 0x8085641 in standalone_main ()
#15 0x8085ec3 in main ()
#16 0x400be1eb in __libc_start_main (main=0x8085b6c <main>, argc=2, 
    argv=0xbffffd24, init=0x804fea8 <_init>, fini=0x80bc20c <_fini>, 
    rtld_fini=0x4000a610 <_dl_fini>, stack_end=0xbffffd1c)
    at ../sysdeps/generic/libc-start.c:90
(gdb) 

 ===========================================

Result of 'strace httpd -X':
execve("./httpd", ["./httpd", "-X"], [/* 22 vars */]) = 0
brk(0)                                  = 0x80dcf78
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=27238, ...}) = 0
mmap(0, 27238, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40013000
close(3)                                = 0
open("/lib/libm.so.6", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=540120, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320=\0"..., 4096) = 4096
mmap(0, 114648, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001a000
mprotect(0x40035000, 4056, PROT_NONE)   = 0
mmap(0x40035000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1a000) = 0x40035000
close(3)                                = 0
open("/lib/libcrypt.so.1", O_RDONLY)    = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=64595, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\f\0"..., 4096) = 4096
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40036000
mmap(0, 183036, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40037000
mprotect(0x4003c000, 162556, PROT_NONE) = 0
mmap(0x4003c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4000) = 0x4003c000
mmap(0x4003d000, 158460, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4003d000
close(3)                                = 0
open("/lib/libdb.so.3", O_RDONLY)       = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=792313, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@<\0\000"..., 4096) = 4096
mmap(0, 235800, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40064000
mprotect(0x4009d000, 2328, PROT_NONE)   = 0
mmap(0x4009d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x38000) = 0x4009d000
close(3)                                = 0
open("/usr/local/lib/libmm.so.10", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=18688, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\22\0\000"..., 4096) = 4096
mmap(0, 16596, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4009e000
mprotect(0x400a1000, 4308, PROT_NONE)   = 0
mmap(0x400a1000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) = 0x400a1000
close(3)                                = 0
open("/lib/libdl.so.2", O_RDONLY)       = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=74663, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\31\0\000"..., 4096) = 4096
mmap(0, 11532, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x400a3000
mprotect(0x400a5000, 3340, PROT_NONE)   = 0
mmap(0x400a5000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x400a5000
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, 993500, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x400a6000
mprotect(0x40191000, 30940, PROT_NONE)  = 0
mmap(0x40191000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xea000) = 0x40191000
mmap(0x40195000, 14556, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40195000
close(3)                                = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40199000
mprotect(0x400a6000, 962560, PROT_READ|PROT_WRITE) = 0
mprotect(0x400a6000, 962560, PROT_READ|PROT_EXEC) = 0
munmap(0x40013000, 27238)               = 0
personality(0 /* PER_??? */)            = 0
getpid()                                = 9648
brk(0)                                  = 0x80dcf78
brk(0x80dd118)                          = 0x80dd118
brk(0x80de000)                          = 0x80de000
brk(0x80e1000)                          = 0x80e1000
brk(0x80e4000)                          = 0x80e4000
brk(0x80e7000)                          = 0x80e7000
brk(0x80ea000)                          = 0x80ea000
getpid()                                = 9648
shmget(IPC_PRIVATE, 1052672, IPC_CREAT|0x180|0600) = 2944
shmat(2944, 0, 0)                       = 0x4019a000
shmctl(2944, IPC_STAT, 0xbffffbe4)      = 0
getuid()                                = 0
getgid()                                = 0
shmctl(2944, IPC_SET, 0xbffffbe4)       = 0
shmctl(2944, IPC_RMID, 0)               = 0
unlink("/var/run/httpd.mm.9648.sem")    = -1 ENOENT (No such file or directory)
open("/var/run/httpd.mm.9648.sem", O_RDWR|O_CREAT, 0600) = 3
getpid()                                = 9648
stat("/usr/local/apache/bin/suexec", 0xbffffb9c) = -1 ENOENT (No such file or directory)
brk(0x80ed000)                          = 0x80ed000
open("/etc/apache/httpd.conf", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=43731, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=43731, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40013000
read(4, "##\n## httpd.conf -- Apache HTTP "..., 4096) = 4096
stat("/usr/local/apache", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
read(4, "cess.conf\n\n#\n# Timeout: The numb"..., 4096) = 4096
open("/usr/local/apache/libexec/libphp3.so", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0755, st_size=1531551, ...}) = 0
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\\\1"..., 4096) = 4096
mmap(0, 640104, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x4029b000
mprotect(0x40320000, 95336, PROT_NONE)  = 0
mmap(0x40320000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x84000) = 0x40320000
mmap(0x40325000, 74856, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40325000
close(5)                                = 0
open("/etc/ld.so.cache", O_RDONLY)      = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=27238, ...}) = 0
mmap(0, 27238, PROT_READ, MAP_PRIVATE, 5, 0) = 0x40338000
close(5)                                = 0
open("/usr/lib/libgd.so.1", O_RDONLY)   = 5
fstat(5, {st_mode=S_IFREG|0755, st_size=155713, ...}) = 0
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\23"..., 4096) = 4096
mmap(0, 218372, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x4033f000
mprotect(0x40345000, 193796, PROT_NONE) = 0
mmap(0x40345000, 126976, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x5000) = 0x40345000
mmap(0x40364000, 66820, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40364000
close(5)                                = 0
open("/usr/lib/libttf.so.2", O_RDONLY)  = 5
fstat(5, {st_mode=S_IFREG|0755, st_size=272417, ...}) = 0
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300!\0"..., 4096) = 4096
mmap(0, 84976, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x40375000
mprotect(0x40389000, 3056, PROT_NONE)   = 0
mmap(0x40389000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x13000) = 0x40389000
close(5)                                = 0
open("/usr/lib/libmysqlclient.so.6", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0755, st_size=92791, ...}) = 0
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\350C\0"..., 4096) = 4096
mmap(0, 75600, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x4038a000
mprotect(0x4039b000, 5968, PROT_NONE)   = 0
mmap(0x4039b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x10000) = 0x4039b000
close(5)                                = 0
open("/usr/lib/libgdbm.so.2", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0755, st_size=28657, ...}) = 0
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\22"..., 4096) = 4096
mmap(0, 23084, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x40014000
mprotect(0x40019000, 2604, PROT_NONE)   = 0
mmap(0x40019000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x4000) = 0x40019000
close(5)                                = 0
open("/lib/libpam.so.0", O_RDONLY)      = 5
fstat(5, {st_mode=S_IFREG|0755, st_size=32898, ...}) = 0
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \23\0\000"..., 4096) = 4096
mmap(0, 31248, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x4039d000
mprotect(0x403a4000, 2576, PROT_NONE)   = 0
mmap(0x403a4000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x6000) = 0x403a4000
close(5)                                = 0
open("/lib/libresolv.so.2", O_RDONLY)   = 5
fstat(5, {st_mode=S_IFREG|0755, st_size=170564, ...}) = 0
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\"\0"..., 4096) = 4096
mmap(0, 59900, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x403a5000
mprotect(0x403b0000, 14844, PROT_NONE)  = 0
mmap(0x403b0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0xa000) = 0x403b0000
mmap(0x403b2000, 6652, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x403b2000
close(5)                                = 0
open("/lib/libnsl.so.1", O_RDONLY)      = 5
fstat(5, {st_mode=S_IFREG|0755, st_size=372604, ...}) = 0
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2408\0"..., 4096) = 4096
mmap(0, 86440, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x403b4000
mprotect(0x403c6000, 12712, PROT_NONE)  = 0
mmap(0x403c6000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x11000) = 0x403c6000
mmap(0x403c7000, 8616, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x403c7000
close(5)                                = 0
open("/usr/lib/libz.so.1", O_RDONLY)    = 5
fstat(5, {st_mode=S_IFREG|0755, st_size=62885, ...}) = 0
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\27"..., 4096) = 4096
mmap(0, 58092, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x403ca000
mprotect(0x403d6000, 8940, PROT_NONE)   = 0
mmap(0x403d6000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0xb000) = 0x403d6000
close(5)                                = 0
open("/lib/libpthread.so.0", O_RDONLY)  = 5
fstat(5, {st_mode=S_IFREG|0755, st_size=247381, ...}) = 0
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\3407\0"..., 4096) = 4096
brk(0x80ee000)                          = 0x80ee000
mmap(0, 69188, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x403d9000
mprotect(0x403e3000, 28228, PROT_NONE)  = 0
mmap(0x403e3000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x9000) = 0x403e3000
close(5)                                = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
setrlimit(RLIMIT_STACK, {rlim_cur=2040*1024, rlim_max=RLIM_INFINITY}) = 0
getpid()                                = 9648
uname({sys="Linux", node="khufu", ...}) = 0
rt_sigaction(SIGRT_0, {0x403dfe10, [], 0x4000000}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x403df7ac, [], 0x4000000}, NULL, 8) = 0
rt_sigaction(SIGRT_2, {0x403dfe9c, [], 0x4000000}, NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [RT_0], NULL, 8) = 0
munmap(0x40338000, 27238)               = 0
open("./php3.ini", O_RDONLY)            = -1 ENOENT (No such file or directory)
open("/php3.ini", O_RDONLY)             = -1 ENOENT (No such file or directory)
open("/usr/local/lib/php3.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
brk(0x80ef000)                          = 0x80ef000
brk(0x80f0000)                          = 0x80f0000
brk(0x80f1000)                          = 0x80f1000
brk(0x80f2000)                          = 0x80f2000
brk(0x80f3000)                          = 0x80f3000
brk(0x80f4000)                          = 0x80f4000
brk(0x80f5000)                          = 0x80f5000
brk(0x80f6000)                          = 0x80f6000
open("/etc/nsswitch.conf", O_RDONLY)    = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=1744, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40338000
read(5, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1744
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x40338000, 4096)                = 0
open("/etc/ld.so.cache", O_RDONLY)      = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=27238, ...}) = 0
mmap(0, 27238, PROT_READ, MAP_PRIVATE, 5, 0) = 0x40338000
close(5)                                = 0
open("/lib/libnss_files.so.2", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0755, st_size=247348, ...}) = 0
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\33"..., 4096) = 4096
mmap(0, 35232, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x403ea000
mprotect(0x403f2000, 2464, PROT_NONE)   = 0
mmap(0x403f2000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x7000) = 0x403f2000
close(5)                                = 0
munmap(0x40338000, 27238)               = 0
open("/etc/services", O_RDONLY)         = 5
fcntl(5, F_GETFD)                       = 0
fcntl(5, F_SETFD, FD_CLOEXEC)           = 0
fstat(5, {st_mode=S_IFREG|0644, st_size=11306, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40338000
read(5, "# /etc/services:\n# $Id: services"..., 4096) = 4096
read(5, "rtmap\t369/tcp\nrpc2portmap\t369/ud"..., 4096) = 4096
close(5)                                = 0
munmap(0x40338000, 4096)                = 0
brk(0x80f7000)                          = 0x80f7000
brk(0x80f8000)                          = 0x80f8000
brk(0x80f9000)                          = 0x80f9000
brk(0x80fa000)                          = 0x80fa000
brk(0x80fb000)                          = 0x80fb000
brk(0x80fc000)                          = 0x80fc000
getpid()                                = 9648
read(4, "\nAddModule mod_mime.c\nAddModule "..., 4096) = 4096
socket(PF_UNIX, SOCK_STREAM, 0)         = 5
connect(5, {sun_family=AF_UNIX, sun_path="/var/run/.nscd_socket"}, 110) = -1 ECONNREFUSED (Connection refused)
close(5)                                = 0
open("/etc/passwd", O_RDONLY)           = 5
fcntl(5, F_GETFD)                       = 0
fcntl(5, F_SETFD, FD_CLOEXEC)           = 0
fstat(5, {st_mode=S_IFREG|0644, st_size=907, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40338000
read(5, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 907
close(5)                                = 0
munmap(0x40338000, 4096)                = 0
brk(0x80fd000)                          = 0x80fd000
socket(PF_UNIX, SOCK_STREAM, 0)         = 5
connect(5, {sun_family=AF_UNIX, sun_path="/var/run/.nscd_socket"}, 110) = -1 ECONNREFUSED (Connection refused)
close(5)                                = 0
open("/etc/group", O_RDONLY)            = 5
fcntl(5, F_GETFD)                       = 0
fcntl(5, F_SETFD, FD_CLOEXEC)           = 0
fstat(5, {st_mode=S_IFREG|0644, st_size=512, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40338000
read(5, "root::0:root\nbin::1:root,bin,dae"..., 4096) = 512
close(5)                                = 0
munmap(0x40338000, 4096)                = 0
read(4, " enabled - so if something\'s not"..., 4096) = 4096
brk(0x8100000)                          = 0x8100000
read(4, "c module allows the server to us"..., 4096) = 4096
read(4, "ists, if you have that configure"..., 4096) = 4096
brk(0x8103000)                          = 0x8103000
read(4, "to use \"AddLanguage pl .po\" to \n"..., 4096) = 4096
read(4, "rDocument 404 /missing.html\n#  t"..., 4096) = 4096
read(4, "\n# Almost any Apache directive m"..., 4096) = 4096
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
brk(0x8106000)                          = 0x8106000
read(4, "ssl.crt/khufu-server.crt\n#SSLCer"..., 4096) = 4096
read(4, "portation is switched off for pe"..., 4096) = 2771
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x40013000, 4096)                = 0
stat("/etc/apache/srm.conf", {st_mode=S_IFREG|0644, st_size=357, ...}) = 0
open("/etc/apache/srm.conf", O_RDONLY)  = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=357, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=357, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40013000
read(4, "##\n## srm.conf -- Apache HTTP se"..., 4096) = 357
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x40013000, 4096)                = 0
stat("/etc/apache/access.conf", {st_mode=S_IFREG|0644, st_size=348, ...}) = 0
open("/etc/apache/access.conf", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=348, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=348, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40013000
read(4, "##\n## access.conf -- Apache HTTP"..., 4096) = 348
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x40013000, 4096)                = 0
brk(0x8109000)                          = 0x8109000
chmod("/var/run/httpd.mm.9648.sem", 0600) = 0
chown("/var/run/httpd.mm.9648.sem", 99, 4294967295) = 0
open("/var/log/apache/error_log", O_WRONLY|O_APPEND|O_CREAT, 0666) = 4
fcntl(4, F_DUPFD, 15)                   = 15
close(4)                                = 0
fcntl(15, F_GETFL)                      = 0x401 (flags O_WRONLY|O_APPEND)
fstat(15, {st_mode=S_IFREG|0644, st_size=163271, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40013000
_llseek(15, 0, [0], SEEK_CUR)           = 0
dup2(15, 2)                             = 2
open("/etc/apache/mime.types", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=9963, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=9963, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40338000
read(4, "# This is a comment. I love comm"..., 4096) = 4096
read(4, "lication/vnd.lotus-1-2-3\napplica"..., 4096) = 4096
read(4, "l/x-pdb\t\t\tpdb xyz\nimage/bmp\t\t\tbm"..., 4096) = 1771
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x40338000, 4096)                = 0
open("/var/log/apache/access_log", O_WRONLY|O_APPEND|O_CREAT, 0644) = 4
fcntl(4, F_DUPFD, 15)                   = 16
close(4)                                = 0
open("/var/log/apache/referer_log", O_WRONLY|O_APPEND|O_CREAT, 0644) = 4
fcntl(4, F_DUPFD, 15)                   = 17
close(4)                                = 0
open("/var/log/apache/agent_log", O_WRONLY|O_APPEND|O_CREAT, 0644) = 4
fcntl(4, F_DUPFD, 15)                   = 18
close(4)                                = 0
getpid()                                = 9648
time(NULL)                              = 957472872
close(18)                               = 0
close(17)                               = 0
close(16)                               = 0
munmap(0x4029b000, 640104)              = 0
munmap(0x4033f000, 218372)              = 0
munmap(0x40375000, 84976)               = 0
munmap(0x4038a000, 75600)               = 0
munmap(0x40014000, 23084)               = 0
munmap(0x4039d000, 31248)               = 0
munmap(0x403a5000, 59900)               = 0
munmap(0x403b4000, 86440)               = 0
munmap(0x403ca000, 58092)               = 0
munmap(0x403d9000, 69188)               = 0
open("/etc/apache/httpd.conf", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=43731, ...}) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=43731, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
read(4, "##\n## httpd.conf -- Apache HTTP "..., 4096) = 4096
stat("/usr/local/apache", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
read(4, "cess.conf\n\n#\n# Timeout: The numb"..., 4096) = 4096
open("/usr/local/apache/libexec/libphp3.so", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0755, st_size=1531551, ...}) = 0
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\\\1"..., 4096) = 4096
mmap(0, 640104, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x4029b000
mprotect(0x40320000, 95336, PROT_NONE)  = 0
mmap(0x40320000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x84000) = 0x40320000
mmap(0x40325000, 74856, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40325000
close(5)                                = 0
open("/etc/ld.so.cache", O_RDONLY)      = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=27238, ...}) = 0
mmap(0, 27238, PROT_READ, MAP_PRIVATE, 5, 0) = 0x40338000
close(5)                                = 0
open("/usr/lib/libgd.so.1", O_RDONLY)   = 5
fstat(5, {st_mode=S_IFREG|0755, st_size=155713, ...}) = 0
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\23"..., 4096) = 4096
mmap(0, 218372, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x4033f000
mprotect(0x40345000, 193796, PROT_NONE) = 0
mmap(0x40345000, 126976, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x5000) = 0x40345000
mmap(0x40364000, 66820, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40364000
close(5)                                = 0
open("/usr/lib/libttf.so.2", O_RDONLY)  = 5
fstat(5, {st_mode=S_IFREG|0755, st_size=272417, ...}) = 0
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300!\0"..., 4096) = 4096
mmap(0, 84976, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x40375000
mprotect(0x40389000, 3056, PROT_NONE)   = 0
mmap(0x40389000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x13000) = 0x40389000
close(5)                                = 0
open("/usr/lib/libmysqlclient.so.6", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0755, st_size=92791, ...}) = 0
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\350C\0"..., 4096) = 4096
mmap(0, 75600, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x4038a000
mprotect(0x4039b000, 5968, PROT_NONE)   = 0
mmap(0x4039b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x10000) = 0x4039b000
close(5)                                = 0
open("/usr/lib/libgdbm.so.2", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0755, st_size=28657, ...}) = 0
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\22"..., 4096) = 4096
mmap(0, 23084, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x4039d000
mprotect(0x403a2000, 2604, PROT_NONE)   = 0
mmap(0x403a2000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x4000) = 0x403a2000
close(5)                                = 0
open("/lib/libpam.so.0", O_RDONLY)      = 5
fstat(5, {st_mode=S_IFREG|0755, st_size=32898, ...}) = 0
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \23\0\000"..., 4096) = 4096
mmap(0, 31248, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x403a3000
mprotect(0x403aa000, 2576, PROT_NONE)   = 0
mmap(0x403aa000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x6000) = 0x403aa000
close(5)                                = 0
open("/lib/libresolv.so.2", O_RDONLY)   = 5
fstat(5, {st_mode=S_IFREG|0755, st_size=170564, ...}) = 0
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\"\0"..., 4096) = 4096
mmap(0, 59900, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x403ab000
mprotect(0x403b6000, 14844, PROT_NONE)  = 0
mmap(0x403b6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0xa000) = 0x403b6000
mmap(0x403b8000, 6652, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x403b8000
close(5)                                = 0
open("/lib/libnsl.so.1", O_RDONLY)      = 5
fstat(5, {st_mode=S_IFREG|0755, st_size=372604, ...}) = 0
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2408\0"..., 4096) = 4096
mmap(0, 86440, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x403ba000
mprotect(0x403cc000, 12712, PROT_NONE)  = 0
mmap(0x403cc000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x11000) = 0x403cc000
mmap(0x403cd000, 8616, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x403cd000
close(5)                                = 0
open("/usr/lib/libz.so.1", O_RDONLY)    = 5
fstat(5, {st_mode=S_IFREG|0755, st_size=62885, ...}) = 0
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\27"..., 4096) = 4096
mmap(0, 58092, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x403d0000
mprotect(0x403dc000, 8940, PROT_NONE)   = 0
mmap(0x403dc000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0xb000) = 0x403dc000
close(5)                                = 0
open("/lib/libpthread.so.0", O_RDONLY)  = 5
fstat(5, {st_mode=S_IFREG|0755, st_size=247381, ...}) = 0
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\3407\0"..., 4096) = 4096
mmap(0, 69188, PROT_READ|PROT_EXEC, MAP_PRIVATE, 5, 0) = 0x403f3000
mprotect(0x403fd000, 28228, PROT_NONE)  = 0
mmap(0x403fd000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x9000) = 0x403fd000
close(5)                                = 0
getrlimit(RLIMIT_STACK, {rlim_cur=2040*1024, rlim_max=RLIM_INFINITY}) = 0
getpid()                                = 9648
uname({sys="Linux", node="khufu", ...}) = 0
rt_sigaction(SIGRT_0, {0x403f9e10, [], 0x4000000}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x403f97ac, [], 0x4000000}, NULL, 8) = 0
rt_sigaction(SIGRT_2, {0x403f9e9c, [], 0x4000000}, NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [RT_0], NULL, 8) = 0
munmap(0x40338000, 27238)               = 0
open("./php3.ini", O_RDONLY)            = -1 ENOENT (No such file or directory)
open("/php3.ini", O_RDONLY)             = -1 ENOENT (No such file or directory)
open("/usr/local/lib/php3.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-01 12:53 UTC] hholzgra@php.net
We are sorry, but can not support PHP 3 related problems anymore.
Momentum is gathering for PHP 5, and we think supporting PHP 3 will
lead to a waste of resources which we want to put into getting PHP 5
ready. Ofcourse PHP 4 will will continue to be supported for the
forseeable future.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC