Bug #70017 [NEW]: soap_client construct cause crash
| From: | simon dot minotto at gmail dot com | Date: | Wed, 08 Jul 2015 07:46:07 +0000 |
| Subject: | Bug #70017 [NEW]: soap_client construct cause crash | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-194199@lists.php.net to get a copy of this message | ||
From: simon dot minotto at gmail dot com
Operating system: ubuntu 15.04 server
PHP version: 7.0.0alpha2
Package: Reproducible crash
Bug Type: Bug
Bug description:soap_client construct cause crash
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 bug report at https://bugs.php.net/bug.php?id=70017&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70017&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70017&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70017&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=70017&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=70017&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=70017&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=70017&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=70017&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=70017&r=support
Expected behavior: https://bugs.php.net/fix.php?id=70017&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=70017&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=70017&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=70017&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70017&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=70017&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=70017&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=70017&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=70017&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=70017&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=70017&r=mysqlcfg