Skip to content
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

error in ngx_http_php_zend_uthread_log_inline_routine #128

Open
xigaoli opened this issue Apr 12, 2021 · 0 comments
Open

error in ngx_http_php_zend_uthread_log_inline_routine #128

xigaoli opened this issue Apr 12, 2021 · 0 comments

Comments

@xigaoli
Copy link

xigaoli commented Apr 12, 2021

When I use the log_by_php directive, the ngx_http_php_zend_uthread_log_inline_routine is called 3 time for each web request, and one of them triggers segfault.
The PHP code are executed once though.

The block-version function (log_by_php_block) is not working but not quite sure about the reason. My guess is that at line 200 of /src/ngx_http_php_directive.c, there's a plcf->log_code = code; it could be plcf->log_inline_code = code.

My PHP version is 7.2, nginx version is 1.12.2.
Let me know if there's a solution to this.
Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant