Bug #81033 [NEW]: Interactive Shell Hangs Indefinitely
| From: | security at paragonie dot com | Date: | Wed, 12 May 2021 01:15:49 +0000 |
| Subject: | Bug #81033 [NEW]: Interactive Shell Hangs Indefinitely | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-233790@lists.php.net to get a copy of this message | ||
From: security at paragonie dot com
Operating system: Ubuntu Linux
PHP version: master-Git-2021-05-12 (Git)
Package: *General Issues
Bug Type: Bug
Bug description:Interactive Shell Hangs Indefinitely
Description:
------------
Currently, I get the following result when I try to start an interactive
session:
$ php -a
Interactive mode enabled
...but it hangs forever without prompting at all.
Using php -r works as expected:
$ php -r "echo 'hello world', PHP_EOL;"
$ php -v
PHP 8.1.0-dev (cli) (built: May 11 2021 21:07:43) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.0-dev, Copyright (c) Zend Technologies
The output of
php -r "phpinfo();" is provided for completeness,
although I do not think it's a configuration issue:
https://gist.github.com/paragonie-security/92571c1121e4b16e019a82e810643bf6
Test script:
---------------
N/A just run php -a after building from master
--
Edit bug report at https://bugs.php.net/bug.php?id=81033&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=81033&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=81033&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=81033&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=81033&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=81033&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=81033&r=support
Expected behavior: https://bugs.php.net/fix.php?id=81033&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=81033&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=81033&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=81033&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=81033&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=81033&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=81033&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=81033&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=81033&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=81033&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=81033&r=mysqlcfg