|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32266 Apache with PHP as module crashes
Submitted: 2005-03-10 17:49 UTC Modified: 2005-03-18 01:00 UTC
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:2 (100.0%)
From: ew at telecom dot by Assigned:
Status: No Feedback Package: XML related
PHP Version: Irrelevant OS: windows
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2005-03-10 17:49 UTC] ew at telecom dot by
Apache CRASHES (PHP is used as Apache module) when trying to parse simple XML document (few xml tags, generally, it does not depends on XML document size or/and structure) using xml_parser_create() / xml_parse() functions.

This bug is not stable - on some machines it happens, on others - not. Main condition for bug to happen is to use handlers xml_set_element_handler().

Sometimes it's possible to avoid the bug by placing some operators or lines of code like: $a = 'gfdhfghdfgh';
in start_element_handler.

I was trying to play PHP settings, to disconnect different extensions and/or Zend Optimizer and so on. This gave no effect.

Both PHP 4.3.x and 5.0.0.x are bug-liable.

Reproduce code:
It's impossible to make reproduction code because of bug appearance instability.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-10 18:20 UTC]
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

There is no "Irrelevant" version. Please try it with latest snapshots and update version field with correct values.
And provide more info about the problem.
Just claiming that something is wrong doesn't help much as we are not able to reproduce and to distingiush the problem. 

 [2005-03-18 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: Tue Jul 16 04:01:28 2024 UTC