Edit report at http://bugs.php.net/bug.php?id=52752&edit=1
ID: 52752
Updated by: rasmus@php.net
Reported by: paulgao at yeah dot net
Summary: Program terminated with signal 7, Bus error.
Status: Feedback
Type: Bug
Package: Scripting Engine problem
Operating System: irrelevant
PHP Version: 5.3SVN-2010-08-31 (SVN)
Block user comment: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2010-09-01 06:01:59] aharvey@php.net
Please test if this fails without APC. If so, we'll need a test script
to diagnose the problem.
------------------------------------------------------------------------
[2010-08-31 20:45:32] paulgao at yeah dot net
I use 5.3.4-dev, and APC 3.1.5-dev.
------------------------------------------------------------------------
[2010-08-31 20:43:53] paulgao at yeah dot net
Description:
------------
sometimes, PHP was core dump, error message is 'Program terminated with
signal 7, Bus error.'.
Test script:
---------------
I don't know code.
Actual result:
--------------
gdb backtrace message:
#0 0x00000000007e9179 in lex_scan (zendlval=0x7fffe9900bd8) at
Zend/zend_language_scanner.l:1635
#1 0x0000000000814517 in zendlex (zendlval=0x7fffe9900bd0) at
/root/php-5.3.3/Zend/zend_compile.c:4946
#2 0x00000000007e2700 in zendparse () at
/root/php-5.3.3/Zend/zend_language_parser.c:3280
#3 0x00000000007e817c in compile_file (file_handle=0x7fffe9901fc0,
type=2) at Zend/zend_language_scanner.l:354
#4 0x00000000004c5bd8 in my_compile_file (h=0x7fffe9901fc0, type=2) at
/root/php-5.3.3/ext/apc/apc_main.c:541
#5 0x00000000007e82f3 in compile_filename (type=2, filename=0x4ce0440)
at Zend/zend_language_scanner.l:397
#6 0x000000000087ee91 in ZEND_INCLUDE_OR_EVAL_SPEC_VAR_HANDLER
(execute_data=0x2ac39df370f0) at
/root/php-5.3.3/Zend/zend_vm_execute.h:8569
#7 0x000000000085a9f3 in execute (op_array=0x3e1cd80) at
/root/php-5.3.3/Zend/zend_vm_execute.h:107
#8 0x000000000082a2d7 in zend_execute_scripts (type=8, retval=0x0,
file_count=3) at /root/php-5.3.3/Zend/zend.c:1194
#9 0x00000000007b44cb in php_execute_script
(primary_file=0x7fffe9906920) at /root/php-5.3.3/main/main.c:2260
#10 0x000000000091deae in main (argc=3, argv=0x7fffe9906b28) at
/root/php-5.3.3/sapi/fpm/fpm/fpm_main.c:1865
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52752&edit=1