Bug #16640 [Com]: [PHP Error] pcntl_signal(): Error assigning signal [l:1110]
| From: | leening@dmmw.nl | Date: | Thu, 24 Sep 2009 13:34:29 +0000 |
| Subject: | Bug #16640 [Com]: [PHP Error] pcntl_signal(): Error assigning signal [l:1110] | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-1722@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=16640&edit=1
ID: 16640
Comment by: leening@dmmw.nl
Reported By: leening at dmmw dot nl
Summary: [PHP Error] pcntl_signal(): Error assigning signal
[l:1110]
Status: Open
Type: Bug
Package: System_Daemon
Operating System: Linux Ubuntu 9.04
Package Version: CVS
PHP Version: 5.2.5
Roadmap Versions:
New Comment:
Tried the following approach, and the error has gone away. This might
not be the best solution, but gives insight into whe it will work:
# line 1110
if ($signal > 0 && $signal != 9 && $signal != 19) {
# code
}
Maybe remove the signals from the list of predefined signals?
Previous Comments:
------------------------------------------------------------------------
[2009-09-24 14:21:52] leening
Description:
------------
I've replace Daemon.php with the version from git but get the following
error:
[Sep 24 14:06:10] notice: starting test daemon, output in:
/var/tmp/oooqd.log
[Sep 24 14:06:10] warning: [PHP Error] pcntl_signal(): Error assigning
signal [l:1110]
[Sep 24 14:06:10] emerg: test daemon was unable to reroute signal
handler 0 [l:1113]
Test script:
---------------
Standard test script as per example, with added
System_Daemon::setSigHandler calls, but even without them i get this
error.
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=16640&edit=1