Bug #51399 [Opn->Bgs]: *** glibc detected *** /usr/sbin/httpd: double free or corruption (!prev)
| From: | felipe@php.net | Date: | Wed, 16 Nov 2011 13:55:24 +0000 |
| Subject: | Bug #51399 [Opn->Bgs]: *** glibc detected *** /usr/sbin/httpd: double free or corruption (!prev) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-165234@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=51399&edit=1
ID: 51399
Updated by: felipe@php.net
Reported by: jitendra dot admin at gmail dot com
Summary: *** glibc detected *** /usr/sbin/httpd: double free
or corruption (!prev)
-Status: Open
+Status: Bogus
Type: Bug
Package: Apache related
Operating System: Debian 5.0
PHP Version: php 5.1.5
Block user comment: N
Private report: N
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP --
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
Previous Comments:
------------------------------------------------------------------------
[2010-04-14 21:32:53] reggie at busicast dot com
Received same error report on PHP 5.3.1 & 5.2.13 with pegging of CPU.
PHP Compiled from source with eAccelerator v0.9.6-rc1, with Suhosin v0.9.29.
------------------------------------------------------------------------
[2010-03-29 14:52:15] no dot spa at o2 dot pl
This problem also exist on latest Apache 1, with PHP 5.2.13
*** glibc detected *** /usr/local/apache/bin/httpd: corrupted double-linked list: 0x093f1170 ***
======= Backtrace: =========
/lib/libc.so.6[0x989ab6]
/lib/libc.so.6[0x98b4d2]
/lib/libc.so.6(cfree+0x59)[0x98b9d9]
/usr/local/apache/libexec/libphp5.so[0x10ab436]
/usr/local/apache/libexec/libphp5.so(zend_hash_destroy+0x36)[0x12c1c26]
/usr/local/apache/libexec/libphp5.so(module_destructor+0x46)[0x12bb726]
/usr/local/apache/libexec/libphp5.so[0x12c1928]
/usr/local/apache/libexec/libphp5.so(zend_hash_graceful_reverse_destroy+0x18)[0x12c1b68]
/usr/local/apache/libexec/libphp5.so(zend_shutdown+0x1e)[0x12b81ee]
/usr/local/apache/libexec/libphp5.so(php_module_shutdown+0x2f)[0x1276dcf]
/usr/local/apache/libexec/libphp5.so(php_module_shutdown_wrapper+0xb)[0x1276e7b]
/usr/local/apache/bin/httpd(ap_child_exit_modules+0x57)[0x809e1ad]
/usr/local/apache/bin/httpd[0x80a582e]
/usr/local/apache/bin/httpd[0x80a78c4]
[0xa90420]
/usr/local/apache/libexec/libphp5.so(zend_unregister_functions+0x5e)[0x12ba5de]
/usr/local/apache/libexec/libphp5.so(module_destructor+0x6c)[0x12bb74c]
/usr/local/apache/libexec/libphp5.so[0x12c1928]
/usr/local/apache/libexec/libphp5.so(zend_hash_graceful_reverse_destroy+0x18)[0x12c1b68]
/usr/local/apache/libexec/libphp5.so(zend_shutdown+0x1e)[0x12b81ee]
/usr/local/apache/libexec/libphp5.so(php_module_shutdown+0x2f)[0x1276dcf]
/usr/local/apache/libexec/libphp5.so(php_module_shutdown_wrapper+0xb)[0x1276e7b]
/usr/local/apache/bin/httpd(ap_child_exit_modules+0x57)[0x809e1ad]
/usr/local/apache/bin/httpd[0x80a582e]
/usr/local/apache/bin/httpd[0x80a8f21]
/usr/local/apache/bin/httpd[0x80a96f4]
/usr/local/apache/bin/httpd[0x80a9ae2]
/usr/local/apache/bin/httpd[0x80aa1b7]
/usr/local/apache/bin/httpd(main+0x414)[0x80aa8a4]
/lib/libc.so.6(__libc_start_main+0xdc)[0x937e9c]
/usr/local/apache/bin/httpd[0x8054fd1]
======= Memory map: ========
------------------------------------------------------------------------
[2010-03-27 03:36:29] jitendra dot admin at gmail dot com
======= Memory map: ========
08048000-080ae000 r-xp 00000000 68:01 145154 /usr/sbin/httpd
080ae000-080b6000 rw-p 00065000 68:01 145154 /usr/sbin/httpd
080b6000-097d4000 rw-p 080b6000 00:00 0 [heap]
b6f00000-b6f21000 rw-p b6f00000 00:00 0
b6f21000-b7000000 ---p b6f21000 00:00 0
b704b000-b717e000 r-xp 00000000 68:01 144652 /usr/lib/libxml2.so.2.6.32
b717e000-b7183000 rw-p 00132000 68:01 144652 /usr/lib/libxml2.so.2.6.32
b7183000-b7184000 rw-p b7183000 00:00 0
b7184000-b718b000 r--s 00000000 68:01 139270 /usr/lib/gconv/gconv-modules.cache
b718b000-b7197000 rw-s 00000000 00:08 131072 /SYSV00000000 (deleted)
b71c1000-b72fb000 r--p 00000000 68:01 156498 /usr/lib/locale/locale-archive
b72fb000-b7305000 r-xp 00000000 68:01 2016443 /lib/i686/cmov/libnss_files-2.7.so
b7305000-b7307000 rw-p 00009000 68:01 2016443 /lib/i686/cmov/libnss_files-2.7.so
b7307000-b730f000 r-xp 00000000 68:01 2016432 /lib/i686/cmov/libnss_nis-2.7.so
b730f000-b7311000 rw-p 00008000 68:01 2016432 /lib/i686/cmov/libnss_nis-2.7.so
b7311000-b7318000 r-xp 00000000 68:01 2016436 /lib/i686/cmov/libnss_compat-2.7.so
b7318000-b731a000 rw-p 00006000 68:01 2016436 /lib/i686/cmov/libnss_compat-2.7.so
b740b000-b7417000 r-xp 00000000 68:01 2007043 /lib/libgcc_s.so.1
b7417000-b7418000 rw-p 0000b000 68:01 2007043 /lib/libgcc_s.so.1
b741e000-b743e000 r-xp 00000000 68:01 189105 /usr/lib/perl5/auto/DBI/DBI.so
b743e000-b743f000 rw-p 0001f000 68:01 189105 /usr/lib/perl5/auto/DBI/DBI.so
b743f000-b744f000 r-xp 00000000 68:01 2016442 /lib/i686/cmov/libresolv-2.7.so
b744f000-b7451000 rw-p 0000f000 68:01 2016442 /lib/i686/cmov/libresolv-2.7.so
b7451000-b7453000 rw-p b7451000 00:00 0
b7453000-b7468000 r-xp 00000000 68:01 2016433 /lib/i686/cmov/libnsl-2.7.so
b7468000-b746a000 rw-p 00014000 68:01 2016433 /lib/i686/cmov/libnsl-2.7.so
b746a000-b746c000 rw-p b746a000 00:00 0
b7470000-b7474000 r-xp 00000000 68:01 2016440 /lib/i686/cmov/libnss_dns-2.7.so
b7474000-b7476000 rw-p 00003000 68:01 2016440 /lib/i686/cmov/libnss_dns-2.7.so
b7476000-b747e000 r-xp 00000000 68:01 189901 /usr/local/lib/perl/5.10.0/auto/List/Util/Util.so
b747e000-b747f000 rw-p 00007000 68:01 189901 /usr/local/lib/perl/5.10.0/auto/List/Util/Util.so
b747f000-b7493000 r-xp 00000000 68:01 141666 /usr/lib/libz.so.1.2.3.3
b7493000-b7494000 rw-p 00013000 68:01 141666 /usr/lib/libz.so.1.2.3.3
b7494000-b7638000 r-xp 00000000 68:01 144709 /usr/lib/libmysqlclient.so.15.0.0
b7638000-b767c000 rw-p 001a3000 68:01 144709 /usr/lib/libmysqlclient.so.15.0.0
b767c000-b767d000 rw-p b767c000 00:00 0
b767d000-b7b5d000 r-xp 00000000 68:01 182287 /usr/local/apache-1.3.41-DSO/libexec/libphp5.so
b7b5d000-b7bbf000 rw-p 004e0000 68:01 182287 /usr/local/apache-1.3.41-DSO/libexec/libphp5.so
b7bbf000-b7bca000 rw-p b7bbf000 00:00 0
b7bca000-b7d13000 r-xp 00000000 68:01 144987 /usr/lib/libperl.so.5.10.0
b7d13000-b7d18000 rw-p 00148000 68:01 144987 /usr/lib/libperl.so.5.10.0
b7d1e000-b7d74000 r-xp 00000000 68:01 181556 /usr/local/apache-1.3.41-DSO/libexec/libperl.so
b7d74000-b7d75000 rw-p 00056000 68:01 181556 /usr/local/apache-1.3.41-DSO/libexec/libperl.so
b7d75000-b7d8b000 r-xp 00000000 68:01 181554 /usr/local/apache-1.3.41-DSO/libexec/libproxy.so
b7d8b000-b7d8c000 rw-p 00016000 68:01 181554 /usr/local/apache-1.3.41-DSO/libexec/libproxy.so
b7d8c000-b7d99000 r-xp 00000000 68:01 181553 /usr/local/apache-1.3.41-DSO/libexec/mod_rewrite.so
b7d99000-b7d9a000 rw-p 0000c000 68:01 181553 /usr/local/apache-1.3.41-DSO/libexec/mod_rewrite.so
b7d9a000-b7d9b000 rw-p b7d9a000 00:00 0
b7d9b000-b7ef0000 r-xp 00000000 68:01 2016438 /lib/i686/cmov/libc-2.7.so
b7ef0000-b7ef1000 r--p 00155000 68:01 2016438 /lib/i686/cmov/libc-2.7.so
b7ef1000-b7ef3000 rw-p 00156000 68:01 2016438 /lib/i686/cmov/libc-2.7.so
b7ef3000-b7ef6000 rw-p b7ef3000 00:00 0
b7ef6000-b7ef8000 r-xp 00000000 68:01 2016435 /lib/i686/cmov/libdl-2.7.so
b7ef8000-b7efa000 rw-p 00001000 68:01 2016435 /lib/i686/cmov/libdl-2.7.so
b7efa000-b7f03000 r-xp 00000000 68:01 2016427 /lib/i686/cmov/libcrypt-2.7.so
b7f03000-b7f05000 rw-p 00008000 68:01 2016427 /lib/i686/cmov/libcrypt-2.7.so
b7f05000-b7f2d000 rw-p b7f05000 00:00 0
b7f2d000-b7f51000 r-xp 00000000 68:01 2016423 /lib/i686/cmov/libm-2.7.so
b7f51000-b7f53000 rw-p 00023000 68:01 2016423 /lib/i686/cmov/libm-2.7.so
b7f53000-b7f68000 r-xp 00000000 68:01 2016431 /lib/i686/cmov/libpthread-2.7.so
b7f68000-b7f6a000 rw-p 00014000 68:01 2016431 /lib/i686/cmov/libpthread-2.7.so
b7f6a000-b7f6c000 rw-p b7f6a000 00:00 0
b7f6f000-b7f73000 rw-p b7f6f000 00:00 0
b7f73000-b7f74000 r-xp b7f73000 00:00 0 [vdso]
b7f74000-b7f8e000 r-xp 00000000 68:01 2008752 /lib/ld-2.7.so
b7f8e000-b7f90000 rw-p 0001a000 68:01 2008752 /lib/ld-2.7.so
bffeb000-c0000000 rwxp bffeb000 00:00 0 [stack]
[Fri Mar 26 14:12:12 2010] [warn] child process 18345 did not exit, sending another SIGHUP
[Fri Mar 26 14:12:12 2010] [warn] child process 18346 did not exit, sending another SIGHUP
[Fri Mar 26 14:12:12 2010] [warn] child process 18347 did not exit, sending another SIGHUP
#######################################################################
In same version is there any fix?
------------------------------------------------------------------------
[2010-03-26 15:48:31] derick@php.net
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2010-03-26 13:46:33] jitendra dot admin at gmail dot com
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 this bug report at https://bugs.php.net/bug.php?id=51399&edit=1