-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Yaf_Loader::autolaod() 导致 Segmentation fault #100
Comments
这里面的arKey和nKeyLength具体的值是? |
都是 |
value optimized out |
我感觉这个应该是APC的问题, 和Yaf应该没啥关系 |
有啥建议吗? |
没有..........如果一定要说: 别用apc了, 用opcache吧... |
defender-11
added a commit
to defender-11/yaf
that referenced
this issue
Dec 19, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yaf autoload导致偶发的core,辛苦帮忙看看。
trace 信息如下:
#0 _zend_mm_alloc_int (heap=0x151a330, size=56) at /home/data/rpmbuild/BUILD/php-5.3.10/Zend/zend_alloc.c:1835
#1 0x00000000007cff7b in _zend_hash_add_or_update (ht=0x1888bc0, arKey=, nKeyLength=,
#2 0x00000000007c475d in zend_declare_property_ex (ce=0x1888b00, name=0x1833280 "_outputType", name_length=,
#3 0x00000000007ac615 in zend_do_declare_property (var_name=0x7fff7ff39160, value=0x7fff7ff391a0, access_type=512)
#4 0x0000000000793152 in zendparse () at /home/data/rpmbuild/BUILD/php-5.3.10/Zend/zend_language_parser.c:4178
#5 0x000000000079e417 in compile_file (file_handle=0x7fff7ff3c730, type=2) at Zend/zend_language_scanner.l:364
#6 0x00007fc8b03e3f73 in apc_compile_cache_entry (key=..., h=0x7fff7ff3c730, type=2, t=, op_array=0x7fff7ff3b438,
#7 0x00007fc8b03e49b5 in my_compile_file (h=0x7fff7ff3c730, type=2) at /home/data/rpmbuild/BUILD/APC-3.1.9/apc_main.c:610
#8 0x00000000006008aa in phar_compile_file (file_handle=0x7fff7ff3c730, type=2) at /home/data/rpmbuild/BUILD/php-5.3.10/ext/phar/phar.c:3393
#9 0x00007fc8b01bfede in yaf_loader_import (
#10 0x00007fc8b01c0c7a in yaf_internal_autoload (file_name=, name_len=, directory=0x7fff7ff3d878)
#11 0x00007fc8b01c1240 in zim_yaf_loader_autoload (ht=, return_value=0x1832a80, return_value_ptr=,
#12 0x00000000007b7c5c in zend_call_function (fci=0x7fff7ff3da30, fci_cache=)
#13 0x00000000007d7f6f in zend_call_method (object_pp=0x181fa50, obj_ce=, fn_proxy=0x181fa48,
#14 0x000000000066d556 in zif_spl_autoload_call (ht=, return_value=,
#15 0x00000000007b7c5c in zend_call_function (fci=0x7fff7ff3dda0, fci_cache=)
#16 0x00000000007b826e in zend_lookup_class_ex (name=0x18851d8 "MiGlobal_Base_Action", name_length=20, use_autoload=1, ce=0x7fff7ff3deb8)
#17 0x00000000007b8530 in zend_fetch_class (class_name=0x18851d8 "MiGlobal_Base_Action", class_name_len=20, fetch_type=4)
#18 0x00000000007e5961 in ZEND_FETCH_CLASS_SPEC_CONST_HANDLER (execute_data=0x1909dc0)
#19 0x00000000007e6d78 in execute (op_array=0x1884c30) at /home/data/rpmbuild/BUILD/php-5.3.10/Zend/zend_vm_execute.h:107
#20 0x00007fc8b01bff99 in yaf_loader_import (path=, len=, use_path=)
#21 0x00007fc8b01a9c83 in yaf_dispatcher_get_action (app_dir=0x1815d78 "/home/work/data_lw/www/mi_com_i18n/application", controller=0x1833250,
#22 0x00007fc8b01aa8aa in yaf_dispatcher_handle (dispatcher=0x1820368, request=0x1820718, response=0x181f2d8, view=0x187f848)
#23 0x00007fc8b01ac493 in yaf_dispatcher_dispatch (dispatcher=) at /home/data/rpmbuild/BUILD/yaf-2.2.9/yaf_dispatcher.c:908
#24 0x00007fc8b01a79ca in zim_yaf_application_run (ht=, return_value=0x181e1b0, return_value_ptr=,
#25 0x000000000080e660 in zend_do_fcall_common_helper_SPEC (execute_data=0x1909970)
#26 0x00000000007e6d78 in execute (op_array=0x1811398) at /home/data/rpmbuild/BUILD/php-5.3.10/Zend/zend_vm_execute.h:107
---Type to continue, or q to quit---q
The text was updated successfully, but these errors were encountered: