ID:               31447
 User updated by:  phpbug at ebt dot cjb dot net
 Reported By:      phpbug at ebt dot cjb dot net
-Status:           Feedback
+Status:           Open
 Bug Type:         DOM XML related
 Operating System: Red Hat Linux 7.3
 PHP Version:      4CVS-2004-01-09
 New Comment:

That version results in the same error. Is there a way for me to check
for _private corruption?

The RH7.3 RPM version of libxml2 is installed, which is 2.4.19, but I
also have version 2.6.16 installed from its source, with no configure
flags. (These are in different places). However, PHP is using 2.6.16
according to php_info();

I'd be happy to use the RPM but there is not one maintained for RH7.3


Previous Comments:
------------------------------------------------------------------------

[2005-01-09 12:28:39] [EMAIL PROTECTED]

I cant reproduce this either. Your backtrace shows that the correct
vals are being passed setting up the libxml parser, so cant explain why
this is happening unless libxml is somehow corrupting the parser context
_private. Can you try running:
$dom = domxml_open_file("test.xml", 0 , $err);
var_dump($err);
and see if it also segfaults.

Are you using libxml rpms from xmlsoft.org or did you compile your own
libxml (if self compiled what flags did you configure it with?)

------------------------------------------------------------------------

[2005-01-08 17:27:14] phpbug at ebt dot cjb dot net

My libxml2 is version 2.6.16

I have also realized that the problem is not just entities, it's with
any XML error at all. If I incorrectly leave a tag open or a quote or
anything that makes DOMXML display an error, PHP segfaults and the
backtrace shows the error that should have been displayed.

------------------------------------------------------------------------

[2005-01-08 12:58:00] [EMAIL PROTECTED]

I can not reproduce this. What libxml2 version do you have
installed..?


------------------------------------------------------------------------

[2005-01-07 23:48:08] phpbug at ebt dot cjb dot net

Same result with the latest snapshot.

------------------------------------------------------------------------

[2005-01-07 23:31:58] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

------------------------------------------------------------------------

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/31447

-- 
Edit this bug report at http://bugs.php.net/?id=31447&edit=1

Reply via email to