php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28573 SOAP call causes catastrophic crash
Submitted: 2004-05-30 02:45 UTC Modified: 2004-09-03 01:00 UTC
From: mwa at it dot rit dot edu Assigned: dmitry (profile)
Status: No Feedback Package: Reproducible crash
PHP Version: 5.0.0RC2 OS: OS X 10.3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mwa at it dot rit dot edu
New email:
PHP Version: OS:

 

 [2004-05-30 02:45 UTC] 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...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-05-31 12:11 UTC] derick@php.net
Assigning to the maintainer.
 [2004-08-26 17:42 UTC] 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-08-26 19:21 UTC] 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-09-03 01:00 UTC] php-bugs at lists dot php dot net
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".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 09:01:26 2024 UTC