Bug #70017 [Opn->Fbk]: soap_client construct cause crash
| From: | laruence@php.net | Date: | Fri, 10 Jul 2015 11:41:52 +0000 |
| Subject: | Bug #70017 [Opn->Fbk]: soap_client construct cause crash | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-194296@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70017&edit=1
ID: 70017
Updated by: laruence@php.net
Reported by: simon dot minotto at gmail dot com
Summary: soap_client construct cause crash
-Status: Open
+Status: Feedback
Type: Bug
Package: Reproducible crash
Operating System: ubuntu 15.04 server
PHP Version: 7.0.0alpha2
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.
Previous Comments:
------------------------------------------------------------------------
[2015-07-08 07:49:01] simon dot minotto at gmail dot com
http://php7test1.cloudapp.net/phpinfo.php
-> You can find here a php info (used for apache & cli)
------------------------------------------------------------------------
[2015-07-08 07:46:06] simon dot minotto at gmail dot com
Description:
------------
Bug report.
I have a segmentation fault using soap_client
I didn't success reproducing it outside my framework (based on symfony 1.0) with a simple
script
Code around the exception :
file_put_contents("/tmp/doing", "\nconstucting soap client with url
".$wsdl."\n", FILE_APPEND);
$soapClient = new SoapClient($wsdl);
file_put_contents("/tmp/doing", "\nsoap client constructed\n", FILE_APPEND);
Content of /tmp/doing after execution :
(I replace http by h ttp to avoid ticketing spam detection)
constucting soap client with url h ttp://trunk-tv1-services-php7test1.brainsonic.com/wsdl_test
soap client constructed
constucting soap client with url h ttp://trunk-tv1-services-php7test1.brainsonic.com/wsdl_test
<ENDOFFILE>
strace of first soap_client construct call : (with strace php <myscript>)
http://pastebin.com/XvnknwrN
strace of second soap_client construct call (jsut before crash) :
http://pastebin.com/jALzymJ6
My configure line : './configure' '--with-apxs2=/usr/bin/apxs'
'--with-mysqli' '--enable-soap' '--enable-sockets'
'--enable-sysvsem' '--with-xsl' '--enable-zip'
'--enable-mbstring' '--with-curl' '--with-mcrypt'
'--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr/lib'
'--enable-exif' '--with-openssl' '--enable-pcntl'
on Ubuntu 15
Test script:
---------------
http://pastebin.com/bBZ0iPqu
-> Not reproducing the issue with this code
Actual result:
--------------
http://pastebin.com/kYnMQEqB
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70017&edit=1