ID:               25682
 Updated by:       [EMAIL PROTECTED]
 Reported By:      hotta at net-newbie dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Zend Engine 2 problem
 Operating System: Vine Linux(dev)
 PHP Version:      5CVS-2003-09-29 (dev)
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip


Previous Comments:
------------------------------------------------------------------------

[2003-09-29 00:37:13] hotta at net-newbie dot com

my envs are below:
$ rpm -qa|grep -e automake -e autoconf -e libtool \
 -e bison -e gcc-3 -e glibc-2
glibc-2.3.2-57vl4
libgcc-3.2.3-0vl5
gcc-3.2.3-0vl5
libtool-libs-1.5-5vl1
autoconf-2.57-3vl1
bison-1.875-3vl1
automake-1.7.6-1vl1
libtool-1.5-5vl1

------------------------------------------------------------------------

[2003-09-29 00:34:23] hotta at net-newbie dot com

Description:
------------
if php.ini file exists PHP CLI crashes on startup
even though it is a 0-byte file.

Reproduce code:
---------------
$ ./buildconf
$ ./configure --disable-cgi --enable-debug
$ make
$ sudo make install
$ php -v

Expected result:
----------------
it shows version info.

Actual result:
--------------
$ php
Segmentation fault (core dumped)
$ gdb php core.16001
#0  0x08179264 in ini_parse () at Zend/zend_ini_parser.c:1040
1040              goto yyoverflowlab;
(gdb)bt
#0  0x08179264 in ini_parse () at Zend/zend_ini_parser.c:1040
#1  0x081790f0 in zend_parse_ini_file (fh=0xbffff700,
    unbuffered_errors=1 '\001',
    ini_parser_cb=0x815abb7 <php_config_ini_parser_cb>, arg=0x820f800)
    at zend_ini_parser.y:156
#2  0x0815b2d4 in php_init_config ()
    at /usr/local/src/php-5.0.0/main/php_ini.c:420
#3  0x08156bc4 in php_module_startup (sf=0x820e060,
additional_modules=0x0,
    num_additional_modules=0) at
/usr/local/src/php-5.0.0/main/main.c:1390
#4  0x081b7248 in main (argc=1, argv=0xbffff9c4)
    at /usr/local/src/php-5.0.0/sapi/cli/php_cli.c:593
#5  0x40204015 in __libc_start_main (main=0x81b70da <main>, argc=1,
    ubp_av=0xbffff9c4, init=0x81b89dc <__libc_csu_init>,
    fini=0x81b8a28 <__libc_csu_fini>, rtld_fini=0x40013020
<_rtld_local>,
    stack_end=0xbfffbad0) at ../sysdeps/generic/libc-start.c:225


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=25682&edit=1

Reply via email to