[xdebug-general] Re: need help with crashes

From: Derick Rethans <derick[@]xdebug.org>
Date: Fri, 20 Aug 2004 07:46:02 +0200 (CEST)

On Thu, 19 Aug 2004 felix[@]zaslavskiy.net wrote:

> I am using xdebug1.3.2 with modphp 4.3.8 and apache1.3.9
> When i set xdebug.collect_params = On I get strange segfaults. I
> recompiled php with --enable-debug and no longer can reproduce the crash.
> Could this be because of memory usage? How do i debug this mess if i cant
> reproduce the crash with debug enabled ?

Try to compile without --enable-debug and use the valgrind tool, like
this:

valgrind /path/to/apachecesource/src/httpd -X
(causes valgrind to start apache in single process mode)

Then request the script that crashes. Valgrind should spit out some
information about wrong memory usage. If you can get that information to
me, and perhaps with the accompaying script (shorter == better) I'm
pretty sure I can fix the problem.

regards,
Derick

-- 
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
Received on Fri Aug 20 2004 - 07:46:07 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:03 BST