php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63605 PHP/PCRE crashes when parsing long list of emails
Submitted: 2012-11-26 11:32 UTC Modified: 2012-11-26 11:38 UTC
From: software-php at interfasys dot ch Assigned:
Status: Not a bug Package: PCRE related
PHP Version: 5.4.9 OS: FreeBSD 8
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: software-php at interfasys dot ch
New email:
PHP Version: OS:

 

 [2012-11-26 11:32 UTC] software-php at interfasys dot ch
Description:
------------
This crash happens under certain conditions when using the IMP script part of 
the Horde suite of apps (horde.org).

The IMP script is a webmail client and when building the list of emails in the 
INBOX, PHP crashes with this message:
AH00051: child pid 99220 exit signal Illegal instruction (4)

The beginning of the backtrace looks like this:
#0  0x00000008006105e2 in match () from /usr/local/lib/libpcre.so.1
(repeat 7669 times...)
#7670 0x0000000802257bf2 in php_pcre_match_impl
#7671 0x00000008022585f8 in php_do_pcre_match

This seems to happen because of an email with a very long list of recipients, 
which needs to be parsed.


Test script:
---------------
The script generating the error is in horde/services/ajax.php

Expected result:
----------------
On most INBOX, a list of emails is returned.

Actual result:
--------------
Here is the backtrace:
#7670 0x0000000802257bf2 in php_pcre_match_impl (pce=0x81bd04a90,
    subject=0x81c19d710 "elosud@hotmail.com, philippeveignal@hotmail.com, 
C.E.C@lemel.fr, jessyvincent@yahoo.com, ysohrabi@hotmail.com, 
renquin6@cuimail.unige.ch, j_melian@yahoo.com, kayitana@yahoo.com, 
laurentrachel@hotmail."..., subject_len=4000, return_value=0x81c1af0e8, 
subpats=0x0, global=0,
    use_flags=0, flags=<optimized out>, start_offset=0) at /php-
5.4.9/ext/pcre/php_pcre.c:652
        result_set = 0x5aecc60
        match_sets = 0x0
        extra = 0x7fffffffab50
        extra_data = {flags = 18, study_data = 0x800dd5a20, match_limit = 
1000000, callout_data = 0x1,
          tables = 0x6c00000000000000 <Address 0x6c00000000000000 out of 
bounds>, match_limit_recursion = 100000, mark = 0x7fffffffac40,
          executable_jit = 0x7fffffffac4c}
        exoptions = 0
        count = 1
        offsets = <optimized out>
        num_subpats = 1
        size_offsets = <optimized out>
        matched = 0
        g_notempty = 0
        stringlist = 0x0
        subpat_names = 0x81c19ca28
        i = 0
        rc = <optimized out>
        subpats_order = 0
        offset_capture = 0
#7671 0x00000008022585f8 in php_do_pcre_match (ht=2, return_value=0x81c1af0e8, 
return_value_ptr=<optimized out>, this_ptr=<optimized out>,
    return_value_used=<optimized out>, global=0) at /php-
5.4.9/ext/pcre/php_pcre.c:546
        regex = 0x80b9fde30 "/^(?:\n", ' ' <repeats 14 times>, "
[\\x09\\x0A\\x0D\\x20-\\x7E]", ' ' <repeats 12 times>, "# ASCII\n", ' ' <repeats 
12 times>, "| [\\xC2-\\xDF][\\x80-\\xBF]", ' ' <repeats 13 times>, "# non-
overlong 2-byte\n", ' ' <repeats 12 times>, "| \\xE0[\\xA0-\\xBF][\\x80-\\xBF]         
# excluding overl"...
        subject = 0x81c19d710 "elosud@hotmail.com, philippeveignal@hotmail.com, 
C.E.C@lemel.fr, jessyvincent@yahoo.com, ysohrabi@hotmail.com, 
renquin6@cuimail.unige.ch, j_melian@yahoo.com, kayitana@yahoo.com, 
laurentrachel@hotmail."...
        regex_len = 543
        subject_len = 4000
        pce = 0xa
        subpats = 0x0
        flags = 0
        start_offset = 0
