Bug #75492 [NEW]: Massive memory allocation
From: nick at nickstallman dot net
Operating system: Ubuntu
PHP version: 7.1.11
Package: FPM related
Bug Type: Bug
Bug description:Massive memory allocation
Description:
------------
I just had the following error which is so ridiculous it's not funny:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to
allocate 5826880341616844800 bytes) in
...snip.../application/views/dns/view.php on line 4
�@Error
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to
allocate 139817084080128 bytes) in
...snip.../application/views/errors/html/error_php.php on line 9
This is a CodeIgniter app, and line 4 of view.php is a echo of a single
quoted string with no variables at all.
The server config is PHP-FPM with the Ubuntu package from the ondrej PPA
1:7.1+55+ubuntu16.04.1+deb.sury.org+1
It might just be a random glitch, but I certainly found it very
surprising.
Test script:
---------------
I'm having a little bit of trouble reproducing the issue, and as the
error line is about an echo I have no clue what test script would cause
it.
--
Edit bug report at https://bugs.php.net/bug.php?id=75492&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75492&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75492&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75492&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=75492&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=75492&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=75492&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=75492&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=75492&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=75492&r=support
Expected behavior: https://bugs.php.net/fix.php?id=75492&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=75492&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=75492&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=75492&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75492&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=75492&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=75492&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=75492&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=75492&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=75492&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=75492&r=mysqlcfg
Thread (5 messages)
- nick at nickstallman dot net