#24219 [Fbk->Opn]: Segmentation Fault in Function node_list_wrapper_dtor
| From: | wjs at 42virtual dot com | Date: | Wed, 18 Jun 2003 00:12:29 +0000 |
| Subject: | #24219 [Fbk->Opn]: Segmentation Fault in Function node_list_wrapper_dtor | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-42161@lists.php.net to get a copy of this message | ||
ID: 24219
User updated by: wjs at 42virtual dot com
Reported By: wjs at 42virtual dot com
-Status: Feedback
+Status: Open
Bug Type: DOM XML related
Operating System: SUSE 8.2
-PHP Version: 4.3.2
+PHP Version: 4.3.2 patched
New Comment:
The latest fix has been roughly tested and survived about 6000
iterations with our test program.
We will continue testing today CET (daytime) and will give you a
feedback by if we find something crashing.
Thanks a lot to rrichards!!!!
Previous Comments:
------------------------------------------------------------------------
[2003-06-17 14:08:53] rrichards@php.net
Can you try it with this patch to domxml:
http://www.ctindustries.net/patches/domxml20030617.diff.txt
It needs a lot more testing as I wasnt able to use your scripts, so had
to hack them apart a bit to somewhat reproduce the issue.
------------------------------------------------------------------------
[2003-06-17 10:23:37] wjs at 42virtual dot com
This is a dump of the output-document just before the crash:
shell>php root.php
..output deleted...
<h1>6.CX after print</h1><h1>7.CX before endofFunc</h1><h1>2.RT
afterCALL XSL </h1><h1>3.Before EOR</h1><h1>.EOR</h1>
Segmentation fault (core dumped)
shell>
------------------------------------------------------------------------
[2003-06-17 07:08:55] rrichards@php.net
can you provide the dump of the document just prior to the crash?
------------------------------------------------------------------------
[2003-06-17 03:18:53] wjs at 42virtual dot com
We will provide you with a rather large script shortly
------------------------------------------------------------------------
[2003-06-17 03:18:11] wjs at 42virtual dot com
Backtrace....
(gdb) bt
#0 0x0807504f in node_list_wrapper_dtor (node=0xffff0000,
destroyref=0)
at /usr/local/src/php-4.3.2/ext/domxml/php_domxml.c:638
#1 0x08075058 in node_list_wrapper_dtor (node=0x826e318,
destroyref=0)
at /usr/local/src/php-4.3.2/ext/domxml/php_domxml.c:638
#2 0x08075058 in node_list_wrapper_dtor (node=0x826db08,
destroyref=0)
at /usr/local/src/php-4.3.2/ext/domxml/php_domxml.c:638
#3 0x08069af2 in php_free_xml_doc (rsrc=0x0)
at /usr/local/src/php-4.3.2/ext/domxml/php_domxml.c:638
#4 0x0813264e in list_entry_destructor (ptr=0x826c6ac)
at /usr/local/src/php-4.3.2/Zend/zend_list.c:172
#5 0x08131189 in zend_hash_apply_deleter (ht=0x8180a40, p=0x827bcb4)
at /usr/local/src/php-4.3.2/Zend/zend_hash.c:598
#6 0x0813124a in zend_hash_graceful_reverse_destroy (ht=0x8180a40)
at /usr/local/src/php-4.3.2/Zend/zend_hash.c:664
#7 0x081327dc in zend_destroy_rsrc_list (ht=0x8180a40)
at /usr/local/src/php-4.3.2/Zend/zend_list.c:233
#8 0x08123f9f in shutdown_executor ()
at /usr/local/src/php-4.3.2/Zend/zend_execute_API.c:213
#9 0x0812c340 in zend_deactivate ()
at /usr/local/src/php-4.3.2/Zend/zend.c:649
#10 0x08101c10 in php_request_shutdown (dummy=0x0)
at /usr/local/src/php-4.3.2/main/main.c:985
#11 0x0813ef81 in main (argc=2, argv=0xbffff334)
at /usr/local/src/php-4.3.2/sapi/cli/php_cli.c:862
#12 0x4011b8ae in __libc_start_main () from /lib/libc.so.6
------------------------------------------------------------------------
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/24219
--
Edit this bug report at http://bugs.php.net/?id=24219&edit=1