Bug #16888 Updated: domXML causes Segfault, when you create to many Nodes
| From: | jtate@php.net | Date: | Wed, 15 May 2002 21:50:14 +0000 |
| Subject: | Bug #16888 Updated: domXML causes Segfault, when you create to many Nodes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-7795@lists.php.net to get a copy of this message | ||
ID: 16888
Updated by: jtate@php.net
Reported By: cb@designassembly.de
Status: Feedback
Bug Type: DOM XML related
Operating System: Windows XP
PHP Version: 4.2.0
New Comment:
FWIW, the sample script works ok using the latest HEAD under IIS in
debug mode...well, works is an approximation. It doesn't crash until
the Zend tries to clean up memory, and then crashes in _zval_ptr_dtor.
Not feeling like a Zend guru today, I don't feel like attacking it.
I'll try Apache though to see if I can narrow this bug down.
Previous Comments:
------------------------------------------------------------------------
[2002-05-15 16:15:27] cb@designassembly.de
I tried the newest xml-lib build from
http://www.fh-frankfurt.de/~igor/projects/libxml/
(Version 2.4.21) and
apache still crashes.
I also can confirm the barrier with 128 elements.
------------------------------------------------------------------------
[2002-05-15 12:28:24] flying@dom.natm.ru
One more interesting remark - DOM XML module crashes if more then 128
elements are created. Less then 128 elements are created without
problems. Maybe it will help you somehow?
------------------------------------------------------------------------
[2002-05-15 12:23:10] flying@dom.natm.ru
Confirmed under windows 2000 server running as CGI with following
combinations:
PHP 4.1.1 + libxml2 2.4.21 - works well
PHP 4.2.0 + libxml2 2.4.21 - crash
PHP 4.2.1 + libxml2 2.4.9 - crash
Unfortunatelly latest PHP version - 4.2.1 have been build with libxml2
compiled as static library, so i can't test it with latest libxml2.
So it is not a problem of libxml2, but something into DOM XML module
itself.
PHP crashes into final stage, when script execution itself is
completed (and even function, registered as shutdown function have been
executed).
------------------------------------------------------------------------
[2002-05-15 08:57:08] chregu@php.net
I would blame libxml2 :) Do you have the latest libxml2 dll? (available
anywhere from http://www.xmlsoft.org). Can you check with that?
chregu
------------------------------------------------------------------------
[2002-05-14 17:03:16] cb@designassembly.de
Same error still occurs with PHP 4.2.1 Version
------------------------------------------------------------------------
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/16888
--
Edit this bug report at http://bugs.php.net/?id=16888&edit=1