php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66512 Invalid Pointer
Submitted: 2014-01-18 12:08 UTC Modified: 2021-07-18 04:22 UTC
Votes:3
Avg. Score:4.3 ± 0.9
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:3 (100.0%)
From: grijalva dot tony at gmail dot com Assigned: cmb (profile)
Status: No Feedback Package: *General Issues
PHP Version: 5.5.8 OS: CENTOS 6.5 x86_64 standard
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: grijalva dot tony at gmail dot com
New email:
PHP Version: OS:

 

 [2014-01-18 12:08 UTC] grijalva dot tony at gmail dot com
Description:
------------
root@server [/usr/local/apache/conf/includes]# php -v
PHP 5.5.8 (cli) (built: Jan 18 2014 05:58:51)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies
    with Zend OPcache v7.0.3-dev, Copyright (c) 1999-2013, by Zend Technologies
*** glibc detected *** php: free(): invalid pointer: 0x00007f9e1c16db00 ***
======= Backtrace: =========
/lib64/libc.so.6[0x33f3c76166]
php(php_module_shutdown+0x2a)[0x67cc1a]
php[0x78b985]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x33f3c1ed1d]
php[0x43aab9]
======= Memory map: ========
00400000-00a46000 r-xp 00000000 09:02 1610774                            /usr/local/bin/php
00c45000-00d03000 rw-p 00645000 09:02 1610774                            /usr/local/bin/php
00d03000-00d26000 rw-p 00000000 00:00 0
02ca1000-02ff6000 rw-p 00000000 00:00 0                                  [heap]
3350800000-33509b5000 r-xp 00000000 09:02 1586367                        /usr/lib64/libcrypto.so.1.0.1e
33509b5000-3350bb5000 ---p 001b5000 09:02 1586367                        /usr/lib64/libcrypto.so.1.0.1e
3350bb5000-3350bd0000 r--p 001b5000 09:02 1586367                        /usr/lib64/libcrypto.so.1.0.1e
3350bd0000-3350bdc000 rw-p 001d0000 09:02 1586367                        /usr/lib64/libcrypto.so.1.0.1e
3350bdc000-3350be0000 rw-p 00000000 00:00 0
3350c00000-3350c61000 r-xp 00000000 09:02 1587716                        /usr/lib64/libssl.so.1.0.1e
3350c61000-3350e60000 ---p 00061000 09:02 1587716                        /usr/lib64/libssl.so.1.0.1e
3350e60000-3350e64000 r--p 00060000 09:02 1587716                        /usr/lib64/libssl.so.1.0.1e
3350e64000-3350e6b000 rw-p 00064000 09:02 1587716                        /usr/lib64/libssl.so.1.0.1e
33f3800000-33f3820000 r-xp 00000000 09:02 2097640                        /lib64/ld-2.12.so
33f3a1f000-33f3a20000 r--p 0001f000 09:02 2097640                        /lib64/ld-2.12.so
33f3a20000-33f3a21000 rw-p 00020000 09:02 2097640                        /lib64/ld-2.12.so
33f3a21000-33f3a22000 rw-p 00000000 00:00 0
33f3c00000-33f3d8b000 r-xp 00000000 09:02 2097641                        /lib64/libc-2.12.so
33f3d8b000-33f3f8a000 ---p 0018b000 09:02 2097641                        /lib64/libc-2.12.so
33f3f8a000-33f3f8e000 r--p 0018a000 09:02 2097641                        /lib64/libc-2.12.so
33f3f8e000-33f3f8f000 rw-p 0018e000 09:02 2097641                        /lib64/libc-2.12.so
33f3f8f000-33f3f94000 rw-p 00000000 00:00 0
33f4000000-33f4017000 r-xp 00000000 09:02 2097293                        /lib64/libpthread-2.12.so
33f4017000-33f4217000 ---p 00017000 09:02 2097293                        /lib64/libpthread-2.12.so
33f4217000-33f4218000 r--p 00017000 09:02 2097293                        /lib64/libpthread-2.12.so
33f4218000-33f4219000 rw-p 00018000 09:02 2097293                        /lib64/libpthread-2.12.so
33f4219000-33f421d000 rw-p 00000000 00:00 0
33f4400000-33f4402000 r-xp 00000000 09:02 2097643                        /lib64/libdl-2.12.so
33f4402000-33f4602000 ---p 00002000 09:02 2097643                        /lib64/libdl-2.12.so
33f4602000-33f4603000 r--p 00002000 09:02 2097643                        /lib64/libdl-2.12.so
33f4603000-33f4604000 rw-p 00003000 09:02 2097643                        /lib64/libdl-2.12.so
33f4800000-33f4883000 r-xp 00000000 09:02 2098079                        /lib64/libm-2.12.so
33f4883000-33f4a82000 ---p 00083000 09:02 2098079                        /lib64/libm-2.12.so
33f4a82000-33f4a83000 r--p 00082000 09:02 2098079                        /lib64/libm-2.12.so
33f4a83000-33f4a84000 rw-p 00083000 09:02 2098079                        /lib64/libm-2.12.so
33f4c00000-33f4c07000 r-xp 00000000 09:02 2098064                        /lib64/librt-2.12.so
33f4c07000-33f4e06000 ---p 00007000 09:02 2098064                        /lib64/librt-2.12.so
33f4e06000-33f4e07000 r--p 00006000 09:02 2098064                        /lib64/librt-2.12.so
33f4e07000-33f4e08000 rw-p 00007000 09:02 2098064                        /lib64/librt-2.12.so
33f5000000-33f5015000 r-xp 00000000 09:02 2097241                        /lib64/libz.so.1.2.3
33f5015000-33f5214000 ---p 00015000 09:02 2097241                        /lib64/libz.so.1.2.3
33f5214000-33f5215000 r--p 00014000 09:02 2097241                        /lib64/libz.so.1.2.3
33f5215000-33f5216000 rw-p 00015000 09:02 2097241                        /lib64/libz.so.1.2.3
33f5400000-33f541d000 r-xp 00000000 09:02 2098086                        /lib64/libselinux.so.1
33f541d000-33f561c000 ---p 0001d000 09:02 2098086                        /lib64/libselinux.so.1
33f561c000-33f561d000 r--p 0001c000 09:02 2098086                        /lib64/libselinux.so.1
33f561d000-33f561e000 rw-p 0001d000 09:02 2098086                        /lib64/libselinux.so.1
33f561e000-33f561f000 rw-p 00000000 00:00 0
33f5c00000-33f5c16000 r-xp 00000000 09:02 2098454                        /lib64/libresolv-2.12.so
33f5c16000-33f5e16000 ---p 00016000 09:02 2098454                        /lib64/libresolv-2.12.so
33f5e16000-33f5e17000 r--p 00016000 09:02 2098454                        /lib64/libresolv-2.12.so
33f5e17000-33f5e18000 rw-p 00017000 09:02 2098454                        /lib64/libresolv-2.12.so
33f5e18000-33f5e1a000 rw-p 00000000 00:00 0
33f6400000-33f6416000 r-xp 00000000 09:02 2097239                        /lib64/libgcc_s-4.4.7-20120601.so.1
33f6416000-33f6615000 ---p 00016000 09:02 2097239                        /lib64/libgcc_s-4.4.7-20120601.so.1
33f6615000-33f6616000 rw-p 00015000 09:02 2097239                        /lib64/libgcc_s-4.4.7-20120601.so.1
33f6800000-33f6871000 r-xp 00000000 09:02 2097646                        /lib64/libfreebl3.so
33f6871000-33f6a70000 ---p 00071000 09:02 2097646                        /lib64/libfreebl3.so
33f6a70000-33f6a72000 r--p 00070000 09:02 2097646                        /lib64/libfreebl3.so
33f6a72000-33f6a73000 rw-p 00072000 09:02 2097646                        /lib64/libfreebl3.so
33f6a73000-33f6a77000 rw-p 00000000 00:00 0
33f6c00000-33f6c07000 r-xp 00000000 09:02 2097647                        /lib64/libcrypt-2.12.so
33f6c07000-33f6e07000 ---p 00007000 09:02 2097647                        /lib64/libcrypt-2.12.so
33f6e07000-33f6e08000 r--p 00007000 09:02 2097647                        /lib64/libcrypt-2.12.so
33f6e08000-33f6e09000 rw-p 00008000 09:02 2097647                        /lib64/libcrypt-2.12.so
33f6e09000-33f6e37000 rw-p 00000000 00:00 0
33f7000000-33f7003000 r-xp 00000000 09:02 2099420                        /lib64/libcom_err.so.2.1
33f7003000-33f7202000 ---p 00003000 09:02 2099420                        /lib64/libcom_err.so.2.1Aborted (core dumped)
root@server [/usr/local/apache/conf/includes]#



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-01-19 00:58 UTC] willfitch@php.net
Could you provide some context around this?  Is this a custom compiled PHP?  Did you get it from a non-standard RHEL repo?  If it is custom compiled, please provide the configure line along with any environmental information possible.
 [2014-01-19 00:58 UTC] willfitch@php.net
