php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12495 when PHP configured with --enable-dmalloc Apache crashes
Submitted: 2001-07-31 15:27 UTC Modified: 2001-08-09 06:31 UTC
From: binary_runner at rocketmail dot com Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 4.0.6 OS: Linux 2.4.3 [ Mandrake 8.0 ]
Private report: No CVE-ID: None
 [2001-07-31 15:27 UTC] binary_runner at rocketmail dot com
When is PHP configured with --enable dmalloc,
the Apache crashes with "can't compile regexp at line ...".
Apache 1.3.19, Mandrake 8.0,
--prefix=?pkg_install_prefix/?pkg_install_dir  
--with-config-file-path=?pkg_dir('apache')/conf 
--with-apxs=?pkg_dir('apache')/bin/apxs 
--enable-sysvsem --enable-sysvshm --enable-magic-quotes
--enable-memory-limit  --enable-track-vars   --enable-versioning                                                                            --enable-trans-sid   --with-gettext   --with-recode 
--with-readline  --with-ldap=?pkg_dir('openldap') --with-ttf 
--with-gd --enable-gd-native-ttf 
 --with-gdbm --with-db3 --with-unixodbc=?pkg_dir('unixodbc') 
 --with-mysql=?pkg_dir('mysql')  --with-pgsql=?pkg_dir('postgres')  
 --with-sybase-ct=?pkg_dir('sybase') 
--enable-ftp  --with-xml  --with-zlib

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-01 03:20 UTC] joey@php.net
What Linux distro are you running? Which version of dmalloc?
And I don't see --enable-dmalloc anywhere in the config
line you pasted below....

I have been using dmalloc for over a year, with no problems,
so I expect it has something to do with a particular configuration
on your system.

I'm thinking something like one of the other packages
you are compiling in is linked to an older, different
dmalloc version that PHP is trying to link agains, or
something like that. Anyways, this clearly is not enough
information, so let's start by getting informed.
 [2001-08-01 03:34 UTC] joey@php.net
Didn't notice that Mandrake was listed in the bug report.
(Was too busy looking for --enable-dmalloc in the configure
line. :)
 [2001-08-03 20:08 UTC] joey@php.net
User replied by email:
> > What Linux distro are you running?
> Mandrake 8.0, compiler gcc 2.96

> > Which version of dmalloc?
> dmalloc 4.8.2

GCC 2.96 is an unstable compiler release which never
should have been included in a distro (see http://gcc.gnu.org/gcc-2.96.html for more info).

Reccomended that the user try gcc 2.95.x or 3.0, and see
if the bug goes away.
 [2001-08-09 06:31 UTC] joey@php.net
Moving to gcc 3.0 solved the dmalloc issues.
Not a PHP bug.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 03:01:29 2024 UTC