php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29066 DomXsltStylesheet->process() kills the apache
Submitted: 2004-07-08 21:18 UTC Modified: 2004-07-28 01:00 UTC
From: elzeedee at bonbon dot net Assigned:
Status: No Feedback Package: XSLT related
PHP Version: 4.3.7 OS: Windows 2000 Advanced Server
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: elzeedee at bonbon dot net
New email:
PHP Version: OS:

 

 [2004-07-08 21:18 UTC] elzeedee at bonbon dot net
Description:
------------
What did I do:
1) Created a relatively large DOM XML document
2) Created a DomXsltStylesheet from memory. The XSLT document is kinda large (~1020 lines).
3) Used the ->process() method to transform the document
What did I expect:
My document transformed nice. This actually happens around 3 times out of 4.
What is the problem:
Around 1 time out of 4 apache service gives a "memory cannot be read" standart Windows error and dies.
I am totally sure that the fault happens inside the ->process() method, since when it's commented out, no problems happen.
With Sablotron, this problem does not arise.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-09 09:09 UTC] derick@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 possible, make the script source available online and provide
an URL to it here. Try avoid embedding huge scripts into the report.
 [2004-07-28 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: Fri Apr 19 23:01:28 2024 UTC