- changed version to 0.2.0
-
assigned issue to
php-fpm core dump in freebsd 9.1
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 (6)
-
reporter -
reporter - attached patch-ev.c
new patch.
-
repo owner - changed status to resolved
fixed in 0.2.2
-
repo owner *> would my fix will cause another problems ? If my fix is ok, I will send this pr to ports. It shouldn't. Do you want to package it for FreeBSD?
-
reporter (Reply via john...@gmail.com):
Yes, I have sent pr to FreeBSD. http://www.freebsd.org/cgi/query-pr.cgi?pr=175124
-
repo owner - removed version
Removing version: 0.2.0 (automated comment)
- Log in to comment