-Status: Open +Status: Feedback
 [2014-01-19 15:37 UTC] grijalva dot tony at gmail dot com
-Status: Feedback +Status: Open
 [2014-01-19 15:37 UTC] grijalva dot tony at gmail dot com
Hello there. This was built using cPanel, WHM 11.40.1 (build 9), using easyApache. Granted that they have this version of PHP listed as "experimental" with their cPanel integration. Since this issue is happening inside PHP, I've reported it here. It's possible that it could be something else happening inside cPanel too.
 [2014-07-25 10:54 UTC] hk at info-systems dot de
Hello I  hav the same problem using a self compiled php5.5 with Apache 2.4 on a Centos 6.5 distribution.

The error only occurs when running the php  on command-line. My configue command was:

'./configure' '--prefix=/usr' '--with-pdo-pgsql' '--with-zlib-dir' '--with-apxs2=/usr/bin/apxs' '--with-freetype-dir' '--enable-mbstring' '--with-libxml-dir=/usr' '--enable-soap' '--enable-calendar' '--with-curl' '--with-mcrypt=/usr/lib64' '--with-zlib' '--with-gd' '--with-pgsql' '--with-pear' '--disable-rpath' '--enable-inline-optimization' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-pcntl' '--enable-mbregex' '--enable-exif' '--enable-bcmath' '--with-mhash' '--enable-zip' '--with-pcre-regex' '--with-mysql' '--with-pdo-mysql' '--with-mysqli=/usr/lib64/mysql/mysql_config' '--with-jpeg-dir' '--with-png-dir' '--enable-gd-native-ttf' '--with-openssl' '--with-libdir=' '--enable-ftp' '--with-gettext' '--with-xmlrpc' '--with-xsl' '--enable-opcache'.


