phacility / xhprof

XHProf is a function-level hierarchical profiler for PHP and has a simple HTML based user interface.
http://pecl.php.net/package/xhprof
Apache License 2.0
2.6k stars 924 forks source link

Php 5.6 Error 500. #87

Closed Minasu closed 6 years ago

Minasu commented 8 years ago

Hello,

Xhprof causes segfault on php56 with activate internal functions.

Debug:

Program terminated with signal 11, Segmentation fault.

0 zif_min (ht=, return_value=0x7fb030a87c78, return_value_ptr=0x0, this_ptr=, return_value_used=)

at /root/php-5.6.22/ext/standard/array.c:982

982 RETVAL_ZVAL_FAST(*min);

(gdb) bt

0 zif_min (ht=, return_value=0x7fb030a87c78, return_value_ptr=0x0, this_ptr=, return_value_used=)

at /root/php-5.6.22/ext/standard/array.c:982

1 0x00007fb0412a0317 in hp_execute_internal (execute_data=0x7fb049b30b38, fci=0x0, ret=1) at /root/xhprof/extension/xhprof.c:1730

2 0x000000000090c035 in zend_do_fcall_common_helper_SPEC (execute_data=) at /root/php-5.6.22/Zend/zend_vm_execute.h:560

3 0x00000000008fbb20 in execute_ex (execute_data=0x7fb049b30b38) at /root/php-5.6.22/Zend/zend_vm_execute.h:363

4 0x00007fb04129fca9 in hp_execute_ex (execute_data=0x7fb049b30b38) at /root/xhprof/extension/xhprof.c:1675

5 0x000000000090c69c in zend_do_fcall_common_helper_SPEC (execute_data=) at /root/php-5.6.22/Zend/zend_vm_execute.h:592

6 0x00000000008fbb20 in execute_ex (execute_data=0x7fb049b30938) at /root/php-5.6.22/Zend/zend_vm_execute.h:363

7 0x00007fb04129fca9 in hp_execute_ex (execute_data=0x7fb049b30938) at /root/xhprof/extension/xhprof.c:1675

8 0x00000000008fa866 in ZEND_INCLUDE_OR_EVAL_SPEC_CV_HANDLER (execute_data=0x7fb049b30750) at /root/php-5.6.22/Zend/zend_vm_execute.h:31580

9 0x00000000008fbb20 in execute_ex (execute_data=0x7fb049b30750) at /root/php-5.6.22/Zend/zend_vm_execute.h:363

10 0x00007fb04129fca9 in hp_execute_ex (execute_data=0x7fb049b30750) at /root/xhprof/extension/xhprof.c:1675

11 0x000000000090c69c in zend_do_fcall_common_helper_SPEC (execute_data=) at /root/php-5.6.22/Zend/zend_vm_execute.h:592

12 0x00000000008fbb20 in execute_ex (execute_data=0x7fb049b30628) at /root/php-5.6.22/Zend/zend_vm_execute.h:363

13 0x00007fb04129fca9 in hp_execute_ex (execute_data=0x7fb049b30628) at /root/xhprof/extension/xhprof.c:1675

14 0x000000000090c69c in zend_do_fcall_common_helper_SPEC (execute_data=) at /root/php-5.6.22/Zend/zend_vm_execute.h:592

15 0x00000000008fbb20 in execute_ex (execute_data=0x7fb049b30520) at /root/php-5.6.22/Zend/zend_vm_execute.h:363

16 0x00007fb04129fca9 in hp_execute_ex (execute_data=0x7fb049b30520) at /root/xhprof/extension/xhprof.c:1675

17 0x000000000090c69c in zend_do_fcall_common_helper_SPEC (execute_data=) at /root/php-5.6.22/Zend/zend_vm_execute.h:592

18 0x00000000008fbb20 in execute_ex (execute_data=0x7fb049b30408) at /root/php-5.6.22/Zend/zend_vm_execute.h:363

19 0x00007fb04129fca9 in hp_execute_ex (execute_data=0x7fb049b30408) at /root/xhprof/extension/xhprof.c:1675

20 0x000000000090c69c in zend_do_fcall_common_helper_SPEC (execute_data=) at /root/php-5.6.22/Zend/zend_vm_execute.h:592

21 0x00000000008fbb20 in execute_ex (execute_data=0x7fb049b30320) at /root/php-5.6.22/Zend/zend_vm_execute.h:363

22 0x00007fb04129fca9 in hp_execute_ex (execute_data=0x7fb049b30320) at /root/xhprof/extension/xhprof.c:1675

23 0x000000000090c69c in zend_do_fcall_common_helper_SPEC (execute_data=) at /root/php-5.6.22/Zend/zend_vm_execute.h:592

24 0x00000000008fbb20 in execute_ex (execute_data=0x7fb049b30230) at /root/php-5.6.22/Zend/zend_vm_execute.h:363

25 0x00007fb04129fca9 in hp_execute_ex (execute_data=0x7fb049b30230) at /root/xhprof/extension/xhprof.c:1675

26 0x000000000090c69c in zend_do_fcall_common_helper_SPEC (execute_data=) at /root/php-5.6.22/Zend/zend_vm_execute.h:592

27 0x00000000008fbb20 in execute_ex (execute_data=0x7fb049b30088) at /root/php-5.6.22/Zend/zend_vm_execute.h:363

28 0x000000000087f8d2 in zend_call_function (fci=0x7fff89bd8cd0, fci_cache=) at /root/php-5.6.22/Zend/zend_execute_API.c:829

29 0x000000000077f28f in zif_call_user_func (ht=, return_value=0x7fb049b68610, return_value_ptr=, this_ptr=,

return_value_used=<value optimized out>) at /root/php-5.6.22/ext/standard/basic_functions.c:4761

30 0x000000000090c292 in zend_do_fcall_common_helper_SPEC (execute_data=) at /root/php-5.6.22/Zend/zend_vm_execute.h:558

31 0x00000000008fbb20 in execute_ex (execute_data=0x7fb049b2ff68) at /root/php-5.6.22/Zend/zend_vm_execute.h:363

32 0x000000000088d339 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /root/php-5.6.22/Zend/zend.c:1341

33 0x000000000082caea in php_execute_script (primary_file=0x7fff89bdd6a0) at /root/php-5.6.22/main/main.c:2613

34 0x000000000093c997 in main (argc=, argv=) at /root/php-5.6.22/sapi/fpm/fpm/fpm_main.c:1989

Thanks.

350050183 commented 6 years ago

me 2. I think this software have abandoned! for kindly, the author should note this on the main page.