|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-03-18 19:31 UTC] sniper@php.net
[2005-03-30 15:45 UTC] ralph at cs dot cf dot ac dot uk
[2005-09-02 08:53 UTC] sniper@php.net
[2005-09-02 10:08 UTC] ralph at cs dot cf dot ac dot uk
[2005-09-02 10:36 UTC] sniper@php.net
[2005-09-02 10:39 UTC] ralph at cs dot cf dot ac dot uk
[2005-09-03 01:58 UTC] sniper@php.net
[2005-09-11 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 22:00:01 2025 UTC |
Description: ------------ Running the following compression / decompression code on MacOS X results in php hanging, and control never being retuyrned to the user. One particular side effect is that doing sudo pear upgrade-all does not install the upgrades and hangs. However, this problem appears to be in php itself, not pear. Reproduce code: --------------- <?php $fd = gzopen('temp.gz', 'wb9'); for ($i=0; $i<5000; $i++) gzwrite($fd, "hello world !"); gzclose($fd); $fd = gzopen('temp.gz', 'rb'); while (strlen($v_binary_data = gzread($fd, 512)) != 0) { } gzclose($fd); echo "OK Done !"; ?> Expected result: ---------------- OK Done! on completion. Actual result: -------------- Never returns.