php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37201 *** glibc detected *** corrupted double-linked list: 0x08fe6750 ***
Submitted: 2006-04-25 15:57 UTC Modified: 2006-05-03 01:00 UTC
Votes:6
Avg. Score:4.5 ± 0.8
Reproduced:6 of 6 (100.0%)
Same Version:2 (33.3%)
Same OS:0 (0.0%)
From: pascal at tweakers dot net Assigned:
Status: No Feedback Package: *Compile Issues
PHP Version: 4.4.2 OS: Fedora 3
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: pascal at tweakers dot net
New email:
PHP Version: OS:

 

 [2006-04-25 15:57 UTC] pascal at tweakers dot net
Description:
------------
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).

Make Complete
Copying php.ini..
/usr/local/lib/php.ini already exists, skipping.
Enabling register_globals...
Increasing memory limit to 20M...
Installing php...
Installing PHP SAPI module:       apache2handler
/var/www/build/instdso.sh SH_LIBTOOL='/var/www/build/libtool' libphp4.la /usr/lib/apache
/var/www/build/libtool --mode=install cp libphp4.la /usr/lib/apache/
cp .libs/libphp4.so /usr/lib/apache/libphp4.so
cp .libs/libphp4.lai /usr/lib/apache/libphp4.la
libtool: install: warning: remember to run `libtool --finish /usr/local/directadmin/customapache/php-4.4.2/libs'
chmod 755 /usr/lib/apache/libphp4.so
[activating module `php4' in /etc/httpd/conf/httpd.conf]
Installing PHP CLI binary:        /usr/local/bin/
Installing PHP CLI man page:      /usr/local/man/man1/
Installing PEAR environment:      /usr/local/lib/php/
[PEAR] Archive_Tar    - already installed: 1.3.1
[PEAR] Console_Getopt - already installed: 1.2
[PEAR] HTML_Template_IT- already installed: 1.1.4
[PEAR] Net_UserAgent_Detect- already installed: 2.2.0
[PEAR] PEAR           - already installed: 1.4.9
Wrote PEAR system config file at: /usr/local/etc/pear.conf
You may want to add: /usr/local/lib/php to your php.ini include_path
*** glibc detected *** corrupted double-linked list: 0x08fe6750 ***
make[1]: *** [install-pear-packages] Aborted
make: *** [install-pear] Error 2

The biggest problem is that fopen and fsockopen functions dont work.   


Reproduce code:
---------------
#!/bin/sh
./configure \
        --with-apxs2 \
        --with-curl \
        --with-curl-dir=/usr/local/lib \
        --with-gd \
        --with-gd-dir=/usr/local/lib \
        --with-gettext \
        --with-freetype-dir=/usr/include/freetype2 \
        --with-jpeg-dir=/usr/local/lib \
        --with-kerberos \
        --with-mcrypt \
        --with-mhash \
        --with-mysql=/usr \
        --with-png-dir=/usr/local/lib \
        --with-xml \
        --with-openssl \
        --with-dom \
        --with-pear \
        --with-zlib \
        --with-zlib-dir=/usr/local/lib \
        --with-zip \
        --with-imap \
        --with-imap-ssl \
        --enable-exif \
        --enable-bcmath \
        --enable-calendar \
        --enable-ftp \
        --enable-magic-quotes \
        --enable-sockets \
        --enable-track-vars \
        --enable-mbstring \
        --enable-memory-limit

Apache/2.0.55 (Unix) mod_perl/1.99_17-dev Perl/v5.8.5 mod_ssl/2.0.55 OpenSSL/0.9.7a PHP/4.4.2 FrontPage/5.0.2.2634


Expected result:
----------------
No error :)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-04-25 22:27 UTC] pascal at tweakers dot net
I tryed the snapshot and no succes...

Even gave 4.4.1 a try and boom, same error. Then removed some extensions and this is the latest build command:

'./configure' '--with-apxs2' '--with-curl' '--with-curl-dir=/usr/local/lib' '--with-gd' '--with-gd-dir=/usr/local/lib' '--with-gettext' '--with-jpeg-dir=/usr/local/lib' '--with-kerberos' '--with-mcrypt' '--with-mhash' '--with-mysql=/usr' '--with-png-dir=/usr/local/lib' '--with-xml' '--with-pear' '--with-zlib' '--with-zlib-dir=/usr/local/lib' '--with-zip' '--with-imap' '--with-imap-ssl' '--enable-exif' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-track-vars' '--enable-mbstring' '--enable-memory-limit'

Still fopen and fsockopen failes...

failed to open stream: HTTP request failed!

PHP release: 4.4.2
Allow_url_fopen is set to: "1"
The list of disabled functions is ""
 [2006-04-25 22:54 UTC] tony2001@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.


 [2006-05-03 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2007-03-20 10:56 UTC] reasonably at gmx dot net
Hi,

I received a similar error:

*** glibc detected *** /usr/local/bin/php: corrupted double-linked list: 0x0a2cf758 ***

Below the backtrace - hopefully this helps...



======= Backtrace: =========
/lib/libc.so.6[0x3d930c]
/lib/libc.so.6(__libc_free+0x77)[0x3d972b]
/usr/local/bin/php(zend_hash_destroy+0x8a)[0x8198f86]
/usr/local/bin/php(destroy_zend_class+0x77)[0x818f4cb]
/usr/local/bin/php(zend_hash_destroy+0x3c)[0x8198f38]
/usr/local/bin/php(zend_shutdown+0x51)[0x8195581]
/usr/local/bin/php(php_module_shutdown+0x23)[0x816d717]
/usr/local/bin/php(main+0x158)[0x81b0014]
/lib/libc.so.6(__libc_start_main+0xdf)[0x38ad7f]
/usr/local/bin/php[0x807c631]
======= Memory map: ========
00111000-00112000 rwxp 00111000 00:00 0
00112000-0011b000 r-xp 00000000 09:01 108199     /lib/libnss_files-2.3.6.so
0011b000-0011c000 r-xp 00008000 09:01 108199     /lib/libnss_files-2.3.6.so
0011c000-0011d000 rwxp 00009000 09:01 108199     /lib/libnss_files-2.3.6.so
0011d000-00121000 r-xp 00000000 09:01 108275     /lib/libnss_dns-2.3.6.so
00121000-00122000 r-xp 00003000 09:01 108275     /lib/libnss_dns-2.3.6.so
00122000-00123000 rwxp 00004000 09:01 108275     /lib/libnss_dns-2.3.6.so
00123000-0015a000 r-xp 00000000 09:04 260176     /usr/local/lib/libpng.so.0.1.2.10
0015a000-0015b000 rwxp 00037000 09:04 260176     /usr/local/lib/libpng.so.0.1.2.10
0015b000-0015c000 rwxp 0015b000 00:00 0
0015c000-001a3000 r-xp 00000000 09:04 585173     /usr/lib/libgcrypt.so.11.2.0
001a3000-001a8000 rwxp 00047000 09:04 585173     /usr/lib/libgcrypt.so.11.2.0
001a8000-001ab000 r-xp 00000000 09:04 585414     /usr/lib/libgpg-error.so.0.1.3
001ab000-001ac000 rwxp 00002000 09:04 585414     /usr/lib/libgpg-error.so.0.1.3
001ac000-001ba000 r-xp 00000000 09:01 108140     /lib/libpthread-2.3.6.so
001ba000-001bb000 r-xp 0000d000 09:01 108140     /lib/libpthread-2.3.6.so
001bb000-001bc000 rwxp 0000e000 09:01 108140     /lib/libpthread-2.3.6.so
001bc000-001be000 rwxp 001bc000 00:00 0
001be000-001d0000 r-xp 00000000 09:04 260391     /usr/local/lib/libz.so.1.2.3
001d0000-001d1000 rwxp 00012000 09:04 260391     /usr/local/lib/libz.so.1.2.3
001d1000-001d2000 rwxp 001d1000 00:00 0
001d2000-001ec000 r-xp 00000000 09:01 108130     /lib/ld-2.3.6.so
001ec000-001ed000 r-xp 00019000 09:01 108130     /lib/ld-2.3.6.so
001ed000-001ee000 rwxp 0001a000 09:01 108130     /lib/ld-2.3.6.so
001ee000-00223000 r-xp 00000000 09:01 108227     /lib/libssl.so.0.9.7f
00223000-00226000 rwxp 00035000 09:01 108227     /lib/libssl.so.0.9.7f
00229000-00230000 r-xs 00000000 09:04 647244     /usr/lib/gconv/gconv-modules.cache
00231000-00232000 rwxp 00231000 00:00 0
00242000-00253000 r-xp 00000000 09:01 108159     /lib/libnsl-2.3.6.so
00253000-00254000 r-xp 00010000 09:01 108159     /lib/libnsl-2.3.6.so
00254000-00255000 rwxp 00011000 09:01 108159     /lib/libnsl-2.3.6.so
00255000-00257000 rwxp 00255000 00:00 0
00260000-00298000 r-xp 00000000 09:04 260394     /usr/local/lib/libmhash.so.2.0.0
00298000-00299000 rwxp 00037000 09:04 260394     /usr/local/lib/libmhash.so.2.0.0
00299000-002b0000 r-xp 00000000 09:04 585139     /usr/lib/libgssapi_krb5.so.2.2
002b0000-002b1000 rwxp 00017000 09:04 585139     /usr/lib/libgssapi_krb5.so.2.2
002b1000-002e0000 r-xp 00000000 09:04 260143     /usr/local/lib/libcurl.so.3.0.0
002e0000-002e1000 rwxp 0002f000 09:04 260143     /usr/local/lib/libcurl.so.3.0.0
002e1000-00317000 r-xp 00000000 09:04 584684     /usr/lib/libssl.so.0.9.8
00317000-0031b000 rwxp 00036000 09:04 584684     /usr/lib/libssl.so.0.9.8
0031b000-0033e000 r-xp 00000000 09:01 108145     /lib/libm-2.3.6.so
0033e000-0033f000 r-xp 00022000 09:01 108145     /lib/libm-2.3.6.so
0033f000-00340000 rwxp 00023000 09:01 108145     /lib/libm-2.3.6.so
00342000-00344000 r-xp 00000000 09:01 108134     /lib/libdl-2.3.6.so
00344000-00345000 r-xp 00001000 09:01 108134     /lib/libdl-2.3.6.so
00345000-00346000 rwxp 00002000 09:01 108134     /lib/libdl-2.3.6.so
00348000-0034d000 r-xp 00000000 09:01 108149     /lib/libcrypt-2.3.6.so
0034d000-0034e000 r-xp 00004000 09:01 108149     /lib/libcrypt-2.3.6.so
0034e000-0034f000 rwxp 00005000 09:01 108149     /lib/libcrypt-2.3.6.so
0034f000-00376000 rwxp 0034f000 00:00 0
00376000-00499000 r-xp 00000000 09:01 108132     /lib/libc-2.3.6.so
00499000-0049b000 r-xp 00122000 09:01 108132     /lib/libc-2.3.6.so
0049b000-0049d000 rwxp 00124000 09:01 108132     /lib/libc-2.3.6.so
0049d000-0049f000 rwxp 0049d000 00:00 0
004a1000-004cf000 r-xp 00000000 09:04 585189     /usr/lib/libidn.so.11.5.8
004cf000-004d1000 rwxp 0002d000 09:04 585189     /usr/lib/libidn.so.11.5.8
004ef000-004f5000 r-xp 00000000 09:04 584929     /usr/lib/libltdl.so.3.1.1
004f5000-004f6000 rwxp 00005000 09:04 584929     /usr/lib/libltdl.so.3.1.1
004f6000-00609000 r-xp 00000000 09:04 584857     /usr/lib/libxml2.so.2.6.20
00609000-00611000 rwxp 00113000 09:04 584857     /usr/lib/libxml2.so.2.6.20
00611000-00612000 rwxp 00611000 00:00 0
00612000-0070a000 r-xp 00000000 09:01 108229     /lib/libcrypto.so.0.9.7f
0070a000-0071c000 rwxp 000f8000 09:01 108229     /lib/libcrypto.so.0.9.7f
0071c000-0071f000 rwxp 0071c000 00:00 0
0071f000-0082e000 r-xp 00000000 09:04 584682     /usr/lib/libcrypto.so.0.9.8
0082e000-00843000 rwxp 0010f000 09:04 584682     /usr/lib/libcrypto.so.0.9.8
00843000-00846000 rwxp 00843000 00:00 0
00865000-00866000 r-xp 00865000 00:00 0
0092a000-0092b000 rwxp 0092a000 00:00 0
00964000-00996000 r-xp 00000000 09:04 584937     /usr/lib/libxslt.so.1.1.14
00996000-00997000 rwxp 00032000 09:04 584937     /usr/lib/libxslt.so.1.1.14
009ed000-009fd000 r-xp 00000000 09:04 584822     /usr/lib/libexslt.so.0.8.12
009fd000-009fe000 rwxp 0000f000 09:04 584822     /usr/lib/libexslt.so.0.8.12
00a1e000-00a2d000 r-xp 00000000 09:01 108165     /lib/librAborted
 [2007-03-20 11:06 UTC] reasonably at gmx dot net
Forgot to mention:

I use Fedora Core 4, trying to compile PHP-4.4.6, have the --with-dom option in my configure.php

  

The command I run is:

 pear upgrade --force PEAR-1.3.6 Archive_Tar-1.3.1 Console_Getopt-1.2



Running the command again, I now have:

*** glibc detected *** /usr/local/bin/php: corrupted double-linked list: 0x0899d758 ***
======= Backtrace: =========
/lib/libc.so.6[0x25330c]
/lib/libc.so.6(__libc_free+0x77)[0x25372b]
/usr/local/bin/php(zend_hash_destroy+0x8a)[0x8198f86]
/usr/local/bin/php(destroy_zend_class+0x77)[0x818f4cb]
/usr/local/bin/php(zend_hash_destroy+0x3c)[0x8198f38]
/usr/local/bin/php(zend_shutdown+0x51)[0x8195581]
/usr/local/bin/php(php_module_shutdown+0x23)[0x816d717]
/usr/local/bin/php(main+0x158)[0x81b0014]
/lib/libc.so.6(__libc_start_main+0xdf)[0x204d7f]
/usr/local/bin/php[0x807c631]
 [2008-01-07 06:37 UTC] jinglerobs at yahoo dot com
Trying to install Sun Java App Server on Fedora 6 drove me crazy with glibc error, the installation used to abort with ****glibc detected**** doubly linked list corruption. After much research and trying out all sorts of glibc packages, I read on google about heap correction checking through variable environment variable MALLOC_CHECK_ 
Its value should be one of

0 to ignore corruptions 
1 to print to stderr(3) 
2 to abort immediately 

What I immediately did is $ export MALLOC_CHECK_=0 and the installation of Sun Java App Server did not abort nxt time. Hope this work around has sme benefits !!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 05:01:30 2024 UTC