php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5149 when php4 is compiled with --disable-debug apache produces segfault at statup
Submitted: 2000-06-20 17:56 UTC Modified: 2000-06-28 14:51 UTC
From: adobernig at netway dot at Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0.0 Release OS: RH 6.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: adobernig at netway dot at
New email:
PHP Version: OS:

 

 [2000-06-20 17:56 UTC] adobernig at netway dot at
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-28 14:51 UTC] andi at cvs dot php dot net
Are you sure you did a completely fresh build?
Best is to reopen the original tarball and start ./configure from scratch.
More advanced version of the above can be done if you have the right tools installed:
./cvsclean
./buildconf
./configure --disable-debug

However you need to have the right version of autoconf and friends for this to work
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 20:01:45 2024 UTC