*** glibc detected *** /usr/bin/php: free(): invalid pointer: 0x00007f9fe6c53b00 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x76166)[0x7fa001a88166]
/usr/bin/php(php_module_shutdown+0x2a)[0x559d7a]
/usr/bin/php[0x66b165]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x7fa001a30d1d]
/usr/bin/php[0x421349]
======= Memory map: ========
00400000-0071c000 r-xp 00000000 fd:06 1701241                            /usr/bin/php
0091b000-009a7000 rw-p 0031b000 fd:06 1701241                            /usr/bin/php
009a7000-009c2000 rw-p 00000000 00:00 0
00ac4000-00fad000 rw-p 00000000 00:00 0                                  [heap]
7f9fe6ae6000-7f9feeae6000 rw-s 00000000 00:04 3560490                    /dev/zero (deleted)
7f9feeae6000-7f9feeaeb000 r-xp 00000000 fd:00 130588                     /lib64/libnss_dns-2.12.so
7f9feeaeb000-7f9feecea000 ---p 00005000 fd:00 130588                     /lib64/libnss_dns-2.12.so
7f9feecea000-7f9feeceb000 r--p 00004000 fd:00 130588                     /lib64/libnss_dns-2.12.so
7f9feeceb000-7f9feecec000 rw-p 00005000 fd:00 130588                     /lib64/libnss_dns-2.12.so
 [2021-07-06 15:24 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-07-06 15:24 UTC] cmb@php.net
Is that still an issue with any of the actively supported PHP
versions[1]?

[1] <https://www.php.net/supported-versions.php>
 [2021-07-18 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 06:01:28 2024 UTC