#25682 [Bgs]: PHP CLI crashes in case php.ini exists
ID: 25682 User updated by: hotta at net-newbie dot com Reported By: hotta at net-newbie dot com Status: Bogus Bug Type: Zend Engine 2 problem Operating System: Vine Linux(dev) PHP Version: 5CVS-2003-09-29 (dev) New Comment: i've downgraded bison to 1.28 and it worked fine. thanks! Previous Comments: [2003-09-29 05:39:21] [EMAIL PROTECTED] Actually bogus, your bison version is broken. (only supported working version is 1.28) [2003-09-29 05:38:28] [EMAIL PROTECTED] And do not run buildconf!! [2003-09-29 05:38:16] [EMAIL PROTECTED] 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 [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=0xb700, 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=0xb9c4) 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=0xb9c4, 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=25682edit=1
#25682 [NEW]: PHP CLI crashes in case php.ini exists
From: hotta at net-newbie dot com Operating system: Vine Linux(dev) PHP version: 5CVS-2003-09-29 (dev) PHP Bug Type: Zend Engine 2 problem Bug description: PHP CLI crashes in case php.ini exists 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=0xb700, 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=0xb9c4) 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=0xb9c4, 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 bug report at http://bugs.php.net/?id=25682edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25682r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25682r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25682r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25682r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25682r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25682r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=25682r=support Expected behavior: http://bugs.php.net/fix.php?id=25682r=notwrong Not enough info:http://bugs.php.net/fix.php?id=25682r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=25682r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25682r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25682r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25682r=dst IIS Stability: http://bugs.php.net/fix.php?id=25682r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=25682r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=25682r=float
#25682 [Opn]: PHP CLI crashes in case php.ini exists
ID: 25682 User updated by: hotta at net-newbie dot com Reported By: hotta at net-newbie dot com Status: Open Bug Type: Zend Engine 2 problem Operating System: Vine Linux(dev) PHP Version: 5CVS-2003-09-29 (dev) New Comment: 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 Previous Comments: [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=0xb700, 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=0xb9c4) 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=0xb9c4, 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=25682edit=1
#22414 [Com]: passthru not working anymore
ID: 22414 Comment by: hotta at net-newbie dot com Reported By: j dot lammerts at chello dot nl Status: Closed Bug Type: Output Control Operating System: AIX 4.3.3 PHP Version: 4CVS-2003-02-25 (stable) Assigned To: iliaa New Comment: i've got same error when building php-4.3.2 on VineSeed (Vine Linux development version). It occurs when doing make test before installing /usr/bin/php. See README.TESTING for details. Previous Comments: [2003-05-27 15:43:03] norbert dot weisz at hp dot com I've got similar on Redhat9.0 when trying to compile PHP-4.3.2RC4: FAILED TEST SUMMARY - Bug #22414: passthru() does not read data correctly [ext/standard/tests/file/bug22414.phpt] = make: *** [test] Error 1 + exit 1 [2003-02-25 10:22:08] [EMAIL PROTECTED] This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. [2003-02-25 05:51:00] j dot lammerts at chello dot nl I'm using the PHP_4_3 CVS (right now php4-STABLE-200302251030). Something as simple as this : ? passthru('echo Hello'); ? produces no output (and no errors). No other combinations of single and double quotes give different results.. [2003-02-25 05:35:15] [EMAIL PROTECTED] Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to Open. Thank you for your interest in PHP. Please supply a reproducing script. Are you using PHP_4_3 CVS branch or php5 ? [2003-02-25 05:18:00] j dot lammerts at chello dot nl The PHP function passthru works without errors in our production environment (PHP4.0.6). Passthru in the latest CVS produces no output at all. Also, no errors or notices are seen in the error_log. Is this a known problem ? -- Edit this bug report at http://bugs.php.net/?id=22414edit=1