From:
Operating system: irrelevant
PHP version: 5.3SVN-2010-08-31 (SVN)
Package: Scripting Engine problem
Bug Type: Bug
Bug description:Program terminated with signal 7, Bus error.
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 bug report at http://bugs.php.net/bug.php?id=52752&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=52752&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=52752&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=52752&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=52752&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=52752&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=52752&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=52752&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=52752&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=52752&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=52752&r=support
Expected behavior: http://bugs.php.net/fix.php?id=52752&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=52752&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=52752&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=52752&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52752&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=52752&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=52752&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=52752&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=52752&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=52752&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=52752&r=mysqlcfg