php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #49554 PHP causes application error - memory could not be read
Submitted: 2009-09-14 11:10 UTC Modified: 2009-10-08 01:00 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: adsl at talk21 dot com Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 5.3.0 OS: Windows XP
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: adsl at talk21 dot com
New email:
PHP Version: OS:

 

 [2009-09-14 11:10 UTC] adsl at talk21 dot com
Description:
------------
This bug is reproducable and does not occur under PHP 5.2.10. Something within the code causes:

"php-cgi.exe - Application Error
The instruction at 0x013a216d referenced memory at 0x00000000. The memory could not be read."

Reproduce code:
---------------
http://pastebin.ca/1565328

Expected result:
----------------
The page to be displayed.

Actual result:
--------------
A Win32 dialog with:
"php-cgi.exe - Application Error
The instruction at 0x013a216d referenced memory at 0x00000000. The memory could not be read."

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-09-14 11:11 UTC] pajoye@php.net
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 the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.


 [2009-09-14 11:12 UTC] pajoye@php.net
Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2009-09-14 11:27 UTC] adsl at talk21 dot com
The issue is still present at snapshot 5.3.2-dev, in both VC9 and VC6 thread safe versions. However, the issue does not present itself in 5.2.10.

I'm afraid I am unable to provide a smaller snippet of code than that given, as I don't know exactly where the error is within the code that causes the Application Error.
 [2009-09-14 11:59 UTC] pajoye@php.net
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 the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.


 [2009-09-22 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2009-09-30 11:57 UTC] pajoye@php.net
Little tip:
- remove all html
- try to remove part of the script to see if it still crashes
- post again the smallest script you can produce

It could be due to MySql but then you would only need mysql functions in your script.
 [2009-10-08 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 20 00:00:02 2025 UTC