Re: PHP CLI + Valgrind = FAIL
| From: | Rasmus Lerdorf | Date: | Tue, 08 Nov 2011 10:30:12 +0000 |
| Subject: | Re: PHP CLI + Valgrind = FAIL | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-56156@lists.php.net to get a copy of this message | ||
On 11/08/2011 01:39 AM, Florian Anderiasch wrote:
> So it looks like only FPM uses it for more than the default behaviour of
> "terminate", from a quick glance.
Well, it is part of the new 5.4 signal handling code that defers these
signals, including SIGUSR2, when inside a critical section. In order to
determine where it is used you have to look at the environment PHP is
running in. You can't figure this out just by looking at the PHP code.
Not deferring SIGUSR2 just because valgrind on OSX doesn't like it isn't
really an option here. We could make debug builds on OSX not defer it, I
suppose.
-Rasmus