Bug #74119 [Opn]: Memleak in SoapClient

From: Date: Thu, 14 Sep 2017 10:05:55 +0000
Subject: Bug #74119 [Opn]: Memleak in SoapClient
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-211153@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74119&edit=1 ID: 74119 User updated by: valov at mtsbank dot ru Reported by: valov at mtsbank dot ru Summary: Memleak in SoapClient Status: Open Type: Bug Package: SOAP related Operating System: Linux -PHP Version: 5.6.30 +PHP Version: 7.1.9 Block user comment: N Private report: N New Comment: Hi, Yes, I reproduced this error on php 7.1.9 - the same error appeared after few seconds. Previous Comments: ------------------------------------------------------------------------ [2017-02-20 14:35:10] andrew dot nester dot dev at gmail dot com I was unable to reproduce this on 7.0+ versions. Could you please try and confirm it? Sadly 5.6 branch now accepts only security fixes. ------------------------------------------------------------------------ [2017-02-17 12:49:26] valov at mtsbank dot ru Description: ------------ Memleak in SoapClient detected, in test script after few seconds you will get error: "Allowed memory size exhausted". Test script: --------------- <?php while(true) { $client = new SoapClient("test.wsdl"); } ?> You can use any test.wsdl specification, for example https://www.tutorialspoint.com/wsdl/wsdl_example.htm ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=74119&edit=1

« previous php.bugs (#211153) next »