Bug #74331 [Com]: ph_soap crashes apache (x64 only)

[email protected] ("jerome dot celle at gmail dot com")
Newsgroups php.bugs
Message-ID <[email protected]>
Edit report at https://bugs.php.net/bug.php?id=74331&edit=1

 ID:                 74331
 Comment by:         jerome dot celle at gmail dot com
 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:

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


Previous Comments:
------------------------------------------------------------------------
[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] [email protected]

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.

------------------------------------------------------------------------
[2017-03-29 13:30:34] [email protected]

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.



------------------------------------------------------------------------


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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.