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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: rick dot martinez at gmail dot com
New email:
PHP Version: OS:

 

 [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: Thu Mar 28 14:01:29 2024 UTC