ID:               16583
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Duplicate
+Status:           Closed
 Bug Type:         Apache2 related
 Operating System: PLD Linux
 PHP Version:      4.2.0RC4


Previous Comments:
------------------------------------------------------------------------

[2002-04-21 18:46:24] [EMAIL PROTECTED]

This is the same bug as #16475.  I concur that the
problem appears to be some form of heap corruption... I
can easily reproduce the problem myself.  Further followup
will be done under bug #16475.  Thanks!

------------------------------------------------------------------------

[2002-04-20 08:38:39] [EMAIL PROTECTED]

Building w/ optimizations off (CFLAGS="-g -Wall") won't
help either.

------------------------------------------------------------------------

[2002-04-20 08:27:12] [EMAIL PROTECTED]

100% reproducible, crashes on loadmodule.

$ gcc -v
gcc version 2.95.3 20010315 (release)

$ uname -r
2.4.19-pre7-ac2

configured as
  ./configure \
  --prefix=/usr \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --with-apxs2=/var/lib/httpd/bin/apxs \
  --with-zlib \
  --without-mysql \
  --with-pgsql=/var/lib/pgsql \
  i386-slackware-linux

------------------------------------------------------------------------

[2002-04-19 12:11:07] [EMAIL PROTECTED]

%configure \
         --with-apxs2=%{_sbindir}/apxs` \
        --with-config-file-path=%{_sysconfdir} \
        --with-exec-dir=%{_bindir} \
        --enable-bcmath=shared \
        --enable-calendar=shared \
        --enable-dba=shared \
        --enable-exif=shared \
        --enable-ftp=shared \
        --enable-gd-native-ttf \
        --enable-magic-quotes \
        --enable-posix=shared \
        --enable-session \
        --enable-shared \
        --enable-shmop=shared \
        --enable-sysvsem=shared \
        --enable-sysvshm=shared \
        --enable-track-vars \
        --enable-trans-sid \
        --enable-safe-mode \
        --enable-sockets=shared \
        --enable-yp=shared \
        --enable-ucd-snmp-hack \
        --enable-xml=shared \
        --with-expat-dir=/usr \
        --with-bz2=shared \
        --with-ctype=shared \
        --with-curl=shared \
        --without-db2 \
        --with-db3 \
        --with-dbase=shared \
        --with-iconv=shared \
        --with-dom=shared \
        --with-dom-xslt=shared \
        --with-filepro=shared \
        --with-freetype-dir=shared \
        --with-gettext=shared \
        --with-gd=shared \
        --with-gdbm \
        --with-gmp=shared \
        --with-hyperwave \
        --with-imap=shared --with-imap-ssl \
        --with-jpeg-dir=%{_includedir} \
        --with-ldap=shared \
        --with-mcrypt=shared \
        --with-mysql=shared,%{_prefix} \
        --with-mysql-sock=/var/lib/mysql/mysql.sock \
        --with-mhash=shared \
        --with-ming=shared \
         --without-mm \
        --with-openssl \
        --with-pear=%{peardir} \
        --with-pcre-regex=shared \
        --with-pdflib=shared \
        --with-pgsql=shared,%{_prefix} \
        --with-png-dir=%{_includedir} \
        --without-recode=shared \
        --with-regex=php \
        --with-sablot=/usr/lib \
        --with-snmp=shared \
        --with-t1lib=shared \
        --with-unixODBC=shared \
        --with-zlib=shared \
        --with-zlib-dir=shared \
        --without-xmlrpc \
        --disable-cli

whole spec file is here:
http://cvs.pld.org.pl/SPECS/php.spec?rev=1.120.2.17

src.rpm is here:
ftp://ftp.pld.org.pl/dists/nest/test/SRPMS/php-4.2.0RC4-1.src.rpm

while building I was using rpm --debug, so in such case
rpm sets CFLAGS="-g -O0"

buildlog is here:
ftp://buildlogs.pld.org.pl/nest/i686/OK/_r_DEVEL_php.bz2
(the only difference between this buildlog and mine is that I was
compiling with CFLAGS="-g -O0)

------------------------------------------------------------------------

[2002-04-19 12:08:16] [EMAIL PROTECTED]

%configure \
--with-apxs2=%{_sbindir}/apxs` \
%else
        `[ $i = apxs ] && echo --with-apxs=%{_sbindir}/apxs` \
