Edit report at http://bugs.php.net/bug.php?id=52752&edit=1
ID: 52752 Comment by: paulgao at yeah dot net Reported by: paulgao at yeah dot net Summary: Program terminated with signal 7, Bus error. Status: Open Type: Bug Package: Scripting Engine problem Operating System: Centos 5 32bit PHP Version: 5.3SVN-2010-08-31 (SVN) Block user comment: N New Comment: and, centos 64bit server, same result. Previous Comments: ------------------------------------------------------------------------ [2010-09-04 18:24:58] paulgao at yeah dot net Anybody There? ------------------------------------------------------------------------ [2010-09-02 08:15:49] paulgao at yeah dot net please use âab -n 200 -n 20 http://xxx/xxx.phpâ test. ------------------------------------------------------------------------ [2010-09-01 15:19:11] paulgao at yeah dot net script run in Centos 5 32bit server, php-fpm mode. configure command: ./configure --prefix=/usr/local/php --without-pear --with-mysqli=mysqlnd --disable-phar --with-iconv --with-zlib --enable-exif --enable-sockets --enable-mbstring=all --enable-inline-optimization --enable-debug --enable-static --disable-ipv6 --disable-pdo --without-sqlite --enable-fpm --with-libevent=shared ------------------------------------------------------------------------ [2010-09-01 15:17:28] paulgao at yeah dot net test script: <?php file_put_contents(__DIR__ . '/test.tpl', "TEST"); ob_start(); include __DIR__ . '/test.tpl'; file_put_contents(__DIR__ . '/cache.tpl', ob_get_clean()); include __DIR__ . '/cache.tpl'; ?> core dump backtreace message: #0 0x082fd8d6 in lex_scan (zendlval=0xbff7295c) at Zend/zend_language_scanner.c:930 930 yych = *YYCURSOR; (gdb) bt #0 0x082fd8d6 in lex_scan (zendlval=0xbff7295c) at Zend/zend_language_scanner.c:930 #1 0x08324d5d in zendlex (zendlval=0xbff72958) at /root/php-5.3.3/Zend/zend_compile.c:4947 #2 0x082f7447 in zendparse () at /root/php-5.3.3/Zend/zend_language_parser.c:3280 #3 0x082fcc97 in compile_file (file_handle=0xbff72ad0, type=2) at Zend/zend_language_scanner.l:354 #4 0x082fcdec in compile_filename (type=2, filename=0xa179af0) at Zend/zend_language_scanner.l:397 #5 0x0837983e in ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER (execute_data=0xa179a04) at /root/php-5.3.3/Zend/zend_vm_execute.h:5199 #6 0x08369b48 in execute (op_array=0xa1467a4) at /root/php-5.3.3/Zend/zend_vm_execute.h:107 #7 0x083398ca in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /root/php-5.3.3/Zend/zend.c:1266 #8 0x082cc48f in php_execute_script (primary_file=0xbff77034) at /root/php-5.3.3/main/main.c:2275 #9 0x0840f171 in main (argc=3, argv=0xbff77174) at /root/php-5.3.3/sapi/fpm/fpm/fpm_main.c:1865 ------------------------------------------------------------------------ [2010-09-01 07:00:48] ras...@php.net That doesn't seem to be APC-related if the backtrace is to be believed. It seems to be happening on the initial compile. But yes, please verify that it happens without APC as well. ------------------------------------------------------------------------ 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/bug.php?id=52752 -- Edit this bug report at http://bugs.php.net/bug.php?id=52752&edit=1