#49030 [NEW]: fails to resolve cyclic references
| From: | markus at malkusch dot de | Date: | Thu, 23 Jul 2009 11:03:44 +0000 |
| Subject: | #49030 [NEW]: fails to resolve cyclic references | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-140115@lists.php.net to get a copy of this message | ||
From: markus at malkusch dot de
Operating system: linux
PHP version: 5.2.10
PHP Bug Type: SOAP related
Bug description: fails to resolve cyclic references
Description:
------------
I must say I'm using php 5.1.6. I'm not able to upgrade the version in
this environment. As I didn't find any comments on my problem, I assume
it's still in PHP.
I have some segfaults with a certain SOAP-answer. I decided to use
PEAR-Soap instead. It doesn't work with pear neither. It turns out, that
this special answer uses cyclic object references and PEAR::Soap cannot
handle that. I assume PHP's Soap has the same problems.
Reproduce code:
---------------
This is only an excerpt of the SOAP-Answer:
<env:Body>
<ns0:Paragraph id="ID19" xsi:type="ns0:Paragraph">
<sub href="#ID21" />
</ns0:Paragraph>
<ns0:Paragraph id="ID21" xsi:type="ns0:Paragraph">
<parent href="#ID19" />
</ns0:Paragraph>
</env:Body>
Expected result:
----------------
I expect an object graph with correct cyclic references.
Actual result:
--------------
Apache segfaults now. I think this is due to an infinit loop like PEAR
does as well.
--
Edit bug report at http://bugs.php.net/?id=49030&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49030&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49030&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49030&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=49030&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49030&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=49030&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=49030&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=49030&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=49030&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=49030&r=support
Expected behavior: http://bugs.php.net/fix.php?id=49030&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=49030&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=49030&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=49030&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49030&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=49030&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=49030&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=49030&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=49030&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=49030&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=49030&r=mysqlcfg