Re: Debugging pear install hang

From: Date: Wed, 19 Aug 2009 04:16:55 +0000
Subject: Re: Debugging pear install hang
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-52665@lists.php.net to get a copy of this message
Hi Sriram, What version of Solaris are you using, and can you open the downloaded files using other programs? I ran into some problems using OpenSolaris in a VM where the OpenSolaris machine would only partially download files. Cheers, Mike On Tue, 2009-08-18 at 20:19 -0700, Sriram Natarajan wrote: > Hi > I am running into an issue where in when I try to run > > pear install <any pear package> > > I get the following message and then it just hangs.. > > Starting to download ... done > > It seems that after successful download, for some reason, pear is unable > to successfully unpack the downloaded tar.gz file. This is happening > with pretty much most of the pear packages. > > Is there a simple way to turn on debugging or verbose logging within > pear to find out which php API call is causing this hang. I did a > truss at this point and it seems that it doesn't recognize probably the > end of file ? > > 7579/1: fcntl(5, F_GETFD, 0x00098958) = > 0 > > 7579/1: fstat64(5, 0xFFBF26A8) = > 0 > > 7579/1: fstat64(5, 0xFFBF2550) = > 0 > > 7579/1: ioctl(5, TCGETA, 0xFFBF2634) Err#25 > ENOTTY > > 7579/1: read(5, "1F8B\b\0\0\0\0\0\0\vEC }".., 8192) = > 8192 > > 7579/1: read(5, "859CDECA Q <17E2 \DB >0E".., 8192) = > 2010 > > 7579/1: read(5, 0x0124F2CC, 8192) = > 0 > > 7579/1: llseek(5, 0, SEEK_CUR) = > 10202 > > 7579/1: lseek(5, 10, SEEK_SET) = > 10 > > 7579/1: read(5, "EC }F9 sDB 8B2F0FEECAAF9".., 8192) = > 8192 > > 7579/1: read(5, " >0E1216 e IDEC8F9E4 r d".., 8192) = > 2000 > > 7579/1: read(5, 0x0124F2CC, 8192) = > 0 > > 7579/1: lseek(5, 10, SEEK_SET) = > 10 > > 7579/1: read(5, "EC }F9 sDB 8B2F0FEECAAF9".., 8192) = > 8192 > > 7579/1: read(5, " >0E1216 e IDEC8F9E4 r d".., 8192) = > 2000 > > 7579/1: read(5, 0x0124F2CC, 8192) = > 0 > > 7579/1: lseek(5, 10, SEEK_SET) = 10 > > Cheers > - Sriram >

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