Bug #73794 [NEW]: Crash (out of memory) on a simple test
| From: | kaplan@php.net | Date: | Tue, 20 Dec 2016 13:37:26 +0000 |
| Subject: | Bug #73794 [NEW]: Crash (out of memory) on a simple test | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-206155@lists.php.net to get a copy of this message | ||
From: kaplan
Operating system: Linux
PHP version: 7.1.0
Package: phpdbg
Bug Type: Bug
Bug description:Crash (out of memory) on a simple test
Description:
------------
phpgdb from PHP 7.1.0 produces an error, while it works fine on PHP
7.0.11.
Test script:
---------------
#!/bin/bash
/usr/local/zend/bin/phpdbg /var/www/html/simpleEcho.php -a <<< "r
simpleEcho.php # quit"
where /var/www/html/simpleEcho.php is simply:
<?php
echo "phpdbg script run fine";
?>
Expected result:
----------------
phpdbg script run fine
Actual result:
--------------
[Welcome to phpdbg, the interactive PHP debugger, v0.5.0]
To get help using phpdbg type "help" and press enter
[Please report bugs to <http://bugs.php.net/report.php>]
[Successful compilation of /var/www/html/simpleEcho.php]
prompt>
mmap() failed: [22] Invalid argument
[PHP Fatal error: Out of memory (allocated 2097152) (tried to allocate
18446744073709551615 bytes) in Unknown on line 0]
[Could not find information about included file...]
--
Edit bug report at https://bugs.php.net/bug.php?id=73794&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=73794&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=73794&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=73794&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=73794&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=73794&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=73794&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=73794&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=73794&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=73794&r=support
Expected behavior: https://bugs.php.net/fix.php?id=73794&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=73794&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=73794&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=73794&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73794&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=73794&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=73794&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=73794&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=73794&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=73794&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=73794&r=mysqlcfg