Bug #51980 [NEW]: XML/XSLT Aborts during function return
| From: | ray at discountofficeitems dot com | Date: | Wed, 02 Jun 2010 19:18:12 +0000 |
| Subject: | Bug #51980 [NEW]: XML/XSLT Aborts during function return | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-151026@lists.php.net to get a copy of this message | ||
From:
Operating system: Debian Linux Lenny
PHP version: 5.3.2
Package: XSLT related
Bug Type: Bug
Bug description:XML/XSLT Aborts during function return
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 bug report at http://bugs.php.net/bug.php?id=51980&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=51980&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=51980&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=51980&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=51980&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51980&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=51980&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=51980&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=51980&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=51980&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=51980&r=support
Expected behavior: http://bugs.php.net/fix.php?id=51980&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=51980&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=51980&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=51980&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51980&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=51980&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=51980&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=51980&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=51980&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=51980&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=51980&r=mysqlcfg