ID: 22215
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Reproducible crash
Operating System: Linux
PHP Version: 4CVS-2003-02-13 (stable) / 5CVS-2003-02-13 (dev)
New Comment:
That version is know to cause the crash in PHP. Please downgrade to
1.75 or all the way down to 1.28.
Previous Comments:
------------------------------------------------------------------------
[2003-02-14 14:50:23] [EMAIL PROTECTED]
not quite 1.875a, but close
$ bison --version
bison (GNU Bison) 1.875
------------------------------------------------------------------------
[2003-02-14 13:31:37] [EMAIL PROTECTED]
Sorry, I forgot that I live in a far east area.
Correcting version info.
------------------------------------------------------------------------
[2003-02-14 13:27:21] [EMAIL PROTECTED]
This bug appears to be yet another bison oddity.
I managed to reproduce with bison 1.875a
Which version of bison are you using?
$ bison --version
------------------------------------------------------------------------
[2003-02-14 02:08:58] [EMAIL PROTECTED]
I do _not_ have auto_detect_line_endings enabled in my ini file. The
contents of the file are included in my original report. Backtrace
follows - perhaps this should be a 'scripting engine problem' if it is
a PHP problem.
(gdb) run
Starting program: /usr/local/src/php-cvs/php4/sapi/cli/php
Program received signal SIGSEGV, Segmentation fault.
0x404044fc in memcpy () at memcpy:-1
-1 memcpy: No such file or directory.
in memcpy
(gdb) bt
#0 0x404044fc in memcpy () at memcpy:-1
#1 0xdfffdea5 in ?? ()
#2 0x081258e3 in zend_parse_ini_file (fh=0xbfffd9e0,
unbuffered_errors=1,
ini_parser_cb=0x8112948 <php_config_ini_parser_cb>, arg=0x821f900)
at /usr/local/src/php-cvs/php4/Zend/zend_ini_parser.y:164
#3 0x08112e99 in php_init_config () at
/usr/local/src/php-cvs/php4/main/php_ini.c:386
#4 0x0810ee9f in php_module_startup (sf=0x821c720,
additional_modules=0x0, num_additional_modules=0)
at /usr/local/src/php-cvs/php4/main/main.c:1104
#5 0x081504c1 in main (argc=1, argv=0xbfffdc84) at
/usr/local/src/php-cvs/php4/sapi/cli/php_cli.c:481
#6 0x40397657 in __libc_start_main (main=0x8150398 <main>, argc=1,
ubp_av=0xbfffdc84, init=0x806a8e4 <_init>,
fini=0x81a0760 <_fini>, rtld_fini=0x4000dcd4 <_dl_fini>,
stack_end=0xbfffdc7c)
at ../sysdeps/generic/libc-start.c:129
(gdb)
------------------------------------------------------------------------
[2003-02-13 16:19:05] [EMAIL PROTECTED]
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
Also, do you have the 'auto_detect_line_endings' enabled in your ini
file?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/22215
--
Edit this bug report at http://bugs.php.net/?id=22215&edit=1