php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2963 Apache 1.3.4 dumps core. Segfault at at zend_hash.c:135
Submitted: 1999-12-12 18:39 UTC Modified: 1999-12-17 10:20 UTC
From: pedrosegura at retemail dot es Assigned:
Status: Closed Package: Other
PHP Version: 4.0 Beta 3 OS: FreeBSD 3.1-RELEASE (KERN11AUG19
Private report: No CVE-ID: None
 [1999-12-12 18:39 UTC] pedrosegura at retemail dot es
Apache dumps core:

Program received signal SIGSEGV, Segmentation fault.
0x80816e9 in zend_hash_add_or_update (ht=0x0, arKey=0x8118bd0 "ereg", 
    nKeyLength=5, pData=0xefbfb9ac, nDataSize=16, pDest=0x0, flag=2)
    at zend_hash.c:135
135             h = ht->pHashFunction(arKey, nKeyLength);

My installation:

$ ./configure --with-mysql --with-apache=../apache_1.3.4 --enable-track-vars
$ make
$ make install
$ cd ../apache_1.3.4
$./configure \
   "--with-layout=Apache" \
   "--prefix=/usr/local/apache" \
   "--enable-module=rewrite" \
   "--enable-shared=rewrite" \
   "--enable-module=log_referer" \
   "--enable-shared=log_referer" \
   "--activate-module=src/modules/php4/libphp4.a"
$ make
$ cp src/httpd /usr/local/apache/bin/
$ /usr/local/apache/bin/httpd

I hope this helps...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-12-15 02:41 UTC] evan at cvs dot php dot net
Can you please provide a full backtrace, and if possible try PHP4 CVS and see if you have the same problem?
 [1999-12-16 23:49 UTC] evan at cvs dot php dot net
Awaiting feedback.
 [1999-12-17 10:17 UTC] pedrosegura at retemail dot es
Sorry for the delay. It was my mistake. I forgot to remove de Addmodule-Loadmodule lines related to php3 in my http.conf. It's working ok now, sorry for the inconveniences.
 [1999-12-17 10:20 UTC] andrei at cvs dot php dot net
Resolved by the submitter.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 20:01:28 2024 UTC