#32301 [Fbk-Opn]: PHP hangs during decompression

2005-09-02 Thread ralph at cs dot cf dot ac dot uk
 ID:   32301
 User updated by:  ralph at cs dot cf dot ac dot uk
 Reported By:  ralph at cs dot cf dot ac dot uk
-Status:   Feedback
+Status:   Open
 Bug Type: Zlib Related
 Operating System: MacOS X 10.3.x
 PHP Version:  5CVS-2005-03-30
 New Comment:

Hmm. there is something odd going on here.

This snapshot does solve the problem on MacOS X 10.4.2 for 
the test case reported.

However, the original source of the problem was when 
installing stuff with PEAR, and that STILL does NOT work.

E.g.  sudo pear install Image_Barcode
downloading Image_Barcode-1.0.4.tgz ...
Starting to download Image_Barcode-1.0.4.tgz (13,150 bytes)
.done: 13,150 bytes

Hangs, processor running flat out, until aborted with CTRL-
C.

Before, after a long discussion with the PEAR folks, they 
produced the test case reported here to show it was not a 
PEAR bug.

Unfortunately, the fix so far seems to fix the test case, 
but not the real problem to be addressed!


Previous Comments:


[2005-09-02 08:53:26] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip

And don't invent your own PHP versions. The version string in the bug
reports must start with a NUMBER..




[2005-03-30 15:45:59] ralph at cs dot cf dot ac dot uk

Have tried this with 
php5-200503301230

Bug is still present.



[2005-03-18 19:31:59] [EMAIL PROTECTED]

2nd try:

  http://snaps.php.net/php5-latest.tar.gz

(for your convinience I removed the url for the win32
binaries..*SIGH*)

There's nothing wrong with the snapshot, I checked it myself.





[2005-03-14 14:42:35] ralph at cs dot cf dot ac dot uk

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; $i5000; $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.





-- 
Edit this bug report at http://bugs.php.net/?id=32301edit=1


#32301 [Fbk-Opn]: PHP hangs during decompression

2005-09-02 Thread ralph at cs dot cf dot ac dot uk
 ID:   32301
 User updated by:  ralph at cs dot cf dot ac dot uk
 Reported By:  ralph at cs dot cf dot ac dot uk
-Status:   Feedback
+Status:   Open
 Bug Type: Zlib Related
 Operating System: MacOS X 10.3.x
 PHP Version:  5CVS-2005-03-30
 New Comment:

New test:

sudo pear install Image_Barcode


Previous Comments:


[2005-09-02 10:36:18] [EMAIL PROTECTED]

So you need to come up with a better test script..




[2005-09-02 10:08:09] ralph at cs dot cf dot ac dot uk

Hmm. there is something odd going on here.

This snapshot does solve the problem on MacOS X 10.4.2 for 
the test case reported.

However, the original source of the problem was when 
installing stuff with PEAR, and that STILL does NOT work.

E.g.  sudo pear install Image_Barcode
downloading Image_Barcode-1.0.4.tgz ...
Starting to download Image_Barcode-1.0.4.tgz (13,150 bytes)
.done: 13,150 bytes

Hangs, processor running flat out, until aborted with CTRL-
C.

Before, after a long discussion with the PEAR folks, they 
produced the test case reported here to show it was not a 
PEAR bug.

Unfortunately, the fix so far seems to fix the test case, 
but not the real problem to be addressed!



[2005-09-02 08:53:26] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip

And don't invent your own PHP versions. The version string in the bug
reports must start with a NUMBER..




[2005-03-30 15:45:59] ralph at cs dot cf dot ac dot uk

Have tried this with 
php5-200503301230

Bug is still present.



[2005-03-18 19:31:59] [EMAIL PROTECTED]

2nd try:

  http://snaps.php.net/php5-latest.tar.gz

(for your convinience I removed the url for the win32
binaries..*SIGH*)

There's nothing wrong with the snapshot, I checked it myself.





The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/32301

-- 
Edit this bug report at http://bugs.php.net/?id=32301edit=1


#32301 [Fbk-Opn]: PHP hangs during decompression

2005-03-15 Thread ralph at cs dot cf dot ac dot uk
 ID:   32301
 User updated by:  ralph at cs dot cf dot ac dot uk
 Reported By:  ralph at cs dot cf dot ac dot uk
-Status:   Feedback
+Status:   Open
 Bug Type: Zlib Related
 Operating System: MacOS X 10.3.x
 PHP Version:  5.0.3
 New Comment:

I tried downloading the snapshot, but it seems to be 
lacking configure and install-sh files.

After running configure, I tried adding these from php 
5.0.3,but make immediately bailed out with lots of 
further missing files:
In file included from /usr/local/src/php5-STABLE
-200503150730/ext/libxml/libxml.c:28:
/usr/local/src/php5-STABLE-200503150730/main/php.h:34:
18: zend.h: No such file or directory
/usr/local/src/php5-STABLE-200503150730/main/php.h:35:
24: zend_qsort.h: No such file or directory
/usr/local/src/php5-STABLE-200503150730/main/php.h:38:
22: zend_API.h: No such file or directory

It seems that this snapshot is incomplete. Can you 
advise further?

On another score, the response about Windows is quite 
inappropriate as the bug is on MacOS X!


Previous Comments:


[2005-03-14 22:19:59] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.0-win32-latest.zip

Works fine for me.




[2005-03-14 14:42:35] ralph at cs dot cf dot ac dot uk

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; $i5000; $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.





-- 
Edit this bug report at http://bugs.php.net/?id=32301edit=1