php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60462 When APC is enabled segfault
Submitted: 2011-12-07 20:25 UTC Modified: 2013-02-18 00:35 UTC
Votes:21
Avg. Score:5.0 ± 0.2
Reproduced:20 of 20 (100.0%)
Same Version:8 (40.0%)
Same OS:4 (20.0%)
From: henrik at bjrnskov dot dk Assigned:
Status: No Feedback Package: APC (PECL)
PHP Version: 5.4.0RC2 OS: Mac OS X 10.7
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2011-12-07 20:25 UTC] henrik at bjrnskov dot dk
Description:
------------
[master][~/Projects/Test] /usr/local/php5/sbin/php-fpm -i | ack 'error_log'
error_log => /usr/local/php5/var/log/php_errors.log => 
/usr/local/php5/var/log/php_errors.log
php-fpm(30748) malloc: *** error for object 0x10122b890: pointer being freed was 
not allocated
*** set a breakpoint in malloc_error_break to debug
zsh: abort      /usr/local/php5/sbin/php-fpm -i | 
zsh: done       ack 'error_log'

This also happens when using the built in server and when using the apache module 
when APC is enabled.

[APC]
apc.enabled = off

and the issue stops. php-osx.liip.ch is where the php version is installed from.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-12-16 17:34 UTC] lolautruche at gmail dot com
Hi

I also experience this issue on Linux Ubuntu Server 8.04 LTS
 [2011-12-16 17:55 UTC] lolautruche at gmail dot com
no more segfault with latest php 5.4 build and APC built from trunk
 [2011-12-17 11:10 UTC] henrik at bjrnskov dot dk
Where is apc svn ?
 [2011-12-17 11:14 UTC] lolautruche at gmail dot com
Here : http://svn.php.net/repository/pecl/apc/
 [2011-12-28 15:50 UTC] henrik at bjrnskov dot dk
Just tried compiling a 5.4RC4 manually and installing apc from svn and pecl.

both php-fpm and apache2 module segfaults.

OS X Lion 10.7.3
 [2012-01-12 20:04 UTC] josh at joshbutts dot com
Happens also in 5.4RC5 with APC from pecl on OSX 10.7.3
 [2012-03-08 06:28 UTC] un+phpbugs at rob dot mx
I can confirm the same issue on Mac OS X 10.7, APC 3.1.9 and PHP 5.4.0 . 
Installing from trunk helps, but the logging of the error persists.
 [2012-03-10 17:51 UTC] nathan dot renniewaldock at gmail dot com
Same problem for me with PHP 5.4 and APC trunk (r324082)


