Re: Re: PHP4.0.7RC1 memory problem

From: Date: Wed, 05 Sep 2001 13:22:49 +0000
Subject: Re: Re: PHP4.0.7RC1 memory problem
References: 1 2  Groups: php.dev php.qa 
Request: Send a blank email to php-dev+get-65152@lists.php.net to get a copy of this message
Wez Furlong wrote:

(gdb) run -X Starting program: /usr/sbin/httpd -X [Tue Sep 4 14:10:25 2001] [warn] Loaded DSO lib/apache/mod_gzip.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI)
Just a stab in the dark, this wouldn't cause the problem, would it? For the sake of eliminating this as a cause, can you try diabling mod_gzip in your apache conf? --Wez.
Thanks. I did. I'll try to create script from scrach. (Thanks Zeev) I configured PHP4.0.7RC1 with minimun configuration so that the script runs as is. ./configure --enable-debug -without-mysql --with-apxs --enable-mbstring --enable-memory-limit --with-pgsql I'm taking a look at how PHP is executing the script using gdb & ddd to find out how to make a simple script to reproduce the problem. I'm getting better idea (I hope), but I couldn't make simpler one yet... Currently, I set break points to zend_execute.c(1629) ZEND_DO_FCALL zend_execute(EG(active_op_array) TSRMLS_CC); zend_execute.c(1671) ZEND_RETURN if ((EG(active_op_array)->return_reference == ZEND_RETURN_REF) && I'm looking at op_array mainly, since PHP keeps executing the same code. If you have suggestion where to set break points or to watch data, I appreciate it. It's pain to run debugger without konwing about source and data structure well. Yasuo Ohgaki _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com

Thread (13 messages)

« previous php.dev (#65152) next »