ID: 40841 Updated by: [EMAIL PROTECTED] Reported By: lovan at lifesci dot ucsb dot edu -Status: Assigned +Status: Feedback Bug Type: Unknown/Other Function Operating System: Solaris 10 PHP Version: 5.2.1 Assigned To: iliaa New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2007-03-30 01:35:24] brian at eng dot wayne dot edu Sorry, I should have said - not exactly the same but similar: Warning: unpack(): Type V: not enough input, need 4, have 0 in /usr/people/brian /php5.2-200703280830/pear/install-pear-nozlib.phar on line 290 Warning: unpack(): Type V: not enough input, need 4, have 0 in /usr/people/brian /php5.2-200703280830/pear/install-pear-nozlib.phar on line 302 Warning: array_values(): The argument should be an array in /usr/people/brian/ph p5.2-200703280830/pear/install-pear-nozlib.phar on line 302 Notice: Undefined offset: 5 in /usr/people/brian/php5.2-200703280830/pear/insta ll-pear-nozlib.phar on line 304 Notice: Undefined offset: 2 in /usr/people/brian/php5.2-200703280830/pear/insta ll-pear-nozlib.phar on line 311 Notice: Undefined offset: 5 in /usr/people/brian/php5.2-200703280830/pear/insta ll-pear-nozlib.phar on line 312 Fatal error: Error: "index.php" is not a file in phar "install-pear-nozlib.phar" in /usr/people/brian/php5.2-200703280830/pear/install-pear-nozlib.phar on line 543 ------------------------------------------------------------------------ [2007-03-30 01:32:02] brian at eng dot wayne dot edu I'm seeing the same error message on SGI IRIX 6.5/64-bit using the commercial IRIX MIPSPro C compiler. ------------------------------------------------------------------------ [2007-03-20 16:41:24] lovan at lifesci dot ucsb dot edu I'm saying that the 5.2.0 unpack core dumped under GCC 4.1.2 on Solaris 10 but worked on Solaris 10 if compiled using the Sun C compiler. I'm also saying that the 5.2.1 unpack reports spurious errors instead of core dumping (regardless of compiler) on Solaris 10. ------------------------------------------------------------------------ [2007-03-20 14:57:41] [EMAIL PROTECTED] so you are saying that PHP 5.2.0 worked fine on Solaris 10, but PHP 5.2.1 doesn't? The phar did not change between PHP 5.2.0 and PHP 5.2.1. That sounds like a regression in unpack(), not a phar issue. Changing to feedback to confirm that I understand the user's last comment, and re-assigning to tony, with the assumption that it is an unpack() regression ------------------------------------------------------------------------ [2007-03-19 19:17:01] lovan at lifesci dot ucsb dot edu Update: I tried compiling 5.2.0 to see if I could narrow the problem. First I compiled it using GCC 4.1.2 (CFLAGS="-m64 -mcpu=v9"). When this binary attempted to unpack the phar archives, it segfaulted. I then compiled it using SunPro CC (CFLAGS="-xtarget=ultra -xarch=v9b -xcode=pic32"). This compiled and installed cleanly though it fails many more pieces of a "make test". ------------------------------------------------------------------------ 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/40841 -- Edit this bug report at http://bugs.php.net/?id=40841&edit=1
