ID:               25570
 Comment by:       jonathan at schwarzelan dot de
 Reported By:      robert at profundis dot se
 Status:           Open
 Bug Type:         Apache2 related
 Operating System: Windows XP Professional SP1
 PHP Version:      4.3.8
 New Comment:

Some extra Information on the Bug
(sorry no traces-)

Not only outputting stuff leads to this error - 
Just having a loop of 140 doing querys on mysql
and without saving data from those querys filling an array
like $arr[$i][0]="" crashes Apache with said logfile occurence - 

Found with Win2k, Php 5.1.0-dev and 2.0.50 Apache
and XPSP1, Php 5.0.2 release and 2.0.50 Apache


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

[2004-10-14 20:34:48] robert at profundis dot se

> Can you get a backtrace of the crash?

Eek, not easily. This is Windows :(  Not saying one can't make a
backtrace on Windows, but I'm not sure how to go about doing it.

Last time around I had a test machine to tinker with, not so this
time.

My guess is that it is a thread issue, since it occurs when two
requests (threads) are inside the handler, and one of them is aborted
(according to my investigations last time). I'm not too familiar with
the code, but maybe some overlooked global related to aborted
connections?

I can also add that I can't say for sure it ever was fixed. I don't
remember if the version I've been running was the one I modified myself
or a cvs snapshot.

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

[2004-10-14 18:38:13] [EMAIL PROTECTED]

Can you get a backtrace of the crash?

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

[2004-10-14 17:20:44] robert at profundis dot se

The only change in the code that seems to be related at a first glance
is in rev 1.1.2.32:
http://cvs.php.net/diff.php/php-src/sapi/apache2handler/sapi_apache2.c?r1=1.1.2.31&r2=1.1.2.32&ty=u

The original problem seems to be triggered when calling
php_handle_aborted_connection() on some occasions. The above revision
change the condition when this function is called.

I have not tested the versions inbetween 4.3.4-dev and 4.3.8, so I
cannot confirm that this particular revision is the "cause".

(I also changed this bug's version number)

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

[2004-10-14 17:09:09] robert at profundis dot se

I change this to Open again.

As Christopher said, this bug seems to have resurfaced. I checked back
in my error log, and I see this same error started happening again the
3rd of september. Checking my notes, I upgraded this server to PHP
4.3.8 a few days earlier. The previous version was 4.3.4-dev (I had
been lazy).

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

[2004-10-14 16:52:55] christopher_theunissen at hotmail dot com

This bug is definitely not fixed or has resurfaced, as I have the same
problem in Windows 2000 with Apache 2.0.52 (51, 40, 49, 48) and the
following PHP versions:
  5.0.2
  5.0.1
  4.3.9
  4.3.8
  4.3.4
  4.3.3

The server restarts with status 4294967295 every few hours.

It has been running fine for 24 hours so far with PHP 4.3.2.

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/25570

-- 
Edit this bug report at http://bugs.php.net/?id=25570&edit=1

Reply via email to