Skip to content

[2.0.x] Segfault in Application (Happening more frequently this past few days) #10301

Closed
@virgofx

Description

@virgofx
  • Vagrant, Linux Centos 7
  • PHP 5.6, php-fpm
  • Nginx 1.9.0
Program received signal SIGSEGV, Segmentation fault.
0x00007fcbd0d167a1 in _zend_mm_free_int ()
(gdb) bt
#0  0x00007fcbd0d167a1 in _zend_mm_free_int ()
#1  0x00007fcbbdabd16d in phannot_internal_parse_annotations.isra.98 () from /usr/lib64/php/modules/phalcon.so
#2  0x00007fcbbdc976ad in zim_Phalcon_Annotations_Reader_parse () from /usr/lib64/php/modules/phalcon.so
#3  0x00007fcbd0d2f02b in dtrace_execute_internal ()
#4  0x00007fcbc6374936 in xdebug_execute_internal (current_execute_data=0x7fffedcbda90, fci=0x7fffedcbdc00, return_value_used=1) at /tmp/xdebug-2.2.5/xdebug.c:1551
#5  0x00007fcbbdaaa750 in zephir_call_function_opt () from /usr/lib64/php/modules/phalcon.so
#6  0x00007fcbbdad860f in zephir_call_user_function () from /usr/lib64/php/modules/phalcon.so
#7  0x00007fcbbdad8844 in zephir_call_class_method_aparams () from /usr/lib64/php/modules/phalcon.so
#8  0x00007fcbbdb5bf49 in zim_Phalcon_Annotations_Adapter_get () from /usr/lib64/php/modules/phalcon.so
#9  0x00007fcbd0d2f02b in dtrace_execute_internal ()
#10 0x00007fcbc6374936 in xdebug_execute_internal (current_execute_data=0x7fcbd0a8ebb0, fci=0x0, return_value_used=1) at /tmp/xdebug-2.2.5/xdebug.c:1551
#11 0x00007fcbd0de8f68 in zend_do_fcall_common_helper_SPEC ()
#12 0x00007fcbd0d7d198 in execute_ex ()
#13 0x00007fcbd0d2ef09 in dtrace_execute_ex ()
#14 0x00007fcbc6373ebc in xdebug_execute_ex (execute_data=0x7fcbd0a8ebb0) at /tmp/xdebug-2.2.5/xdebug.c:1437
#15 0x00007fcbbdaaa04b in zephir_call_function_opt () from /usr/lib64/php/modules/phalcon.so
#16 0x00007fcbbdad860f in zephir_call_user_function () from /usr/lib64/php/modules/phalcon.so
#17 0x00007fcbbdad8844 in zephir_call_class_method_aparams () from /usr/lib64/php/modules/phalcon.so
#18 0x00007fcbbdd66f0c in zim_Phalcon_Events_Manager_fireQueue () from /usr/lib64/php/modules/phalcon.so
#19 0x00007fcbd0d2f02b in dtrace_execute_internal ()
#20 0x00007fcbc6374936 in xdebug_execute_internal (current_execute_data=0x7fffedcbec60, fci=0x7fffedcbedd0, return_value_used=1) at /tmp/xdebug-2.2.5/xdebug.c:1551
#21 0x00007fcbbdaaa750 in zephir_call_function_opt () from /usr/lib64/php/modules/phalcon.so
#22 0x00007fcbbdad860f in zephir_call_user_function () from /usr/lib64/php/modules/phalcon.so
#23 0x00007fcbbdad8844 in zephir_call_class_method_aparams () from /usr/lib64/php/modules/phalcon.so
#24 0x00007fcbbdd65e73 in zim_Phalcon_Events_Manager_fire () from /usr/lib64/php/modules/phalcon.so
#25 0x00007fcbd0d2f02b in dtrace_execute_internal ()
#26 0x00007fcbc6374936 in xdebug_execute_internal (current_execute_data=0x7fffedcbf420, fci=0x7fffedcbf590, return_value_used=1) at /tmp/xdebug-2.2.5/xdebug.c:1551
#27 0x00007fcbbdaaa750 in zephir_call_function_opt () from /usr/lib64/php/modules/phalcon.so
#28 0x00007fcbbdad860f in zephir_call_user_function () from /usr/lib64/php/modules/phalcon.so
#29 0x00007fcbbdad8844 in zephir_call_class_method_aparams () from /usr/lib64/php/modules/phalcon.so
#30 0x00007fcbbdbf28dc in zim_Phalcon_Mvc_Model_Manager_initialize () from /usr/lib64/php/modules/phalcon.so
#31 0x00007fcbd0d2f02b in dtrace_execute_internal ()
#32 0x00007fcbc6374936 in xdebug_execute_internal (current_execute_data=0x7fffedcbfb60, fci=0x7fffedcbfcd0, return_value_used=1) at /tmp/xdebug-2.2.5/xdebug.c:1551
#33 0x00007fcbbdaaa750 in zephir_call_function_opt () from /usr/lib64/php/modules/phalcon.so
#34 0x00007fcbbdad860f in zephir_call_user_function () from /usr/lib64/php/modules/phalcon.so
#35 0x00007fcbbdad8844 in zephir_call_class_method_aparams () from /usr/lib64/php/modules/phalcon.so
#36 0x00007fcbbdbdf4ad in zim_Phalcon_Mvc_Model___construct () from /usr/lib64/php/modules/phalcon.so
#37 0x00007fcbd0d2f02b in dtrace_execute_internal ()
#38 0x00007fcbc6374936 in xdebug_execute_internal (current_execute_data=0x7fffedcc0290, fci=0x7fffedcc0400, return_value_used=1) at /tmp/xdebug-2.2.5/xdebug.c:1551
#39 0x00007fcbbdaaa750 in zephir_call_function_opt () from /usr/lib64/php/modules/phalcon.so
#40 0x00007fcbbdad860f in zephir_call_user_function () from /usr/lib64/php/modules/phalcon.so
#41 0x00007fcbbdad8844 in zephir_call_class_method_aparams () from /usr/lib64/php/modules/phalcon.so
#42 0x00007fcbbdd87233 in zim_Phalcon_Mvc_Model_Manager_load () from /usr/lib64/php/modules/phalcon.so
#43 0x00007fcbd0d2f02b in dtrace_execute_internal ()
#44 0x00007fcbc6374936 in xdebug_execute_internal (current_execute_data=0x7fffedcc0a30, fci=0x7fffedcc0ba0, return_value_used=1) at /tmp/xdebug-2.2.5/xdebug.c:1551
#45 0x00007fcbbdaaa750 in zephir_call_function_opt () from /usr/lib64/php/modules/phalcon.so
#46 0x00007fcbbdad860f in zephir_call_user_function () from /usr/lib64/php/modules/phalcon.so
#47 0x00007fcbbdad8844 in zephir_call_class_method_aparams () from /usr/lib64/php/modules/phalcon.so
#48 0x00007fcbbdbfdb32 in zim_Phalcon_Mvc_Model_Query__prepareSelect () from /usr/lib64/php/modules/phalcon.so
#49 0x00007fcbd0d2f02b in dtrace_execute_internal ()
#50 0x00007fcbc6374936 in xdebug_execute_internal (current_execute_data=0x7fffedcc13d0, fci=0x7fffedcc1540, return_value_used=1) at /tmp/xdebug-2.2.5/xdebug.c:1551
#51 0x00007fcbbdaaa750 in zephir_call_function_opt () from /usr/lib64/php/modules/phalcon.so
#52 0x00007fcbbdad860f in zephir_call_user_function () from /usr/lib64/php/modules/phalcon.so
#53 0x00007fcbbdad8844 in zephir_call_class_method_aparams () from /usr/lib64/php/modules/phalcon.so
#54 0x00007fcbbdc983f4 in zim_Phalcon_Mvc_Model_Query_parse () from /usr/lib64/php/modules/phalcon.so
#55 0x00007fcbd0d2f02b in dtrace_execute_internal ()
#56 0x00007fcbc6374936 in xdebug_execute_internal (current_execute_data=0x7fffedcc1b70, fci=0x7fffedcc1ce0, return_value_used=1) at /tmp/xdebug-2.2.5/xdebug.c:1551
#57 0x00007fcbbdaaa750 in zephir_call_function_opt () from /usr/lib64/php/modules/phalcon.so
#58 0x00007fcbbdad860f in zephir_call_user_function () from /usr/lib64/php/modules/phalcon.so
#59 0x00007fcbbdad8844 in zephir_call_class_method_aparams () from /usr/lib64/php/modules/phalcon.so
#60 0x00007fcbbdbf7120 in zim_Phalcon_Mvc_Model_Query_execute () from /usr/lib64/php/modules/phalcon.so
#61 0x00007fcbd0d2f02b in dtrace_execute_internal ()
#62 0x00007fcbc6374936 in xdebug_execute_internal (current_execute_data=0x7fffedcc2370, fci=0x7fffedcc24e0, return_value_used=1) at /tmp/xdebug-2.2.5/xdebug.c:1551
#63 0x00007fcbbdaaa750 in zephir_call_function_opt () from /usr/lib64/php/modules/phalcon.so
#64 0x00007fcbbdad860f in zephir_call_user_function () from /usr/lib64/php/modules/phalcon.so
#65 0x00007fcbbdad8844 in zephir_call_class_method_aparams () from /usr/lib64/php/modules/phalcon.so
#66 0x00007fcbbdbdc22e in zim_Phalcon_Mvc_Model_findFirst () from /usr/lib64/php/modules/phalcon.so
#67 0x00007fcbd0d2f02b in dtrace_execute_internal ()
#68 0x00007fcbc6374936 in xdebug_execute_internal (current_execute_data=0x7fcbd0a8e968, fci=0x0, return_value_used=1) at /tmp/xdebug-2.2.5/xdebug.c:1551
---Type <return> to continue, or q <return> to quit---
#69 0x00007fcbd0de8f68 in zend_do_fcall_common_helper_SPEC ()
#70 0x00007fcbd0d7d198 in execute_ex ()
#71 0x00007fcbd0d2ef09 in dtrace_execute_ex ()
#72 0x00007fcbc6373ebc in xdebug_execute_ex (execute_data=0x7fcbd0a8e968) at /tmp/xdebug-2.2.5/xdebug.c:1437
#73 0x00007fcbd0d30cf3 in zend_call_function ()
#74 0x00007fcbbdaa48fd in zephir_call_user_func_array_noex () from /usr/lib64/php/modules/phalcon.so
#75 0x00007fcbbdb9fc05 in zim_Phalcon_Di_Service_resolve () from /usr/lib64/php/modules/phalcon.so
#76 0x00007fcbd0d2f02b in dtrace_execute_internal ()
#77 0x00007fcbc6374936 in xdebug_execute_internal (current_execute_data=0x7fffedcc31b0, fci=0x7fffedcc3320, return_value_used=1) at /tmp/xdebug-2.2.5/xdebug.c:1551
#78 0x00007fcbbdaaa750 in zephir_call_function_opt () from /usr/lib64/php/modules/phalcon.so
#79 0x00007fcbbdad860f in zephir_call_user_function () from /usr/lib64/php/modules/phalcon.so
#80 0x00007fcbbdad8844 in zephir_call_class_method_aparams () from /usr/lib64/php/modules/phalcon.so
#81 0x00007fcbbdb4bdb3 in zim_Phalcon_Di_get () from /usr/lib64/php/modules/phalcon.so
#82 0x00007fcbd0d2f02b in dtrace_execute_internal ()
#83 0x00007fcbc6374936 in xdebug_execute_internal (current_execute_data=0x7fffedcc3960, fci=0x7fffedcc3ad0, return_value_used=1) at /tmp/xdebug-2.2.5/xdebug.c:1551
#84 0x00007fcbbdaaa750 in zephir_call_function_opt () from /usr/lib64/php/modules/phalcon.so
#85 0x00007fcbbdad860f in zephir_call_user_function () from /usr/lib64/php/modules/phalcon.so
#86 0x00007fcbbdad8844 in zephir_call_class_method_aparams () from /usr/lib64/php/modules/phalcon.so
#87 0x00007fcbbdb4b87a in zim_Phalcon_Di_getShared () from /usr/lib64/php/modules/phalcon.so
#88 0x00007fcbd0d2f02b in dtrace_execute_internal ()
#89 0x00007fcbc6374936 in xdebug_execute_internal (current_execute_data=0x7fcbd0a8e808, fci=0x0, return_value_used=1) at /tmp/xdebug-2.2.5/xdebug.c:1551
#90 0x00007fcbd0de8f68 in zend_do_fcall_common_helper_SPEC ()
#91 0x00007fcbd0d7d198 in execute_ex ()
#92 0x00007fcbd0d2ef09 in dtrace_execute_ex ()
#93 0x00007fcbc6373ebc in xdebug_execute_ex (execute_data=0x7fcbd0a8e808) at /tmp/xdebug-2.2.5/xdebug.c:1437
#94 0x00007fcbd0de94ca in zend_do_fcall_common_helper_SPEC ()
#95 0x00007fcbd0d7d198 in execute_ex ()
#96 0x00007fcbd0d2ef09 in dtrace_execute_ex ()
#97 0x00007fcbc6373ebc in xdebug_execute_ex (execute_data=0x7fcbd0a8e6c8) at /tmp/xdebug-2.2.5/xdebug.c:1437
#98 0x00007fcbd0de94ca in zend_do_fcall_common_helper_SPEC ()
#99 0x00007fcbd0d7d198 in execute_ex ()
#100 0x00007fcbd0d2ef09 in dtrace_execute_ex ()
#101 0x00007fcbc6373ebc in xdebug_execute_ex (execute_data=0x7fcbd0a8e5b8) at /tmp/xdebug-2.2.5/xdebug.c:1437
#102 0x00007fcbbdaaa04b in zephir_call_function_opt () from /usr/lib64/php/modules/phalcon.so
#103 0x00007fcbbdad860f in zephir_call_user_function () from /usr/lib64/php/modules/phalcon.so
#104 0x00007fcbbdad8844 in zephir_call_class_method_aparams () from /usr/lib64/php/modules/phalcon.so
#105 0x00007fcbbdd4a388 in zim_Phalcon_Dispatcher_dispatch () from /usr/lib64/php/modules/phalcon.so
#106 0x00007fcbd0d2f02b in dtrace_execute_internal ()
#107 0x00007fcbc6374936 in xdebug_execute_internal (current_execute_data=0x7fffedcc4f90, fci=0x7fffedcc5100, return_value_used=1)
    at /tmp/xdebug-2.2.5/xdebug.c:1551
#108 0x00007fcbbdaaa750 in zephir_call_function_opt () from /usr/lib64/php/modules/phalcon.so
#109 0x00007fcbbdad860f in zephir_call_user_function () from /usr/lib64/php/modules/phalcon.so
#110 0x00007fcbbdad8844 in zephir_call_class_method_aparams () from /usr/lib64/php/modules/phalcon.so
#111 0x00007fcbbdbbbb59 in zim_Phalcon_Mvc_Application_handle () from /usr/lib64/php/modules/phalcon.so
#112 0x00007fcbd0d2f02b in dtrace_execute_internal ()
#113 0x00007fcbc6374936 in xdebug_execute_internal (current_execute_data=0x7fcbd0a8e410, fci=0x0, return_value_used=1) at /tmp/xdebug-2.2.5/xdebug.c:1551
#114 0x00007fcbd0de8f68 in zend_do_fcall_common_helper_SPEC ()
#115 0x00007fcbd0d7d198 in execute_ex ()
#116 0x00007fcbd0d2ef09 in dtrace_execute_ex ()
#117 0x00007fcbc6373ebc in xdebug_execute_ex (execute_data=0x7fcbd0a8e410) at /tmp/xdebug-2.2.5/xdebug.c:1437
#118 0x00007fcbd0de94ca in zend_do_fcall_common_helper_SPEC ()
#119 0x00007fcbd0d7d198 in execute_ex ()
#120 0x00007fcbd0d2ef09 in dtrace_execute_ex ()
#121 0x00007fcbc6373ebc in xdebug_execute_ex (execute_data=0x7fcbd0a8e320) at /tmp/xdebug-2.2.5/xdebug.c:1437
#122 0x00007fcbd0d41f2b in zend_execute_scripts ()
#123 0x00007fcbd0cdd352 in php_execute_script ()
#124 0x00007fcbd0ba10eb in main ()
(gdb) 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions