ID: 34894 Updated by: [EMAIL PROTECTED] Reported By: colin at viebrock dot ca -Status: Open +Status: Closed Bug Type: CGI related Operating System: Linux PHP Version: 5.1.0RC1 New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. That one is already reported - closing then. Previous Comments: ------------------------------------------------------------------------ [2005-10-17 18:24:52] colin at viebrock dot ca The new snap seems to fix that issue, however I now get the following messages on "make install" [EMAIL PROTECTED]:~/sources/php5-200510171430$ make install Installing PHP CLI binary: /home/cmv/bin/ Installing PHP CLI man page: /home/cmv/man/man1/ Installing build environment: /home/cmv/lib/php/ build/ Installing header files: /home/cmv/include/php/ Installing helper programs: /home/cmv/bin/ program: phpize program: php-config Installing man pages: /home/cmv/man/man1/ page: phpize.1 page: php-config.1 Installing PEAR environment: /home/cmv/lib/php/ --11:21:34-- http://pear.php.net/install-pear- nozlib.phar => `/home/cmv/sources/php5-200510171430/pear/ install-pear-nozlib.phar' Resolving pear.php.net... done. Connecting to pear.php.net[216.92.131.66]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3,321,897 [text/plain] 100%[=================================================== =========================>] 3,321,897 179.37K/s ETA 00:00 11:21:52 (179.37 KB/s) - `/home/cmv/sources/php5 -200510171430/pear/install-pear-nozlib.phar' saved [3321897/3321897] Fatal error: Error: phar "/usr/local/home/cmv/sources/ php5-200510171430/pear/install-pear-nozlib.phar" Checksum error on entry "" in /usr/local/home/cmv/ sources/php5-200510171430/pear/install-pear-nozlib.phar on line 376 make[1]: *** [install-pear-installer] Error 255 make: *** [install-pear] Error 2 ------------------------------------------------------------------------ [2005-10-17 17:27:18] [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 ------------------------------------------------------------------------ [2005-10-17 17:25:36] colin at viebrock dot ca Description: ------------ make install fails, and it's the install-pear-installer section that causes it, but it seems to be due to a segfault in the CLI. Configure line is: # ./configure --enable-cli --disable-cgi --prefix=/ home/cmv --enable-track-vars --disable-magic-quotes -- disable-debug --with-mysql=/usr/local --with-gettext -- with-xml --with-xmlrpc --with-dom-xslt --enable-xslt -- with-expat-dir=/usr --with-xslt-sablot --with-dom -- with-curl --with-zlib --with-mcrypt --enable-ftp Reproduce code: --------------- just running ./sapi/cli/php causes the segfault. Actual result: -------------- [EMAIL PROTECTED]:~/sources/php-5.1.0RC1$ gdb sapi/cli/php GNU gdb 5.3-debian Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-linux"... (gdb) run -n -dsafe_mode=0 pear/install-pear.php pear/ package-*.xml Starting program: /usr/local/home/cmv/sources/php -5.1.0RC1/sapi/cli/php -n -dsafe_mode=0 pear/install- pear.php pear/package-*.xml Program received signal SIGSEGV, Segmentation fault. 0x081f2dad in _zend_hash_add_or_update (ht=0x8344ba0, arKey=0x829378c "sqlite", nKeyLength=6, pData=0xbffff9c0, nDataSize=4, pDest=0x0, flag=2) at /home/cmv/ sources/php-5.1.0RC1/Zend/zend_hash.c:213 213 p = ht->arBuckets[nIndex]; (gdb) bt #0 0x081f2dad in _zend_hash_add_or_update (ht=0x8344ba0, arKey=0x829378c "sqlite", nKeyLength=6, pData=0xbffff9c0, nDataSize=4, pDest=0x0, flag=2) at /home/cmv/ sources/php-5.1.0RC1/Zend/zend_hash.c:213 #1 0x080ce25a in php_pdo_register_driver (driver=0x8332198) at /home/cmv/sources/php-5.1.0RC1/ ext/pdo/pdo.c:149 #2 0x080d6283 in zm_startup_pdo_sqlite (type=1, module_number=10) at /home/cmv/sources/php-5.1.0RC1/ext/pdo_sqlite/ pdo_sqlite.c:80 #3 0x081f0517 in zend_startup_module_ex (module=0x83826f0) at /home/cmv/sources/php-5.1.0RC1/ Zend/zend_API.c:1280 #4 0x081f3d00 in zend_hash_apply (ht=0x834b480, apply_func=0x81f0414 <zend_startup_module_ex>) at /home/cmv/sources/php-5.1.0RC1/Zend/zend_hash.c: 664 #5 0x081f061f in zend_startup_modules () at /home/cmv/ sources/php-5.1.0RC1/Zend/zend_API.c:1327 #6 0x081bcb5a in php_module_startup (sf=0x8343ac0, additional_modules=0x0, num_additional_modules=0) at /home/cmv/sources/php-5.1.0RC1/main/main.c:1501 #7 0x0827db7e in main (argc=7, argv=0xbffffca4) at / home/cmv/sources/php-5.1.0RC1/sapi/cli/php_cli.c:656 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34894&edit=1
