Bug #70515 [NEW]: Segfault in SoapClient
| From: | neoteknic at gmail dot com | Date: | Wed, 16 Sep 2015 19:20:45 +0000 |
| Subject: | Bug #70515 [NEW]: Segfault in SoapClient | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-196045@lists.php.net to get a copy of this message | ||
From: neoteknic at gmail dot com
Operating system: Gentoo 2015 x64
PHP version: 7.0.0RC2
Package: SOAP related
Bug Type: Bug
Bug description:Segfault in SoapClient
Description:
------------
Hello,
there is a bug on CLI with php 7.0.0RC2
It happen exactly on line 231 on this class :
https://github.com/Exeu/Amazon-ECS-PHP-Library/blob/master/lib/AmazonECS.class.php
If you echo something before the new SoapClient, it's ok, after that is
crash with segfault, I have two line in log :
kernel grsec: From 88.175.36.170: Segmentation fault occurred at
00006a5415200000 in /usr/lib64/php7.0/bin/php[php:15353] uid/euid:81/81
gid/egid:81/81, parent /bin/bash[bash:15348] uid/euid:81/81
gid/egid:81/81 2015-09-16 20:46:38
kernel php[15353]: segfault at 6a5415200000 ip 00006a5417cf1d84 sp
000073ac5f81a248 error 4 in libc-2.21.so[6a5417c61000+191000]
PHP use flag :
dev-lang/php-7.0.0_rc2:7.0::gentoo USE="apache2 berkdb bzip2 calendar
cgi cli crypt ctype curl exif fileinfo filter fpm ftp gd gdbm hash iconv
imap intl ipv6 json ldap mysql mysqli nls opcache pdo phar posix
readline session simplexml soap sockets sqlite ssl threads tokenizer
truetype unicode xml xpm zip zlib -bcmath -cdb -cjk -debug -embed
-enchant (-firebird) -flatfile (-frontbase) -gmp -inifile -iodbc
-kerberos -ldap-sasl -libedit -mhash -oci8-instant-client -odbc -pcntl
-postgres -qdbm -recode (-selinux) -sharedmem -snmp -spell -systemd
-sysvipc -tidy -vpx -wddx -xmlreader -xmlrpc -xmlwriter -xslt
Server :
OVH (Soyoustart)
E3-SAT-3 Intel Xeon E3 1245v2 4 c / 8 t 3.4 GHz+ 32 Go
Actual result:
--------------
It echo only :
Segmentation fault
on CLI and in the syslog :
kernel grsec: From 88.175.36.170: Segmentation fault occurred at
00006a5415200000 in /usr/lib64/php7.0/bin/php[php:15353] uid/euid:81/81
gid/egid:81/81, parent /bin/bash[bash:15348] uid/euid:81/81
gid/egid:81/81 2015-09-16 20:46:38
kernel php[15353]: segfault at 6a5415200000 ip 00006a5417cf1d84 sp
000073ac5f81a248 error 4 in libc-2.21.so[6a5417c61000+191000]
--
Edit bug report at https://bugs.php.net/bug.php?id=70515&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70515&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70515&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70515&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=70515&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=70515&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=70515&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=70515&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=70515&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=70515&r=support
Expected behavior: https://bugs.php.net/fix.php?id=70515&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=70515&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=70515&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=70515&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70515&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=70515&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=70515&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=70515&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=70515&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=70515&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=70515&r=mysqlcfg