#7672 0x00000008025a3c85 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x805aede30)
    at /php-5.4.9/Zend/zend_vm_execute.h:642
        ret = 0x805aee050
        opline = 0x80be47790
        should_change_scope = 0 '\000'
        fbc = 0x805bfe300
#7673 0x00000008025a9bb2 in execute (op_array=0x81be40b90) at /php-
5.4.9/Zend/zend_vm_execute.h:410
        ret = <optimized out>
        execute_data = 0x805aede30
        nested = 0 '\000'
        original_in_execution = 1 '\001'
#7674 0x00000008025a3f90 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x805aedbe0)
    at /php-5.4.9/Zend/zend_vm_execute.h:669
        opline = 0x80be47520
        should_change_scope = 1 '\001'
        fbc = 0x81be40b90
#7675 0x00000008025a9bb2 in execute (op_array=0x81be40b90) at /php-
5.4.9/Zend/zend_vm_execute.h:410
        ret = <optimized out>
        execute_data = 0x805aedbe0
        nested = 0 '\000'
        original_in_execution = 1 '\001'
#7676 0x00000008025a3f90 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x805aed930)
    at /php-5.4.9/Zend/zend_vm_execute.h:669
        opline = 0x80e709230
        should_change_scope = 1 '\001'
        fbc = 0x81be40b90
#7677 0x00000008025a9bb2 in execute (op_array=0x81bf35348) at /php-
5.4.9/Zend/zend_vm_execute.h:410
        ret = <optimized out>
        execute_data = 0x805aed930
        nested = 0 '\000'
        original_in_execution = 1 '\001'
#7678 0x00000008025a3f90 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x805aed080)
    at /php-5.4.9/Zend/zend_vm_execute.h:669
        opline = 0x81bf32c40
        should_change_scope = 1 '\001'
        fbc = 0x81bf35348
#7679 0x00000008025a9bb2 in execute (op_array=0x81bf31d10) at /php-
5.4.9/Zend/zend_vm_execute.h:410
        ret = <optimized out>
        execute_data = 0x805aed080
        nested = 0 '\000'
        original_in_execution = 1 '\001'
#7680 0x00000008025a3f90 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x805aecc60)
    at /php-5.4.9/Zend/zend_vm_execute.h:669
        opline = 0x810325820
        should_change_scope = 1 '\001'
        fbc = 0x81bf31d10
#7681 0x00000008025a9bb2 in execute (op_array=0x81c06bcd8) at /php-
5.4.9/Zend/zend_vm_execute.h:410
        ret = <optimized out>
        execute_data = 0x805aecc60
        nested = 0 '\000'
        original_in_execution = 1 '\001'
#7682 0x000000080256940a in zend_call_function (fci=0x7fffffffb2a0, 
fci_cache=0x7fffffffb2f0)
    at /php-5.4.9/Zend/zend_execute_API.c:958
        i = <optimized out>
        original_return_value = 0x805aeaf00
        calling_symbol_table = 0x0
        original_op_array = 0x81c3902f8
        original_opline_ptr = 0x805aec128
        current_scope = 0x81c389ff0
        current_called_scope = 0x81c389ff0
        calling_scope = 0x81c06b5a8
        called_scope = 0x81c06b5a8
        current_this = 0x81c34a760
        execute_data = {opline = 0x0, function_state = {function = 0x81c06bcd8, 
arguments = 0x805aecc58}, fbc = 0x0, called_scope = 0x0, op_array = 0x0,
          object = 0x81c0c8cd8, Ts = 0x805aec2c8, CVs = 0x805aec1b8, 
symbol_table = 0x0, prev_execute_data = 0x805aec128, old_error_reporting = 0x0,
          nested = 0 '\000', original_return_value = 0x805aeaf00, current_scope 
= 0x81c389ff0, current_called_scope = 0x81c389ff0,
          current_this = 0x81c34a760, current_object = 0x0}
        fci_cache_local = {initialized = 160 '\240', function_handler = 
0x81c3df4a0, calling_scope = 0x81c34a760, called_scope = 0x7fffffffb3d0,
          object_ptr = 0x0}
