ID:               33958
 User updated by:  andrey at cherezov dot koenig dot su
 Reported By:      andrey at cherezov dot koenig dot su
-Status:           Feedback
+Status:           Open
-Bug Type:         IIS related
+Bug Type:         Reproducible crash
 Operating System: Windows 2003
 PHP Version:      5CVS-2005-08-02 (dev)
 New Comment:

The way to reproduce:

GET /php.php5 HTTP/1.0
Host: localhost
Cookie: phpbb2mysql_data=a%3A0%3A%7B%7D;
phpbb2mysql_data=a%3A0%3A%7B%7D
Connection: close

Posted this request (via telnet) to my local web-server and got the
same error! (the script php.php5 just "echo 'test'"). PHP has
encountered an Access Violation at 00F2813A

If I delete second variable copy, i.e.:
GET /php.php5 HTTP/1.0
Host: localhost
Cookie: phpbb2mysql_data=a%3A0%3A%7B%7D
Connection: close
- the script works ok.


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

[2005-08-02 08:32:33] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.



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

[2005-08-02 08:22:16] andrey at cherezov dot koenig dot su

Dear Sniper! If you've already have this COOKIE problem in the  bugs
database - please let me know, I've not found it :(
Now I'm sure, it is reproducible crash - it _always_ happens when there
is _two variables with the same name_ in the HTTP_COOKIE. All latest
"500 error" have such doubled vars.
Users from these IPs (below) can't work at all - any request to any PHP
script on the site failes with 500. Others work w/o any problems.

2005-08-01 22:31:42;195.46.121.102
"phpbb2mysql_data=a%3A0%3A%7B%7D; phpbb2mysql_data=a%3A0%3A%7B%7D;
phpbb2mysql_sid=47f1a774212623ea22c95933b707d9d0"

2005-08-01 23:50:44;213.148.164.89
"phpbb2mysql_data=a%3A0%3A%7B%7D; phpbb2mysql_data=a%3A0%3A%7B%7D"

2005-08-02 00:19:00;80.92.194.174
"phpbb2mysql_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A32%3A%22cc17e49473154b6dc50e5493e79d5283%22%3Bs%3A6%3A%22userid%22%3Bi%3A1411%3B%7D;
phpbb2mysql_data=a%3A0%3A%7B%7D"

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

[2005-08-02 03:58:49] andrey at cherezov dot koenig dot su

Description:
------------
Just downloaded and installed 5.1 snap (2 Aug) and replaced PHP5.1b3 in
my server (ISAPI mode). Now I see in log, some users got "error 500"
while accessing /forum/ and /forum/viewtopic.php (PhpBB current
version). Turn on trace and get error pages:

Mon, 01 Aug 2005 20:48:52 -0500 www.mdaemon.ru/forum/
HTTP/1.0 500 Internal Server Error
Content-Type: text/html

PHP has encountered an Access Violation at 00F9813A


Mon, 01 Aug 2005 20:48:54 -0500 www.mdaemon.ru/forum/
HTTP/1.0 500 Internal Server Error
Content-Type: text/html

PHP has encountered an Access Violation at 00F9813A

After server restart - address changed:

PHP has encountered an Access Violation at 0109813A

Reproduce code:
---------------
I can't reproduce it myself (same pages loaded ok), but there are lot
of such dumps in my log. I can install and try any test version there.

Expected result:
----------------
Page load.

Actual result:
--------------
PHP has encountered an Access Violation at 0109813A


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


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

Reply via email to