[PHP-DEV] PHP 4.0 Bug #6134: httpd segfaults on PHP4 page request From: anil <email protected>
Date: 08/12/00

From: anil <email protected>
Operating system: Red Hat Linux 6.1
PHP version: 4.0 Latest CVS (12/08/2000)
PHP Bug Type: Reproduceable crash
Bug description: httpd segfaults on PHP4 page request

Compiled from latest CVS, and the httpd dies on a php4 page request. Apache 1.3.12 - runs 4.0.1pl2 fine.

Configure line was:

"./configure" \
"--with-apxs=/usr/local/apache/bin/apxs" \
"--with-mysql=/usr/local" \
"--with-mcal" \
"--with-imap" \
"--with-gettext" \
"--enable-versioning" \
"--with-gd" \

gdb reveals this:

[root <email protected> php4]# gdb /usr/local/apache/bin/httpd
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"...
(gdb) run -X
Starting program: /usr/local/apache/bin/httpd -X
[Sun Aug 13 00:49:41 2000] [warn] NameVirtualHost 212.25.240.41:80 has no VirtualHosts

Program received signal SIGSEGV, Segmentation fault.
0x40674501 in ?? () from /usr/local/apache/libexec/libphp4.so
(gdb) bt
#0 0x40674501 in ?? () from /usr/local/apache/libexec/libphp4.so
#1 0x4065c7e6 in ?? () from /usr/local/apache/libexec/libphp4.so
#2 0x40668872 in ?? () from /usr/local/apache/libexec/libphp4.so
#3 0x40677c35 in ?? () from /usr/local/apache/libexec/libphp4.so
#4 0x40674900 in ?? () from /usr/local/apache/libexec/libphp4.so
#5 0x406751d6 in ?? () from /usr/local/apache/libexec/libphp4.so
#6 0x4067520c in ?? () from /usr/local/apache/libexec/libphp4.so
#7 0x806df73 in ap_invoke_handler ()
#8 0x8081919 in process_request_internal ()
#9 0x8081d48 in ap_internal_redirect ()
#10 0x806163d in handle_dir ()
#11 0x806df73 in ap_invoke_handler ()
#12 0x8081919 in process_request_internal ()
#13 0x808197c in ap_process_request ()
#14 0x807918e in child_main ()
#15 0x807933c in make_child ()
#16 0x8079499 in startup_children ()
#17 0x8079ac6 in standalone_main ()
#18 0x807a263 in main ()
#19 0x4007d1eb in __libc_start_main (main=0x8079f0c <main>, argc=2,
    argv=0xbffffcd4, init=0x804f614 <_init>, fini=0x80b03cc <_fini>,
    rtld_fini=0x4000a610 <_dl_fini>, stack_end=0xbffffccc)
    at ../sysdeps/generic/libc-start.c:90

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>