#7683 0x000000080258d188 in zend_call_method (object_pp=0x7fffffffb450, 
obj_ce=0x81c06b5a8, fn_proxy=0x81c06b6e8, function_name=0x8029f019b "__set",
    function_name_len=5, retval_ptr_ptr=0x7fffffbffb90, param_count=2, 
arg1=0x81c0d13e8, arg2=0x81c0ddc48)
    at /php-5.4.9/Zend/zend_interfaces.c:97
        fcic = {initialized = 1 '\001', function_handler = 0x81c06bcd8, 
calling_scope = 0x81c06b5a8, called_scope = 0x81c06b5a8, object_ptr = 
0x81c0c8cd8}
        result = <optimized out>
        fci = {size = 72, function_table = 0x81c0d33b0, function_name = 
0x7fffffffb320, symbol_table = 0x0, retval_ptr_ptr = 0x7fffffffb438,
          param_count = 2, params = 0x7fffffffb340, object_ptr = 0x81c0c8cd8, 
no_separation = 1 '\001'}
        z_fname = {value = {lval = 140737488335976, dval = 6.9533558068788885e-
310, str = {val = 0x7fffffffb468 "\240\303\027\034\b", len = 2},
            ht = 0x7fffffffb468, obj = {handle = 4294947944, handlers = 
0x800000002}}, refcount__gc = 4294947792, type = 255 '\377',
          is_ref__gc = 127 '\177'}
        retval = <optimized out>
        function_table = <optimized out>
        params = {0x7fffffffb3a8, 0x7fffffffb3b0}
#7684 0x000000080259991f in zend_std_call_setter (value=0x81c0ddc48, 
member=0x81c0d13e8, object=0x81c0c8cd8)
    at /php-5.4.9/Zend/zend_object_handlers.c:174
        retval = 0x0
        ce = 0x81c06b5a8
#7685 zend_std_write_property (object=0x81c0c8cd8, member=<optimized out>, 
value=0x81c0ddc48, key=<optimized out>)
    at /php-5.4.9/Zend/zend_object_handlers.c:567
        guard = 0x81c17c3a0
        zobj = 0x81c0d1a50
        tmp_member = 0x0
        variable_ptr = 0x81c14e7e0
        property_info = <optimized out>
#7686 0x00000008025f61d9 in zend_assign_to_object (retval=0x0, 
object_ptr=0x805aec258, property_name=0x81c0d13e8, value_type=16, 
value_op=0x7fffffffa920,
    Ts=0x1df4, opcode=136, key=0x0) at /php-5.4.9/Zend/zend_execute.c:737
        object = 0x81c0c8cd8
        value = 0x81c0ddc48
#7687 0x00000008025f6553 in ZEND_ASSIGN_OBJ_SPEC_CV_VAR_HANDLER 
(execute_data=0x805aec128)
    at /php-5.4.9/Zend/zend_vm_execute.h:32993
        opline = 0x80e1acde0
        object_ptr = 0x805aec258
        property_name = 0x81c0d13e8
#7688 0x00000008025a9bb2 in execute (op_array=0x81c3902f8) at /php-
5.4.9/Zend/zend_vm_execute.h:410
        ret = <optimized out>
        execute_data = 0x805aec128
        nested = 0 '\000'
        original_in_execution = 1 '\001'
#7689 0x00000008025a3f90 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x805aea9e8)
    at /php-5.4.9/Zend/zend_vm_execute.h:669
        opline = 0x80e1a1d78
        should_change_scope = 1 '\001'
        fbc = 0x81c3902f8
#7690 0x00000008025a9bb2 in execute (op_array=0x81c38fe20) at /php-
5.4.9/Zend/zend_vm_execute.h:410
        ret = <optimized out>
        execute_data = 0x805aea9e8
        nested = 0 '\000'
        original_in_execution = 1 '\001'
