Re: Debugging pear install hang

From: Date: Wed, 19 Aug 2009 05:57:11 +0000
Subject: Re: Debugging pear install hang
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-52669@lists.php.net to get a copy of this message
> thanks for the pointer. install -Z worked. I am using php 5.2.9 . I > think, there is an issue with zlib. Is there a simple way to enable > logging within pear to find out exactly which call is causing this > hang. I did some basic debugging (using gdb and truss) and it seems > to me that zlib is not recognizing the 'end of file' for some reason. > Would like to know why though. Hmm this should be fixed in 5.2.9. The problem I fixed relating to this exact issue was in http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/ext/zlib/zlib_filter.c?r1=252812&r2=267184 which was on Oct 11, 2008. This was in PHP 5.2.9. I wonder if you could try out PHP 5.2.8 to see if the fix has a bug? Of course, I'm not sure this fix even applies, as Archive_Tar doesn't use stream filters, which was the code I touched. More likely is that the zlib on your box is borked. I'd start by checking to make sure that it is version 1.2.3.3 by running php -i |grep Version The last 2 lines "Compiled Version 1.2.3.3" and "Linked Version 1.2.3.3" are the ones relevant to zlib. Greg

« previous php.pear.dev (#52669) next »