$ gdb --args php5-fpm -v
GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/sbin/php5-fpm...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/sbin/php5-fpm -v
[Thread debugging using libthread_db enabled]
[New Thread 0x9fb41b70 (LWP 6130)]
[Thread 0x9fb41b70 (LWP 6130) exited]
PHP 5.4.0-1build1~ppa1~oneiric (fpm-fcgi) (built: Mar  8 2012 22:19:01)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
*** glibc detected *** /usr/sbin/php5-fpm: free(): invalid pointer: 0xa29877e0 
***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x6ff22)[0xa2b42f22]
/lib/i386-linux-gnu/libc.so.6(+0x70bc2)[0xa2b43bc2]
/lib/i386-linux-gnu/libc.so.6(cfree+0x6d)[0xa2b46cad]
/usr/sbin/php5-fpm(destroy_zend_class+0x228)[0x8314f88]
/usr/sbin/php5-fpm(zend_hash_clean+0x6d)[0x832ddfd]
/usr/lib/php5/20100525+lfs/apc.so(apc_interned_strings_shutdown+0x32)
[0xa1b5c102]
/usr/lib/php5/20100525+lfs/apc.so(apc_module_shutdown+0x12d)[0xa1b5514d]
/usr/lib/php5/20100525+lfs/apc.so(+0x7e47)[0xa1b49e47]
/usr/sbin/php5-fpm[0x8326ec8]
/usr/sbin/php5-fpm[0x832c482]
/usr/sbin/php5-fpm(zend_hash_graceful_reverse_destroy+0x27)[0x832def7]
/usr/sbin/php5-fpm(zend_destroy_modules+0x39)[0x8325849]
/usr/sbin/php5-fpm[0x831f303]
/usr/sbin/php5-fpm(php_module_shutdown+0x42)[0x82baaa2]
/usr/sbin/php5-fpm[0x806b97b]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0xa2aec113]
/usr/sbin/php5-fpm[0x806d0e5]
======= Memory map: ========
08048000-0870f000 r-xp 00000000 08:01 917815     /usr/sbin/php5-fpm
0870f000-08770000 r--p 006c6000 08:01 917815     /usr/sbin/php5-fpm
08770000-08777000 rw-p 00727000 08:01 917815     /usr/sbin/php5-fpm
08777000-0893b000 rw-p 00000000 00:00 0          [heap]
9f329000-9f334000 r-xp 00000000 08:01 14160350   /lib/i386-linux-
gnu/libnss_files-2.13.so
9f334000-9f335000 r--p 0000a000 08:01 14160350   /lib/i386-linux-
gnu/libnss_files-2.13.so
9f335000-9f336000 rw-p 0000b000 08:01 14160350   /lib/i386-linux-
gnu/libnss_files-2.13.so
9f341000-9f342000 ---p 00000000 00:00 0
9f342000-9fb42000 rw-p 00000000 00:00 0
9fb42000-a1b42000 rw-s 00000000 00:04 853555167  /dev/zero (deleted)
a1b42000-a1b63000 r-xp 00000000 08:01 787347     
/usr/lib/php5/20100525+lfs/apc.so
a1b63000-a1b64000 r--p 00021000 08:01 787347     
/usr/lib/php5/20100525+lfs/apc.so
a1b64000-a1b65000 rw-p 00022000 08:01 787347     
/usr/lib/php5/20100525+lfs/apc.so
a1b65000-a1b6a000 rw-p 00000000 00:00 0
a1b83000-a1c61000 r-xp 00000000 08:01 788829     /usr/lib/i386-linux-
gnu/libstdc++.so.6.0.16
a1c61000-a1c62000 ---p 000de000 08:01 788829     /usr/lib/i386-linux-
gnu/libstdc++.so.6.0.16
a1c62000-a1c66000 r--p 000de000 08:01 788829     /usr/lib/i386-linux-
gnu/libstdc++.so.6.0.16
a1c66000-a1c67000 rw-p 000e2000 08:01 788829     /usr/lib/i386-linux-
gnu/libstdc++.so.6.0.16
a1c67000-a1c6e000 rw-p 00000000 00:00 0
a1d42000-a1d5e000 r-xp 00000000 08:01 14155889   /lib/i386-linux-
gnu/libgcc_s.so.1
a1d5e000-a1d5f000 r--p 0001b000 08:01 14155889   /lib/i386-linux-
gnu/libgcc_s.so.1
a1d5f000-a1d60000 rw-p 0001c000 08:01 14155889   /lib/i386-linux-
gnu/libgcc_s.so.1
a2600000-a2621000 rw-p 00000000 00:00 0
a2621000-a2700000 ---p 00000000 00:00 0
a274c000-a2774000 rw-p 00000000 00:00 0
a2774000-a2974000 r--p 00000000 08:01 787732     /usr/lib/locale/locale-archive
a2974000-a2a75000 rw-p 00000000 00:00 0
a2ab6000-a2ab8000 rw-p 00000000 00:00 0
a2ab8000-a2acf000 r-xp 00000000 08:01 14160355   /lib/i386-linux-gnu/libpthread-
2.13.so
a2acf000-a2ad0000 r--p 00016000 08:01 14160355   /lib/i386-linux-gnu/libpthread-
2.13.so
a2ad0000-a2ad1000 rw-p 00017000 08:01 14160355   /lib/i386-linux-gnu/libpthread-
2.13.so
a2ad1000-a2ad3000 rw-p 00000000 00:00 0
a2ad3000-a2c4b000 r-xp 00000000 08:01 14160341   /lib/i386-linux-gnu/libc-
2.13.so
a2c4b000-a2c4d000 r--p 00178000 08:01 14160341   /lib/i386-linux-gnu/libc-
2.13.so
a2c4d000-a2c4e000 rw-p 0017a000 08:01 14160341   /lib/i386-linux-gnu/libc-
2.13.so
a2c4e000-a2c51000 rw-p 00000000 00:00 0
a2c51000-a2d98000 r-xp 00000000 08:01 786491     /usr/lib/libxml2.so.2.7.8
a2d98000-a2d9c000 r--p 00147000 08:01 786491     /usr/lib/libxml2.so.2.7.8
a2d9c000-a2d9d000 rw-p 0014b000 08:01 786491     /usr/lib/libxml2.so.2.7.8
a2d9d000-a2d9e000 rw-p 00000000 00:00 0
a2d9e000-a2da1000 r-xp 00000000 08:01 14160344   /lib/i386-linux-gnu/libdl-
2.13.so
a2da1000-a2da2000 r--p 00002000 08:01 14160344   /lib/i386-linux-gnu/libdl-
2.13.so
a2da2000-a2da3000 rw-p 00003000 08:01 14160344   /lib/i386-linux-gnu/libdl-
2.13.so
a2da3000-a2da4000 rw-p 00000000 00:00 0
a2da4000-a2dcc000 r-xp 00000000 08:01 14160345   /lib/i386-linux-gnu/libm-
2.13.so
a2dcc000-a2dcd000 r--p 00028000 08:01 14160345   /lib/i386-linux-gnu/libm-
2.13.so
a2dcd000-a2dce000 rw-p 00029000 08:01 14160345   /lib/i386-linux-gnu/libm-
2.13.so
a2dce000-a2dd5000 r-xp 00000000 08:01 14160357   /lib/i386-linux-gnu/librt-
2.13.so
a2dd5000-a2dd6000 r--p 00006000 08:01 14160357   /lib/i386-linux-gnu/librt-
2.13.so
a2dd6000-a2dd7000 rw-p 00007000 08:01 14160357   /lib/i386-linux-gnu/librt-
2.13.so
a2dd7000-a2e14000 r-xp 00000000 08:01 14156450   /lib/i386-linux-
gnu/libpcre.so.3.12.1
a2e14000-a2e15000 r--p 0003c000 08:01 14156450   /lib/i386-linux-
gnu/libpcre.so.3.12.1
a2e15000-a2e16000 rw-p 0003d000 08:01 14156450   /lib/i386-linux-
gnu/libpcre.so.3.12.1
a2e16000-a2e25000 r-xp 00000000 08:01 14155800   /lib/libbz2.so.1.0.4
a2e25000-a2e26000 r--p 0000e000 08:01 14155800   /lib/libbz2.so.1.0.4
a2e26000-a2e27000 rw-p 0000f000 08:01 14155800   /lib/libbz2.so.1.0.4
a2e27000-a2e73000 r-xp 00000000 08:01 788510     /usr/lib/libqdbm.so.14.13.0
a2e73000-a2e74000 r--p 0004c000 08:01 788510     /usr/lib/libqdbm.so.14.13.0
a2e74000-a2e75000 rw-p 0004d000 08:01 788510     /usr/lib/libqdbm.so.14.13.0
a2e75000-a2e76000 rw-p 00000000 00:00 0
a2e76000-a2ff8000 r-xp 00000000 08:01 787483     /usr/lib/i386-linux-gnu/libdb-
5.1.so
a2ff8000-a2ffc000 r--p 00182000 08:01 787483     /usr/lib/i386-linux-gnu/libdb-
5.1.so
a2ffc000-a2ffd000 rw-p 00186000 08:01 787483     /usr/lib/i386-linux-gnu/libdb-
5.1.so
a2ffd000-a3045000 r-xp 00000000 08:01 14156028   /lib/i386-linux-
gnu/libssl.so.1.0.0
a3045000-a3047000 r--p 00047000 08:01 14156028   /lib/i386-linux-
gnu/libssl.so.1.0.0
a3047000-a304a000 rw-p 00049000 08:01 14156028   /lib/i386-linux-
gnu/libssl.so.1.0.0
a304a000-a31d7000 r-xp 00000000 08:01 14155831   /lib/i386-linux-
gnu/libcrypto.so.1.0.0
a31d7000-a31e5000 r--p 0018c000 08:01 14155831   /lib/i386-linux-
gnu/libcrypto.so.1.0.0
a31e5000-a31eb000 rw-p 0019a000 08:01 14155831   /lib/i386-linux-
gnu/libcrypto.so.1.0.0
a31eb000-a31ee000 rw-p 00000000 00:00 0
a31ee000-a3234000 r-xp 00000000 08:01 793282     /usr/lib/libonig.so.2.0.0
a3234000-a3237000 rw-p 00045000 08:01 793282     /usr/lib/libonig.so.2.0.0
a3237000-a324a000 r-xp 00000000 08:01 14160356   /lib/i386-linux-gnu/libresolv-
2.13.so
a324a000-a324b000 r--p 00012000 08:01 14160356   /lib/i386-linux-gnu/libresolv-
2.13.so
a324b000-a324c000 rw-p 00013000 08:01 14160356   /lib/i386-linux-gnu/libresolv-
2.13.so
a324c000-a324f000 rw-p 00000000 00:00 0
a324f000-a3262000 r-xp 00000000 08:01 14156461   /lib/i386-linux-
gnu/libz.so.1.2.3.4
a3262000-a3263000 r--p 00012000 08:01 14156461   /lib/i386-linux-
gnu/libz.so.1.2.3.4
a3263000-a3264000 rw-p 00013000 08:01 14156461   /lib/i386-linux-
gnu/libz.so.1.2.3.4
a3264000-a326c000 r-xp 00000000 08:01 14160343   /lib/i386-linux-gnu/libcrypt-
2.13.so
a326c000-a326d000 r--p 00007000 08:01 14160343   /lib/i386-linux-gnu/libcrypt-
2.13.so
a326d000-a326e000 rw-p 00008000 08:01 14160343   /lib/i386-linux-gnu/libcrypt-
2.13.so
a326e000-a3295000 rw-p 00000000 00:00 0
a329e000-a329f000 r--p 0029a000 08:01 787732     /usr/lib/locale/locale-archive
a329f000-a32a0000 r--p 00000000 00:00 0
a32a0000-a32a2000 rw-p 00000000 00:00 0
a32a2000-a32a3000 r-xp 00000000 00:00 0          [vdso]
a32a3000-a32c1000 r-xp 00000000 08:01 14160338   /lib/i386-linux-gnu/ld-2.13.so
a32c1000-a32c2000 r--p 0001d000 08:01 14160338   /lib/i386-linux-gnu/ld-2.13.so
a32c2000-a32c3000 rw-p 0001e000 08:01 14160338   /lib/i386-linux-gnu/ld-2.13.so
b90e7000-b9109000 rw-p 00000000 00:00 0          [stack]

