Re: sysvsem module: release_sysvsem_sem and lockup(semaphore leak)
| From: | Derick Rethans | Date: | Mon, 27 Jun 2005 07:11:49 +0000 |
| Subject: | Re: sysvsem module: release_sysvsem_sem and lockup(semaphore leak) | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-16921@lists.php.net to get a copy of this message | ||
On Mon, 27 Jun 2005, Yasuo Ohgaki wrote:
> 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.
We should not add more ini settings, we've enough of them already.
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org