PHP 4.0 Bug #6085: Apache dumps segmentation fault, Netscape gives occasional "no-data"
| From: | mattice at xs4all dot nl | Date: | Thu, 10 Aug 2000 23:37:06 +0000 |
| Subject: | PHP 4.0 Bug #6085: Apache dumps segmentation fault, Netscape gives occasional "no-data" | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-28413@lists.php.net to get a copy of this message | ||
From: mattice@xs4all.nl
Operating system: Redhat 6.1
PHP version: 4.0 Latest CVS (10/08/2000)
PHP Bug Type: Other
Bug description: Apache dumps segmentation fault, Netscape gives occasional "no-data"
Hi,
I've just installed the latest php4 snapshot (php4-200008090845)
and get a segmentation fault from Apache's general_error_log.
I did not get any errors while building the httpd, so I'm not sure what
is going on exactly here....
I'm connecting to Sybase to retrieve some data, very basic sql,
and Apache gives the segmentation error.
My backtrace and installation follows:
Starting program: /usr/local/apache/bin/httpd -X
Program received signal SIGSEGV, Segmentation fault.
0x80fde87 in _efree ()
(gdb) bt
#0 0x80fde87 in _efree ()
#1 0x80fe37e in shutdown_memory_manager ()
#2 0x80adcf8 in php_request_shutdown ()
#3 0x80abf96 in sapi_apache_send_headers ()
#4 0x8132cce in ap_run_cleanup ()
#5 0x81314ed in ap_clear_pool ()
#6 0x8131561 in ap_destroy_pool ()
#7 0x81314dc in ap_clear_pool ()
#8 0x8140e1f in ap_child_terminate ()
#9 0x81413dc in ap_child_terminate ()
#10 0x8141539 in ap_child_terminate ()
#11 0x8141b66 in ap_child_terminate ()
#12 0x8142303 in main ()
#13 0x4018a1eb in __libc_start_main (main=0x8141fac <main>, argc=2, argv=0xbffffd84,
init=0x807d33c <_init>, fini=0x81e613c <_fini>, rtld_fini=0x4000a610
<_dl_fini>,
stack_end=0xbffffd7c) at ../sysdeps/generic/libc-start.c:90
(gdb)
System: Redhat 6.1 on a AMD-K6/2 300 mhz 128 mb
Sybase Adaptive Server Enterprise 11.0.3.3
php4-200008090845
apache 1.3.12
mod_ssl-2.6.2-1.3.12
openssl-0.9.5
Installed like this:
>>openssl-0.9.5
sh config --prefix=/usr/local/ -fPIC
make
make test
make install
>>mod_ssl-2.6.2-1.3.12
./configure --with-apache=../apache_1.3.12
>>apache_1.3.12
./configure --prefix=/usr/local/apache
make
>>php4-200008090845
./configure --prefix=/usr/local/php \
--with-apache=../apache_1.3.12 \
--with-sybase=/opt/sybase \
--with-gd=../gd1.3 \
--with-ttf=../freetype-1.2 \
--with-mysql=no \
--enable-track-vars=yes \
--enable-memory-limit=yes \
--enable-debug=no
make
make install
cp php.ini-dist /usr/local/lib/php.ini (DID NOT CHANGE ANYTHING INTHERE)
>> apache_1.3.12
SSL_BASE=../openssl-0.9.5 ./configure --prefix=/usr/local/apache \
--enable-module=ssl \
--activate-module=src/modules/php4/libphp4.a \
make
make certificate TYPE=test
make install
Thanks,
Matthijs
mattice@xs4all.nl