Program received signal SIGABRT, Aborted.
0xa32a2430 in __kernel_vsyscall ()
(gdb) bt full
#0  0xa32a2430 in __kernel_vsyscall ()
No symbol table info available.
#1  0xa2b00c8f in raise () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#2  0xa2b042b5 in abort () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#3  0xa2b3815c in ?? () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#4  0xa2b42f22 in ?? () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#5  0xa2b43bc2 in ?? () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#6  0xa2b46cad in free () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#7  0x08314f88 in destroy_zend_class ()
No symbol table info available.
#8  0x0832ddfd in zend_hash_clean ()
No symbol table info available.
#9  0xa1b5c102 in apc_interned_strings_shutdown () at 
/home/nathan/source/php/apc/apc-trunk/apc_string.c:232
No locals.
#10 0xa1b5514d in apc_module_shutdown () at /home/nathan/source/php/apc/apc-
trunk/apc_main.c:891
No locals.
#11 0xa1b49e47 in zm_shutdown_apc (type=1, module_number=51) at 
/home/nathan/source/php/apc/apc-trunk/php_apc.c:373
No locals.
 [2012-03-11 05:46 UTC] lazy at ass dot com
Wtf dude, 3 months and no solution? do something about this, PHP 5.4 is utterly useless without APC.
 [2012-05-01 22:07 UTC] jim at zomm dot com
