ID: 11676
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: Scripting Engine problem
Operating system: 
PHP Version: 4.0 Latest CVS (2001-06-25)
Assigned To: 
Comments:

You don't need to set the CFLAGS yourself, the -O9 is known to cause problems.
Please try to compile without setting ANY CFLAGS yourself.

Derick

Previous Comments:
---------------------------------------------------------------------------

[2001-06-27 14:30:05] [EMAIL PROTECTED]
Here it is:
CFLAGS="-O9 -funroll-loops -ffast-math -malign-double -mcpu=pentiumpro 
-march=pentiumpro -fomit-frame-pointer -fno-exceptions" 
./configure 
--with-apache=../apache_1.3.20 
--with-mysql 
--disable-debug 
--with-gnu-ld 
--enable-memory-limit 
--enable-inline-optimization

I don't remember exactly, but i think i had tried removing ALL gcc optimization 
options, with the same results...
During another crash (pre-crash actually :) i managed to backtrace a httpd which had 
this stack:

#0  0x4012c238 in chunk_free ()
#1  0x4012bfaa in __cfree ()
#2  0x80fb8f2 in _efree ()

The other httpd i backtraced had all the stack like this:

#0  0x4012c23e in chunk_free ()
#1  0x4012bfaa in __cfree ()
#2  0x80fbcbf in shutdown_memory_manager ()

Hope this helps...

---------------------------------------------------------------------------

[2001-06-27 11:57:34] [EMAIL PROTECTED]
what was the configure line used to configure PHP ?


---------------------------------------------------------------------------

[2001-06-26 14:32:38] [EMAIL PROTECTED]
Ignore the last comment, wrong bug report :)

---------------------------------------------------------------------------

[2001-06-26 14:31:52] [EMAIL PROTECTED]
Output buffering indeed cannot be used inside output handler functions.  However, the 
code that handled that error situation contained a bug that caused PHP to enter an 
infinite loop.  This bug is now fixed (although the limitation of not being able to 
use output buffering inside output handlers still applies)

---------------------------------------------------------------------------

[2001-06-26 07:32:26] [EMAIL PROTECTED]
Well, the problem is that we have many virtual hosts on that server, each using it's 
own log file...
I can confirm that the gdb trace for ALL the many dead process, which are in running 
state, gives the three lines:
#0  0x4012c23e in chunk_free ()
#1  0x4012bfaa in __cfree ()
#2  0x80fbcbf in shutdown_memory_manager ()
(it happened this morning too)

Is there some way to know which script was executing just before the child died, 
please tell me! 

---------------------------------------------------------------------------

The remainder of the comments for this report are too long.  To view the rest of the 
comments, please view the bug report online.


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11676&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to