#34894 [NEW]: make install-pear-installer segfaults

From: Date: Mon, 17 Oct 2005 15:25:38 +0000
Subject: #34894 [NEW]: make install-pear-installer segfaults
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-86652@lists.php.net to get a copy of this message
From: colin at viebrock dot ca Operating system: Linux PHP version: 5.1.0RC1 PHP Bug Type: CGI related Bug description: make install-pear-installer segfaults 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: -------------- cmv@tex:~/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 bug report at http://bugs.php.net/?id=34894&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34894&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34894&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34894&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=34894&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=34894&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34894&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34894&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34894&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34894&r=support Expected behavior: http://bugs.php.net/fix.php?id=34894&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34894&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34894&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=34894&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34894&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=34894&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34894&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34894&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34894&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34894&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34894&r=mysqlcfg

« previous php.bugs (#86652) next »