From:             [EMAIL PROTECTED]
Operating system: win2000 cygwin
PHP version:      4CVS-2003-03-11 (stable)
PHP Bug Type:     CGI related
Bug description:  '-c' switch on cli produced core dump on cygwin

where ./php.ini is empty file, doing: php -c ./php.ini, produced:
Segmentation fault (core dumped)

the problem is with php5/php4 both with regular ./configure

here is bt:

#0  0x004f632a in ini_parse () at Zend/zend_ini_parser.c:1043
#1  0x004f5fa3 in zend_parse_ini_file (fh=0x22fb10, 
    unbuffered_errors=1 '\001', 
    ini_parser_cb=0x4c714e <php_config_ini_parser_cb>, arg=0x53aba0)
    at /cygdrive/d/php-dev/php4/Zend/zend_ini_parser.y:164
#2  0x004c781b in php_init_config ()
    at /cygdrive/d/php-dev/php4/main/php_ini.c:385
#3  0x004c21a4 in php_module_startup (sf=0x538450, 
    additional_modules=0x0, num_additional_modules=0)
    at /cygdrive/d/php-dev/php4/main/main.c:1163
#4  0x00526259 in main (argc=3, argv=0xa042188)
    at /cygdrive/d/php-dev/php4/sapi/cli/php_cli.c:481

-- 
Edit bug report at http://bugs.php.net/?id=22632&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22632&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22632&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22632&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22632&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22632&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22632&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22632&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22632&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22632&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22632&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22632&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22632&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22632&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22632&r=gnused

Reply via email to