Experiencing same issue with PHP 5.4.0 & Apache/2.2.22 on CentOS release 6.2.
 [2012-05-22 15:58 UTC] fat@php.net
-Package: FPM related +Package: APC
 [2012-05-22 15:58 UTC] fat@php.net
this is not a bug in FPM but in APC.
 [2012-08-14 14:49 UTC] ab@php.net
-Status: Open +Status: Feedback
 [2012-08-14 14:49 UTC] ab@php.net
If it's still reproduceable, please post a fresh BT. It would be useful to 
install debug symbols before.
 [2012-10-06 20:43 UTC] celestino dot diaz at gmx dot de
This bug can be reproduced in php 5.4.7 having apc enabled. Disabling the apc 
extension does not produce the error.
Apc has been installed with 'pecl install apc'. The php version 5.3.17 with apc 
enabled does not have this issue.
Both versions have been compiled and testen on the same system: Linux 3.2.0-31-
generic-pae #50-Ubuntu SMP Fri Sep 7 
16:39:45 UTC 2012 i686 i686 i386 GNU/Linux

>php -i

...php information...

*** glibc detected *** ./php: free(): invalid pointer: 0xb684a548 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x760f2)[0xb70ae0f2]
./php(destroy_zend_class+0x208)[0x840e808]
./php(zend_hash_clean+0x66)[0x84255a6]
/home/celli/development/php5.4/modules/apc.so(apc_interned_strings_shutdown+0x32
)[0xb6600fa2]
/home/celli/development/php5.4/modules/apc.so(apc_module_shutdown+0x152)
[0xb65fa0c2]
/home/celli/development/php5.4/modules/apc.so(+0x7e67)[0xb65eee67]
./php[0x841f0ec]
./php[0x8424035]
./php(zend_hash_graceful_reverse_destroy+0x17)[0x8425687]
./php(zend_destroy_modules+0x29)[0x841da99]
./php[0x8418234]
./php(php_module_shutdown+0x2a)[0x83ba49a]
./php[0x8071295]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0xb70514d3]
./php[0x8071469]
======= Memory map: ========
08048000-08994000 r-xp 00000000 08:11 6176966    
/home/celli/development/php5.4/bin/php
08994000-08995000 r--p 0094c000 08:11 6176966    
/home/celli/development/php5.4/bin/php
08995000-0899f000 rw-p 0094d000 08:11 6176966    
/home/celli/development/php5.4/bin/phpAborted (core dumped)
 [2012-10-10 19:22 UTC] ddrager at xda-developers dot com