#7691 0x00000008025a3f90 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x805ae9910)
    at /php-5.4.9/Zend/zend_vm_execute.h:669
        opline = 0x80e1e0eb0
        should_change_scope = 1 '\001'
        fbc = 0x81c38fe20
#7692 0x00000008025a9bb2 in execute (op_array=0x81c3968e0) at /php-
5.4.9/Zend/zend_vm_execute.h:410
        ret = <optimized out>
        execute_data = 0x805ae9910
        nested = 0 '\000'
        original_in_execution = 1 '\001'
#7693 0x00000008025a3f90 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x805ae8d30)
    at /php-5.4.9/Zend/zend_vm_execute.h:669
        opline = 0x80e1d2570
        should_change_scope = 1 '\001'
        fbc = 0x81c3968e0
#7694 0x00000008025a9bb2 in execute (op_array=0x81c3965b0) at /php-
5.4.9/Zend/zend_vm_execute.h:410
        ret = <optimized out>
        execute_data = 0x805ae8d30
        nested = 0 '\000'
        original_in_execution = 1 '\001'
#7695 0x00000008025a3f90 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x805ae86f8)
    at /php-5.4.9/Zend/zend_vm_execute.h:669
        opline = 0x81c393b48
        should_change_scope = 1 '\001'
        fbc = 0x81c3965b0
#7696 0x00000008025a9bb2 in execute (op_array=0x81c392618) at /php-
5.4.9/Zend/zend_vm_execute.h:410
        ret = <optimized out>
        execute_data = 0x805ae86f8
        nested = 0 '\000'
        original_in_execution = 1 '\001'
#7697 0x00000008025a3f90 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x805ae6ba8)
    at /php-5.4.9/Zend/zend_vm_execute.h:669
        opline = 0x80e19b978
        should_change_scope = 1 '\001'
        fbc = 0x81c392618
#7698 0x00000008025a9bb2 in execute (op_array=0x81c38faf0) at /php-
5.4.9/Zend/zend_vm_execute.h:410
        ret = <optimized out>
        execute_data = 0x805ae6ba8
        nested = 0 '\000'
        original_in_execution = 1 '\001'
#7699 0x00000008025a3f90 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x805ae4248)
    at /php-5.4.9/Zend/zend_vm_execute.h:669
        opline = 0x81c3bb3a8
        should_change_scope = 1 '\001'
        fbc = 0x81c38faf0
#7700 0x00000008025a9bb2 in execute (op_array=0x81c3cbe40) at /php-
5.4.9/Zend/zend_vm_execute.h:410
        ret = <optimized out>
        execute_data = 0x805ae4248
        nested = 0 '\000'
        original_in_execution = 1 '\001'
#7701 0x000000080256940a in zend_call_function (fci=0x7fffffffbcc0, 
fci_cache=0x7fffffffbd10)
    at /php-5.4.9/Zend/zend_execute_API.c:958
        i = <optimized out>
        original_return_value = 0x7fffffffc120
        calling_symbol_table = 0x0
        original_op_array = 0x81c3863e0
        original_opline_ptr = 0x805ae3530
        current_scope = 0x81c34aed8
        current_called_scope = 0x81c34aed8
        calling_scope = 0x81c389ff0
        called_scope = 0x81c389ff0
        current_this = 0x81c346b88
        execute_data = {opline = 0x0, function_state = {function = 0x81c3cbe40, 
arguments = 0x805ae4240}, fbc = 0x0, called_scope = 0x0, op_array = 0x0,
          object = 0x81c34a760, Ts = 0x805ae3650, CVs = 0x805ae35c0, 
symbol_table = 0x0, prev_execute_data = 0x805ae3530, old_error_reporting = 0x0,
          nested = 0 '\000', original_return_value = 0x7fffffffc120, 
current_scope = 0x81c34aed8, current_called_scope = 0x81c34aed8,
          current_this = 0x81c346b88, current_object = 0x0}
        fci_cache_local = {initialized = 4 '\004', function_handler = 
0x81c0447a0, calling_scope = 0x81c044770, called_scope = 0x7fffffffbcc0,
          object_ptr = 0x7fffffffbc88}
