- changed status to resolved
php-fpm core dump in freebsd
Issue #2
resolved
Hi Osmanov, when I completed installation pecl-ev, It couse php-fpm core dump.
then I use gdb to trace, I found problem in
#if !defined(_WIN32) && !defined(_MINIX) pthread_atfork(0, 0, php_ev_default_fork); #endif
=============below is my fix, It works.================ / {{{ php_ev_default_fork / static void php_ev_default_fork(void) { #if !defined( FreeBSD ) ev_loop_fork(EV_DEFAULT_UC); #endif #if defined( FreeBSD ) ev_loop_fork(EV_DEFAULT); #endif } / }}} /
would my fix will cause another problems ? If my fix is ok, I will send this pr to ports.
Thanks
Comments (2)
-
reporter -
repo owner - removed version
Removing version: 0.2.0 (automated comment)
- Log in to comment
wrong post.