ID:               37201
 Comment by:       jinglerobs at yahoo dot com
 Reported By:      pascal at tweakers dot net
 Status:           No Feedback
 Bug Type:         *Compile Issues
 Operating System: Fedora 3
 PHP Version:      4.4.2
 New Comment:

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 !!


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

[2007-03-20 11:06:58] 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]

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

[2007-03-20 10:56:59] 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

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

[2006-05-03 01:00:00] 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".

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

[2006-04-25 22:54:47] [EMAIL PROTECTED]

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-04-25 22:27:58] 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 ""

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

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/37201

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

Reply via email to