#27837 [Fbk->Opn]: Access Violation at 0104A7EE - xml_parse
| From: | seang at moosecat dot com dot au | Date: | Wed, 07 Apr 2004 12:30:18 +0000 |
| Subject: | #27837 [Fbk->Opn]: Access Violation at 0104A7EE - xml_parse | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-57680@lists.php.net to get a copy of this message | ||
ID: 27837
User updated by: seang at moosecat dot com dot au
Reported By: seang at moosecat dot com dot au
-Status: Feedback
+Status: Open
Bug Type: XML related
Operating System: XP Pro - IIS 5.1
PHP Version: 5.0.0RC1
New Comment:
Yes when I echo "something" just before xml_parse I get the same Access
Violation 0104A7EE - otherwise I ge page cannot be displayed. Sorry
did not spot that before submiting.
Previous Comments:
------------------------------------------------------------------------
[2004-04-07 08:03:51] sniper@php.net
Could this be same thing as reported in bug #27821 ?
------------------------------------------------------------------------
[2004-04-07 06:54:01] seang at moosecat dot com dot au
Sorry - I tried - but could not reproduce the error in 20 lines of
code. I tried just looping lots of xml_create/parse - no error...
seems there is a lot more to it.
------------------------------------------------------------------------
[2004-04-07 04:35:19] sniper@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-04-04 03:30:57] marc dot daumas at urssaf dot fr
I've got the same problem with XP Pro / apache2: xml_parse do a
segmetation fault when invoke even on very simple xml datas.
The guys at phing encounter also the problem.
The bug is somewhere in the libxml2 lib or in the lib/php interface.
Thank to try to fix it, because php without xml parsing is helpless.
------------------------------------------------------------------------
[2004-04-02 08:59:57] seang at moosecat dot com dot au
Description:
------------
Trying out 5.0.0 + SQLite with phpSQLiteAdmin
(http://www.phpguru.org/phpSQLiteAdmin.html)
The error seems to occur in /pear/XML/Parser.php line 302 which is:
return xml_parse($this->parser, $data, $eof);
I could not reproduce it with a simple script even with the same data -
so I would guess that it only happens with more load on the memory. -
the time when it does happen the resource id of the xml was 21.
Hope it helps....
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27837&edit=1