#28573 [Fbk->NoF]: SOAP call causes catastrophic crash
| From: | php-bugs at lists dot php dot net | Date: | Thu, 02 Sep 2004 23:00:06 +0000 |
| Subject: | #28573 [Fbk->NoF]: SOAP call causes catastrophic crash | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-65655@lists.php.net to get a copy of this message | ||
ID: 28573
Updated by: php-bugs@lists.php.net
Reported By: mwa at it dot rit dot edu
-Status: Feedback
+Status: No Feedback
Bug Type: Reproducible crash
Operating System: OS X 10.3
PHP Version: 5.0.0RC2
Assigned To: dmitry
New Comment:
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2004-08-26 19:21:11] derick@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2004-08-26 17:42:49] dmitry@php.net
I cannot reproduce this behavoir.
The example code works fine with latest CVS version.
But I cannot test it on OS X.
------------------------------------------------------------------------
[2004-05-31 12:11:21] derick@php.net
Assigning to the maintainer.
------------------------------------------------------------------------
[2004-05-30 02:45:23] mwa at it dot rit dot edu
Description:
------------
A simple soap test causes a complete system meltdown, Apache hangs, ssh
and telnet stop responding must manually reboot server in the lab (hard
boot) sorry I don't have a lot of postmortem data yet (logs etc.) I
thought it would be more important to report this ASAP. It's
reproducable though.
Clue: the $client->__getFunctions() call returns the SOAP service
"GetQuote" function twice. (I'm assuming it should report each function
only once) Could be a bad wsdl file??? but then the soap call should
protect against that perhaps.
Anyway the real big crash happens on the last line of code below. The
call to $client->GetQuote()
build note: here's how I built PHP5 RC2
./configure --prefix=/usr/local/php5
--with-apxs2=/usr/local/apache2/bin/apxs --enable-soap
Reproduce code:
---------------
<?php
$client = new
SoapClient('http://www.swanandmokashi.com/HomePage/WebServices/QuoteOfTheDay.asmx?WSDL');
echo "<br/>functions available from this service are:<pre>";
var_dump($client->__getFunctions());
echo "</pre><br/> Today's daily quote: ";
var_dump ($client->GetQuote());
?>
Expected result:
----------------
It should just var_dump the results (text string) from the SOAP call.
Some sort of daily quote web service I found on
http://www.xmethods.com/
see:
http://www.xmethods.com/ve2/ViewListing.po?key=uuid:1C51F87E-9DBD-C1A1-2EEB-C947EC84A1BF
Actual result:
--------------
System crash, brings down Apache 2 and darn near everything else. ....
It ain't pretty.
Let me now if I can help more...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28573&edit=1