Home » File Formats » Archive_Tar » Bug #3772
hang on doing "pear install xxx" etc
Details
| Submitted | 2005-03-11 12:09 UTC |
|---|---|
| From | ralph at cs dot cf dot ac dot uk |
| Assigned | vblavet |
| Status | Bogus |
| Package | Archive_Tar |
| PHP Version | 5.0.3 |
| OS | Macos x 10.3 |
| Roadmaps | (Not assigned) |
Comments
[2005-03-11 12:09 UTC] ralph at cs dot cf dot ac dot uk
Description:
------------
I believe this bug to be attributable to archive_tar,
but may be wrong.
This bug was previously in the database, but I can now
longer find it.
At the console, as root, do e.g.
sudo pear upgrade-all
The packages are downloaded, but the program hangs (with
processor running flat out) at the stage where
downloaded tgz files are expanded before the packages
get installed.
The only way out is to type ctrl-C, as shown below.
sudo pear upgrade-all
Will upgrade db
Will upgrade xml_rpc
downloading DB-1.7.4.tgz ...
Starting to download DB-1.7.4.tgz (126,502 bytes)
............................done: 126,502 bytes
^C
Reproduce code:
---------------
sudo pear upgrade-all
Expected result:
----------------
Packages should be installed.
Actual result:
--------------
pear hangs without completing the install
[2005-03-11 12:10 UTC] ralph at cs dot cf dot ac dot uk
typo corrected
[2005-03-11 13:56 UTC] ralph at cs dot cf dot ac dot uk
I bleieve bug 948 to have been wrongly closed. This IS a
bug in PEAR OR php itself. Just closing it is unhelpful
when PEAR does not work for MacOS 10.3.
The following test:
<?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 !";
?>
results in a hang in php.
This may reflect a bug in php itself. In that case,
please escalate the bug to the php maintainers.
[2005-03-14 13:37 UTC] RALPH at CS dot CF dot AC dot UK
The PHP bugs you refer to are nothing to do with the one
reported here.
[2005-03-14 13:43 UTC] ralph at cs dot cf dot ac dot uk
Filed as php bug 32301