-
Notifications
You must be signed in to change notification settings - Fork 28
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
SIGSEV on NGINX with PHP-FPM 5.4.4 #20
Comments
found this thread, the guy has the same problem : |
I've tried with PHP 5.4.23 and found the same problem... Error message :
Full Back Trace :
|
Found the reason :
|
I plan to work on it soon. |
Glad to see you & happy new year ! I've confused php 5.4 with 5.5 (I'm currently working on 5.4) ... but i've made a commit for handling 5.5 :) I've digg the problem, forp fails only at the beaba framework dispatch so the closest thing I found is : I continue to digg ^^ |
I've located the problem in forp.c line 231 to 238 but I found no way to isolate a php code to reproduce the bug from the cli. If I remove the ProfileCaption annotation only on this part of the code (I continue tu use it anywhere else) or if disable the specified lines of code in forp.c it works. The function : /**
* Raise an event
* @ProfileGroup("event")
* @ProfileCaption("#1")
* @param string $event
* @param array $args
* @return array
*/
protected function _raise($event, array $args = null)
{
$results = array();
$events = $this->events();
if (!empty($events[$event])) {
foreach (
$events[$event] as $listener
) {
if (is_array($listener)) {
$results[] = call_user_func_array($listener,
array($this, $args));
} else {
$results[] = $listener($this, $args);
}
}
}
return $results;
} Fails only when it called Application::dispatch with the following : /**
* Dispatching the specified request
* @ProfileGroup("dispatch")
* @param string $url
* @param array $params
* @throws \Exception
*/
public function dispatch($method = null, $url = null, array $params = null)
{
$this->_raise(
self::E_DISPATCH,
array(
'request' => $url,
'params' => $params
)
); Values are :
|
When I enable forp on nginx with php-fpm 5.4 the fpm-server fail to serve the request :
The text was updated successfully, but these errors were encountered: