-
Notifications
You must be signed in to change notification settings - Fork 167
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
hp_get_function_stack crash #17
Comments
@wjiacn 能否提供重现的demo 或者 更加详细的gdb信息,部分执行函数显示成问号,无法定位 |
具体重现demo 不是很方便定位, 我试试 coredump 能不能发上来, |
出现问号是因为,产生这个coredump的,跟你gdb的不一样,如果你的coredump是php-fpm产生的,gdb的时候,需要指定该php-fpm |
@longxinH 我的 php-fpm 是线上版的, symbol太少 , 只有xhprof.so是我编译有symbol信息多, 另外这个coredump 是我gdb attache 上去, 在异常时gcore 导出的, 不存在不匹配的问题, |
prev_result, curr_result 有可能是野指针,因为 #2 #3 #4 |
能提供一下 你的php版本信息和xhprof版本信息吗? 在上面gdb显示的行号,跟master上的不一样 |
PHP 7.2.11 (cli) (built: Oct 10 2018 10:17:37) ( NTS ) |
xhprof版本能提供一下吗 |
@longxinH |
或者你加一下我的QQ 188248813 |
Hello, from my side, i have tried to compile the master branch on Debian Stretch with php -v : And i have the same issue and same stack trace |
@GaetanF I am still locating the problem, the problem is occasional, or do you have an example that can be reproduced? |
I'm try to launch the console command line utility of symfony 4 with xhprof enabled |
@GaetanF Is there a recurring example? |
I'm just launch the console command without any arguments to list symfony command. |
The problem has been targeted and will be fixed in the near future. Thanks for your support. |
@GaetanF You can try the latest code of the master branch. |
0x00000000005e8b74 in ?? ()
#1 0x00000000005b0f57 in ?? ()
#2 0x000000000061056c in zend_vspprintf ()
#3 0x00000000006106b3 in zend_spprintf ()
#4 0x00007f8d4c0a4047 in hp_get_function_stack (entry=entry@entry=0x1e0e340, level=level@entry=2) at /root/xhprof_mysql/extension/xhprof.c:582
#5 0x00007f8d4c0a4195 in hp_mode_hier_endfn_cb (entries=) at /root/xhprof_mysql/extension/xhprof.c:1024
#6 0x00007f8d4c0a5503 in hp_execute_internal (execute_data=0x7f8d5241c500, return_value=0x7f8d5241c4d0) at /root/xhprof_mysql/extension/xhprof.c:1149
#7 0x000000000068a11b in ?? ()
#8 0x0000000000656838 in execute_ex ()
#9 0x00007f8d4c0a535e in hp_execute_ex (execute_data=0x7f8d5241c450) at /root/xhprof_mysql/extension/xhprof.c:1107
#10 0x0000000000601110 in zend_call_function ()
#11 0x000000000062f733 in zend_call_method ()
#12 0x000000000064beaa in ?? ()
#13 0x00000000006771f6 in ?? ()
#14 0x0000000000656838 in execute_ex ()
#15 0x00007f8d4c0a535e in hp_execute_ex (execute_data=0x7f8d5241c370) at /root/xhprof_mysql/extension/xhprof.c:1107
#16 0x000000000068a4b1 in ?? ()
#17 0x0000000000656838 in execute_ex ()
#18 0x00007f8d4c0a535e in hp_execute_ex (execute_data=0x7f8d5241c2e0) at /root/xhprof_mysql/extension/xhprof.c:1107
#19 0x000000000068a4b1 in ?? ()
#20 0x0000000000656838 in execute_ex ()
#21 0x00007f8d4c0a535e in hp_execute_ex (execute_data=0x7f8d5241c1d0) at /root/xhprof_mysql/extension/xhprof.c:1107
#22 0x000000000068a4b1 in ?? ()
#23 0x0000000000656838 in execute_ex ()
#24 0x00007f8d4c0a535e in hp_execute_ex (execute_data=0x7f8d5241c150) at /root/xhprof_mysql/extension/xhprof.c:1107
#25 0x000000000068a4b1 in ?? ()
#26 0x0000000000656838 in execute_ex ()
#27 0x00007f8d4c0a535e in hp_execute_ex (execute_data=0x7f8d5241c0c0) at /root/xhprof_mysql/extension/xhprof.c:1107
#28 0x000000000068a4b1 in ?? ()
#29 0x0000000000656838 in execute_ex ()
#30 0x00007f8d4c0a535e in hp_execute_ex (execute_data=0x7f8d5241c030) at /root/xhprof_mysql/extension/xhprof.c:1107
#31 0x0000000000601110 in zend_call_function ()
#32 0x0000000000601d67 in _call_user_function_ex ()
#33 0x000000000060ec15 in zend_try_exception_handler ()
#34 0x000000000060ed7f in zend_execute_scripts ()
#35 0x00000000005ac3f8 in php_execute_script ()
#36 0x00000000006c945e in ?? ()
#37 0x000000352561ed20 in __libc_start_main () from /lib64/libc.so.6
#38 0x000000000042b815 in _start ()
The text was updated successfully, but these errors were encountered: