sysvsem module: release_sysvsem_sem and lockup(semaphore leak)
| From: | Yasuo Ohgaki | Date: | Mon, 27 Jun 2005 06:50:13 +0000 |
| Subject: | sysvsem module: release_sysvsem_sem and lockup(semaphore leak) | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-16918@lists.php.net to get a copy of this message | ||
Since release_sysvsem_sem has error message while releasing acquired
semaphores (both PHP_4_4 and PHP_5_1), it may end up with semaphore
leak when error handler is used.
The error message is useful for debugging, so the error message
output should be configurable with ini setting. Although this workaround
is not perfect solution, but it works in most cases. If there isn't a better
idea, I'll add new ini directive to the module.
--
Yasuo Ohgaki