php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62377 APC crash when enabled
Submitted: 2012-06-20 21:26 UTC Modified: 2013-02-17 22:31 UTC
From: mail dot pourri at laposte dot net Assigned:
Status: No Feedback Package: APC (PECL)
PHP Version: 5.3.14 OS: Linux (ARM) 3.0.8
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.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mail dot pourri at laposte dot net
New email:
PHP Version: OS:

 

 [2012-06-20 21:26 UTC] mail dot pourri at laposte dot net
Description:
------------
Whenever running a script that's somehow using APC, php-fpm worker crash with this 
error (see backtrace below):
Program received signal SIGSEGV, Segmentation fault.
0x003af99c in zend_mm_remove_from_free_list ()



Test script:
---------------
I'm using roundcube, but it happens with anything a bit larger with phpinfo();

Expected result:
----------------
The script should run without crashing.

Actual result:
--------------
Program received signal SIGSEGV, Segmentation fault.
0x003af99c in zend_mm_remove_from_free_list ()


#0  0x003af99c in zend_mm_remove_from_free_list ()
#1  0x003afb2c in _zend_mm_free_int ()
#2  0x41e00988 in apc_php_free (p=0x1bdd208) at /home/cyril/php-
5.3.14/pecl/apc/trunk/apc_zend.c:43
#3  0x41dfa250 in apc_cache_make_file_key (key=0xbedef8d8,
    filename=0x1d1e790 
"/srv/www/cocoon.byped.fr/public_html/rc/program/lib/PEAR.php", include_path=
<value optimized out>,
    t=1340226444) at /home/cyril/php-5.3.14/pecl/apc/trunk/apc_cache.c:1042
#4  0x41dfe454 in my_compile_file (h=<value optimized out>, type=<value 
optimized out>)
    at /home/cyril/php-5.3.14/pecl/apc/trunk/apc_main.c:523
#5  0x00249f00 in phar_compile_file ()
#6  0x00402820 in ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER ()
#7  0x003f6c54 in execute ()
#8  0x003c3128 in zend_call_function ()
#9  0x003e3e08 in zend_call_method ()
#10 0x0027e340 in zif_spl_autoload_call ()
#11 0x003c31d0 in zend_call_function ()
#12 0x003c3824 in zend_lookup_class_ex ()
#13 0x00953410 in ?? ()

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-07-02 16:33 UTC] locke at gigbureau dot com
I'm experiencing this (or a very similar crash) with PHP 5.3.10 and APC 3.1.7
 [2012-08-13 09:32 UTC] ab@php.net
-Status: Open +Status: Feedback
 [2012-08-13 09:32 UTC] ab@php.net
Can this still be reproduced with the current APC trunk? Please produce a fresh 
BT.
 [2013-02-17 22:31 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-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 16:01:31 2024 UTC