PHP 4.0 Bug #5149: when php4 is compiled with --disable-debug apache produces segfault at statup
| From: | adobernig at netway dot at | Date: | Tue, 20 Jun 2000 15:56:49 +0000 |
| Subject: | PHP 4.0 Bug #5149: when php4 is compiled with --disable-debug apache produces segfault at statup | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-21844@lists.php.net to get a copy of this message | ||
From: adobernig@netway.at
Operating system: RH 6.0
PHP version: 4.0.0 Release
PHP Bug Type: Reproduceable crash
Bug description: when php4 is compiled with --disable-debug apache produces segfault at statup
starting httpd fails when php4 is compiled with the --disable-debug (necessary for ZEND Optimizer)
Apache 1.3.12
-------------------------------------------------------------
(gdb) run
Starting program: /opt/apache/bin/./httpd
(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x40100626 in chunk_free (ar_ptr=0x40190580, p=0x81a8968) at malloc.c:3006
malloc.c:3006: No such file or directory.
-------------------------------------
./configure --prefix=/opt/php4/ --disable-debug --with-mysql=/opt/mysql --with-apache=/opt/apache
--with-swf=/opt/php4/libswf --enable-track-vars --enable-magic-quotes
make
make install
cd /opt/apache
./configure --prefix=/opt/apache --activate-module=src/modules/php4/libphp4.a
make
make install