From:             Paul-PHPBug at Czarnik dot com
Operating system: FreeBSD 6.2-PRERELEASE
PHP version:      5.2.5
PHP Bug Type:     Reproducible crash
Bug description:  Fresh Install of PHP w/ Extensions Crashes

Description:
------------
fresh install of php5 & php5-extensions. run php -v = seg fault. Built all
w/ debug. Ran gdb bt, results are:
(gdb) bt
#0  0x28b44a16 in hash_lookup (hashtab=0x8435dc0,
    key=0xbfbfe8d0 "Î]B)Hé¿¿)\033&(") at misc.c:349
#1  0x29362fd7 in find_alias () from /usr/local/lib/librecode.so.3
#2  0x29364ea0 in recode_new_outer () from /usr/local/lib/librecode.so.3
#3  0x29319d76 in zm_startup_recode ()
   from /usr/local/lib/php/20060613-debug/recode.so
#4  0x081713ff in zend_startup_module_ex (module=0x8359100)
    at
/z/ports/tmp/usr/ports/lang/php5/work/php-5.2.5/Zend/zend_API.c:1466
#5  0x081779d4 in zend_hash_apply (ht=0x8274d40,
    apply_func=0x8171298 <zend_startup_module_ex>)
    at
/z/ports/tmp/usr/ports/lang/php5/work/php-5.2.5/Zend/zend_hash.c:867
#6  0x08171592 in zend_startup_modules ()
    at
/z/ports/tmp/usr/ports/lang/php5/work/php-5.2.5/Zend/zend_API.c:1513
#7  0x081240b1 in php_module_startup (sf=0x82705a0,
additional_modules=0x0,
    num_additional_modules=0)
    at /z/ports/tmp/usr/ports/lang/php5/work/php-5.2.5/main/main.c:1840
#8  0x081d2d5d in php_cli_startup (sapi_module=0x82705a0)
    at
/z/ports/tmp/usr/ports/lang/php5/work/php-5.2.5/sapi/cli/php_cli.c:358
#9  0x081d389a in main (argc=2, argv=0xbfbfec4c)
    at
/z/ports/tmp/usr/ports/lang/php5/work/php-5.2.5/sapi/cli/php_cli.c:717


Reproduce code:
---------------
php -v

Expected result:
----------------
the version info

Actual result:
--------------
Segmentation fault (core dumped)

-- 
Edit bug report at http://bugs.php.net/?id=44058&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=44058&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=44058&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=44058&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=44058&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=44058&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=44058&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=44058&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=44058&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=44058&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=44058&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=44058&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=44058&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=44058&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=44058&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=44058&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=44058&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=44058&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=44058&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=44058&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=44058&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=44058&r=mysqlcfg

Reply via email to