Bug #66401 [NEW]: yield in SoapClients __doRequest cause Segmentation fault

From: Date: Fri, 03 Jan 2014 13:47:35 +0000
Subject: Bug #66401 [NEW]: yield in SoapClients __doRequest cause Segmentation fault
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-183559@lists.php.net to get a copy of this message
From: erik at datahack dot se Operating system: PHP version: 5.5.7 Package: Reproducible crash Bug Type: Bug Bug description:yield in SoapClients __doRequest cause Segmentation fault Description: ------------ Using yield in SoapClients __doRequest cause Segmentation fault. Test script: --------------- class XSoapClient extends SoapClient { function __doRequest($request, $location, $action, $version) { yield 123; } } $client = new XSoapClient(null, array('uri' => '', 'location' => '')); $x = $client->foo(); foreach($x as $r) var_dump($r); Expected result: ---------------- I wasn't really sure what result to expect, however not a Segmentation fault. Actual result: -------------- Segmentation fault -- Edit bug report at https://bugs.php.net/bug.php?id=66401&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66401&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66401&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66401&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=66401&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=66401&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=66401&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=66401&r=needscript Try newer version: https://bugs.php.net/fix.php?id=66401&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=66401&r=support Expected behavior: https://bugs.php.net/fix.php?id=66401&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=66401&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=66401&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=66401&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66401&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=66401&r=dst IIS Stability: https://bugs.php.net/fix.php?id=66401&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=66401&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=66401&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=66401&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=66401&r=mysqlcfg

« previous php.bugs (#183559) next »