#7702 0x000000080247d1b7 in zif_call_user_func_array (ht=<optimized out>, 
return_value=0x81c0447a0, return_value_ptr=<optimized out>,
    this_ptr=<optimized out>, return_value_used=<optimized out>) at /php-
5.4.9/ext/standard/basic_functions.c:4754
        params = 0x81c044770
        retval_ptr = 0x0
        fci = {size = 72, function_table = 0x81c38a018, function_name = 
0x81c0447d0, symbol_table = 0x0, retval_ptr_ptr = 0x7fffffffbd40,
          param_count = 3, params = 0x81c02fb28, object_ptr = 0x81c34a760, 
no_separation = 1 '\001'}
        fci_cache = {initialized = 1 '\001', function_handler = 0x81c3cbe40, 
calling_scope = 0x81c389ff0, called_scope = 0x81c389ff0,
          object_ptr = 0x81c34a760}
#7703 0x00000008025a3c85 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x805ae3530)
    at /php-5.4.9/Zend/zend_vm_execute.h:642
        ret = 0x805ae3bf0
        opline = 0x80c006118
        should_change_scope = 0 '\000'
        fbc = 0x805b47800
#7704 0x00000008025a9bb2 in execute (op_array=0x81c3863e0) at /php-
5.4.9/Zend/zend_vm_execute.h:410
        ret = <optimized out>
        execute_data = 0x805ae3530
        nested = 0 '\000'
        original_in_execution = 1 '\001'
#7705 0x000000080256940a in zend_call_function (fci=0x7fffffffbff0, 
fci_cache=0x7fffffffc040)
    at /php-5.4.9/Zend/zend_execute_API.c:958
        i = <optimized out>
        original_return_value = 0x805ae0f38
        calling_symbol_table = 0x0
        original_op_array = 0x81c2a1360
        original_opline_ptr = 0x805ae1c48
        current_scope = 0x0
        current_called_scope = 0x81c34aed8
        calling_scope = 0x81c34aed8
        called_scope = 0x81c34aed8
        current_this = 0x81c346b88
        execute_data = {opline = 0x0, function_state = {function = 0x81c3863e0, 
arguments = 0x805ae3528}, fbc = 0x0, called_scope = 0x0, op_array = 0x0,
          object = 0x81c346b88, Ts = 0x805ae1e58, CVs = 0x805ae1cd8, 
symbol_table = 0x0, prev_execute_data = 0x805ae1c48, old_error_reporting = 0x0,
          nested = 0 '\000', original_return_value = 0x805ae0f38, current_scope 
= 0x81c2a1008, current_called_scope = 0x81c2a1008,
          current_this = 0x81c29fe98, current_object = 0x0}
        fci_cache_local = {initialized = 136 '\210', function_handler = 
0x3110765de7, calling_scope = 0x5, called_scope = 0x81c033780, object_ptr = 0x1}
#7706 0x000000080258d188 in zend_call_method (object_pp=0x7fffffffc110, 
obj_ce=0x81c34aed8, fn_proxy=0x81c34b030, function_name=0x8029bd555 "__call",
    function_name_len=6, retval_ptr_ptr=0x7fffffbffb90, param_count=2, 
arg1=0x81c03bd58, arg2=0x81c03bdd8)
    at /php-5.4.9/Zend/zend_interfaces.c:97
        fcic = {initialized = 1 '\001', function_handler = 0x81c3863e0, 
calling_scope = 0x81c34aed8, called_scope = 0x81c34aed8, object_ptr = 
0x81c346b88}
        result = <optimized out>
        fci = {size = 72, function_table = 0x1ae76e141b1e27, function_name = 
0x7fffffffc070, symbol_table = 0x0, retval_ptr_ptr = 0x7fffffffc120,
          param_count = 2, params = 0x7fffffffc090, object_ptr = 0x81c346b88, 
no_separation = 1 '\001'}
        z_fname = {value = {lval = 140737488339120, dval = 6.9533558070342227e-
310, str = {val = 0x7fffffffc0b0 "(\275\003\034\b", len = 95302928},
            ht = 0x7fffffffc0b0, obj = {handle = 4294951088, handlers = 
0x805ae3510}}, refcount__gc = 3, type = 0 '\000', is_ref__gc = 0 '\000'}
        retval = <optimized out>
        function_table = <optimized out>
        params = {0x7fffffffc0f8, 0x7fffffffc100}
#7707 0x000000080259a5cd in zend_std_call_user_call (ht=<optimized out>, 
return_value=0x81c03bcf8, return_value_ptr=<optimized out>,
    this_ptr=0x81c346b88, return_value_used=<optimized out>) at /php-
5.4.9/Zend/zend_object_handlers.c:870
        func = <optimized out>
        method_name_ptr = 0x81c03bd58
        method_args_ptr = 0x81c03bdd8
        method_result_ptr = 0x0
        ce = 0x81c34aed8
#7708 0x00000008025a3c85 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x805ae1c48)
    at /php-5.4.9/Zend/zend_vm_execute.h:642
        ret = 0x805ae27f8
        opline = 0x81c27e178
        should_change_scope = 1 '\001'
        fbc = 0x81c033468
#7709 0x00000008025a9bb2 in execute (op_array=0x81c2a1360) at /php-
5.4.9/Zend/zend_vm_execute.h:410
        ret = <optimized out>
        execute_data = 0x805ae1c48
        nested = 0 '\000'
        original_in_execution = 1 '\001'
#7710 0x00000008025a3f90 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x805ae0c50)
    at /php-5.4.9/Zend/zend_vm_execute.h:669
        opline = 0x8102e2bd8
        should_change_scope = 1 '\001'
        fbc = 0x81c2a1360
#7711 0x00000008025a9bb2 in execute (op_array=0x81c29d420) at /php-
5.4.9/Zend/zend_vm_execute.h:410
        ret = <optimized out>
        execute_data = 0x805ae0c50
        nested = 0 '\000'
        original_in_execution = 1 '\001'
#7712 0x00000008025a3f90 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x805adcf28)
    at /php-5.4.9/Zend/zend_vm_execute.h:669
        opline = 0x8102df548
        should_change_scope = 1 '\001'
        fbc = 0x81c29d420
#7713 0x00000008025a9bb2 in execute (op_array=0x81c2799f8) at /php-
5.4.9/Zend/zend_vm_execute.h:410
        ret = <optimized out>
        execute_data = 0x805adcf28
        nested = 0 '\000'
        original_in_execution = 1 '\001'
#7714 0x00000008025a3f90 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x805adc768)

    at /php-5.4.9/Zend/zend_vm_execute.h:669
        opline = 0x810250b58
        should_change_scope = 1 '\001'
        fbc = 0x81c2799f8
#7715 0x00000008025a9bb2 in execute (op_array=0x81bf89c18) at /php-
5.4.9/Zend/zend_vm_execute.h:410
        ret = <optimized out>
        execute_data = 0x805adc768
        nested = 0 '\000'
        original_in_execution = 1 '\001'
#7716 0x00000008025a3f90 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x805adbd98)
    at /php-5.4.9/Zend/zend_vm_execute.h:669
        opline = 0x8102969c0
        should_change_scope = 1 '\001'
        fbc = 0x81bf89c18
#7717 0x00000008025a9bb2 in execute (op_array=0x81bed8888) at /php-
5.4.9/Zend/zend_vm_execute.h:410
        ret = <optimized out>
        execute_data = 0x805adbd98
        nested = 0 '\000'
        original_in_execution = 1 '\001'
#7718 0x000000080256940a in zend_call_function (fci=0x7fffffffc790, 
fci_cache=0x7fffffffc7e0)
    at /php-5.4.9/Zend/zend_execute_API.c:958
        i = <optimized out>
        original_return_value = 0x0
        calling_symbol_table = 0x0
        original_op_array = 0x81bf8c7d0
        original_opline_ptr = 0x805adba10
        current_scope = 0x81bf8ad40
        current_called_scope = 0x81bf89300
        calling_scope = 0x81bed8640
        called_scope = 0x81bed8640
        current_this = 0x81bf7caa0
        execute_data = {opline = 0x0, function_state = {function = 0x81bed8888, 
arguments = 0x805adbd90}, fbc = 0x0, called_scope = 0x0, op_array = 0x0,
          object = 0x81bf8d230, Ts = 0x805adbac0, CVs = 0x805adbaa0, 
symbol_table = 0x0, prev_execute_data = 0x805adba10, old_error_reporting = 0x0,
          nested = 0 '\000', original_return_value = 0x0, current_scope = 
0x81bf8ad40, current_called_scope = 0x81bf89300, current_this = 0x81bf7caa0,
          current_object = 0x0}
        fci_cache_local = {initialized = 48 '0', function_handler = 0x1, 
calling_scope = 0x81bf8d230, called_scope = 0x805adb330, object_ptr = 0x1}
#7719 0x000000080247d07f in zif_call_user_func (ht=<optimized out>, 
return_value=0x81c346c60, return_value_ptr=<optimized out>, this_ptr=<optimized 
out>,
    return_value_used=<optimized out>) at /php-
5.4.9/ext/standard/basic_functions.c:4729
        retval_ptr = 0x0
        fci = {size = 72, function_table = 0x81bed8668, function_name = 
0x81c346718, symbol_table = 0x0, retval_ptr_ptr = 0x7fffffffc808,
          param_count = 0, params = 0x0, object_ptr = 0x81bf8d230, no_separation 
= 1 '\001'}
        fci_cache = {initialized = 1 '\001', function_handler = 0x81bed8888, 
calling_scope = 0x81bed8640, called_scope = 0x81bed8640,
          object_ptr = 0x81bf8d230}
#7720 0x00000008025a3c85 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x805adba10)
    at /php-5.4.9/Zend/zend_vm_execute.h:642
        ret = 0x805adbbe0
        opline = 0x81025e3b0
        should_change_scope = 0 '\000'
        fbc = 0x805b47700

#7721 0x00000008025a9bb2 in execute (op_array=0x81bf8c7d0) at /php-
5.4.9/Zend/zend_vm_execute.h:410
        ret = <optimized out>
        execute_data = 0x805adba10
        nested = 0 '\000'
        original_in_execution = 1 '\001'
#7722 0x00000008025a3f90 in zend_do_fcall_common_helper_SPEC 
(execute_data=0x805adb350)
    at /php-5.4.9/Zend/zend_vm_execute.h:669
        opline = 0x810242f68
        should_change_scope = 1 '\001'
        fbc = 0x81bf8c7d0
#7723 0x00000008025a9bb2 in execute (op_array=0x81bfa8338) at /php-
5.4.9/Zend/zend_vm_execute.h:410
        ret = <optimized out>
        execute_data = 0x805adb350
        nested = 0 '\000'
        original_in_execution = 0 '\000'
#7724 0x000000080257558b in zend_execute_scripts (type=8, retval=0x0, 
file_count=3) at /php-5.4.9/Zend/zend.c:1309
        files = {{gp_offset = 40, fp_offset = 0, overflow_arg_area = 
0x7fffffffcb90, reg_save_area = 0x7fffffffcaa0}}
        i = 1
        file_handle = 0x7fffffffe170
        orig_op_array = 0x0
        orig_retval_ptr_ptr = 0x0
#7725 0x00000008025165a7 in php_execute_script (primary_file=0x7fffffffe170) at 
/php-5.4.9/main/main.c:2482
        realfile = 
