On 11/07/2011 09:23 PM, Stas Malyshev wrote:
> Hi!
> 
> I've noticed that if I run PHP 5.4 under Valgrind on my Mac, I get this:
> 
> Fatal error: Error installing signal handler for 31 in Unknown on line 0
> Could not startup.
> 
> Indeed, valgrind says:
> ==47112== Warning: ignored attempt to set SIGUSR2 handler in sigaction();
> ==47112==          the SIGUSR2 signal is used internally by Valgrind
> 
> So it looks like it won't allow PHP to override signal handlers. The
> questions here are - does anybody sees same problem (on Mac or other
> systems) and should PHP really fail in this scenario? Not having the
> possibility to run PHP under valgrind kind of sucks.

That seems like a problem unique to OSX then. I've been using Valgrind
on 5.4 CLI for months without any issues on Linux and I just tested it
again now on the current code and I don't see that problem. Or perhaps
it is unique to your version of Valgrind? Mine is valgrind-3.6.1-Debian

-Rasmus

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to