From:             rsctm at freemail dot hu
Operating system: Linux
PHP version:      5.3.26
Package:          *General Issues
Bug Type:         Bug
Bug description:PHP sigbus while lexing

Description:
------------
I've got a Joomla site which makes PHP sigbus regularly. Backtrace of Core
files have two different output (about 50-50% of cases).

Problem looks very similar to this one:

http://zecrazytux.net/troubleshooting/php-sigbus-crash-prestashop

Expected result:
----------------
No crash.

Actual result:
--------------
Core was generated by `php-fpm: pool p16471         '.
Program terminated with signal 7, Bus error.
#0  lex_scan (zendlval=0x7fff1207c4a8) at
Zend/zend_language_scanner.c:2129
2129                    switch (yych) {
#0  lex_scan (zendlval=0x7fff1207c4a8) at
Zend/zend_language_scanner.c:2129
#1  0x000000000071b040 in zendlex (zendlval=0x7fff1207c4a0) at
/path/php-5.3.26/Zend/zend_compile.c:4976
#2  0x0000000000704abe in zendparse () at
/path/php-5.3.26/Zend/zend_language_parser.c:3285
#3  0x00000000007104a8 in compile_file (file_handle=0x7fff1207c5d0, type=2)
at Zend/zend_language_scanner.l:364
#4  0x000000000076a3cf in ZEND_INCLUDE_OR_EVAL_SPEC_VAR_HANDLER
(execute_data=0x2715348)
    at /path/php-5.3.26/Zend/zend_vm_execute.h:8610
#5  0x0000000000758828 in execute (op_array=0x24a2150) at
/path/php-5.3.26/Zend/zend_vm_execute.h:107
#6  0x00000000007331ca in zend_execute_scripts (type=8, retval=<value
optimized out>, file_count=3)
    at /path/php-5.3.26/Zend/zend.c:1259
#7  0x00000000006e183e in php_execute_script (primary_file=<value optimized
out>) at /path/php-5.3.26/main/main.c:2316
#8  0x00000000007c2218 in main (argc=<value optimized out>, argv=<value
optimized out>)
    at /path/php-5.3.26/sapi/fpm/fpm/fpm_main.c:1929


Core was generated by `php-fpm: pool p16471         '.
Program terminated with signal 7, Bus error.
#0  lex_scan (zendlval=0x7fff1207c4a8) at
Zend/zend_language_scanner.l:1805
1805                            if (*YYCURSOR == '\'') {
#0  lex_scan (zendlval=0x7fff1207c4a8) at
Zend/zend_language_scanner.l:1805
#1  0x000000000071b040 in zendlex (zendlval=0x7fff1207c4a0) at
/path/php-5.3.26/Zend/zend_compile.c:4976
#2  0x0000000000704abe in zendparse () at
/path/php-5.3.26/Zend/zend_language_parser.c:3285
#3  0x00000000007104a8 in compile_file (file_handle=0x7fff1207c5d0, type=2)
at Zend/zend_language_scanner.l:364
#4  0x000000000076a3cf in ZEND_INCLUDE_OR_EVAL_SPEC_VAR_HANDLER
(execute_data=0x2650e58)
    at /path/php-5.3.26/Zend/zend_vm_execute.h:8610
#5  0x0000000000758828 in execute (op_array=0x1d187f0) at
/path/php-5.3.26/Zend/zend_vm_execute.h:107
#6  0x00000000007331ca in zend_execute_scripts (type=8, retval=<value
optimized out>, file_count=3)
    at /path/php-5.3.26/Zend/zend.c:1259
#7  0x00000000006e183e in php_execute_script (primary_file=<value optimized
out>) at /path/php-5.3.26/main/main.c:2316
#8  0x00000000007c2218 in main (argc=<value optimized out>, argv=<value
optimized out>)
    at /path/php-5.3.26/sapi/fpm/fpm/fpm_main.c:1929



-- 
Edit bug report at https://bugs.php.net/bug.php?id=64996&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=64996&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=64996&r=trysnapshot53
Try a snapshot (trunk):     
https://bugs.php.net/fix.php?id=64996&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=64996&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=64996&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=64996&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=64996&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=64996&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=64996&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=64996&r=notwrong
Not enough info:            
https://bugs.php.net/fix.php?id=64996&r=notenoughinfo
Submitted twice:            
https://bugs.php.net/fix.php?id=64996&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=64996&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64996&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=64996&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=64996&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=64996&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=64996&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=64996&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=64996&r=mysqlcfg

Reply via email to