Bug #16794 Updated: random (?) Apache crash using domxml
| From: | chregu@php.net | Date: | Thu, 04 Jul 2002 07:05:52 +0000 |
| Subject: | Bug #16794 Updated: random (?) Apache crash using domxml | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-13079@lists.php.net to get a copy of this message | ||
ID: 16794
Updated by: chregu@php.net
Reported By: manuzhai@php.net
-Status: Feedback
+Status: No Feedback
Bug Type: DOM XML related
Operating System: Windows XP
PHP Version: 4.2.0
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2002-06-14 09:16:40] chregu@php.net
Could you please check the latest Stable-snapshots from
http://snaps.php.net
(http://snaps.php.net/win32/php4-win32-STABLE-latest.zip)
and see, if the problem still is there.
chregu
------------------------------------------------------------------------
[2002-04-26 04:17:47] manuzhai@php.net
Two interesting observations.
- The domxml from 4.2.0 WILL work correctly with 4.1.2, but not with
4.2.0.
- After Apache crashes, the output does show up correctly.
I uploaded a new file test.got.php, and it will start var_dumping
correctly, but somewhere while working on getChildren(), it will crash
Apache, and then it will start over, and crash again, infinitely (well,
I let it run for a couple of minutes).
But the script works right until I call getChildren, I checked if the
XML that got through was right, and it was.
------------------------------------------------------------------------
[2002-04-25 13:30:14] jtate@php.net
Another observation from the error log:
The errors that are given makes me believe that it's trying to apply
XML parsing rules to a HTML document. Looks like your got.php should
be modified to make sure that you got a 200 return code rather than
some html error message.
------------------------------------------------------------------------
[2002-04-25 13:26:55] jtate@php.net
You have issues with the XML that you're trying to process. An excerpt
from the error.log file:
-Entity: line 5: error: Premature end of data in tag <br>
-<br>
-<b>Warning</b>: Bad
-
-^
-Entity: line 5: error: Premature end of data in tag <br>
-<b>Warning</b>: file("ht
-
-^
-Entity: line 1: error: Start tag expected, '<' not found
-Last-Modified: Thu, 04 Apr 2002 18:13:49 GMT
Fix the xml errors and you might not get crashes.
I'll admit that php should not crash when fed invalid xml, but more
important is to get it working with valid xml.
If you fix the xml errors and still get the same problem, feel free to
reopen this bug.
------------------------------------------------------------------------
[2002-04-25 12:10:49] manuzhai@php.net
I uninstalled php_domxml yesterday at about this time from PHP
(commented it out from php.ini).
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/16794
--
Edit this bug report at http://bugs.php.net/?id=16794&edit=1