php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6085 Apache dumps segmentation fault, Netscape gives occasional "no-data"
Submitted: 2000-08-10 19:37 UTC Modified: 2000-10-02 23:01 UTC
From: mattice at xs4all dot nl Assigned:
Status: Closed Package: Sybase-ct (ctlib) related
PHP Version: 4.0 Latest CVS (10/08/2000) OS: Redhat 6.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mattice at xs4all dot nl
New email:
PHP Version: OS:

 

 [2000-08-10 19:37 UTC] mattice at xs4all dot nl
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-27 19:17 UTC] sniper@php.net
Please check out whether bug #5580 (in the end of it) has some info
to solve your problem and report back.

--Jani
 [2000-10-02 23:01 UTC] sniper@php.net
No feedback.

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Nov 03 08:01:28 2024 UTC