Edit report at https://bugs.php.net/bug.php?id=70715&edit=1
ID: 70715
Updated by: laruence@php.net
Reported by: dmifedorenko at gmail dot com
Summary: Segmentation fault inside soap client
-Status: Open
+Status: Closed
Type: Bug
Package: SOAP related
Operating System: Linux vm 3.13.0-37-generic #64-U
PHP Version: master-Git-2015-10-15 (Git)
-Assigned To:
+Assigned To: laruence
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2015-10-16 00:08:07] dmifedorenko at gmail dot com
Thank you. Confirm, bug fixed.
------------------------------------------------------------------------
[2015-10-15 10:47:33] laruence@php.net
committed, there should no other similar bugs... thanks
------------------------------------------------------------------------
[2015-10-15 10:47:22] laruence@php.net
Automatic comment on behalf of laruence@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=88a69ffa58e8fdc8409bb567a2bd6b75b4232c41
Log: Fixed bug #70715 (Segmentation fault inside soap client)
------------------------------------------------------------------------
[2015-10-15 10:45:16] laruence@php.net
hmm, same reason on different places.. will make a fix.
------------------------------------------------------------------------
[2015-10-15 06:01:19] dmifedorenko at gmail dot com
Got fresh master, check patch from 70709. Same issue in same place:
(gdb) bt
#0 0x00007fb5f6294930 in zend_string_realloc (s=0x0, len=4097, persistent=0) at
/home/fedorenko/php7/php-src/Zend/zend_string.h:185
#1 0x00007fb5f629b3f5 in get_http_body (stream=0x7fb5e6803f80, close=1,
headers=0x7fb5e63f6118 "HTTP/1.1 200 OK\r\nServer: Apache-Coyote/1.1\r\nX-AREQUESTID:
1019x2299132x1\r\nX-ASESSIONID: l3417j\r\nContent-Type: text/xml;charset=utf-8\r\nDate: Thu, 15 Oct
2015 05:59:42 GMT\r\nConnection: close\r\n") at
/home/fedorenko/php7/php-src/ext/soap/php_http.c:1497
#2 0x00007fb5f629983d in make_http_soap_request (this_ptr=0x7fb5ec414300, buf=0x7fb5e6479600,
location=0x7fb5e63b70f8 "http://aux.srv.loc:82/rpc/soap/jirasoapservice-v2",
soapaction=0x7fb5e60073d8 "", soap_version=1, return_value=0x7fb5ec4142c0) at
/home/fedorenko/php7/php-src/ext/soap/php_http.c:1068
#3 0x00007fb5f62805c5 in zim_SoapClient___doRequest (execute_data=0x7fb5ec4142e0,
return_value=0x7fb5ec4142c0) at /home/fedorenko/php7/php-src/ext/soap/soap.c:3121
#4 0x00007fb5f6538ead in ZEND_DO_FCALL_SPEC_HANDLER () at
/home/fedorenko/php7/php-src/Zend/zend_vm_execute.h:842
#5 0x00007fb5f6537d61 in execute_ex (ex=0x7fb5ec414200) at
/home/fedorenko/php7/php-src/Zend/zend_vm_execute.h:414
#6 0x00007fb5f64c6135 in zend_call_function (fci=0x7fff179379f0, fci_cache=0x7fff17937900) at
/home/fedorenko/php7/php-src/Zend/zend_execute_API.c:854
#7 0x00007fb5f64c564f in call_user_function_ex (function_table=0x0, object=0x7fb5ec4141a0,
function_name=0x7fff17937b70, retval_ptr=0x7fff17937e30, param_count=5,
params=0x7fff17937ba0, no_separation=1, symbol_table=0x0) at
/home/fedorenko/php7/php-src/Zend/zend_execute_API.c:679
#8 0x00007fb5f64c5576 in call_user_function (function_table=0x0, object=0x7fb5ec4141a0,
function_name=0x7fff17937b70, retval_ptr=0x7fff17937e30, param_count=5,
params=0x7fff17937ba0) at /home/fedorenko/php7/php-src/Zend/zend_execute_API.c:661
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=70715
--
Edit this bug report at https://bugs.php.net/bug.php?id=70715&edit=1