Closed hitsmaxft closed 10 years ago
I can not reproduce this bug. Your "bugfix" is not real bug fix, because event base should not be created there, since Master is going to fork processes and libevent is unstable in this situation. Master works fine without libevent.
Unexcepted shutdown.
It means that register_shutdown_function triggered in Master without normal exit. Usually it happens when Fatal error occurs in Master. Please turn on php error logs and investigate why it happens to your master process.
Since adding that eventBase line to the master makes it working, I think the problem is the signal handling without libevent, try to look there. Also, if you could give me shell access to machine where I can reproduce this bug I would be happy to investigate it myself. My public key: http://root.loopback.su/authorized_keys
I found it was caused by pcntl extension of php builded by homebrew, on mac. I'm on process of rebuild php. Thank you for your review and your patience.
With your changes of composer, packagist says it became wrong. "It is recommended that you use composer validate
to check for errors when you
change your composer.json."
phpinfo https://gist.github.com/hitsmaxft/9566158
repruduction steps
bugfix 1ab80b94d2334e80bc76334372c81af30be3d0c3