PHP 5 (latest CVS HEAD) crashes at startup if "browscap" ini directive is used. Backtrace: (gdb) run -v Starting program: /usr/src/web/php/php5/sapi/cli/php -v [New Thread 1024 (runnable)]
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (runnable)] 0x82ff599 in _zend_is_inconsistent (ht=0x0, file=0x84cd860 "/usr/src/web/php/php5/Zend/zend_hash.c", line=837) at /usr/src/web/php/php5/Zend/zend_hash.c:53 53 if (ht->inconsistent==HT_OK) { (gdb) bt #0 0x82ff599 in _zend_is_inconsistent (ht=0x0, file=0x84cd860 "/usr/src/web/php/php5/Zend/zend_hash.c", line=837) at /usr/src/web/php/php5/Zend/zend_hash.c:53 #1 0x8301b20 in zend_hash_find (ht=0x0, arKey=0xbfffe660 "lwp", nKeyLength=4, pData=0xbfffe694) at /usr/src/web/php/php5/Zend/zend_hash.c:837 #2 0x82ee045 in zend_lookup_class (name=0xbfffe660 "lwp", name_length=3, ce=0xbfffe694) at /usr/src/web/php/php5/Zend/zend_execute_API.c:703 #3 0x82ebc24 in zend_get_constant (name=0x87a3f28 "LWP::Simple", name_len=11, result=0xbfffe6d8) at /usr/src/web/php/php5/Zend/zend_constants.c:251 #4 0x82dd8db in zend_ini_get_constant (result=0xbfffe748, name=0xbfffe7c0) at /usr/src/web/php/php5/Zend/zend_ini_parser.y:101 #5 0x82de3f6 in ini_parse () at /usr/src/web/php/php5/Zend/zend_ini_parser.y:229 #6 0x82ddad4 in zend_parse_ini_file (fh=0xbffff5f4, unbuffered_errors=1 '\001', ini_parser_cb=0x8215fc8 <php_browscap_parser_cb>, arg=0x85b4620) at /usr/src/web/php/php5/Zend/zend_ini_parser.y:156 #7 0x82163a7 in zm_startup_browscap (type=1, module_number=11) at /usr/src/web/php/php5/ext/standard/browscap.c:165 #8 0x820e74c in zm_startup_basic (type=1, module_number=11) at /usr/src/web/php/php5/ext/standard/basic_functions.c:1084 #9 0x82fdac3 in zend_startup_module (module=0x8568280) at /usr/src/web/php/php5/Zend/zend_API.c:1126 #10 0x82b41f6 in php_startup_extensions (ptr=0x8573474, count=56) at /usr/src/web/php/php5/main/main.c:1222 #11 0x832c1a9 in php_startup_internal_extensions () at main/internal_functions_cli.c:160 #12 0x82b4765 in php_module_startup (sf=0x8573240, additional_modules=0x0, num_additional_modules=0) at /usr/src/web/php/php5/main/main.c:1387 #13 0x832a9f8 in main (argc=2, argv=0xbffff904) at /usr/src/web/php/php5/sapi/cli/php_cli.c:592 #14 0x406619cb in __libc_start_main (main=0x832a874 <main>, argc=2, argv=0xbffff904, init=0x80af0d0 <_init>, fini=0x847d874 <_fini>, rtld_fini=0x4000aea0 <_dl_fini>, stack_end=0xbffff8fc) at ../sysdeps/generic/libc-start.c:92 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php