php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66258 Apache segfaults every 30 minutes
Submitted: 2013-12-10 18:58 UTC Modified: 2021-06-20 04:22 UTC
Votes:3
Avg. Score:4.3 ± 0.9
Reproduced:3 of 3 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: ddegtyarev at gmail dot com Assigned: cmb (profile)
Status: No Feedback Package: Reproducible crash
PHP Version: 5.5.6 OS: Ubuntu 13.10
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ddegtyarev at gmail dot com
New email:
PHP Version: OS:

 

 [2013-12-10 18:58 UTC] ddegtyarev at gmail dot com
Description:
------------
I'm running a LiveStreet CMS.

Apache segfaults every 30 minutes

here's my config http://www.7dach.ru/ip.php


Actual result:
--------------
Core was generated by `/usr/sbin/apache2 -k start'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f6b1947fd76 in gc_remove_from_buffer (root=0x7f6af8a79b90) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_gc.h:190
190	/build/buildd/php5-5.5.6+dfsg/Zend/zend_gc.h: No such file or directory.
(gdb) bt
#0  0x00007f6b1947fd76 in gc_remove_from_buffer (root=0x7f6af8a79b90) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_gc.h:190
#1  gc_remove_zval_from_buffer (zv=zv@entry=0x7f6af8a79bd8) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_gc.c:265
#2  0x00007f6b19451838 in i_zval_ptr_dtor (zval_ptr=0x7f6af8a79bd8) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_execute.h:80
#3  _zval_ptr_dtor (zval_ptr=<optimized out>) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_execute_API.c:426
#4  0x00007f6b1946f178 in zend_hash_destroy (ht=0x7f6b1e4062e8) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_hash.c:560
#5  0x00007f6b1946066b in _zval_dtor_func (zvalue=0x7f6b1e45c9a8) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_variables.c:45
#6  0x00007f6b19451820 in _zval_dtor (zvalue=0x7f6b1e45c9a8) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_variables.h:35
#7  i_zval_ptr_dtor (zval_ptr=0x7f6b1e45c9a8) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_execute.h:81
#8  _zval_ptr_dtor (zval_ptr=<optimized out>) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_execute_API.c:426
#9  0x00007f6b1946f178 in zend_hash_destroy (ht=0x7f6b1e40ea58) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_hash.c:560
#10 0x00007f6b1946066b in _zval_dtor_func (zvalue=0x7f6b1e45bc50) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_variables.c:45
#11 0x00007f6b1950dd45 in _zval_dtor (zvalue=0x7f6b1e45bc50) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_variables.h:35
#12 i_zval_ptr_dtor (zval_ptr=0x7f6b1e45bc50) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_execute.h:81
#13 i_free_compiled_variables (execute_data=0x7f6b1d78e098) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_execute.c:1511
#14 zend_leave_helper_SPEC (execute_data=0x7f6b1d78e098) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_vm_execute.h:399
#15 0x00007f6b1948b1b8 in execute_ex (execute_data=0x7f6b1d78e098) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_vm_execute.h:363
#16 0x00007f6b194538c8 in zend_call_function (fci=fci@entry=0x7fff844ee8f0, fci_cache=<optimized out>, fci_cache@entry=0x7fff844ee8c0) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_execute_API.c:939
#17 0x00007f6b19387682 in zif_call_user_func_array (ht=<optimized out>, return_value=0x7f6b1e451b78, return_value_ptr=<optimized out>, this_ptr=<optimized out>, return_value_used=<optimized out>)
    at /build/buildd/php5-5.5.6+dfsg/ext/standard/basic_functions.c:4806
#18 0x00007f6b195115ca in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_vm_execute.h:550
#19 0x00007f6b1948b1b8 in execute_ex (execute_data=0x7f6b1d78dd80) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_vm_execute.h:363
#20 0x00007f6b194538c8 in zend_call_function (fci=fci@entry=0x7fff844eec20, fci_cache=<optimized out>, fci_cache@entry=0x7fff844eebf0) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_execute_API.c:939
#21 0x00007f6b19478655 in zend_call_method (object_pp=object_pp@entry=0x7fff844eecc8, obj_ce=<optimized out>, obj_ce@entry=0x7f6b1e40ee30, fn_proxy=fn_proxy@entry=0x7f6b1e40ef88, 
    function_name=function_name@entry=0x7f6b1986bb3e "__call", function_name_len=function_name_len@entry=6, retval_ptr_ptr=retval_ptr_ptr@entry=0x7fff844eece8, param_count=param_count@entry=2, 
    arg1=arg1@entry=0x7f6b1e45bcb0, arg2=0x7f6b1e408cf0) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_interfaces.c:97
#22 0x00007f6b1948432c in zend_std_call_user_call (ht=<optimized out>, return_value=0x7f6b1e4089d0, return_value_ptr=<optimized out>, this_ptr=0x7f6b1e405838, return_value_used=<optimized out>)
    at /build/buildd/php5-5.5.6+dfsg/Zend/zend_object_handlers.c:896
#23 0x00007f6b195115ca in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_vm_execute.h:550
#24 0x00007f6b1948b1b8 in execute_ex (execute_data=0x7f6b1d78db00) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_vm_execute.h:363
#25 0x00007f6b194538c8 in zend_call_function (fci=fci@entry=0x7fff844eefa0, fci_cache=<optimized out>, fci_cache@entry=0x7fff844eef70) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_execute_API.c:939
#26 0x00007f6b19387682 in zif_call_user_func_array (ht=<optimized out>, return_value=0x7f6b1e407db8, return_value_ptr=<optimized out>, this_ptr=<optimized out>, return_value_used=<optimized out>)
    at /build/buildd/php5-5.5.6+dfsg/ext/standard/basic_functions.c:4806
#27 0x00007f6b195115ca in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_vm_execute.h:550
#28 0x00007f6b1948b1b8 in execute_ex (execute_data=0x7f6b1d78d910) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_vm_execute.h:363
#29 0x00007f6b194538c8 in zend_call_function (fci=fci@entry=0x7fff844ef2d0, fci_cache=<optimized out>, fci_cache@entry=0x7fff844ef2a0) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_execute_API.c:939
#30 0x00007f6b19478655 in zend_call_method (object_pp=object_pp@entry=0x7fff844ef378, obj_ce=<optimized out>, obj_ce@entry=0x7f6b1e4074b0, fn_proxy=fn_proxy@entry=0x7f6b1e407608, 
    function_name=function_name@entry=0x7f6b1986bb3e "__call", function_name_len=function_name_len@entry=6, retval_ptr_ptr=retval_ptr_ptr@entry=0x7fff844ef398, param_count=param_count@entry=2, 
    arg1=arg1@entry=0x7f6b1e405328, arg2=0x7f6b1e407d88) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_interfaces.c:97
#31 0x00007f6b1948432c in zend_std_call_user_call (ht=<optimized out>, return_value=0x7f6b1e3dd768, return_value_ptr=<optimized out>, this_ptr=0x7f6b1e3dcdc8, return_value_used=<optimized out>)
    at /build/buildd/php5-5.5.6+dfsg/Zend/zend_object_handlers.c:896
#32 0x00007f6b195115ca in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_vm_execute.h:550
#33 0x00007f6b1948b1b8 in execute_ex (execute_data=0x7f6b1d78d5e8) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_vm_execute.h:363
#34 0x00007f6b194538c8 in zend_call_function (fci=fci@entry=0x7fff844ef650, fci_cache=<optimized out>, fci_cache@entry=0x7fff844ef620) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_execute_API.c:939
#35 0x00007f6b19387682 in zif_call_user_func_array (ht=<optimized out>, return_value=0x7f6b1e1c1990, return_value_ptr=<optimized out>, this_ptr=<optimized out>, return_value_used=<optimized out>)
    at /build/buildd/php5-5.5.6+dfsg/ext/standard/basic_functions.c:4806
#36 0x00007f6b195115ca in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_vm_execute.h:550
#37 0x00007f6b1948b1b8 in execute_ex (execute_data=0x7f6b1d78b3b0) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_vm_execute.h:363
#38 0x00007f6b194538c8 in zend_call_function (fci=fci@entry=0x7fff844ef980, fci_cache=<optimized out>, fci_cache@entry=0x7fff844ef950) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_execute_API.c:939
#39 0x00007f6b19478655 in zend_call_method (object_pp=object_pp@entry=0x7fff844efa28, obj_ce=<optimized out>, obj_ce@entry=0x7f6b1dda81f8, fn_proxy=fn_proxy@entry=0x7f6b1dda8350, 
    function_name=function_name@entry=0x7f6b1986bb3e "__call", function_name_len=function_name_len@entry=6, retval_ptr_ptr=retval_ptr_ptr@entry=0x7fff844efa48, param_count=param_count@entry=2, 
---Type <return> to continue, or q <return> to quit---
    arg1=arg1@entry=0x7f6b1e1c1b78, arg2=0x7f6b1e0e34e8) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_interfaces.c:97
#40 0x00007f6b1948432c in zend_std_call_user_call (ht=<optimized out>, return_value=0x7f6b1e1c1b28, return_value_ptr=<optimized out>, this_ptr=0x7f6b1dda26b8, return_value_used=<optimized out>)
    at /build/buildd/php5-5.5.6+dfsg/Zend/zend_object_handlers.c:896
#41 0x00007f6b195115ca in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_vm_execute.h:550
#42 0x00007f6b1948b1b8 in execute_ex (execute_data=0x7f6b1d78b140) at /build/buildd/php5-5.5.6+dfsg/Zend/zend_vm_execute.h:363
#43 0x00007f6b19462ef0 in zend_execute_scripts (type=type@entry=8, retval=retval@entry=0x0, file_count=file_count@entry=3) at /build/buildd/php5-5.5.6+dfsg/Zend/zend.c:1320
#44 0x00007f6b19403365 in php_execute_script (primary_file=primary_file@entry=0x7fff844f1ef0) at /build/buildd/php5-5.5.6+dfsg/main/main.c:2489
#45 0x00007f6b1951301a in php_handler (r=<optimized out>) at /build/buildd/php5-5.5.6+dfsg/sapi/apache2handler/sapi_apache2.c:667
#46 0x00007f6b1cd80320 in ap_run_handler (r=0x7f6b1cc59470) at config.c:170
#47 0x00007f6b1cd806f9 in ap_invoke_handler (r=r@entry=0x7f6b1cc59470) at config.c:434
#48 0x00007f6b1cd9504c in ap_internal_redirect (new_uri=<optimized out>, r=<optimized out>) at http_request.c:644
#49 0x00007f6b16f90cac in handler_redirect (r=0x7f6b1cc5c0a0) at mod_rewrite.c:5051
#50 0x00007f6b1cd80320 in ap_run_handler (r=0x7f6b1cc5c0a0) at config.c:170
#51 0x00007f6b1cd806f9 in ap_invoke_handler (r=r@entry=0x7f6b1cc5c0a0) at config.c:434
#52 0x00007f6b1cd9558a in ap_process_async_request (r=0x7f6b1cc5c0a0) at http_request.c:317
#53 0x00007f6b1cd95874 in ap_process_request (r=r@entry=0x7f6b1cc5c0a0) at http_request.c:363
#54 0x00007f6b1cd92302 in ap_process_http_sync_connection (c=0x7f6b1cc62290) at http_core.c:190
#55 ap_process_http_connection (c=0x7f6b1cc62290) at http_core.c:231
#56 0x00007f6b1cd89210 in ap_run_process_connection (c=0x7f6b1cc62290) at connection.c:41
#57 0x00007f6b1cd895f8 in ap_process_connection (c=c@entry=0x7f6b1cc62290, csd=<optimized out>) at connection.c:202
#58 0x00007f6b19def767 in child_main (child_num_arg=child_num_arg@entry=2) at prefork.c:704
#59 0x00007f6b19def9a6 in make_child (s=0x7f6b1cce8dd0, slot=2) at prefork.c:800
#60 0x00007f6b19df061e in perform_idle_server_maintenance (p=<optimized out>) at prefork.c:902
#61 prefork_run (_pconf=<optimized out>, plog=<optimized out>, s=<optimized out>) at prefork.c:1090
#62 0x00007f6b1cd674ae in ap_run_mpm (pconf=0x7f6b1cd18028, plog=0x7f6b1ccec028, s=0x7f6b1cce8dd0) at mpm_common.c:96
#63 0x00007f6b1cd60c66 in main (argc=3, argv=0x7fff844f2698) at main.c:777


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-12-11 18:17 UTC] aharvey@php.net
-Package: opcache +Package: Reproducible crash
 [2021-06-09 14:33 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-06-09 14:33 UTC] cmb@php.net
Is this still an issue with any of the actively supported PHP
versions[1]?

[1] <https://www.php.net/supported-versions.php>
 [2021-06-20 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-2022 The PHP Group
All rights reserved.
Last updated: Sun May 22 00:03:42 2022 UTC