#22632 [Fbk->Bgs]: '-c' switch on cli produced core dump on cygwin
| From: | sniper@php.net | Date: | Tue, 11 Mar 2003 17:10:44 +0000 |
| Subject: | #22632 [Fbk->Bgs]: '-c' switch on cli produced core dump on cygwin | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-35351@lists.php.net to get a copy of this message | ||
ID: 22632
Updated by: sniper@php.net
Reported By: momo@php.net
-Status: Feedback
+Status: Bogus
Bug Type: CGI related
Operating System: win2000 cygwin
PHP Version: 4CVS-2003-03-11 (stable)
New Comment:
Use 1.28 and all is fine.
(we recommend it too)
Previous Comments:
------------------------------------------------------------------------
[2003-03-11 06:08:41] momo@php.net
1.75 fixed the problem.
what about check on the configure before closing this bug?
------------------------------------------------------------------------
[2003-03-11 05:17:10] edink@php.net
Which bison version? 1.875? If yes could you try downgrading to 1.75 or
1.28 and rebuilding?
------------------------------------------------------------------------
[2003-03-11 05:05:18] momo@php.net
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 this bug report at http://bugs.php.net/?id=22632&edit=1