#49045 [NEW]: Segmentation fault when connecting to different web services

From: Date: Fri, 24 Jul 2009 08:49:18 +0000
Subject: #49045 [NEW]: Segmentation fault when connecting to different web services
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-140182@lists.php.net to get a copy of this message
From:             kelvin at netbasic dot co dot uk
Operating system: Centos 4.7 and 5.3
PHP version:      5.3.0
PHP Bug Type:     SOAP related
Bug description:  Segmentation fault when connecting to different web services

Description:
------------
The PHP 5.3 SoapClient seems to have trouble connecting to certain 
services, we use a lot of 3rd party SOAP web services and have no issues 
using them with PHP 5.2.x, but 5.3 seems to have problems with around 
50% of them.

The problem seems to occur mostly upon instantiation of the SoapClient 
when using a Windows based service with a WSDL, as far I can tell it 
doesn't like the initial response.

Reproduce code:
---------------
        $url =
'http://webservices.data-8.co.uk/TelephoneValidation.asmx?WSDL';
        echo "creating client..<Br>";
        $client = new SoapClient($url);
        echo "client created..";

Expected result:
----------------
You would see the output below, and have a useable SoapClient object:

creating client..
client created..

Actual result:
--------------
Nothing will be returned and you will get an seg fault error in the 
Apache logs.

[Fri Jul 24 09:37:10 2009] [notice] child pid 17265 exit signal 
Segmentation fault (11)

-- 
Edit bug report at http://bugs.php.net/?id=49045&edit=1
-- 
Try a snapshot (PHP 5.2):            http://bugs.php.net/fix.php?id=49045&r=trysnapshot52
Try a snapshot (PHP 5.3):            http://bugs.php.net/fix.php?id=49045&r=trysnapshot53
Try a snapshot (PHP 6.0):            http://bugs.php.net/fix.php?id=49045&r=trysnapshot60
Fixed in SVN:                        http://bugs.php.net/fix.php?id=49045&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49045&r=needdocs
Fixed in release:                    http://bugs.php.net/fix.php?id=49045&r=alreadyfixed
Need backtrace:                      http://bugs.php.net/fix.php?id=49045&r=needtrace
Need Reproduce Script:               http://bugs.php.net/fix.php?id=49045&r=needscript
Try newer version:                   http://bugs.php.net/fix.php?id=49045&r=oldversion
Not developer issue:                 http://bugs.php.net/fix.php?id=49045&r=support
Expected behavior:                   http://bugs.php.net/fix.php?id=49045&r=notwrong
Not enough info:                     http://bugs.php.net/fix.php?id=49045&r=notenoughinfo
Submitted twice:                     http://bugs.php.net/fix.php?id=49045&r=submittedtwice
register_globals:                    http://bugs.php.net/fix.php?id=49045&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=49045&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=49045&r=dst
IIS Stability:                       http://bugs.php.net/fix.php?id=49045&r=isapi
Install GNU Sed:                     http://bugs.php.net/fix.php?id=49045&r=gnused
Floating point limitations:          http://bugs.php.net/fix.php?id=49045&r=float
No Zend Extensions:                  http://bugs.php.net/fix.php?id=49045&r=nozend
MySQL Configuration Error:           http://bugs.php.net/fix.php?id=49045&r=mysqlcfg



Thread (11 messages)

« previous php.bugs (#140182) next »