php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70515 Segfault in SoapClient
Submitted: 2015-09-16 19:20 UTC Modified: 2015-09-27 04:22 UTC
From: neoteknic at gmail dot com Assigned:
Status: No Feedback Package: SOAP related
PHP Version: 7.0.0RC2 OS: Gentoo 2015 x64
Private report: No CVE-ID: None
 [2015-09-16 19:20 UTC] neoteknic at gmail dot com
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]

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-09-18 04:05 UTC] laruence@php.net
-Status: Open +Status: Feedback
 [2015-09-18 04:05 UTC] laruence@php.net
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.


 [2015-09-27 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 12 11:01:28 2024 UTC