|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74119 Memleak in SoapClient
Submitted: 2017-02-17 12:49 UTC Modified: 2018-01-01 21:13 UTC
Avg. Score:4.0 ± 1.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: valov at mtsbank dot ru Assigned:
Status: Duplicate Package: SOAP related
PHP Version: 7.1.9 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: valov at mtsbank dot ru
New email:
PHP Version: OS:


 [2017-02-17 12:49 UTC] valov at mtsbank dot ru
Memleak in SoapClient detected, in test script after few seconds you will get error: "Allowed memory size exhausted".

Test script:
while(true) {
  $client = new SoapClient("test.wsdl");

You can use any test.wsdl specification, for example


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-02-20 14:35 UTC] 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-09-14 10:05 UTC] valov at mtsbank dot ru
-PHP Version: 5.6.30 +PHP Version: 7.1.9
 [2017-09-14 10:05 UTC] valov at mtsbank dot ru

Yes, I reproduced this error on php 7.1.9 - the same error appeared after few seconds.
 [2018-01-01 21:13 UTC]
-Status: Open +Status: Duplicate
 [2018-01-01 21:13 UTC]
Duplicate of bug #75306.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 30 08:01:31 2024 UTC