Bug #73794 [Asn->Csd]: Crash (out of memory) when using run and # command separator

From: Date: Tue, 20 Dec 2016 19:18:47 +0000
Subject: Bug #73794 [Asn->Csd]: Crash (out of memory) when using run and # command separator
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-206162@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73794&edit=1 ID: 73794 Updated by: bwoebi@php.net Reported by: kaplan@php.net Summary: Crash (out of memory) when using run and # command separator -Status: Assigned +Status: Closed Type: Bug Package: phpdbg Operating System: Linux PHP Version: 7.1.0 Assigned To: bwoebi Block user comment: N Private report: N New Comment: Automatic comment on behalf of bobwei9@hotmail.com Revision: http://git.php.net/?p=php-src.git;a=commit;h=8b06b7e2665e16d1643f7027072dfd3ec34fa0e2 Log: Fixed bug #73794 (Crash (out of memory) when using run and # command separator) Previous Comments: ------------------------------------------------------------------------ [2016-12-20 19:10:55] bwoebi@php.net Simple :-P It really is just the combination of run + using of # command separator. Fixing soon. ------------------------------------------------------------------------ [2016-12-20 13:37:25] kaplan@php.net 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 this bug report at https://bugs.php.net/bug.php?id=73794&edit=1

« previous php.bugs (#206162) next »