php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33541 XML Parser causes Apache crash
Submitted: 2005-07-01 23:03 UTC Modified: 2005-07-10 01:00 UTC
From: rick dot martinez at gmail dot com Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 5CVS-2005-07-01 (dev) OS: Windows XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
47 - 25 = ?
Subscribe to this entry?

 
 [2005-07-01 23:03 UTC] rick dot martinez at gmail dot com
Description:
------------
Script works perfectly on apache 2.0.53 and apache 2.0.52 with php 5.0.2
It crashes apache with error in module php5ts.dll on both machines if I
use php 5.0.3 or later, including latest CVS snapshot


Windows Error:

szAppName : Apache.exe     szAppVer : 2.0.54.0     szModName : php5ts.dll     
szModVer : 5.0.4.4     offset : 00007798     

Files created by Windows related to the error are available here:

http://www.digxworld.com/files/phpXmlErrors/Apache.exe.mdmp
http://www.digxworld.com/files/phpXmlErrors/appcompat.txt

Reproduce code:
---------------
The XML used by the script can be found here:
http://www.skynetlabs.org/torrents/azureus_stats.xml

the script running as it should (PHP 5.0.2):
http://www.skynetlabs.org/torrents/crashserver.php

download of the script:
http://www.skynetlabs.org/torrents/crashserver.txt

Expected result:
----------------
Table with data

Actual result:
--------------
Server crash

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-07-01 23:15 UTC] tony2001@php.net
We would really appreciate if you manage to reduce your reproduce code to ~20 lines. This would really help in understanding what your script does and why it fails.
 [2005-07-01 23:58 UTC] rick dot martinez at gmail dot com
Latest CVS seems to have fix. Please ignore this bug.
 [2005-07-02 10:22 UTC] rick dot martinez at gmail dot com
Latest CVS does in fact have the same problem. It happens randomly, however. Very strange. Will try to find the exact error producing code now.
 [2005-07-10 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-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 06:01:29 2024 UTC