%endif  
        --with-config-file-path=%{_sysconfdir} \
        --with-exec-dir=%{_bindir} \
        --%{!?debug:dis}%{?debug:en}able-debug \
        --enable-bcmath=shared \
        --enable-calendar=shared \
        --enable-dba=shared \
        --enable-exif=shared \
        --enable-ftp=shared \
        --enable-gd-native-ttf \
        --enable-magic-quotes \
        --enable-posix=shared \
        --enable-session \
        --enable-shared \
        --enable-shmop=shared \
        --enable-sysvsem=shared \
        --enable-sysvshm=shared \
        --enable-track-vars \
        --enable-trans-sid \
        --enable-safe-mode \
        --enable-sockets=shared \
        --enable-yp=shared \
        --enable-ucd-snmp-hack \
        --enable-xml=shared \
        --with-expat-dir=/usr \
        %{?_with_xslt:--enable-xslt=shared} \
        --with-bz2=shared \
        %{?_with_libcpdf:--with-cpdflib=shared} \
        --with-ctype=shared \
        --with-curl=shared \
        --without-db2 \
        --with-db3 \
        --with-dbase=shared \
        --with-iconv=shared \
        --with-dom=shared \
        --with-dom-xslt=shared \
        --with-filepro=shared \
        --with-freetype-dir=shared \
        --with-gettext=shared \
        --with-gd=shared \
        --with-gdbm \
        --with-gmp=shared \
        --with-hyperwave \
        %{!?_without_imap:--with-imap=shared --with-imap-ssl} \
        %{?_with_java:--with-java} \
        --with-jpeg-dir=%{_includedir} \
        %{!?_without_ldap:--with-ldap=shared} \
        --with-mcrypt=shared \
        --with-mysql=shared,%{_prefix} \
        --with-mysql-sock=/var/lib/mysql/mysql.sock \
        --with-mhash=shared \
        --with-ming=shared \
        %{!?_without_mm:--with-mm} \
        %{!?_without_openssl:--with-openssl} \
        %{?_with_oracle:--with-oracle=shared} \
        %{?_with_oci8:--with-oci8=shared} \
        --with-pear=%{peardir} \
        --with-pcre-regex=shared \
        --with-pdflib=shared \
        --with-pgsql=shared,%{_prefix} \
        --with-png-dir=%{_includedir} \
        %{!?_without_recode:--with-recode=shared} \
        --with-regex=php \
        %{!?_without_sablot:--with-sablot=/usr/lib} \
        %{!?_without_snmp:--with-snmp=shared} \
        --with-t1lib=shared \
        %{!?_without_odbc:--with-unixODBC=shared} \
        %{?_with_wddx:--enable-wddx=shared} \
        --with-zlib=shared \
        --with-zlib-dir=shared \
        --without-xmlrpc \
        %{?_with_xslt:--with-xslt-sablot=shared} \
        --disable-cli

whole spec file is here:
http://cvs.pld.org.pl/SPECS/php.spec?rev=1.120.2.17

src.rpm is here:
ftp://ftp.pld.org.pl:/dists/nest/test/SRPMS/php-4.2.0RC4-1.src.rpm

while building I was using rpm --debug, so in such case
CFLAGS="-g -O0"

buildlog is here:
ftp://buildlogs.pld.org.pl/nest/i686/OK/_r_DEVEL_php.bz2
(the only difference between this buildlog and mine is that I was
compiling with CFLAGS="-g -O0)

I'll setup test enviroment if you want to debug it remotely over ssh.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/16583

-- 
Edit this bug report at http://bugs.php.net/?id=16583&edit=1

Reply via email to