Bug #81154 [NEW]: Segmentation fault on instanciating SoapClient

From: Date: Thu, 17 Jun 2021 09:02:56 +0000
Subject: Bug #81154 [NEW]: Segmentation fault on instanciating SoapClient
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-234452@lists.php.net to get a copy of this message
From: arnaud dot lepeltier at cogifor dot Com Operating system: linux PHP version: 8.0.7 Package: SOAP related Bug Type: Bug Bug description:Segmentation fault on instanciating SoapClient Description: ------------ When instanciating a Soap Client for a large wsdl, I encounter a segmentation fault. This has been tested on php8.0 and php 7.4. Enabling/disabling the wsdl cache has no effect. increasing the memory limit has no effect initial ticket at: https://github.com/phpro/soap-client/issues/373 Test script: --------------- <?php echo PHP_EOL, "START SCRIPT"; $url = 'https://service-test.protel.io/services/ProtelApiService.ProtelApiServiceHttpsSoap12Endpoint?wsdl'; $client = new SoapClient($url, [ 'cache_wsdl'=>WSDL_CACHE_NONE ]); echo PHP_EOL, "SOAP CLIENT CREATED"; $client->__getTypes(); echo PHP_EOL, "GET TYPES DONE"; Expected result: ---------------- START SCRIPT SOAP CLIENT CREATED GET TYPES DONE Actual result: -------------- SOAP CLIENT CREATEDErreur de segmentation (core dumped) -- Edit bug report at https://bugs.php.net/bug.php?id=81154&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=81154&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=81154&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=81154&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=81154&r=needscript Try newer version: https://bugs.php.net/fix.php?id=81154&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=81154&r=support Expected behavior: https://bugs.php.net/fix.php?id=81154&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=81154&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=81154&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=81154&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=81154&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=81154&r=dst IIS Stability: https://bugs.php.net/fix.php?id=81154&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=81154&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=81154&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=81154&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=81154&r=mysqlcfg

« previous php.bugs (#234452) next »