Edit report at http://bugs.php.net/bug.php?id=51980&edit=1
ID: 51980
User updated by: ray at discountofficeitems dot com
Reported by: ray at discountofficeitems dot com
Summary: XML/XSLT Aborts during function return
-Status: Open
+Status: Closed
Type: Bug
Package: XSLT related
Operating System: Debian Linux Lenny
PHP Version: 5.3.2
New Comment:
Appears to be fixed in source code version: php5.3-201006021830.
Previous Comments:
------------------------------------------------------------------------
[2010-06-02 22:35:15] ray at discountofficeitems dot com
Appears to be fixed in source code version: php5.3-201006021830.
------------------------------------------------------------------------
[2010-06-02 21:18:06] ray at discountofficeitems dot com
Description:
------------
Using Zend Server CE with php 5.3.2.
In the test script, the reference counting appears to be handled
differently depending on the return style.
if (true) {
return $ret->saveXml(); // Broken
} else {
$ret = $ret->saveXml(); // Working
return $ret;
}
Test script:
---------------
Due to test script coming it at 60 lines, copied script to:
http://www.discountofficeitems.com/ray/boom.txt
Expected result:
----------------
to see "Finished" echoed out.
Actual result:
--------------
"Aborted (core dumped)" echoed out, and gdb has a backtrace of:
#0 0xb77bd424 in __kernel_vsyscall ()
#1 0xb75b8956 in kill () from /lib/i686/cmov/libc.so.6
#2 0xb5011dac in skgdbgcra () from /usr/lib/libclntsh.so.11.1
#3 0xb500f1a6 in skgesigCrash () from /usr/lib/libclntsh.so.11.1
#4 0xb500f433 in skgesig_sigactionHandler () from
/usr/lib/libclntsh.so.11.1
#5 <signal handler called>
#6 0x084e9202 in xmlDictFree ()
#7 0x084e91d0 in xmlDictFree ()
#8 0x080c66e5 in php_libxml_decrement_doc_ref ()
#9 0x08158e00 in ?? ()
#10 0x088c06a0 in ?? ()
#11 0x00000000 in ?? ()
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51980&edit=1