[PHP-BUG] Bug #51399 [NEW]: *** glibc detected *** /usr/sbin/httpd: double free or corruption (!prev)

[email protected] ("jitendra dot admin at gmail dot com") Fri, 26 Mar 2010 13:46:35 +0100 (CET)
Newsgroups php.bugs
Message-ID <[email protected]>
From:             
Operating system: Debian 5.0
PHP version:      Irrelevant
Package:          Apache related
Bug Type:         Bug
Bug description:*** glibc detected *** /usr/sbin/httpd: double free or corruption (!prev)

Description:
------------
Debian 5.0 (2.6.26-2-686 #1 SMP )
ii  linux-image-2.6-686               2.6.26+17+lenny1           Linux 2.6
image on PPro/Celeron/PII/PIII/P4
ii  linux-image-2.6.26-2-686          2.6.26-21lenny3            Linux
2.6.26 image on PPro/Celeron/PII/PIII/P4
ii  linux-libc-dev                    2.6.26-21lenny3            Linux
support headers for userspace development
###################################################################
GCC:
ii  gcc                               4:4.3.2-2                  The GNU C
compiler
ii  gcc-4.1-base                      4.1.2-25                   The GNU
Compiler Collection (base package)
ii  gcc-4.2-base                      4.2.4-6                    The GNU
Compiler Collection (base package)
ii  gcc-4.3                           4.3.2-1.1                  The GNU C
compiler
ii  gcc-4.3-base                      4.3.2-1.1                  The GNU
Compiler Collection (base package)
ii  gcc-4.3-locales                   4.3.2-1.1                  The GNU C
compiler (native language support files)
ii  gcc-4.3-multilib                  4.3.2-1.1                  The GNU C
compiler (multilib files)
ii  gcc-multilib                      4:4.3.2-2                  The GNU C
compiler (multilib files)
ii  lib64gcc1                         1:4.3.2-1.1                GCC
support library (64bit)
ii  libgcc1                           1:4.3.2-1.1                GCC
support library
ii  libgcc1-dbg                       1:4.3.2-1.1                GCC
support library (debug symbols)
#######################################################################
=>libc:
ii  klibc-utils                       1.5.12-2                   small
utilities built with klibc for early boot
ii  libc6                             2.7-18lenny2               GNU C
Library: Shared libraries
ii  libc6-amd64                       2.7-18lenny2               GNU C
Library: 64bit Shared libraries for AMD64
ii  libc6-dev                         2.7-18lenny2               GNU C
Library: Development Libraries and Header Files
ii  libc6-dev-amd64                   2.7-18lenny2               GNU C
Library: 64bit Development Libraries for AMD64
ii  libc6-i686                        2.7-18lenny2               GNU C
Library: Shared libraries [i686 optimized]
ii  libcap1                           1:1.10-14                  support
for getting/setting POSIX.1e capabilities
ii  libcomerr2                        1.41.3-1                   common
error description library
ii  libcompress-raw-zlib-perl         2.012-1lenny1              low-level
interface to zlib compression library
ii  libcompress-zlib-perl             2.012-1                    Perl
module for creation and manipulation of gzip files
ii  libconsole                        1:0.2.3dbs-65.1            Shared
libraries for Linux console and font manipulation
ii  libconvert-binhex-perl            1.119+pristine-3           Perl5
module for extracting data from macintosh BinHex files
ii  libcrypt-ssleay-perl              0.57-1+b1                  Support
for https protocol in LWP
ii  libcups2                          1.3.8-1+lenny7             Common
UNIX Printing System(tm) - libs
ii  libcupsimage2                     1.3.8-1+lenny7             Common
UNIX Printing System(tm) - image libs
ii  libcwidget3                       0.5.12-4                   high-level
terminal interface library for C++ (runtime files)
ii  libklibc                          1.5.12-2                   minimal
libc subset for use with initramfs
ii  liblocale-gettext-perl            1.05-4                     Using libc
functions for internationalization in Perl
ii  linux-libc-dev                    2.6.26-21lenny3            Linux
support headers for userspace development
ii  zlibc                             0.9k-4                     An on-fly
auto-uncompressing C library
#######################################################################
=>APACHE: apache_1.3.41
=> PHP: php-5.1.5
#######################################################################

Suddenly i am getting high load (CPU,Memory), as well as this error at the
time of shutdown the apache..

[Thu Mar 25 09:49:46 2010] [warn] child process 4431 still did not exit,
sending a SIGTERM
[Thu Mar 25 09:49:46 2010] [warn] child process 4432 still did not exit,
sending a SIGTERM
*** glibc detected *** /usr/sbin/httpd: double free or corruption (!prev):
0x08100bf8 ***
*** glibc detected *** /usr/sbin/httpd: double free or corruption (!prev):
0x08100bf8 ***
*** glibc detected *** /usr/sbin/httpd: double free or corruption (!prev):
0x0812e398 ***
*** glibc detected *** /usr/sbin/httpd: double free or corruption (!prev):
0x08100bf8 ***
*** glibc detected *** /usr/sbin/httpd: double free or corruption (!prev):
0x0812e398 ***
*** glibc detected *** /usr/sbin/httpd: double free or corruption (!prev):
0x08100bf8 ***
*** glibc detected *** /usr/sbin/httpd: double free or corruption (!prev):
0x08100bf8 ***
*** glibc detected *** /usr/sbin/httpd: double free or corruption (!prev):
0x08100bf8 ***
*** glibc detected *** /usr/sbin/httpd: double free or corruption (!prev):
0x08100bf8 ***
*** glibc detected *** /usr/sbin/httpd: double free or corruption (!prev):
0x08100bf8 ***
======= Backtrace: =========
======= Backtrace: =========
/lib/i686/cmov/libc.so.6[0xb7e09624]
======= Backtrace: =========
/lib/i686/cmov/libc.so.6(cfree+0x96)[0xb7e0b826]
/lib/i686/cmov/libc.so.6[0xb7e09624]
/lib/i686/cmov/libc.so.6(cfree+0x96)[0xb7e0b826]
/usr/local/apache-1.3.41-DSO/libexec/libphp5.so(zend_shutdown+0x12)[0xb799fb72]
/usr/local/apache-1.3.41-DSO/libexec/libphp5.so(zend_shutdown+0x12)[0xb799fb72]
/usr/local/apache-1.3.41-DSO/libexec/libphp5.so(php_module_shutdown+0x35)[0xb7962e95]
/usr/local/apache-1.3.41-DSO/libexec/libphp5.so(php_module_shutdown+0x35)[0xb7962e95]
/usr/local/apache-1.3.41-DSO/libexec/libphp5.so(php_module_shutdown_wrapper+0xb)[0xb7962f3b]
/usr/local/apache-1.3.41-DSO/libexec/libphp5.so(php_module_shutdown_wrapper+0xb)[0xb7962f3b]
/usr/sbin/httpd(ap_child_exit_modules+0x57)[0x806ff1e]
/usr/sbin/httpd(ap_child_exit_modules+0x57)[0x806ff1e]
/usr/sbin/httpd[0x807750e]
======= Backtrace: =========
/usr/sbin/httpd[0x80795df]
[0xb7f73400]
/lib/i686/cmov/libc.so.6[0xb7e09624]
/lib/i686/cmov/libc.so.6(cfree+0x96)[0xb7e0b826]
/usr/local/apache-1.3.41-DSO/libexec/libphp5.so(zend_hash_destroy+0x3e)[0xb79a86fe]
/usr/local/apache-1.3.41-DSO/libexec/libphp5.so(zend_shutdown+0x8b)[0xb799fbeb]
/usr/local/apache-1.3.41-DSO/libexec/libphp5.so(zend_shutdown+0x12)[0xb799fb72]
/usr/local/apache-1.3.41-DSO/libexec/libphp5.so(php_module_shutdown+0x35)[0xb7962e95]
/usr/local/apache-1.3.41-DSO/libexec/libphp5.so(php_module_shutdown+0x35)[0xb7962e95]
/usr/local/apache-1.3.41-DSO/libexec/libphp5.so(php_module_shutdown_wrapper+0xb)[0xb7962f3b]
/usr/local/apache-1.3.41-DSO/libexec/libphp5.so(php_module_shutdown_wrapper+0xb)[0xb7962f3b]
/usr/sbin/httpd(ap_child_exit_modules+0x57)[0x806ff1e]
/usr/sbin/httpd(ap_child_exit_modules+0x57)[0x806ff1e]
/lib/i686/cmov/libc.so.6[0xb7e09624]
/usr/sbin/httpd[0x807750e]
/usr/local/apache-1.3.41-DSO/libexec/libphp5.so(zend_hash_destroy+0x3e)[0xb79a86fe]
/usr/local/apache-1.3.41-DSO/libexec/libphp5.so(zend_shutdown+0x12)[0xb799fb72]
/usr/local/apache-1.3.41-DSO/libexec/libphp5.so(zend_shutdown+0x8b)[0xb799fbeb]
/usr/local/apache-1.3.41-DSO/libexec/libphp5.so(php_module_shutdown+0x35)[0xb7962e95]
/usr/local/apache-1.3.41-DSO/libexec/libphp5.so(php_module_shutdown+0x35)[0xb7962e95]
/usr/local/apache-1.3.41-DSO/libexec/libphp5.so(php_module_shutdown_wrapper+0xb)[0xb7962f3b]
/usr/sbin/httpd(ap_child_exit_modules+0x57)[0x806ff1e]
/usr/sbin/httpd[0x807750e]
/usr/local/apache-1.3.41-DSO/libexec/libphp5.so(php_module_shutdown_wrapper+0xb)[0xb7962f3b]
/usr/sbin/httpd[0x80795df]
[0xb7f73400]
/usr/sbin/httpd(ap_child_exit_modules+0x57)[0x806ff1e]
/usr/sbin/httpd[0x807750e]
/usr/sbin/httpd[0x80795df]
[0xb7f73400]
/usr/sbin/httpd[0x807b3f0]
/usr/sbin/httpd[0x807b7e0]
/usr/sbin/httpd[0x807beb5]
/usr/sbin/httpd(main+0x3d2)[0x807c560]
/usr/local/apache-1.3.41-DSO/libexec/libphp5.so(zend_hash_destroy+0x3e)[0xb79a86fe]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7db1455]
/usr/sbin/httpd[0x8050de1]
======= Memory map: ========



