php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75620 PHP CLI and CGI produce out of memory
Submitted: 2017-12-04 10:36 UTC Modified: 2018-05-05 21:56 UTC
From: PalDog at mailinator dot com Assigned: cmb (profile)
Status: No Feedback Package: Reproducible crash
PHP Version: 7.2.0 OS: RedHat
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2017-12-04 10:36 UTC] PalDog at mailinator dot com
Description:
------------
PHP CLI and CGI produce out of memory error - even when trying to run it to show binary version:

    (after configure+make)
   
    $ sapi/cli/php -v

    Out of memory

It was built with default

   ./configure
   make

The error shown above is produced with all command line paramters except for "-h/--help"!


Test script:
---------------
The problem occurrs without any script.

Expected result:
----------------
The "out of memory error" show not happen.

Actual result:
--------------
$ sapi/cli/php -v

Out of memory

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-02-14 18:35 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2018-02-14 18:35 UTC] cmb@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
 [2018-05-05 21:56 UTC] requinix@php.net
-Status: Feedback +Status: No Feedback
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Dec 01 10:03:34 2021 UTC