Bug #74331 [Fbk]: ph_soap crashes apache (x64 only)
| From: | ab@php.net | Date: | Sun, 02 Apr 2017 01:15:58 +0000 |
| Subject: | Bug #74331 [Fbk]: ph_soap crashes apache (x64 only) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-208272@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=74331&edit=1
ID: 74331
Updated by: ab@php.net
Reported by: jerome dot celle at gmail dot com
Summary: ph_soap crashes apache (x64 only)
Status: Feedback
Type: Bug
Package: SOAP related
Operating System: windows 7 64 bits
PHP Version: 7.1.3
Block user comment: N
Private report: N
New Comment:
Thanks for the backtrace. I'd suspect there might be something with the cached WSDL stuff like
accessing the cache generated by a different PHP version. Unfortunately it's hard to say more
without a reproduce case, could please a self contained reproducer be provided?
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2017-03-31 12:36:24] jerome dot celle at gmail dot com
Here is the info I think useful from backtrace:
PHP_SOAP!SDL_DESERIALIZE_STRING+11In
httpd__PID__15704__Date__03_30_2017__Time_10_18_20AM__988__Second_Chance_Exception_C0000005.dmp the
assembly instruction at php_soap!sdl_deserialize_string+11 in c:\php\ext\php_soap.dll from The PHP
Group has caused an access violation exception (0xC0000005) when trying to read from memory location
0x755b747c on thread 10
php_soap!sdl_deserialize_string+11
php_soap!get_sdl_from_cache+171
php_soap!get_sdl+382
php_soap!zim_SoapClient_SoapClient+b78
php7ts!ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER+d2
php7ts!execute_ex+64
php7ts!zend_execute+1d1
php7ts!zend_execute_scripts+13e
php7ts!php_execute_script+4f8
php7apache2_4!php_handler+635
libhttpd!ap_run_handler+35
libhttpd!ap_invoke_handler+110
libhttpd!ap_internal_redirect_handler+29a
libhttpd!ap_process_request+17
libhttpd!ap_byterange_filter+1533
libhttpd!ap_run_process_connection+35
libhttpd!ap_process_connection+45
libhttpd!ap_run_generate_log_id+3d9a
kernel32!BaseThreadInitThunk+d
ntdll!RtlUserThreadStart+1d
------------------------------------------------------------------------
[2017-03-31 05:36:55] phpdev at ehrhardt dot nl
This bug report was initiated at Apachelounge:
https://www.apachelounge.com/viewtopic.php?p=35105#35105
I tried to reproduce it with the same config, but did not succeed. The Soap login went just fine
with PHP 7.1.3 TS x64, running as mod_php under Apache 2.4.25 Win64 VC14.
------------------------------------------------------------------------
[2017-03-30 14:55:00] requinix@php.net
You can probably just put it into a comment. If you feel it may be too long then a pastebin or gist
or something like that is fine too.
------------------------------------------------------------------------
[2017-03-30 14:23:47] jerome dot celle at gmail dot com
I think I managed to produce the backtrace.
Can't see how to attach it to the ticket...
------------------------------------------------------------------------
[2017-03-30 08:25:14] jerome dot celle at gmail dot com
I could not yet produce the backtrace (it is a bit complex for me).
Nevertheless, during my attempt to do it, I had to run apache as a standalone application (httpd -X)
and not as a service.
In this context there is NO crash: the soap call all succeed.
Maybe it helps.
------------------------------------------------------------------------
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=74331
--
Edit this bug report at https://bugs.php.net/bug.php?id=74331&edit=1