-- 
Edit bug report at http://bugs.php.net/bug.php?id=51399&edit=1
-- 
Try a snapshot (PHP 5.2):            http://bugs.php.net/fix.php?id=51399&r=trysnapshot52
Try a snapshot (PHP 5.3):            http://bugs.php.net/fix.php?id=51399&r=trysnapshot53
Try a snapshot (PHP 6.0):            http://bugs.php.net/fix.php?id=51399&r=trysnapshot60
Fixed in SVN:                        http://bugs.php.net/fix.php?id=51399&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51399&r=needdocs
Fixed in release:                    http://bugs.php.net/fix.php?id=51399&r=alreadyfixed
Need backtrace:                      http://bugs.php.net/fix.php?id=51399&r=needtrace
Need Reproduce Script:               http://bugs.php.net/fix.php?id=51399&r=needscript
Try newer version:                   http://bugs.php.net/fix.php?id=51399&r=oldversion
Not developer issue:                 http://bugs.php.net/fix.php?id=51399&r=support
Expected behavior:                   http://bugs.php.net/fix.php?id=51399&r=notwrong
Not enough info:                     http://bugs.php.net/fix.php?id=51399&r=notenoughinfo
Submitted twice:                     http://bugs.php.net/fix.php?id=51399&r=submittedtwice
register_globals:                    http://bugs.php.net/fix.php?id=51399&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=51399&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=51399&r=dst
IIS Stability:                       http://bugs.php.net/fix.php?id=51399&r=isapi
Install GNU Sed:                     http://bugs.php.net/fix.php?id=51399&r=gnused
Floating point limitations:          http://bugs.php.net/fix.php?id=51399&r=float
No Zend Extensions:                  http://bugs.php.net/fix.php?id=51399&r=nozend
MySQL Configuration Error:           http://bugs.php.net/fix.php?id=51399&r=mysqlcfg