Same issue - CentOS 6.3 x64, PHP 5.4.7, APC stable 3.1.9 (but same segfault 
using latest beta).


Starting php-fpm *** glibc detected *** /usr/sbin/php-fpm: free(): invalid 
pointer: 0x00007f23c69929e8 ***
======= Backtrace: =========
/lib64/libc.so.6[0x379cc75916]
/usr/sbin/php-fpm(destroy_zend_class+0x255)[0x747095]
/usr/sbin/php-fpm(zend_hash_clean+0x73)[0x75cf43]
/usr/lib/20100525/apc.so(apc_interned_strings_shutdown+0x20)[0x7f23c087f6e0]
/usr/lib/20100525/apc.so(apc_module_shutdown+0x12a)[0x7f23c0877c7a]
/usr/lib/20100525/apc.so(+0xa5ff)[0x7f23c086e5ff]
/usr/sbin/php-fpm[0x756045]
/usr/sbin/php-fpm[0x75c8b5]
/usr/sbin/php-fpm(zend_hash_graceful_reverse_destroy+0x18)[0x75cb48]
/usr/sbin/php-fpm[0x7507ae]
/usr/sbin/php-fpm(php_module_shutdown+0x2a)[0x6f2f3a]
/usr/sbin/php-fpm[0x8033d9]
/usr/sbin/php-fpm[0x7faa82]
/usr/sbin/php-fpm[0x808e82]
/usr/sbin/php-fpm[0x7f9e4f]
/usr/sbin/php-fpm[0x801658]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x379cc1ecdd]
/usr/sbin/php-fpm[0x42ebb9]
======= Memory map: ========
00400000-00c53000 r-xp 00000000 08:13 2891582                            
/usr/bin/php
00e53000-00f14000 rw-p 00853000 08:13 2891582                            
/usr/bin/php
00f14000-00f37000 rw-p 00000000 00:00 0 
01113000-01121000 rw-p 00913000 08:13 2891582                            
/usr/bin/php
01768000-0199a000 rw-p 00000000 00:00 0                                  [heap]
379c400000-379c420000 r-xp 00000000 08:13 2359303                        
/lib64/ld-2.12.so
379c61f000-379c620000 r--p 0001f000 08:13 2359303                        
/lib64/ld-2.12.so
379c620000-379c621000 rw-p 00020000 08:13 2359303                        
/lib64/ld-2.12.so
379c621000-379c622000 rw-p 00000000 00:00 0 
379c800000-379c802000 r-xp 00000000 08:13 2359316                        
/lib64/libdl-2.12.so
379c802000-379ca02000 ---p 00002000 08:13 2359316                        
/lib64/libdl-2.12.so
379ca02000-379ca03000 r--p 00002000 08:13 2359316                        
/lib64/libdl-2.12.so
379ca03000-379ca04000 rw-p 00003000 08:13 2359316                        
/lib64/libdl-2.12.so
379cc00000-379cd89000 r-xp 00000000 08:13 2359310                        
/lib64/libc-2.12.so
379cd89000-379cf89000 ---p 00189000 08:13 2359310                        
/lib64/libc-2.12.so
379cf89000-379cf8d000 r--p 00189000 08:13 2359310                        
/lib64/libc-2.12.so
379cf8d000-379cf8e000 rw-p 0018d000 08:13 2359310                        
/lib64/libc-2.12.so
379cf8e000-379cf93000 rw-p 00000000 00:00 0 
379d000000-379d017000 r-xp 00000000 08:13 2359501                        
/lib64/libpthread-2.12.so
379d017000-379d217000 ---p 00017000 08:13 2359501                        
/lib64/libpthread-2.12.so
379d217000-379d218000 r--p 00017000 08:13 2359501                        
/lib64/libpthread-2.12.so
379d218000-379d219000 rw-p 00018000 08:13 2359501                        
/lib64/libpthread-2.12.so
379d219000-379d21d000 rw-p 00000000 00:00 0 
379d400000-379d407000 r-xp 00000000 08:13 2359503                        
/lib64/librt-2.12.so
379d407000-379d606000 ---p 00007000 08:13 2359503                        
/lib64/librt-2.12.so
379d606000-379d607000 r--p 00006000 08:13 2359503                        
/lib64/librt-2.12.so
379d607000-379d608000 rw-p 00007000 08:13 2359503                        
/lib64/librt-2.12.so
379d800000-379d883000 r-xp 00000000 08:13 2359342                        
/lib64/libm-2.12.so
379d883000-379da82000 ---p 00083000 08:13 2359342                        
/lib64/libm-2.12.so
379da82000-379da83000 r--p 00082000 08:13 2359342                        
/lib64/libm-2.12.so
379da83000-379da84000 rw-p 00083000 08:13 2359342                        
/lib64/libm-2.12.so
379dc00000-379dc15000 r-xp 00000000 08:13 2359338                        
/lib64/libz.so.1.2.3
379dc15000-379de14000 ---p 00015000 08:13 2359338                        
/lib64/libz.so.1.2.3
379de14000-379de15000 r--p 00014000 08:13 2359338                        
/lib64/libz.so.1.2.3
379de15000-379de16000 rw-p 00015000 08:13 2359338                        
/lib64/libz.so.1.2.3
379e000000-379e01d000 r-xp 00000000 08:13 2359367                        
/lib64/libselinux.so.1
379e01d000-379e21c000 ---p 0001d000 08:13 2359367                        
/lib64/libselinux.so.1
379e21c000-379e21d000 r--p 0001c000 08:13 2359367                        
/lib64/libselinux.so.1
379e21d000-379e21e000 rw-p 0001d000 08:13 2359367                        
/lib64/libselinux.so.1
379e21e000-379e21f000 rw-p 00000000 00:00 0 
379e800000-379e803000 r-xp 00000000 08:13 2359737                        
/lib64/libcom_err.so.2.1
379e803000-379ea02000 ---p 00003000 08:13 2359737                        
/lib64/libcom_err.so.2.1
379ea02000-379ea03000 r--p 00002000 08:13 2359737                        
/lib64/libcom_err.so.2.1
379ea03000-379ea04000 rw-p 00003000 08:13 2359737                        
/lib64/libcom_err.so.2.1
379ec00000-379ec16000 r-xp 00000000 08:13 2359730                        
/lib64/libresolv-2.12.so
379ec16000-379ee16000 ---p 00016000 08:13 2359730                        
/lib64/libresolv-2.12.so
379ee16000-379ee17000 r--p 00016000 08:13 2359730                        
/lib64/libresolv-2.12.so
379ee17000-379ee18000 rw-p 00017000 08:13 2359730                        
/lib64/libresolv-2.12.so
379ee18000-379ee1a000 rw-p 00000000 00:00 0 
379f400000-379f439000 r-xp 00000000 08:13 2359390                        
/lib64/libnspr4.so
379f439000-379f638000 ---p 00039000 08:13 2359390                        
/lib64/libnspr4.so
379f638000-379f639000 r--p 00038000 08:13 2359390                        
/lib64/libnspr4.so
379f639000-379f63b000 rw-p 00039000 08:13 2359390                        
/lib64/libnspr4.so
379f63b000-379f63d000 rw-p 00000000 00:00 0 
379f800000-379f820000 r-xp 00000000 08:13 2887420                        
/usr/lib64/libnssutil3.so
379f820000-379fa1f000 ---p 00020000 08:13 2887420                        
/usr/lib64/libnssutil3.so
379fa1f000-379fa25000 r--p 0001f000 08:13 2887420                        
/usr/lib64/libnssutil3.so
379fa25000-379fa26000 rw-p 00025000 08:13 2887420                        
/usr/lib64/libnssutil3.so
379fc00000-379fc04000 r-xp 00000000 08:13 2359665                        
/lib64/libplc4.so
379fc04000-379fe03000 ---p 00004000 08:13 2359665                        
/lib64/libplc4.so
379fe03000-379fe04000 r--p 00003000 08:13 2359665                        
/lib64/libplc4.so
379fe04000-379fe05000 rw-p 00004000 08:13 2359665                        
/lib64/libplc4.so
37a0000000-37a005d000 r-xp 00000000 08:13 2359318                        
/lib64/libfreebl3.so
37a005d000-37a025c000 ---p 0005d000 08:13 2359318                        
/lib64/libfreebl3.so
37a025c000-37a025d000 r--p 0005c000 08:13 2359318                        
/lib64/libfreebl3.so
37a025d000-37a025e000 rw-p 0005d000 08:13 2359318                        
/lib64/libfreebl3.so
37a025e000-37a0262000 rw-p 00000000 00:00 0 
37a0400000-37a0533000 r-xp 00000000 08:13 2891489                        
/usr/lib64/libnss3.so
37a0533000-37a0733000 ---p 00133000 08:13 2891489                        
/usr/lib64/libnss3.so
37a0733000-37a0738000 r--p 00133000 08:13 2891489                        
/usr/lib64/libnss3.so
37a0738000-37a073a000 rw-p 00138000 08:13 2891489                        
/usr/lib64/libnss3.so
37a073a000-37a073c000 rw-p 00000000 00:00 0 
37a0800000-37a0803000 r-xp 00000000 08:13 2359729                        
/lib64/libplds4.soAborted (core dumped)


Ran gdb on the core dump for 3.1.13, relevant line:

Core was generated by `php-fpm: pool www                               '.
Program terminated with signal 11, Segmentation fault.
#0  0x0000000000757eb2 in zend_update_class_constants 
(class_type=0x7f2e61ce4520)
    at /usr/local/src/php-5.4.7/Zend/zend_API.c:1036
1036                            if (class_type->default_properties_table[i]) {



/usr/local/src/php-5.4.7/Zend/zend_API.c:1036 

                for (i = 0; i < class_type->default_properties_count; i++) {
                        if (class_type->default_properties_table[i]) {
                                zval_update_constant(&class_type-
>default_properties_table[i], (void**)1 TSRMLS_CC);
                        }
                }
 [2013-02-18 00:35 UTC] pecl-dev 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 "Open". Thank you.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue May 21 20:01:26 2019 UTC