Bug #71597 [Opn->Fbk]: PHP7 regression: Crash when WSDL contains a union

From: Date: Tue, 16 Feb 2016 02:54:54 +0000
Subject: Bug #71597 [Opn->Fbk]: PHP7 regression: Crash when WSDL contains a union
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-199242@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71597&edit=1 ID: 71597 Updated by: laruence@php.net Reported by: cf0hay at gmail dot com Summary: PHP7 regression: Crash when WSDL contains a union -Status: Open +Status: Feedback Type: Bug Package: SOAP related Operating System: 64bit Linux PHP Version: 7.0.3 Block user comment: N Private report: N New Comment: Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. I can not reproduce this, instead I get ouput: "Not Allow" Previous Comments: ------------------------------------------------------------------------ [2016-02-15 12:49:03] cf0hay at gmail dot com test.wsdl: http://pastebin.com/raw/UkVXZe38 ------------------------------------------------------------------------ [2016-02-15 12:44:23] cf0hay at gmail dot com Description: ------------ PHP 7.0.3 crashes when making a soap request with a union simpleType. PHP 5.6 doesn't have this problem. Test script: --------------- #!/usr/bin/php <?php $soap = new SoapClient("test.wsdl", ['trace' => true]); try{ $resp = $soap->notify([ 'resourceId' => '', ]); }catch(SoapFault $e){ echo $e->getMessage()."\n"; } Expected result: ---------------- Could not connect to host Actual result: -------------- Segmentation Fault ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=71597&edit=1

« previous php.bugs (#199242) next »