php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27185 persistent resource destruction crashes
Submitted: 2004-02-08 17:59 UTC Modified: 2004-03-15 08:24 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: andrey at cherezov dot koenig dot su Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4CVS, 5CVS (2004-02-26) OS: * (ZTS only!)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: andrey at cherezov dot koenig dot su
New email:
PHP Version: OS:

 

 [2004-02-08 17:59 UTC] andrey at cherezov dot koenig dot su
Description:
------------
After installing PHP 4.3.5rc2 instead of 'old' stable 4.3.4 on my Win2003 Server Application Event Log started to fill with this report lines:
=====
Event Type:	Error
Event Source:	Application Error
Event Category:	(100)
Event ID:	1000
Date:		08.02.2004
Time:		10:20:29
User:		N/A
Description:
Faulting application php.exe, version 4.3.5.5, faulting module ntdll.dll, version 5.2.3790.0, fault address 0x00007300.For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
Application Failure  php.exe 4.3.5.5 in ntdll.dll 5.2.3790.0 at offset 00007300 
=====
About 1700 such events in past 6 hours.
On my acWEB web-server PHP works in CGI mode.

Now I've rolled back 4.3.4, and no more errors added to Event log.

Reproduce code:
---------------
Web-query to ANY php page on my site.

Expected result:
----------------
Expected no errors in Event log.

Actual result:
--------------
The script itself works w/o problems - result pages displayed OK. Seems this fault happens when PHP.EXE finished its work.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-02-21 05:17 UTC] andrey at cherezov dot koenig dot su
!!! Try this script:

---- test.php ----
<?
mysql_pconnect( "localhost", "root", "" );
?>
------------------

Run
php.exe test.php

It writes its output
H:\php\php-4.3.5>php.exe test.php
Content-type: text/html
X-Powered-By: PHP/4.3.5RC4-dev

and then application failure window appears with bug info about php.exe+ntdll.dll
 [2004-02-26 01:34 UTC] sniper@php.net
This causes the exactly same crash:

<?php
pfsockopen("www.php.net", 80, $errno, $errstr, 30);
?>

 [2004-02-26 02:28 UTC] sniper@php.net
This isn't windows specific but ZTS issue.

 [2004-02-26 15:29 UTC] sniper@php.net
See also bug #24390 (these two are propably same issue)

 [2004-03-15 07:34 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

This might be fixed now..

 [2004-03-15 08:24 UTC] sniper@php.net
Ilia said this is fixed. :)

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 17:01:30 2025 UTC