Re: cvs: php-src(PHP_5_3) /ext/phar phar.c phar_internal.h phar_object.c tar.c util.c zip.c
| From: | Arnaud Le Blanc | Date: | Wed, 29 Apr 2009 18:41:40 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_3) /ext/phar phar.c phar_internal.h phar_object.c tar.c util.c zip.c | ||
| References: | 1 2 3 4 5 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-57385@lists.php.net to get a copy of this message | ||
Hi,
On Wed, 2009-04-29 at 13:18 -0500, Greg Beaver wrote:
> I can get a backtrace using gdb, but no valgrind for
> the apache crash, although I haven't tried running the server via
> valgrind. Does anyone know if this is even possible to do with a
> forking server?
Yes, you can try with "valgrind apache2 -X". You can also run the
FastCGI sapi under valgrind or gdb and make apache connect to it (so
that you debug only php):
USE_ZEND_ALLOC=0 valgrind php-cgi -b127.0.0.1:1234.
Regards,
Arnaud