php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64752 bug40770 is missing memory_limit fatal error
Submitted: 2013-05-01 20:09 UTC Modified: 2021-07-18 04:22 UTC
From: mattficken@php.net Assigned: cmb (profile)
Status: No Feedback Package: Testing related
PHP Version: Irrelevant OS: Windows
Private report: No CVE-ID: None
 [2013-05-01 20:09 UTC] mattficken@php.net
Description:
------------
zend/tests/bug40770.phpt does not output Fatal Error about memory_limit being reached (expected) on NTS builds.

Affects recent 5.3 5.4 and 5.5 builds without opcache. With opcache or on TS builds, this test PASSes.

I added memory_limit=8M to the INI I used (from test's INI section).


Test script:
---------------
zend/tests/bug40770.phpt

Expected result:
----------------
Fatal error: Allowed memory size of 8388608 bytes exhausted%s(tried to allocate %d bytes) in %s on line %d

Actual result:
--------------
Empty output.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-06-05 16:07 UTC] ab@php.net
Hi Matt,

i can't reproduce this one, with older or current builds. Is it still reproducible 
for you? If yes, could you give me some hints?

Thanks
 [2021-07-07 09:34 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-07-07 09:34 UTC] cmb@php.net
I cannot reproduce the test failure either.  Can you still
reproduce it with any of the actively supported PHP versions[1]?

[1] <https://www.php.net/supported-versions.php>
 [2021-07-18 04:22 UTC] php-bugs at lists dot php dot net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC