Bug #74331 [Fbk->Opn]: 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
 User updated 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
+Status:             Open
 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:

Good catch !
At some point I cleaned this cache to test, I guess I did not do it well because this morning, cleaning it again and changing the soap cache directory in php.ini to a brand new location I was pleased to see it work perfectly.
Thanks and sorry for the 'false' bug.


Previous Comments:
------------------------------------------------------------------------
[2017-04-02 01:15:57] [email protected]

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.

------------------------------------------------------------------------
[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] [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...

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


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.