PHP 4.0 Bug #7399: Opening _any_ page crashes Apache
| From: | david at pananix dot com | Date: | Mon, 23 Oct 2000 04:07:08 +0000 |
| Subject: | PHP 4.0 Bug #7399: Opening _any_ page crashes Apache | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35840@lists.php.net to get a copy of this message | ||
From: david@pananix.com
Operating system: Linux 2.2.14-5
PHP version: 4.0.3pl1
PHP Bug Type: Reproduceable crash
Bug description: Opening _any_ page crashes Apache
Any page when php-4.0.3pl1 is loaded (DSO) will cause Apache to segfault. If PHP-4 is not loaded,
Apache runs normally.
[Sun Oct 22 22:44:11 2000] [notice] Apache/1.3.14 (Unix) PHP/4.0.3pl1 PHP/3.0.16 FrontPage/4.0.4.3
mod_perl/1.24_01 mod_ssl/2.7.1 OpenSSL/0.9.6 configured
php-4 configuration:
./configure \
--with-apxs=/usr/sbin/apxs \
--with-mysql \
--with-imap=/usr \
--with-zlib \
--enable-sysvshm=yes \
--enable-sysvsem=yes \
--with-config-file-path=/etc \
--enable-debug=no \
--with-exec-dir=/usr/local/bin \
--enable-track-vars=yes \
--enable-bcmath \
--with-x \
--with-versioning \
--with-ftp \
--enable-ftp \
--with-gd \
--with-gettext \
--with-gdbm \
--with-calendar \
--enable-versioning \
--with-mm \
--with-readline \
--enable-trans-sid
Starting program: /usr/sbin/httpd -X
Program received signal SIGSEGV, Segmentation fault.
0x2afe3268 in last_use () at mod_php4.c:437
437 }
(gdb) bt
#0 0x2afe3268 in last_use () at mod_php4.c:437
#1 0x2b144c6c in php4_module () from /usr/libexec/apache/libphp4.so
#2 0x2afe339c in last_use () at mod_php4.c:437
#3 0x80baba3 in ap_invoke_handler ()
#4 0x80ce087 in ap_run_sub_req ()
#5 0x8075e65 in handle_include ()
#6 0x8078f45 in send_parsed_content ()
#7 0x807951d in send_parsed_file ()
#8 0x80baba3 in ap_invoke_handler ()
#9 0x80ce969 in process_request_internal ()
#10 0x80ce9cc in ap_process_request ()
#11 0x80c61ce in child_main ()
#12 0x80c637c in make_child ()
#13 0x80c64d9 in startup_children ()
#14 0x80c6b06 in standalone_main ()
#15 0x80c72a3 in main ()
#16 0x2ac6f736 in __libc_start_main () from /lib/libc.so.6
(gdb)
--
Edit Bug report at: http://bugs.php.net/?id=7399&edit=1