Bug #70017 [Fbk->NoF]: soap_client construct cause crash
| From: | php-bugs at lists dot php dot net | Date: | Sun, 14 Mar 2021 04:22:13 +0000 |
| Subject: | Bug #70017 [Fbk->NoF]: soap_client construct cause crash | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-232695@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70017&edit=1
ID: 70017
Updated by: php-bugs@lists.php.net
Reported by: simon dot minotto at gmail dot com
Summary: soap_client construct cause crash
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: Reproducible crash
Operating System: ubuntu 15.04 server
PHP Version: 7.0.0alpha2
Assigned To: cmb
Private report: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2021-03-03 14:42:13] cmb@php.net
> If a reconfigure & compile php without --enable-debug, everything is now fine :)
These memory leaks are only reported for debug builds. Anyhow, do
you still get crashes or leaks with any of the actively supported
PHP versions[1]?
[1] <https://www.php.net/supported-versions.php>
------------------------------------------------------------------------
[2015-07-17 07:48:29] simon dot minotto at gmail dot com
New (failed) test with php7 beta1 :
http://pastebin.com/ixZ5B4kh
New (PASS) test with php-src MASTER (php 7.0.0DEV)
http://pastebin.com/FZ3MmSxP
My test pass (ok) BUT I have the following extra content :
[Fri Jul 17 04:46:27 2015] Script:
'/srv/www/damlp/plugins/trunk/bsPlaylistPlugin/test/functional/services/bsPlaylistServicesActionsTest.php'
/root/php/php-src/Zend/zend_objects.c(161) : Freeing 0x7F3866CC9900 (200 bytes),
script=/srv/www/damlp/plugins/trunk/bsPlaylistPlugin/test/functional/services/bsPlaylistServicesActionsTest.php
[Fri Jul 17 04:46:27 2015] Script:
'/srv/www/damlp/plugins/trunk/bsPlaylistPlugin/test/functional/services/bsPlaylistServicesActionsTest.php'
/root/php/php-src/Zend/zend_objects.c(161) : Freeing 0x7F386635DC00 (200 bytes),
script=/srv/www/damlp/plugins/trunk/bsPlaylistPlugin/test/functional/services/bsPlaylistServicesActionsTest.php
Last leak repeated 1 time
[Fri Jul 17 04:46:27 2015] Script:
'/srv/www/damlp/plugins/trunk/bsPlaylistPlugin/test/functional/services/bsPlaylistServicesActionsTest.php'
/root/php/php-src/Zend/zend_objects.c(161) : Freeing 0x7F3865E15900 (200 bytes),
script=/srv/www/damlp/plugins/trunk/bsPlaylistPlugin/test/functional/services/bsPlaylistServicesActionsTest.php
Last leak repeated 5 times
=== Total 9 memory leaks detected ===
If a reconfigure & compile php without --enable-debug, everything is now fine :)
------------------------------------------------------------------------
[2015-07-16 15:18:22] laruence@php.net
Hmm, I can not reproduce this. valgrind clean as well(could you please try run with latest master
snapshot?):
$ USE_ZEND_ALLOC=0 valgrind sapi/cli/php /tmp/1.php
==29654== Memcheck, a memory error detector
==29654== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==29654== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==29654== Command: sapi/cli/php /tmp/1.php
==29654==
before first soap client construct
after first soap client construct
array(9) {
["playlistFolderId"]=>
int(1)
["maxPerPage"]=>
int(5)
["page"]=>
int(1)
["additionnalParameters"]=>
string(0) ""
["sessionId"]=>
string(0) ""
["APIKey"]=>
string(10) "brainsonic"
["format"]=>
string(0) ""
["login_username"]=>
string(0) ""
["login_password"]=>
string(0) ""
}
string(114) "<playlist_menu version="1.0">
<playlist_folder_config>
<items>
</items>
</playlist_folder_config>
</playlist_menu>"
end soap client construct
==29654==
==29654== HEAP SUMMARY:
==29654== in use at exit: 7,338 bytes in 79 blocks
==29654== total heap usage: 79,500 allocs, 79,421 frees, 6,789,427 bytes allocated
==29654==
==29654== LEAK SUMMARY:
==29654== definitely lost: 40 bytes in 1 blocks
==29654== indirectly lost: 0 bytes in 0 blocks
==29654== possibly lost: 0 bytes in 0 blocks
==29654== still reachable: 7,298 bytes in 78 blocks
==29654== suppressed: 0 bytes in 0 blocks
==29654== Rerun with --leak-check=full to see details of leaked memory
==29654==
==29654== For counts of detected and suppressed errors, rerun with: -v
==29654== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
thanks
------------------------------------------------------------------------
[2015-07-15 10:32:05] simon dot minotto at gmail dot com
Sure :)
http://pastebin.com/3kEtd6dA
I will let the VM running all day.
Thanks
------------------------------------------------------------------------
[2015-07-15 09:59:18] laruence@php.net
could you please paste out the wsdl_test file?
------------------------------------------------------------------------
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=70017
--
Edit this bug report at https://bugs.php.net/bug.php?id=70017&edit=1