"\360\333\377\377\377\177\000\000h\211\314\033\b\000\000\000\020\334\377\377\000
\000\000\000\200\334\377\377\000\000\000\000\020\334\377\377\377\177\000\000\365
\001\b\000\000\000\000\377\314\033\b\000\000\000\200\334\377\377\377\177\000\000
\320\334\377\377\377\177\000\000\020\226\206\001\b", '\000' <repeats 12 
times>"\335, \377\377\377\177\000\000\220\335\377\377\377\177\000\000 
\211\314\033\b\000\000\000\030\024\315\033\b\000\000\000\310l\266\001\b\000\000\
000\340\020\315\033\b\000\000\000\217\334\377\377\377\177\000\000\220\334\377\37
7\377\177\000\000\372\231\207\001\b\000\000\000\340\005\315\033\b\000\000\000X\3
35\377\377\377\177\000\000\200b\017\001\b\000\000\000\300\334\377\377\377\177\00
0\000\240b\017\001\b\000\000\000\000\001\000\000\000\000\000\000X\370\260\005\b\
000\000\000\000\002\000\000\000\000\000\000\260\005\261\005\b\000\000\000\000\22
3\317\005\b\000\000\000\020\002\000\000\000\000\000\000\250#\261\005\b\000\000\0
00\260\005\261\005\b\000\000\000\017\022U\002\b\000\000\000(\305)\347\265\b\255\
262\260\005\b\000\000\000GX\270\035\343\236g\206\000\000\000\000\000\000\000\000
\307"...
        __orig_bailout = 0x7fffffffe1f0
        __bailout = {{_sjb = {34398626970, 34407231968, 140737488341896, 
140737488347472, 34826363040, 0, 34826179216, 0, 34407187071, 34826363040,
              34407230688, 34359738368}}}
        prepend_file_p = 0x0
        append_file_p = 0x1df4
        prepend_file = {type = ZEND_HANDLE_FILENAME, filename = 0x0, opened_path 
= 0x0, handle = {fd = 0, fp = 0x0, stream = {handle = 0x0, isatty = 0,
              mmap = {len = 0, pos = 0, map = 0x0, buf = 0x0, old_handle = 0x0, 
old_closer = 0x0}, reader = 0x0, fsizer = 0x0, closer = 0x0}},
          free_filename = 0 '\000'}
        append_file = {type = ZEND_HANDLE_FILENAME, filename = 0x0, opened_path 
= 0x0, handle = {fd = 0, fp = 0x0, stream = {handle = 0x0, isatty = 0,
              mmap = {len = 0, pos = 0, map = 0x0, buf = 0x0, old_handle = 0x0, 
old_closer = 0x0}, reader = 0x0, fsizer = 0x0, closer = 0x0}},
          free_filename = 0 '\000'}
        old_cwd = 0x7fffffffcba0 "/"
        retval = 0
#7726 0x000000080261d292 in php_handler (r=0x81bd020a0) at /php-
5.4.9/sapi/apache2handler/sapi_apache2.c:667
        zfd = {type = ZEND_HANDLE_FILENAME, filename = 0x81bd2b560 
"/var/www/html/webmail/services/ajax.php", opened_path = 0x0, handle = {fd = 0,
            fp = 0x0, stream = {handle = 0x0, isatty = 0, mmap = {len = 0, pos = 
0, map = 0x0, buf = 0x0, old_handle = 0x0, old_closer = 0x0},
              reader = 0x0, fsizer = 0x0, closer = 0x0}}, free_filename = 0 
'\000'}
        __bailout = {{_sjb = {34399702360, 34450510960, 140737488347480, 16, 
34826363040, 0, 34826179216, 0, 895, 0, 140737488347760, 34359738368}}}
        ctx = 0x81bd06de0
        conf = 0x81bcfe418
        brigade = 0x81bd00d98
        bucket = <optimized out>
        rv = <optimized out>
        parent_req = 0x0


And the last execute:
(gdb) frame 7723
#7723 0x00000008025a9bb2 in execute (op_array=0x81bfa8338) at /php-
5.4.9/Zend/zend_vm_execute.h:410
410                     if ((ret = OPLINE->handler(execute_data TSRMLS_CC)) > 0) 
{



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-11-26 11:38 UTC] laruence@php.net
-Status: Open +Status: Not a bug
 [2012-11-26 11:38 UTC] laruence@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

please refer to : 
http://us3.php.net/manual/en/pcre.configuration.php#ini.pcre.recursion-limit
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 12 05:01:33 2025 UTC