|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
31 + 19 = ?
Subscribe to this entry?

 [2000-08-10 19:37 UTC] mattice at xs4all dot nl

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

System: Redhat 6.1 on a AMD-K6/2 300 mhz 128 mb 
	Sybase Adaptive Server Enterprise
	apache 1.3.12
Installed like this:

sh config --prefix=/usr/local/ -fPIC
make test
make install

./configure --with-apache=../apache_1.3.12

./configure --prefix=/usr/local/apache


./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 \
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 certificate TYPE=test
make install




Add a Patch

Pull Requests

Add a Pull Request


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

 [2000-10-02 23:01 UTC]
No feedback.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Mar 03 10:01:29 2024 UTC