#24661 [Opn->Bgs]: xmlCleanupParser called multiple times and causes crash
| From: | rrichards@php.net | Date: | Wed, 16 Jul 2003 11:24:25 +0000 |
| Subject: | #24661 [Opn->Bgs]: xmlCleanupParser called multiple times and causes crash | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-44119@lists.php.net to get a copy of this message | ||
ID: 24661
Updated by: rrichards@php.net
Reported By: wez@php.net
-Status: Open
+Status: Bogus
Bug Type: *XML functions
Operating System: win32
PHP Version: 5CVS-2003-07-15 (dev)
New Comment:
The problem is with libxml in the 2.5.7 and 2.5.8 releases. I submitted
a fix, so it is fixed in the their cvs tree. PHP needs to be built with
either a pre 2.5.7 version or a build from the latest cvs.
Note: libxml 2.5.7 built directly from the tar.gz file does not have
the problem as the windows binary of libxml is built from cvs after
some testing of the libxml release so contains updated code.
Previous Comments:
------------------------------------------------------------------------
[2003-07-15 14:23:41] wez@php.net
libxml2-2.5.7.win32, downloaded from xmlsoft site with dlls installed
into C:\WINDOWS\SYSTEM32 under winxp pro.
Curiously, it only appears to be a visible problem when running under
the debugger (cli SAPI).
------------------------------------------------------------------------
[2003-07-15 13:51:48] rrichards@php.net
You wouldn't happen to be using libxml2-2.5.8 would you?
------------------------------------------------------------------------
[2003-07-15 13:48:37] cw at centerwave dot de
Could be the reason for #24634?
------------------------------------------------------------------------
[2003-07-15 05:16:37] wez@php.net
Description:
------------
dom, simplexml etc. all call xmlCleanupParser in their MSHUTDOWN
functions and cause a crash.
Reproduce code:
---------------
Just run any simple script under the debugger to catch the exception -
it doesn't even need to use xml related functions.
Expected result:
----------------
No crash ;)
Actual result:
--------------
Death
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24661&edit=1