Bug #74119 [Opn->Dup]: Memleak in SoapClient

From: Date: Mon, 01 Jan 2018 21:13:01 +0000
Subject: Bug #74119 [Opn->Dup]: Memleak in SoapClient
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-213345@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 Updated by: nikic@php.net Reported by: valov at mtsbank dot ru Summary: Memleak in SoapClient -Status: Open +Status: Duplicate Type: Bug Package: SOAP related Operating System: Linux PHP Version: 7.1.9 Block user comment: N Private report: N New Comment: Duplicate of bug #75306. Previous Comments: ------------------------------------------------------------------------ [2017-09-14 10:05:53] valov at mtsbank dot ru Hi, Yes, I reproduced this error on php 7.1.9 - the same error appeared after few seconds. ------------------------------------------------------------------------ [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 (#213345) next »