Bug #16640 [Opn->Csd]: [PHP Error] pcntl_signal(): Error assigning signal [l:1110]
| From: | kevin at vanzonneveld dot net | Date: | Fri, 25 Sep 2009 12:08:54 +0000 |
| Subject: | Bug #16640 [Opn->Csd]: [PHP Error] pcntl_signal(): Error assigning signal [l:1110] | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-1729@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
Updated by: kevin@vanzonneveld.net
Reported By: leening at dmmw dot nl
Summary: [PHP Error] pcntl_signal(): Error assigning signal
[l:1110]
-Status: Open
+Status: Closed
Type: Bug
Package: System_Daemon
Operating System: Linux Ubuntu 9.04
Package Version: CVS
PHP Version: 5.2.5
-Assigned To:
+Assigned To: kvz
Roadmap Versions:
New Comment:
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: kvz
This bug has been fixed in SVN.
If this was a documentation problem, the fix will appear on
pear.php.net by the end of next Sunday (CET).
If this was a problem with the pear.php.net website, the change should
be live shortly.
Otherwise, the fix will appear in the package's next release.
Thank you for the report and for helping us make PEAR better.
Thanks for looking into this Michiel!
http://github.com/kvz/system_daemon/commit/7941e3dc6300c1d852f6966931a9b0a6a706228c
Previous Comments:
------------------------------------------------------------------------
[2009-09-24 14:34:28] leening
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?
------------------------------------------------------------------------
[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