|  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
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:
Solve the problem:
20 + 32 = ?
Subscribe to this entry?

 [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-2023 The PHP Group
All rights reserved.
Last updated: Fri Dec 08 03:01:28 2023 UTC