LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   *** glibc detected *** php: free(): invalid pointer: 0x03376f50 *** when execute PHP (http://www.linuxquestions.org/questions/linux-server-73/%2A%2A%2A-glibc-detected-%2A%2A%2A-php-free-invalid-pointer-0x03376f50-%2A%2A%2A-when-execute-php-4175465832/)

troya 06-13-2013 05:46 AM

*** glibc detected *** php: free(): invalid pointer: 0x03376f50 *** when execute PHP
 
Hi All,

I have trouble on my Centos 6.
Firstly error because i remove ldap with purge i think, but many library be loss.

Then now when i try to execute php, error appear like bellow :

Code:

php -v
*** glibc detected *** php: free(): invalid pointer: 0x03376f50 ***
======= Backtrace: =========
/lib/libc.so.6[0x50ee31]
/usr/lib/libstdc++.so.6(_ZdlPv+0x22)[0x333e552]
/usr/lib/libstdc++.so.6(_ZNSs4_Rep10_M_destroyERKSaIcE+0x1e)[0x331d55e]
/usr/lib/libstdc++.so.6(_ZNSs6assignERKSs+0xa0)[0x331ec20]
/usr/lib/libkolabxml.so.0(_ZN3xsd3cxx4tree19type_serializer_mapIcE13register_typeERKSt9type_infoRKNS0_3xml14qualified_nameIcEEPFvRN11xercesc_3_010DOMElementERKNS1_5_typeEEb+0x1aa)[0x27dbf3a]
/usr/lib/libkolabxml.so.0(_ZN3xsd3cxx4tree19type_serializer_mapIcEC1Ev+0xf3)[0x27ea283]
/usr/lib/libkolabxml.so.0(+0x20b83f)[0x288283f]
/usr/lib/libkolabxml.so.0(+0x214fad)[0x288bfad]
/usr/lib/libkolabxml.so.0(+0xd68bc)[0x274d8bc]
/lib/ld-linux.so.2[0x486fcf]
/lib/ld-linux.so.2[0x48b338]
/lib/ld-linux.so.2[0x486ba6]
/lib/ld-linux.so.2[0x48ab96]
/lib/libdl.so.2[0x637c3b]
/lib/ld-linux.so.2[0x486ba6]
/lib/libdl.so.2[0x63803c]
/lib/libdl.so.2(dlopen+0x41)[0x637b71]
php(php_load_extension+0x82)[0x8151b12]
php[0x81bea80]
php(zend_llist_apply+0x20)[0x8205c60]
php[0x81bea28]
php(php_module_startup+0x85c)[0x81b730c]
php[0x829ccfe]
php[0x829d888]
/lib/libc.so.6(__libc_start_main+0xe6)[0x4b4ce6]
php[0x8062131]
======= Memory map: ========
00101000-00123000 r-xp 00000000 08:01 32651      /lib/libncurses.so.5.7
00123000-00124000 rw-p 00021000 08:01 32651      /lib/libncurses.so.5.7
00179000-0018c000 r-xp 00000000 08:01 398969    /usr/lib/php/modules/amqp.so
0018c000-0018e000 rw-p 00012000 08:01 398969    /usr/lib/php/modules/amqp.so
0018e000-0019a000 r-xp 00000000 08:01 81371      /usr/lib/librabbitmq.so.0.0.0
0019a000-0019b000 rw-p 0000c000 08:01 81371      /usr/lib/librabbitmq.so.0.0.0
0019b000-001a1000 r-xp 00000000 08:01 397634    /usr/lib/php/modules/bcmath.so
001a1000-001a2000 rw-p 00006000 08:01 397634    /usr/lib/php/modules/bcmath.so
001a2000-001a6000 r-xp 00000000 08:01 21121      /lib/libplc4.so
001a6000-001a7000 r--p 00003000 08:01 21121      /lib/libplc4.so
001a7000-001a8000 rw-p 00004000 08:01 21121      /lib/libplc4.so
001a8000-001dc000 r-xp 00000000 08:01 398720    /usr/lib/php/modules/xdebug.so
001dc000-001de000 rw-p 00034000 08:01 398720    /usr/lib/php/modules/xdebug.so
001de000-0025c000 r-xp 00000000 08:01 75982      /usr/lib/libcairo.so.2.10800.8
0025c000-0025e000 rw-p 0007e000 08:01 75982      /usr/lib/libcairo.so.2.10800.8
0025e000-0026d000 r-xp 00000000 08:01 394143    /usr/lib/php/modules/curl.so
0026d000-0026e000 rw-p 0000f000 08:01 394143    /usr/lib/php/modules/curl.so
0026e000-00275000 r-xp 00000000 08:01 16125      /lib/librt-2.12.so
00275000-00276000 r--p 00006000 08:01 16125      /lib/librt-2.12.so
00276000-00277000 rw-p 00007000 08:01 16125      /lib/librt-2.12.so
00277000-00278000 r-xp 00000000 08:01 400059    /usr/lib/php/modules/facedetect.so
00278000-00279000 rw-p 00001000 08:01 400059    /usr/lib/php/modules/facedetect.so
00279000-0027d000 r-xp 00000000 08:01 20970      /lib/libgthread-2.0.so.0.2200.5
0027d000-0027e000 rw-p 00003000 08:01 20970      /lib/libgthread-2.0.so.0.2200.5
0027f000-00286000 r-xp 00000000 08:01 21000      /lib/libcrypt-2.12.so
00286000-00287000 r--p 00007000 08:01 21000      /lib/libcrypt-2.12.so
00287000-00288000 rw-p 00008000 08:01 21000      /lib/libcrypt-2.12.so
00288000-002af000 rw-p 00000000 00:00 0
002b1000-003f6000 r-xp 00000000 08:01 21036      /usr/lib/libxml2.so.2.7.6
003f6000-003fc000 rw-p 00144000 08:01 21036      /usr/lib/libxml2.so.2.7.6
003fe000-00447000 r-xp 00000000 08:01 20999      /lib/libfreebl3.so
00447000-00448000 r--p 00048000 08:01 20999      /lib/libfreebl3.so
00448000-00449000 rw-p 00049000 08:01 20999      /lib/libfreebl3.so
00449000-0044d000 rw-p 00000000 00:00 0
0044d000-00473000 r-xp 00000000 08:01 16169      /lib/libexpat.so.1.5.2
00473000-00475000 rw-p 00025000 08:01 16169      /lib/libexpat.so.1.5.2
00478000-00496000 r-xp 00000000 08:01 16117      /lib/ld-2.12.so
00496000-00497000 r--p 0001d000 08:01 16117      /lib/ld-2.12.so
00497000-00498000 rw-p 0001e000 08:01 16117      /lib/ld-2.12.so
00498000-0049c000 r-xp 00000000 08:01 399595    /usr/lib/php/modules/geoip.so
0049c000-0049d000 rw-p 00003000 08:01 399595    /usr/lib/php/modules/geoip.so
0049e000-0062e000 r-xp 00000000 08:01 16123      /lib/libc-2.12.so
0062e000-0062f000 ---p 00190000 08:01 16123      /lib/libc-2.12.so
0062f000-00631000 r--p 00190000 08:01 16123      /lib/libc-2.12.so
00631000-00632000 rw-p 00192000 08:01 16123      /lib/libc-2.12.so
00632000-00635000 rw-p 00000000 00:00 0
00637000-0063a000 r-xp 00000000 08:01 16163      /lib/libdl-2.12.so
0063a000-0063b000 r--p 00002000 08:01 16163      /lib/libdl-2.12.so
0063b000-0063c000 rw-p 00003000 08:01 16163      /lib/libdl-2.12.so
0063e000-00655000 r-xp 00000000 08:01 16124      /lib/libpthread-2.12.so
00655000-00656000 r--p 00016000 08:01 16124      /lib/libpthread-2.12.so
00656000-00657000 rw-p 00017000 08:01 16124      /lib/libpthread-2.12.so
00657000-00659000 rw-p 00000000 00:00 0
0065b000-00683000 r-xp 00000000 08:01 16166      /lib/libm-2.12.so
00683000-00684000 r--p 00027000 08:01 16166      /lib/libm-2.12.so
00684000-00685000 rw-p 00028000 08:01 16166      /lib/libm-2.12.so
00687000-006ad000 r-xp 00000000 08:01 36353      /usr/lib/libedit.so.0.0.27
006ad000-006af000 rw-p 00025000 08:01 36353      /usr/lib/libedit.so.0.0.27
006af000-006b1000 rw-p 00000000 00:00 0
006b1000-006b6000 r-xp 00000000 08:01 400070    /usr/lib/php/modules/idn.so
006b6000-006b7000 rw-p 00004000 08:01 400070    /usr/lib/php/modules/idn.so
006b9000-006fb000 r-xp 00000000 08:01 21435      /usr/lib/sse2/libgmp.so.3.5.0
006fb000-006fc000 rw-p 00041000 08:01 21435      /usr/lib/sse2/libgmp.so.3.5.0
006fc000-0072d000 r-xp 00000000 08:01 21116      /lib/libidn.so.11.6.1
0072d000-0072e000 rw-p 00030000 08:01 21116      /lib/libidn.so.11.6.1
0072e000-00751000 r-xp 00000000 08:01 397627    /usr/lib/php/modules/dom.so
00751000-00755000 rw-p 00023000 08:01 397627    /usr/lib/php/modules/dom.so
00755000-0076f000 r-xp 00000000 08:01 400097    /usr/lib/php/modules/eaccelerator.so
0076f000-00770000 rw-p 0001a000 08:01 400097    /usr/lib/php/modules/eaccelerator.so
00770000-0077c000 r-xp 00000000 08:01 398638    /usr/lib/php/modules/igbinary.so
0077c000-0077d000 rw-p 0000b000 08:01 398638    /usr/lib/php/modules/igbinary.so
0077d000-0079a000 r-xp 00000000 08:01 20929      /lib/libselinux.so.1
0079a000-0079b000 r--p 0001c000 08:01 20929      /lib/libselinux.so.1
0079b000-0079c000 rw-p 0001d000 08:01 20929      /lib/libselinux.so.1
0079e000-007b0000 r-xp 00000000 08:01 16171      /lib/libz.so.1.2.3
007b0000-007b1000 r--p 00011000 08:01 16171      /lib/libz.so.1.2.3
007b1000-007b2000 rw-p 00012000 08:01 16171      /lib/libz.so.1.2.3
007b2000-007c1000 r-xp 00000000 08:01 78813      /usr/lib/libgomp.so.1.0.0
007c1000-007c2000 rw-p 0000e000 08:01 78813      /usr/lib/libgomp.so.1.0.0
007c2000-007df000 r-xp 00000000 08:01 20976      /lib/libgcc_s-4.4.7-20120601.so.1
007df000-007e0000 rw-p 0001d000 08:01 20976      /lib/libgcc_s-4.4.7-20120601.so.1
007e0000-007f5000 r-xp 00000000 08:01 80955      /usr/lib/libucil.so.2.1.8
007f5000-007f7000 rw-p 00015000 08:01 80955      /usr/lib/libucil.so.2.1.8
007f7000-007f8000 rw-p 00000000 00:00 0
007fa000-0080f000 r-xp 00000000 08:01 20924      /lib/libresolv-2.12.so
0080f000-00810000 ---p 00015000 08:01 20924      /lib/libresolv-2.12.so
00810000-00811000 r--p 00015000 08:01 20924      /lib/libresolv-2.12.so
00811000-00812000 rw-p 00016000 08:01 20924      /lib/libresolv-2.12.so
00812000-00814000 rw-p 00000000 00:00 0
00814000-0083d000 r-xp 00000000 08:01 75976      /usr/lib/libpangoft2-1.0.so.0.2800.1
0083d000-0083e000 rw-p 00029000 08:01 75976      /usr/lib/libpangoft2-1.0.so.0.2800.1
0083e000-0084c000 r-xp 00000000 08:01 16201      /usr/lib/libXi.so.6.1.0
0084c000-0084d000 rw-p 0000d000 08:01 16201      /usr/lib/libXi.so.6.1.0
0084d000-0085c000 r-xp 00000000 08:01 80952      /usr/lib/libraw1394.so.11.0.1
0085c000-0085d000 rw-p 0000e000 08:01 80952      /usr/lib/libraw1394.so.11.0.1
0085f000-00862000 r-xp 00000000 08:01 16180      /lib/libgmodule-2.0.so.0.2200.5
00862000-00863000 rw-p 00002000 08:01 16180      /lib/libgmodule-2.0.so.0.2200.5
00865000-00884000 r-xp 00000000 08:01 16174      /usr/lib/libxcb.so.1.1.0
00884000-00885000 rw-p 0001f000 08:01 16174      /usr/lib/libxcb.so.1.1.0
00885000-008cb000 r-xp 00000000 08:01 20974      /usr/lib/libjpeg.so.62.0.0
008cb000-008cc000 rw-p 00046000 08:01 20974      /usr/lib/libjpeg.so.62.0.0
008cc000-008dc000 rw-p 00000000 00:00 0
008dc000-00923000 r-xp 00000000 08:01 16184      /usr/lib/libpango-1.0.so.0.2800.1
00923000-00925000 rw-p 00047000 08:01 16184      /usr/lib/libpango-1.0.so.0.2800.1
00925000-00933000 r-xp 00000000 08:01 21625      /usr/lib/libusb-1.0.so.0.1.0
00933000-00934000 rw-p 0000d000 08:01 21625      /usr/lib/libusb-1.0.so.0.1.0
00934000-0093e000 r-xp 00000000 08:01 76026      /usr/lib/libicuio.so.42.1
0093e000-0093f000 rw-p 0000a000 08:01 76026      /usr/lib/libicuio.so.42.1
00941000-00a76000 r-xp 00000000 08:01 16175      /usr/lib/libX11.so.6.3.0
00a76000-00a7a000 rw-p 00134000 08:01 16175      /usr/lib/libX11.so.6.3.0
00a7c000-00a7e000 r-xp 00000000 08:01 16173      /usr/lib/libXau.so.6.0.0
00a7e000-00a7f000 rw-p 00001000 08:01 16173      /usr/lib/libXau.so.6.0.0
00a81000-00a92000 r-xp 00000000 08:01 16190      /usr/lib/libXext.so.6.4.0
00a92000-00a93000 rw-p 00011000 08:01 16190      /usr/lib/libXext.so.6.4.0
00a93000-00a9f000 r-xp 00000000 08:01 81428      /lib/libpam.so.0.82.2
00a9f000-00aa0000 r--p 0000b000 08:01 81428      /lib/libpam.so.0.82.2
00aa0000-00aa1000 rw-p 0000c000 08:01 81428      /lib/libpam.so.0.82.2
00aa2000-00ad1000 r-xp 00000000 08:01 51726      /lib/libpcre.so.0.0.1
00ad1000-00ad2000 rw-p 0002e000 08:01 51726      /lib/libpcre.so.0.0.1
00ad2000-00b08000 r-xp 00000000 08:01 78863      /usr/lib/libtheora.so.0.3.9
00b08000-00b09000 rw-p 00035000 08:01 78863      /usr/lib/libtheora.so.0.3.9
00b10000-00b11000 r-xp 00000000 00:00 0          [vdso]
00b11000-00b19000 r-xp 00000000 08:01 394145    /usr/lib/php/modules/json.so
00b19000-00b1a000 rw-p 00007000 08:01 394145    /usr/lib/php/modules/json.so
00b20000-00b2b000 r-xp 00000000 08:01 75985      /usr/lib/libpangocairo-1.0.so.0.2800.1
00b2b000-00b2c000 rw-p 0000a000 08:01 75985      /usr/lib/libpangocairo-1.0.so.0.2800.1
00b2e000-00b61000 r-xp 00000000 08:01 75123      /usr/lib/libfontconfig.so.1.4.4
00b61000-00b63000 rw-p 00032000 08:01 75123      /usr/lib/libfontconfig.so.1.4.4
00b6e000-00b78000 r-xp 00000000 08:01 80191      /usr/lib/libenchant.so.1.5.0
00b78000-00b79000 rw-p 00009000 08:01 80191      /usr/lib/libenchant.so.1.5.0
00b79000-00b89000 r-xp 00000000 08:01 81099      /usr/lib/libXpm.so.4.11.0
00b89000-00b8a000 rw-p 00010000 08:01 81099      /usr/lib/libXpm.so.4.11.0
00b8e000-00bb5000 r-xp 00000000 08:01 16172      /usr/lib/libpng12.so.0.49.0
00bb5000-00bb6000 rw-p 00026000 08:01 16172      /usr/lib/libpng12.so.0.49.0
00bb8000-00bc0000 r-xp 00000000 08:01 16177      /usr/lib/libXrender.so.1.3.0
00bc0000-00bc1000 rw-p 00008000 08:01 16177      /usr/lib/libXrender.so.1.3.0
00bc1000-00bd5000 r-xp 00000000 08:01 398967    /usr/lib/php/modules/imap.so
00bd5000-00bd8000 rw-p 00013000 08:01 398967    /usr/lib/php/modules/imap.so
00bde000-00be9000 r-xp 00000000 08:01 400095    /usr/lib/php/modules/dba.so
00be9000-00bea000 rw-p 0000b000 08:01 400095    /usr/lib/php/modules/dba.so
00bea000-00c01000 r-xp 00000000 08:01 21082      /lib/libaudit.so.1.0.0
00c01000-00c02000 r--p 00016000 08:01 21082      /lib/libaudit.so.1.0.0
00c02000-00c07000 rw-p 00017000 08:01 21082      /lib/libaudit.so.1.0.0
00c12000-00c42000 r-xp 00000000 08:01 398821    /usr/lib/php/modules/cairo.so
00c42000-00c49000 rw-p 00030000 08:01 398821    /usr/lib/php/modules/cairo.so
00c49000-00c5d000 r-xp 00000000 08:01 399027    /usr/lib/php/modules/interbase.so
00c5d000-00c60000 rw-p 00013000 08:01 399027    /usr/lib/php/modules/interbase.so
00c60000-00c72000 r-xp 00000000 08:01 80953      /usr/lib/libboost_thread-mt.so.5
00c72000-00c73000 rw-p 00012000 08:01 80953      /usr/lib/libboost_thread-mt.so.5
00c7c000-00c9a000 r-xp 00000000 08:01 20939      /usr/lib/libgdk_pixbuf-2.0.so.0.1800.9
00c9a000-00c9b000 rw-p 0001d000 08:01 20939      /usr/lib/libgdk_pixbuf-2.0.so.0.1800.9
00c9d000-00ca6000 r-xp 00000000 08:01 18039      /usr/lib/libXrandr.so.2.2.0
00ca6000-00ca7000 rw-p 00008000 08:01 18039      /usr/lib/libXrandr.so.2.2.0
00ca7000-00cb2000 r-xp 00000000 08:01 79007      /usr/lib/libossp-uuid.so.16.0.21
00cb2000-00cb3000 rw-p 0000a000 08:01 79007      /usr/lib/libossp-uuid.so.16.0.21
00cb7000-00cc0000 r-xp 00000000 08:01 20882      /usr/lib/libXcursor.so.1.0.2
00cc0000-00cc1000 rw-p 00008000 08:01 20882      /usr/lib/libXcursor.so.1.0.2
00cc5000-00cc9000 r-xp 00000000 08:01 400089    /usr/lib/php/modules/enchant.so
00cc9000-00cca000 rw-p 00004000 08:01 400089    /usr/lib/php/modules/enchant.so
00cca000-00d0d000 r-xp 00000000 08:01 16130      /lib/libgobject-2.0.so.0.2200.5
00d0d000-00d0e000 rw-p 00043000 08:01 16130      /lib/libgobject-2.0.so.0.2200.5
00d0e000-00d12000 r-xp 00000000 08:01 20566      /usr/lib/libXfixes.so.3.1.0
00d12000-00d13000 rw-p 00004000 08:01 20566      /usr/lib/libXfixes.so.3.1.0
00d15000-00da1000 r-xp 00000000 08:01 16167      /usr/lib/libpixman-1.so.0.26.2
00da1000-00da5000 rw-p 0008c000 08:01 16167      /usr/lib/libpixman-1.so.0.26.2
00da7000-00da9000 r-xp 00000000 08:01 16192      /usr/lib/libXinerama.so.1.0.0
00da9000-00daa000 rw-p 00001000 08:01 16192      /usr/lib/libXinerama.so.1.0.0
00dac000-00dae000 r-xp 00000000 08:01 20883      /usr/lib/libXcomposite.so.1.0.0
00dae000-00daf000 rw-p 00001000 08:01 20883      /usr/lib/libXcomposite.so.1.0.0
00db1000-00dce000 r-xp 00000000 08:01 20942      /usr/lib/libatk-1.0.so.0.2809.1
00dce000-00dd0000 rw-p 0001c000 08:01 20942      /usr/lib/libatk-1.0.so.0.2809.1
00dd2000-00dd4000 r-xp 00000000 08:01 20884      /usr/lib/libXdamage.so.1.1.0
00dd4000-00dd5000 rw-p 00001000 08:01 20884      /usr/lib/libXdamage.so.1.1.0
00dde000-00de1000 r-xp 00000000 08:01 21042      /lib/libcom_err.so.2.1
00de1000-00de2000 r--p 00002000 08:01 21042      /lib/libcom_err.so.2.1
00de2000-00de3000 rw-p 00003000 08:01 21042      /lib/libcom_err.so.2.1
00df5000-00df7000 r-xp 00000000 08:01 21037      /lib/libkeyutils.so.1.3
00df7000-00df8000 r--p 00001000 08:01 21037      /lib/libkeyutils.so.1.3Aborted

What is that error ?

How i can solve this problem ?


All times are GMT -5. The time now is 02:08 AM.