Edit report at https://bugs.php.net/bug.php?id=62071&edit=1

 ID:                 62071
 Updated by:         fel...@php.net
 Reported by:        ewilde at bsmdevelopment dot com
 Summary:            CLI Programs Hang Forever
 Status:             Open
 Type:               Bug
 Package:            Reproducible crash
 Operating System:   CentOS 5.8
 PHP Version:        5.4.3
 Block user comment: N
 Private report:     N

 New Comment:

I can't reproduce it.


Previous Comments:
------------------------------------------------------------------------
[2012-05-19 14:44:36] ewilde at bsmdevelopment dot com

Description:
------------
Scripts executed under the CLI never end.  For example, the following test 
script will run as long as you let it, until it is killed.  It doesn't appear 
to be looping, as it consumes no resources.  Rather, it appears to be blocked 
waiting for some signal that never happens.

Note that this may explain why the 5.4.3 build cannot be built with 
"--enable-phar" and why "make install" hangs forever at the end.

Build parms: ./configure --with-apxs2=/usr/share/httpd-2.4/bin/apxs --with-curl 
--with-gd --with-ldap --with-libxml-dir=/usr/local --with-mcrypt 
--with-mysql=/usr/local/mysql --with-mysqli=/usr/bin/mysql_config 
--with-openssl --with-pspell --with-unixODBC=/usr/local/unixODBC 
--enable-bcmath --disable-phar --enable-sockets


Test script:
---------------
#!/usr/bin/php
<script language="php">

  fwrite(STDOUT, "This is a test\n");

</script>


Expected result:
----------------
The CLI program exits.

Actual result:
--------------
The CLI program never exits.


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=62071&edit=1

Reply via email to