php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64996 PHP sigbus while lexing
Submitted: 2013-06-08 14:47 UTC Modified: 2013-07-24 10:16 UTC
From: rsctm at freemail dot hu Assigned:
Status: Duplicate Package: *General Issues
PHP Version: 5.3.26 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: rsctm at freemail dot hu
New email:
PHP Version: OS:

 

 [2013-06-08 14:47 UTC] rsctm at freemail dot hu
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



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-07-24 09:53 UTC] ab@php.net
related to bug #65312, bug #65091, bug #52752, bug #65091,  bug #64883 and maybe 
bug #61186
 [2013-07-24 10:16 UTC] ab@php.net
-Status: Open +Status: Duplicate
 [2013-07-24 10:16 UTC] ab@php.net
see bug #52752
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Feb 02 19:01:30 2025 UTC