From:             mwa at it dot rit dot edu
Operating system: OS X 10.3
PHP version:      5.0.0RC2
PHP Bug Type:     Reproducible crash
Bug description:  SOAP call causes catastrophic crash

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 bug report at http://bugs.php.net/?id=28573&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28573&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28573&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28573&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28573&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28573&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28573&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28573&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28573&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28573&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28573&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28573&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28573&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28573&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28573&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28573&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28573&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28573&r=float

Reply via email to