php报错 Parse error: syntax error,syntax unexpectedd $end, expecting T_CASE or T_DEFAULT or '}'

Laravel parse error: syntax error, unexpected T_CLASS, expecting T_STRING or T_VARIABLE
Related questions
Laravel parse error: syntax error, unexpected T_CLASS, expecting T_STRING or T_VARIABLE
imported from
After installing laravel we get an error:
Parse error: syntax error, unexpected T_CLASS, expecting T_STRING or T_VARIABLE or '$' in C:\xampp\htdocs\laravel\public\index.php on line 50
Laravel 5.1 uses the
to get string representations of a fully qualified classname. The error you're seeing is caused by
$kernel = $app-&make(Illuminate\Contracts\Http\Kernel::class);
This language feature has been introduced in PHP 5.5 which is a requirement of Laravel 5.1. Your installed PHP version is probably older than 5.5. Try to update your PHP binary.
In case you are interested in why ::class is used, take a look at
See also questions close to this topic
I tried to write a code for my autocomplete search but I reached a dead end.
I need suggestions about ready libraries I can use to create an autocomplete search connected to my Data Base .I would also appreciate some guidance how to combine them with my code.
Thank in advance
My laravel Log is filled with NotFoundHttpException in /forge/default/vendor/laravel/framework/src/Illuminate/Routing/RouteCollection.php:161, there are about ten of these exceptions logged per minute.
This makes it really hard to find anything useful in the Log file and the file itself grows large very quickly.
Is this from a bot trying to crawl the site or is possibly another issue? The log doesn't contain the url being accessed so it is hard to tell if it is a 404 issue.
I am making a CRUD Controller for Patient class like this.
BackendPatientController
class BackendPatientController extends Controller
//region CONST_DEFINE_AREA
const ID = 'id';
const PATIENT_NAME = 'patient_name';
const ADDRESS = 'address';
const PHONE = 'phone';
const DOB = 'dob';
const DIAGNOSTIC = 'diagnostic';
const SURGERY_TYPE = 'surgery_type';
const SURGERY_COST = 'surgery_cost';
const SURGERY_TIME = 'surgery_time';
const FAMILY_INCOME = 'family_income';
const FAMILY_SITUATION = 'family_situation';
const UNIT = 'unit';
const AFTER_SURGERY_INFO = 'after_surgery_info';
const PHOTO = 'photo';
const GENDER = 'gender';
const POST_BY = 'post_by';
const GENDER_ID = 'genderID';
const POST_TIME = 'postTime';
const SURGERY_DONE = 'surgery_done';
const TABLE_PATIENT = 'patients';
//endregion DEF DE
const DATE_OF_BIRTH = 'dateOfBirth';
private $allGender =
* Show the form for creating a new resource.
* @return Response
public function create()
$genders = Gender::all();
$surgery_dones = Patient::getAllSurgeryDoneStatus();
return View::make('backend/patient/create', array('genders' =& $genders, 'surgery_dones' =& $surgery_dones));
//return View::make('backend/patient/create');
* Store a newly created resource in storage.
* @return Response
public function store(Request $patient)
error_reporting(E_ALL);
ini_set('display_errors',1);
$myfile = fopen('E:\log.txt', "w") or die("Unable to open file!");
$txt = "ID is : ".Input::get(self::ID);
fwrite($myfile, $txt);
fclose($myfile);
$attributeNames = array(
self::ID =& 'Code',
self::PATIENT_NAME =& 'Name',
self::DOB =& 'Date of birth',
self::DIAGNOSTIC =& 'Diagnostic',
self::SURGERY_TYPE =& 'Surgery type',
self::SURGERY_COST =& 'Surgery cost',
self::FAMILY_INCOME =& 'Family income'
$validator = Validator::make($patient-&all(), [
self::ID =& 'required|unique:patients|max:255',
self::PATIENT_NAME =& 'required',
self::DOB =& 'required',
self::DIAGNOSTIC =& 'required',
self::SURGERY_TYPE =& 'required',
self::SURGERY_COST =& 'required|numeric|min:1000',
self::FAMILY_INCOME =& 'numeric'
$validator-&setAttributeNames($attributeNames);
if ($validator-&fails()) {
return back()-&withErrors($validator)-&withInput();
$now = DateUtil::getTimeNow();
$id = Input::get(self::ID, '0000');
$name = Input::get(self::PATIENT_NAME, 'No name');
$address = Input::get(self::ADDRESS, 'No address');
$phone = Input::get(self::PHONE, 'No phone');
$dob = Input::get(self::DOB, $now);
$diagnostic = Input::get(self::DIAGNOSTIC);
$surgery_type = Input::get(self::SURGERY_TYPE, 'Unknown');
$surgery_cost = Input::get(self::SURGERY_COST, 0);
$surgery_time = Input::get(self::SURGERY_TIME);
$family_income = Input::get(self::FAMILY_INCOME, 0);
$family_situation = Input::get(self::FAMILY_SITUATION, 'Unknown situation');
$unit = Input::get(self::UNIT);
$after_surgery_info = Input::get(self::AFTER_SURGERY_INFO, 'Unknown status');
$fileNameToStore =
if (Input::hasFile(self::PHOTO)) {
$photo = Input::file(self::PHOTO);
$fileNameWithExtension = $photo-&getClientOriginalName();
//Get file name without extension
$fileName = pathinfo($fileNameWithExtension, PATHINFO_FILENAME);
//Get file extension
$extension = $photo-&getClientOriginalExtension();
//filename to store
$fileNameToStore = $fileName . '_' . time() . '.' . $
//Upload file
$photo-&move(Patient::getPatientImageDir(), $fileNameToStore);
//TinyPNG compress image code
$gender = Input::get(self::GENDER, 1);
$postBy = Input::get(self::POST_BY, Session::get('currentLogin'));
$postTime = $
$surgery_done = Input::get(self::SURGERY_DONE);
$new_patient[] = ['id' =& $id, 'patientName' =& $name, 'address' =& $address,
'phone' =& $phone, 'dateOfBirth' =& $dob, 'diagnostic' =& $diagnostic,
'surgeryType' =& $surgery_type, 'surgeryCost' =& $surgery_cost, 'surgeryTime' =& $surgery_time,
'income' =& $family_income, 'familySituation' =& $family_situation,
'unit' =& $unit, 'afterSurgeryInfo' =& $after_surgery_info, 'photo' =& $fileNameToStore, 'genderID' =& $gender,
'postBy' =& $postBy, self::POST_TIME =& $postTime, self::SURGERY_DONE =& $surgery_done
$update = Input::get('update', 0);
$new_patient = $this-&inputStore($patient);
$message = "Default message";
if ($update == 0) {
$message = "Create";
DB::table(self::TABLE_PATIENT)-&insert($new_patient);
$old_id = $patient-&
$old_patient = Patient::find($old_id);
$old_patient-&id =
$new_patient-&
return redirect()-&action('BackendPatientController@index', ['message' =& $message]);
* Show the form for editing the specified resource.
* @return Response
function edit($id)
$genders = $this-&getAll();
$surgery_dones = Patient::getAllSurgeryDoneStatus();
$patient = Patient::find($id);
return View::make('/backend/patient/create',
array('genders' =& $genders, 'surgery_dones' =& $surgery_dones, 'patient' =& $patient));
* Update the specified resource in storage.
* @return Response
I have a view (create.php) for create action, this view is bind to the store method of BackendPatientController class. The creating job is worked. Now I want to reuse the store action and the view create.php
for edit action, like this: When I pass a Patient object to the view, it should understand that is editing instead of creating.
create.php
&form class="form-horizontal form-label-left" method="post" enctype="multipart/form-data"
action="{{ action('BackendPatientController@store') }}" role="form"&
&input type="hidden" name="_token" value="{{ csrf_token() }}"&
@if(isset($patient))
&input type="hidden" name="update" value="1"&
$old_id = isset($patient)? $patient-&id :
Request::old('id');
$old_name = isset($patient)? $patient-&patientName : Request::old('patientName');
// get other properties of editing object ...
&div class="form-group"&
&label class="control-label col-md-3 col-sm-3 col-xs-12"&ID (*)&/label&
&div class="col-md-9 col-sm-9 col-xs-12"&
&input type="text" class="form-control" placeholder="ID" name="id" value="{{ $old_id }}" @if(isset($patient)) disabled @endif&
&div class="form-group"&
&label class="control-label col-md-3 col-sm-3 col-xs-12"&Name (*)&/label&
&div class="col-md-9 col-sm-9 col-xs-12"&
&input type="text" class="form-control" placeholder="Name" name="patient_name"
value="{{ $old_name }}"
When I edit a patient and click "Edit", it redirect to editing/create view, the ID and the Name is load correctly to the page, so the "id" input value is exist. When I click Submit, it call the store action with parameter update=1, mean editing, but the validation say: The Code is required ('Code' is the title assigned to to ID input field). So the editing job cannot be done, but when I test the creating job, it still work.
I think my problem is: The input value is exist but because it loaded programmatically to the form, so Laravel cannot recognize it.
Any help would be appreciated.From:Operating system: irrelevantPHP version:
5.3SVN- (SVN)Package:
Scripting Engine problemBug Type:
BugBug description:Program terminated with signal 7, Bus error.Description:------------sometimes, PHP was core dump, error message is 'Program terminated withsignal 7, Bus error.'.Test script:---------------I don't know code.Actual result:--------------gdb backtrace message:#0
0xe9179 in lex_scan (zendlval=0x7fffe9900bd8) atZend/zend_language_scanner.l:1635#1
0x4517 in zendlex (zendlval=0x7fffe9900bd0) at/root/php-5.3.3/Zend/zend_compile.c:4946#2
0xe2700 in zendparse () at/root/php-5.3.3/Zend/zend_language_parser.c:3280#3
0xe817c in compile_file (file_handle=0x7fffe9901fc0, type=2)at Zend/zend_language_scanner.l:354#4
0xc5bd8 in my_compile_file (h=0x7fffe9901fc0, type=2) at/root/php-5.3.3/ext/apc/apc_main.c:541#5
0xe82f3 in compile_filename (type=2, filename=0x4ce0440) atZend/zend_language_scanner.l:397#6
0xee91 in ZEND_INCLUDE_OR_EVAL_SPEC_VAR_HANDLER(execute_data=0x2ac39df370f0) at/root/php-5.3.3/Zend/zend_vm_execute.h:8569#7
0xa9f3 in execute (op_array=0x3e1cd80) at/root/php-5.3.3/Zend/zend_vm_execute.h:107#8
0xa2d7 in zend_execute_scripts (type=8, retval=0x0,file_count=3) at /root/php-5.3.3/Zend/zend.c:1194#9
0xb44cb in php_execute_script (primary_file=0x7fffe9906920)at /root/php-5.3.3/main/main.c:2260#10 0xdeae in main (argc=3, argv=0x7fffe9906b28) at/root/php-5.3.3/sapi/fpm/fpm/fpm_main.c:1865--Edit bug report at --Try a snapshot (PHP 5.2):
Try a snapshot (PHP 5.3):
Try a snapshot (trunk):
Fixed in SVN:
Fixed in SVN and need be documented: Fixed in release:
Need backtrace:
Need Reproduce Script:
Try newer version:
Not developer issue:
Expected behavior:
Not enough info:
Submitted twice:
register_globals:
PHP 4 support discontinued:
Daylight Savings:
IIS Stability:
Install GNU Sed:
Floating point limitations:
No Zend Extensions:
MySQL Configuration Error:
Search Discussions
Edit report at &&ID:
52752&&User updated by:
&&Reported by:
&&Summary:
Program terminated with signal 7, Bus error.&&Status:
Open&&Type:
Bug&&Package:
Scripting Engine problem&&Operating System:
irrelevant&&PHP Version:
5.3SVN- (SVN)&&Block user comment: N&&New Comment:I use 5.3.4-dev, and APC 3.1.5-dev.Previous Comments:------------------------------------------------------------------------[ 20:43:53] Description:------------sometimes, PHP was core dump, error message is 'Program terminated withsignal 7, Bus error.'.Test script:---------------I don't know code.Actual result:--------------gdb backtrace message:#0
0xe9179 in lex_scan (zendlval=0x7fffe9900bd8) atZend/zend_language_scanner.l:1635#1
0x4517 in zendlex (zendlval=0x7fffe9900bd0) at/root/php-5.3.3/Zend/zend_compile.c:4946#2
0xe2700 in zendparse () at/root/php-5.3.3/Zend/zend_language_parser.c:3280#3
0xe817c in compile_file (file_handle=0x7fffe9901fc0,type=2) at Zend/zend_language_scanner.l:354#4
0xc5bd8 in my_compile_file (h=0x7fffe9901fc0, type=2) at/root/php-5.3.3/ext/apc/apc_main.c:541#5
0xe82f3 in compile_filename (type=2, filename=0x4ce0440)at Zend/zend_language_scanner.l:397#6
0xee91 in ZEND_INCLUDE_OR_EVAL_SPEC_VAR_HANDLER(execute_data=0x2ac39df370f0) at/root/php-5.3.3/Zend/zend_vm_execute.h:8569#7
0xa9f3 in execute (op_array=0x3e1cd80) at/root/php-5.3.3/Zend/zend_vm_execute.h:107#8
0xa2d7 in zend_execute_scripts (type=8, retval=0x0,file_count=3) at /root/php-5.3.3/Zend/zend.c:1194#9
0xb44cb in php_execute_script(primary_file=0x7fffe9906920) at /root/php-5.3.3/main/main.c:2260#10 0xdeae in main (argc=3, argv=0x7fffe9906b28) at/root/php-5.3.3/sapi/fpm/fpm/fpm_main.c:1865--------------------------------------------------------------------------Edit this bug report at
Edit report at &&ID:
52752&&Updated by:
&&Reported by:
&&Summary:
Program terminated with signal 7, Bus error.-Status:
Open+Status:
Feedback&&Type:
Bug&&Package:
Scripting Engine problem&&Operating System:
irrelevant&&PHP Version:
5.3SVN- (SVN)&&Block user comment: N&&New Comment:Please test if this fails without APC. If so, we'll need a test scriptto diagnose the problem.Previous Comments:------------------------------------------------------------------------[ 20:45:32] I use 5.3.4-dev, and APC 3.1.5-dev.------------------------------------------------------------------------[ 20:43:53] Description:------------sometimes, PHP was core dump, error message is 'Program terminated withsignal 7, Bus error.'.Test script:---------------I don't know code.Actual result:--------------gdb backtrace message:#0
0xe9179 in lex_scan (zendlval=0x7fffe9900bd8) atZend/zend_language_scanner.l:1635#1
0x4517 in zendlex (zendlval=0x7fffe9900bd0) at/root/php-5.3.3/Zend/zend_compile.c:4946#2
0xe2700 in zendparse () at/root/php-5.3.3/Zend/zend_language_parser.c:3280#3
0xe817c in compile_file (file_handle=0x7fffe9901fc0,type=2) at Zend/zend_language_scanner.l:354#4
0xc5bd8 in my_compile_file (h=0x7fffe9901fc0, type=2) at/root/php-5.3.3/ext/apc/apc_main.c:541#5
0xe82f3 in compile_filename (type=2, filename=0x4ce0440)at Zend/zend_language_scanner.l:397#6
0xee91 in ZEND_INCLUDE_OR_EVAL_SPEC_VAR_HANDLER(execute_data=0x2ac39df370f0) at/root/php-5.3.3/Zend/zend_vm_execute.h:8569#7
0xa9f3 in execute (op_array=0x3e1cd80) at/root/php-5.3.3/Zend/zend_vm_execute.h:107#8
0xa2d7 in zend_execute_scripts (type=8, retval=0x0,file_count=3) at /root/php-5.3.3/Zend/zend.c:1194#9
0xb44cb in php_execute_script(primary_file=0x7fffe9906920) at /root/php-5.3.3/main/main.c:2260#10 0xdeae in main (argc=3, argv=0x7fffe9906b28) at/root/php-5.3.3/sapi/fpm/fpm/fpm_main.c:1865--------------------------------------------------------------------------Edit this bug report at
Edit report at &&ID:
52752&&Updated by:
&&Reported by:
&&Summary:
Program terminated with signal 7, Bus error.&&Status:
Feedback&&Type:
Bug&&Package:
Scripting Engine problem&&Operating System:
irrelevant&&PHP Version:
5.3SVN- (SVN)&&Block user comment: N&&New Comment:That doesn't seem to be APC-related if the backtrace is to be believed.It seemsto be happening on the initial compile.
But yes, please verify that ithappenswithout APC as well.Previous Comments:------------------------------------------------------------------------[ 06:01:59] Please test if this fails without APC. If so, we'll need a test scriptto diagnose the problem.------------------------------------------------------------------------[ 20:45:32] I use 5.3.4-dev, and APC 3.1.5-dev.------------------------------------------------------------------------[ 20:43:53] Description:------------sometimes, PHP was core dump, error message is 'Program terminated withsignal 7, Bus error.'.Test script:---------------I don't know code.Actual result:--------------gdb backtrace message:#0
0xe9179 in lex_scan (zendlval=0x7fffe9900bd8) atZend/zend_language_scanner.l:1635#1
0x4517 in zendlex (zendlval=0x7fffe9900bd0) at/root/php-5.3.3/Zend/zend_compile.c:4946#2
0xe2700 in zendparse () at/root/php-5.3.3/Zend/zend_language_parser.c:3280#3
0xe817c in compile_file (file_handle=0x7fffe9901fc0,type=2) at Zend/zend_language_scanner.l:354#4
0xc5bd8 in my_compile_file (h=0x7fffe9901fc0, type=2) at/root/php-5.3.3/ext/apc/apc_main.c:541#5
0xe82f3 in compile_filename (type=2, filename=0x4ce0440)at Zend/zend_language_scanner.l:397#6
0xee91 in ZEND_INCLUDE_OR_EVAL_SPEC_VAR_HANDLER(execute_data=0x2ac39df370f0) at/root/php-5.3.3/Zend/zend_vm_execute.h:8569#7
0xa9f3 in execute (op_array=0x3e1cd80) at/root/php-5.3.3/Zend/zend_vm_execute.h:107#8
0xa2d7 in zend_execute_scripts (type=8, retval=0x0,file_count=3) at /root/php-5.3.3/Zend/zend.c:1194#9
0xb44cb in php_execute_script(primary_file=0x7fffe9906920) at /root/php-5.3.3/main/main.c:2260#10 0xdeae in main (argc=3, argv=0x7fffe9906b28) at/root/php-5.3.3/sapi/fpm/fpm/fpm_main.c:1865--------------------------------------------------------------------------Edit this bug report at
Edit report at &&ID:
52752&&Comment by:
&&Reported by:
&&Summary:
Program terminated with signal 7, Bus error.&&Status:
Feedback&&Type:
Bug&&Package:
Scripting Engine problem&&Operating System:
irrelevant&&PHP Version:
5.3SVN- (SVN)&&Block user comment: N&&New Comment:test script:&?phpfile_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) atZend/zend_language_scanner.c:930930
yych = *YYCURSOR;(gdb) bt#0
0x082fd8d6 in lex_scan (zendlval=0xbff7295c) atZend/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) atZend/zend_language_scanner.l:354#4
0x082fcdec in compile_filename (type=2, filename=0xa179af0) atZend/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
0x in main (argc=3, argv=0xbff77174) at/root/php-5.3.3/sapi/fpm/fpm/fpm_main.c:1865Previous Comments:------------------------------------------------------------------------[ 07:00:48] That doesn't seem to be APC-related if the backtrace is to be believed.It seemsto be happening on the initial compile.
But yes, please verify that ithappenswithout APC as well.------------------------------------------------------------------------[ 06:01:59] Please test if this fails without APC. If so, we'll need a test scriptto diagnose the problem.------------------------------------------------------------------------[ 20:45:32] I use 5.3.4-dev, and APC 3.1.5-dev.------------------------------------------------------------------------[ 20:43:53] Description:------------sometimes, PHP was core dump, error message is 'Program terminated withsignal 7, Bus error.'.Test script:---------------I don't know code.Actual result:--------------gdb backtrace message:#0
0xe9179 in lex_scan (zendlval=0x7fffe9900bd8) atZend/zend_language_scanner.l:1635#1
0x4517 in zendlex (zendlval=0x7fffe9900bd0) at/root/php-5.3.3/Zend/zend_compile.c:4946#2
0xe2700 in zendparse () at/root/php-5.3.3/Zend/zend_language_parser.c:3280#3
0xe817c in compile_file (file_handle=0x7fffe9901fc0,type=2) at Zend/zend_language_scanner.l:354#4
0xc5bd8 in my_compile_file (h=0x7fffe9901fc0, type=2) at/root/php-5.3.3/ext/apc/apc_main.c:541#5
0xe82f3 in compile_filename (type=2, filename=0x4ce0440)at Zend/zend_language_scanner.l:397#6
0xee91 in ZEND_INCLUDE_OR_EVAL_SPEC_VAR_HANDLER(execute_data=0x2ac39df370f0) at/root/php-5.3.3/Zend/zend_vm_execute.h:8569#7
0xa9f3 in execute (op_array=0x3e1cd80) at/root/php-5.3.3/Zend/zend_vm_execute.h:107#8
0xa2d7 in zend_execute_scripts (type=8, retval=0x0,file_count=3) at /root/php-5.3.3/Zend/zend.c:1194#9
0xb44cb in php_execute_script(primary_file=0x7fffe9906920) at /root/php-5.3.3/main/main.c:2260#10 0xdeae in main (argc=3, argv=0x7fffe9906b28) at/root/php-5.3.3/sapi/fpm/fpm/fpm_main.c:1865--------------------------------------------------------------------------Edit this bug report at
Edit report at &&ID:
52752&&Comment by:
&&Reported by:
&&Summary:
Program terminated with signal 7, Bus error.&&Status:
Feedback&&Type:
Bug&&Package:
Scripting Engine problem&&Operating System:
irrelevant&&PHP Version:
5.3SVN- (SVN)&&Block user comment: N&&New Comment: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=sharedPrevious Comments:------------------------------------------------------------------------[ 15:17:28] test script:&?phpfile_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) atZend/zend_language_scanner.c:930930
yych = *YYCURSOR;(gdb) bt#0
0x082fd8d6 in lex_scan (zendlval=0xbff7295c) atZend/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) atZend/zend_language_scanner.l:354#4
0x082fcdec in compile_filename (type=2, filename=0xa179af0) atZend/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
0x in main (argc=3, argv=0xbff77174) at/root/php-5.3.3/sapi/fpm/fpm/fpm_main.c:1865------------------------------------------------------------------------[ 07:00:48] That doesn't seem to be APC-related if the backtrace is to be believed.It seemsto be happening on the initial compile.
But yes, please verify that ithappenswithout APC as well.------------------------------------------------------------------------[ 06:01:59] Please test if this fails without APC. If so, we'll need a test scriptto diagnose the problem.------------------------------------------------------------------------[ 20:45:32] I use 5.3.4-dev, and APC 3.1.5-dev.------------------------------------------------------------------------[ 20:43:53] Description:------------sometimes, PHP was core dump, error message is 'Program terminated withsignal 7, Bus error.'.Test script:---------------I don't know code.Actual result:--------------gdb backtrace message:#0
0xe9179 in lex_scan (zendlval=0x7fffe9900bd8) atZend/zend_language_scanner.l:1635#1
0x4517 in zendlex (zendlval=0x7fffe9900bd0) at/root/php-5.3.3/Zend/zend_compile.c:4946#2
0xe2700 in zendparse () at/root/php-5.3.3/Zend/zend_language_parser.c:3280#3
0xe817c in compile_file (file_handle=0x7fffe9901fc0,type=2) at Zend/zend_language_scanner.l:354#4
0xc5bd8 in my_compile_file (h=0x7fffe9901fc0, type=2) at/root/php-5.3.3/ext/apc/apc_main.c:541#5
0xe82f3 in compile_filename (type=2, filename=0x4ce0440)at Zend/zend_language_scanner.l:397#6
0xee91 in ZEND_INCLUDE_OR_EVAL_SPEC_VAR_HANDLER(execute_data=0x2ac39df370f0) at/root/php-5.3.3/Zend/zend_vm_execute.h:8569#7
0xa9f3 in execute (op_array=0x3e1cd80) at/root/php-5.3.3/Zend/zend_vm_execute.h:107#8
0xa2d7 in zend_execute_scripts (type=8, retval=0x0,file_count=3) at /root/php-5.3.3/Zend/zend.c:1194#9
0xb44cb in php_execute_script(primary_file=0x7fffe9906920) at /root/php-5.3.3/main/main.c:2260#10 0xdeae in main (argc=3, argv=0x7fffe9906b28) at/root/php-5.3.3/sapi/fpm/fpm/fpm_main.c:1865--------------------------------------------------------------------------Edit this bug report at
Edit report at &&ID:
52752&&Comment by:
&&Reported by:
&&Summary:
Program terminated with signal 7, Bus error.&&Status:
Feedback&&Type:
Bug&&Package:
Scripting Engine problem&&Operating System:
irrelevant&&PHP Version:
5.3SVN- (SVN)&&Block user comment: N&&New Comment:please use &€œab -n 200 -n 20
test.Previous Comments:------------------------------------------------------------------------[ 15:19:11] 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------------------------------------------------------------------------[ 15:17:28] test script:&?phpfile_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) atZend/zend_language_scanner.c:930930
yych = *YYCURSOR;(gdb) bt#0
0x082fd8d6 in lex_scan (zendlval=0xbff7295c) atZend/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) atZend/zend_language_scanner.l:354#4
0x082fcdec in compile_filename (type=2, filename=0xa179af0) atZend/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
0x in main (argc=3, argv=0xbff77174) at/root/php-5.3.3/sapi/fpm/fpm/fpm_main.c:1865------------------------------------------------------------------------[ 07:00:48] That doesn't seem to be APC-related if the backtrace is to be believed.It seemsto be happening on the initial compile.
But yes, please verify that ithappenswithout APC as well.------------------------------------------------------------------------[ 06:01:59] Please test if this fails without APC. If so, we'll need a test scriptto diagnose the problem.------------------------------------------------------------------------[ 20:45:32] I use 5.3.4-dev, and APC 3.1.5-dev.------------------------------------------------------------------------The remainder of the comments for this report are too long. To viewthe rest of the comments, please view the bug report online at&&&&&http://bugs.php.net/bug.php?id=52752--Edit this bug report at
Edit report at &&ID:
52752&&Comment by:
&&Reported by:
&&Summary:
Program terminated with signal 7, Bus error.&&Status:
Feedback&&Type:
Bug&&Package:
Scripting Engine problem&&Operating System:
irrelevant&&PHP Version:
5.3SVN- (SVN)&&Block user comment: N&&New Comment:Anybody There?Previous Comments:------------------------------------------------------------------------[ 08:15:49] please use &€œab -n 200 -n 20
test.------------------------------------------------------------------------[ 15:19:11] 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------------------------------------------------------------------------[ 15:17:28] test script:&?phpfile_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) atZend/zend_language_scanner.c:930930
yych = *YYCURSOR;(gdb) bt#0
0x082fd8d6 in lex_scan (zendlval=0xbff7295c) atZend/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) atZend/zend_language_scanner.l:354#4
0x082fcdec in compile_filename (type=2, filename=0xa179af0) atZend/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
0x in main (argc=3, argv=0xbff77174) at/root/php-5.3.3/sapi/fpm/fpm/fpm_main.c:1865------------------------------------------------------------------------[ 07:00:48] That doesn't seem to be APC-related if the backtrace is to be believed.It seemsto be happening on the initial compile.
But yes, please verify that ithappenswithout APC as well.------------------------------------------------------------------------[ 06:01:59] Please test if this fails without APC. If so, we'll need a test scriptto diagnose the problem.------------------------------------------------------------------------The remainder of the comments for this report are too long. To viewthe rest of the comments, please view the bug report online at&&&&&http://bugs.php.net/bug.php?id=52752--Edit this bug report at
Edit report at &&ID:
52752&&Updated by:
&&Reported by:
&&Summary:
Program terminated with signal 7, Bus error.-Status:
Feedback+Status:
Open&&Type:
Bug&&Package:
Scripting Engine problem-Operating System:
irrelevant+Operating System:
Centos 5 32bit&&PHP Version:
5.3SVN- (SVN)&&Block user comment: NPrevious Comments:------------------------------------------------------------------------[ 18:24:58] Anybody There?------------------------------------------------------------------------[ 08:15:49] please use &€œab -n 200 -n 20
test.------------------------------------------------------------------------[ 15:19:11] 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------------------------------------------------------------------------[ 15:17:28] test script:&?phpfile_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) atZend/zend_language_scanner.c:930930
yych = *YYCURSOR;(gdb) bt#0
0x082fd8d6 in lex_scan (zendlval=0xbff7295c) atZend/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) atZend/zend_language_scanner.l:354#4
0x082fcdec in compile_filename (type=2, filename=0xa179af0) atZend/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
0x in main (argc=3, argv=0xbff77174) at/root/php-5.3.3/sapi/fpm/fpm/fpm_main.c:1865------------------------------------------------------------------------[ 07:00:48] That doesn't seem to be APC-related if the backtrace is to be believed.It seemsto be happening on the initial compile.
But yes, please verify that ithappenswithout APC as well.------------------------------------------------------------------------The remainder of the comments for this report are too long. To viewthe rest of the comments, please view the bug report online at&&&&&http://bugs.php.net/bug.php?id=52752--Edit this bug report at
Edit report at &&ID:
52752&&Comment by:
&&Reported by:
&&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- (SVN)&&Block user comment: N&&New Comment:and, centos 64bit server, same result.Previous Comments:------------------------------------------------------------------------[ 18:24:58] Anybody There?------------------------------------------------------------------------[ 08:15:49] please use &€œab -n 200 -n 20
test.------------------------------------------------------------------------[ 15:19:11] 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------------------------------------------------------------------------[ 15:17:28] test script:&?phpfile_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) atZend/zend_language_scanner.c:930930
yych = *YYCURSOR;(gdb) bt#0
0x082fd8d6 in lex_scan (zendlval=0xbff7295c) atZend/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) atZend/zend_language_scanner.l:354#4
0x082fcdec in compile_filename (type=2, filename=0xa179af0) atZend/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
0x in main (argc=3, argv=0xbff77174) at/root/php-5.3.3/sapi/fpm/fpm/fpm_main.c:1865------------------------------------------------------------------------[ 07:00:48] That doesn't seem to be APC-related if the backtrace is to be believed.It seemsto be happening on the initial compile.
But yes, please verify that ithappenswithout APC as well.------------------------------------------------------------------------The remainder of the comments for this report are too long. To viewthe rest of the comments, please view the bug report online at&&&&&http://bugs.php.net/bug.php?id=52752--Edit this bug report at
Edit report at &&ID:
52752&&Updated by:
&&Reported by:
&&Summary:
Program terminated with signal 7, Bus error.-Status:
Open+Status:
Feedback&&Type:
Bug&&Package:
Scripting Engine problem&&Operating System:
Centos 5 32bit&&PHP Version:
5.3SVN- (SVN)&&Block user comment: N&&Private report:
N&&New Comment:Thank you for this bug report. To properly diagnose the problem, weneed a short but complete example script to be able to reproducethis bug ourselves.A proper reproducing script starts with &?php and ends with ?&,is max. 10-20 lines long and does not require any externalresources such as databases, etc. If the script requires adatabase to demonstrate the issue, please make sure it createsall necessary tables, stored procedures etc.Please avoid embedding huge scripts into the report.Previous Comments:------------------------------------------------------------------------[ 07:39:16] and, centos 64bit server, same result.------------------------------------------------------------------------[ 18:24:58] Anybody There?------------------------------------------------------------------------[ 08:15:49] please use &€œab -n 200 -n 20
test.------------------------------------------------------------------------[ 15:19:11] 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------------------------------------------------------------------------[ 15:17:28] test script:&?phpfile_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) atZend/zend_language_scanner.c:930930
yych = *YYCURSOR;(gdb) bt#0
0x082fd8d6 in lex_scan (zendlval=0xbff7295c) atZend/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) atZend/zend_language_scanner.l:354#4
0x082fcdec in compile_filename (type=2, filename=0xa179af0) atZend/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
0x in main (argc=3, argv=0xbff77174) at/root/php-5.3.3/sapi/fpm/fpm/fpm_main.c:1865------------------------------------------------------------------------The remainder of the comments for this report are too long. To viewthe rest of the comments, please view the bug report online at&&&&&http://bugs.php.net/bug.php?id=52752--Edit this bug report at
Edit report at &&ID:
52752&&Comment by:
&&Reported by:
&&Summary:
Program terminated with signal 7, Bus error.&&Status:
Feedback&&Type:
Bug&&Package:
Scripting Engine problem&&Operating System:
Centos 5 32bit&&PHP Version:
5.3SVN- (SVN)&&Block user comment: N&&Private report:
N&&New Comment:&?phpfile_put_contents(__DIR__ . '/test.tpl', 'AAA&?php $string = &'.str_repeat('A', mt_rand(1, 256 * 1024)) .'&; ?&BBB' . &\r\n&, LOCK_EX);require_once __DIR__ . '/test.tpl';?&please use &€œab -n 200 -n 20
to test it.Previous Comments:------------------------------------------------------------------------[ 00:20:11] Thank you for this bug report. To properly diagnose the problem, weneed a short but complete example script to be able to reproducethis bug ourselves.A proper reproducing script starts with &?php and ends with ?&,is max. 10-20 lines long and does not require any externalresources such as databases, etc. If the script requires adatabase to demonstrate the issue, please make sure it createsall necessary tables, stored procedures etc.Please avoid embedding huge scripts into the report.------------------------------------------------------------------------[ 07:39:16] and, centos 64bit server, same result.------------------------------------------------------------------------[ 18:24:58] Anybody There?------------------------------------------------------------------------[ 08:15:49] please use &€œab -n 200 -n 20
test.------------------------------------------------------------------------[ 15:19:11] 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------------------------------------------------------------------------The remainder of the comments for this report are too long. To viewthe rest of the comments, please view the bug report online at&&&&&http://bugs.php.net/bug.php?id=52752--Edit this bug report at
Edit report at &&ID:
52752&&Comment by:
&&Reported by:
&&Summary:
Program terminated with signal 7, Bus error.&&Status:
Feedback&&Type:
Bug&&Package:
Scripting Engine problem&&Operating System:
Centos 5 32bit&&PHP Version:
5.3SVN- (SVN)&&Block user comment: N&&Private report:
N&&New Comment:core dump:(gdb) bt#0
0x082a1ac8 in lex_scan (zendlval=0xbf85525c) at/root/php-5.3.5/Zend/zend_language_scanner.c:2063#1
0x082b2df8 in zendlex (zendlval=0xbf855258) at/root/php-5.3.5/Zend/zend_compile.c:4949#2
0x in zendparse () at/root/php-5.3.5/Zend/zend_language_parser.c:3280#3
0x082a0f3c in compile_file (file_handle=0xbf855330, type=8) at/root/php-5.3.5/Zend/zend_language_scanner.c:359#4
0x082fa1ca in ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER(execute_data=0x9fbd1b8) at /root/php-5.3.5/Zend/zend_vm_execute.h:5200#5
0x082ed7e8 in execute (op_array=0x9f88d68) at/root/php-5.3.5/Zend/zend_vm_execute.h:107#6
0x082cb847 in zend_execute_scripts (type=8, retval=0x0,file_count=3) at /root/php-5.3.5/Zend/zend.c:1194#7
0x0827ae7e in php_execute_script (primary_file=0xbf859858) at/root/php-5.3.5/main/main.c:2265#8
0x in main (argc=131072, argv=0x640004) at/root/php-5.3.5/sapi/fpm/fpm/fpm_main.c:1882Previous Comments:------------------------------------------------------------------------[ 12:38:42] &?phpfile_put_contents(__DIR__ . '/test.tpl', 'AAA&?php $string = &'.str_repeat('A', mt_rand(1, 256 * 1024)) .'&; ?&BBB' . &\r\n&, LOCK_EX);require_once __DIR__ . '/test.tpl';?&please use &€œab -n 200 -n 20
to test it.------------------------------------------------------------------------[ 00:20:11] Thank you for this bug report. To properly diagnose the problem, weneed a short but complete example script to be able to reproducethis bug ourselves.A proper reproducing script starts with &?php and ends with ?&,is max. 10-20 lines long and does not require any externalresources such as databases, etc. If the script requires adatabase to demonstrate the issue, please make sure it createsall necessary tables, stored procedures etc.Please avoid embedding huge scripts into the report.------------------------------------------------------------------------[ 07:39:16] and, centos 64bit server, same result.------------------------------------------------------------------------[ 18:24:58] Anybody There?------------------------------------------------------------------------[ 08:15:49] please use &€œab -n 200 -n 20
test.------------------------------------------------------------------------The remainder of the comments for this report are too long. To viewthe rest of the comments, please view the bug report online at&&&&&http://bugs.php.net/bug.php?id=52752--Edit this bug report at
Edit report at &&ID:
52752&&Comment by:
juraj at lutter dot sk&&Reported by:
&&Summary:
Program terminated with signal 7, Bus error.&&Status:
Feedback&&Type:
Bug&&Package:
Scripting Engine problem&&Operating System:
Centos 5 32bit&&PHP Version:
5.3SVN- (SVN)&&Block user comment: N&&Private report:
N&&New Comment:This same happens on Solaris 10/x86 with PHP 5.3.8 compiled using GCC4 and using Apache 2.2.21.root@[nwebs3 /var/crash/nwebs3]# pstack httpd-29691-cust_zend_apache3core 'httpd-29691-cust_zend_apache3' of 29691:
/opt/csw/apache2/sbin/httpd -f /opt/csw/apache2/etc/httpd.conf -k star&&fe0485d4 lex_scan (c632f61, 746e6569, fe762f63, 72656c6c) + 60&&fe062863 zendlex
(45ae0, 8045690, fe04344b) + 4f&&fe043ac2 zendparse (85af794, 2, 40, 2, 81c3ecc, 9) + 69a&&fe047cd1 compile_file (, 2, fef399c, 85b1265) + bd&&fdd7706c sg_compile_file (, 55, 0, fe3ae224, 31) + 20&&fe0abaac ???????? (c3e12, 8046e98, fe3ae0c0, 88b39c8, 1007800)&&fe0945d9 execute
(81e10b4, 0, 2, 81c3ba8, 8046ecc, 8046ed4) + 195&&fe074111 zend_execute_scripts (8, 0, 3, 0, ) + 129&&fe0255af php_execute_script (80c78, 9c, fe0f72a9, fdc2) + 1df&&fe0f7508 ???????? (, 87f60)&&0807cdce ap_run_handler (b, 7d135, 11e1a300, 0) + 32&&0807d19f ap_invoke_handler (, 712de) + af&&08087fdd ap_process_request (, 86cd0) + 18d&&0808599d ap_process_http_connection (837cf40, 0, 82aed) + f1&& ap_run_process_connection (837cf40, 837cca8, 837cc68, 80bcdd8, fec42c40, 0) + 32&&0808c34a child_main (10, 808beb8, 1, 0) + 406&&0808c52e make_child (fddc1a5e, feb7667a, fec43c80, 6, 0, fec43c80) + de&&0808d0ae ap_mpm_run (80be830, 80ec8e8, 80c8) + aea&& main
(6, 47e24) + 6f8&&0806be7c _start
(6, 47ec4, 47ee7, 8047eea) + 80Previous Comments:------------------------------------------------------------------------[ 12:40:08] core dump:(gdb) bt#0
0x082a1ac8 in lex_scan (zendlval=0xbf85525c) at /root/php-5.3.5/Zend/zend_language_scanner.c:2063#1
0x082b2df8 in zendlex (zendlval=0xbf855258) at /root/php-5.3.5/Zend/zend_compile.c:4949#2
0x in zendparse () at /root/php-5.3.5/Zend/zend_language_parser.c:3280#3
0x082a0f3c in compile_file (file_handle=0xbf855330, type=8) at /root/php-5.3.5/Zend/zend_language_scanner.c:359#4
0x082fa1ca in ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER (execute_data=0x9fbd1b8) at /root/php-5.3.5/Zend/zend_vm_execute.h:5200#5
0x082ed7e8 in execute (op_array=0x9f88d68) at /root/php-5.3.5/Zend/zend_vm_execute.h:107#6
0x082cb847 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /root/php-5.3.5/Zend/zend.c:1194#7
0x0827ae7e in php_execute_script (primary_file=0xbf859858) at /root/php-5.3.5/main/main.c:2265#8
0x in main (argc=131072, argv=0x640004) at /root/php-5.3.5/sapi/fpm/fpm/fpm_main.c:1882------------------------------------------------------------------------[ 12:38:42] &?phpfile_put_contents(__DIR__ . '/test.tpl', 'AAA&?php $string = &'. str_repeat('A', mt_rand(1, 256 * 1024)) .'&; ?&BBB' . &\r\n&, LOCK_EX);require_once __DIR__ . '/test.tpl';?&please use &€œab -n 200 -n 20
to test it.------------------------------------------------------------------------[ 00:20:11] Thank you for this bug report. To properly diagnose the problem, weneed a short but complete example script to be able to reproducethis bug ourselves.A proper reproducing script starts with &?php and ends with ?&,is max. 10-20 lines long and does not require any externalresources such as databases, etc. If the script requires adatabase to demonstrate the issue, please make sure it createsall necessary tables, stored procedures etc.Please avoid embedding huge scripts into the report.------------------------------------------------------------------------[ 07:39:16] and, centos 64bit server, same result.------------------------------------------------------------------------[ 18:24:58] Anybody There?------------------------------------------------------------------------The remainder of the comments for this report are too long. To viewthe rest of the comments, please view the bug report online at&&&&&https://bugs.php.net/bug.php?id=52752--Edit this bug report at
Edit report at &&ID:
52752&&Comment by:
vc at artstyle dot ru&&Reported by:
&&Summary:
Program terminated with signal 7, Bus error.&&Status:
Feedback&&Type:
Bug&&Package:
Scripting Engine problem&&Operating System:
Centos 5 32bit&&PHP Version:
5.3SVN- (SVN)&&Block user comment: N&&Private report:
N&&New Comment:Same here. Apache doesn't matter, I've get this SIGBUS couple times a day. With APC or xcache different versions,latest - all the same. PHP is stock Debian:PHP 5.3.3-7+squeeze3 with Suhosin-Patch (cli) (built: Jun 28 :26)Using fastcgi SAPI with pretty large PHP application (thousands of files).I'll try to make it reproducible.# gdb /usr/lib/cgi-bin/php5-fcgi ./3002.php5-fcgi.7.9143[...]Program terminated with signal 7, Bus error.#0
lex_scan (zendlval=0xbfffa2ec) at /build/buildd-php5_5.3.3-7+squeeze3-i386-H_HNTR/php5-5.3.3/Zend/zend_language_scanner.c:940940
yych = *YYCURSOR;(gdb) l935
YYDEBUG(0, *YYCURSOR);939
YYFILL(8);940
yych = *YYCURSOR;941
if (yych != '&') goto yy4;942
YYDEBUG(2, *YYCURSOR);943
yyaccept = 0;944
yych = *(YYMARKER = ++YYCURSOR);(gdb) p language_scanner_globals.yy_cursor$1 = (unsigned char *) 0xb77c1000 &Address 0xb77c1000 out of bounds&(gdb) inf targetSymbols from &/usr/lib/cgi-bin/php5-fcgi&.Local core dump file:&&&&&&&&&`/var/tmp/./3002.php5-fcgi.7.9143', file type elf32-i386.[...]&&&&&&&&&0xb7759000 - 0xb7781000 is load52&&&&&&&&&0xb77c1000 - 0xb77c1000 is load53&&&&&&&&&0xb77c2000 - 0xb77c5000 is load54[...]Previous Comments:------------------------------------------------------------------------[ 21:32:30] juraj at lutter dot skThis same happens on Solaris 10/x86 with PHP 5.3.8 compiled using GCC4 and using Apache 2.2.21.root@[nwebs3 /var/crash/nwebs3]# pstack httpd-29691-cust_zend_apache3core 'httpd-29691-cust_zend_apache3' of 29691:
/opt/csw/apache2/sbin/httpd -f /opt/csw/apache2/etc/httpd.conf -k star&&fe0485d4 lex_scan (c632f61, 746e6569, fe762f63, 72656c6c) + 60&&fe062863 zendlex
(45ae0, 8045690, fe04344b) + 4f&&fe043ac2 zendparse (85af794, 2, 40, 2, 81c3ecc, 9) + 69a&&fe047cd1 compile_file (, 2, fef399c, 85b1265) + bd&&fdd7706c sg_compile_file (, 55, 0, fe3ae224, 31) + 20&&fe0abaac ???????? (c3e12, 8046e98, fe3ae0c0, 88b39c8, 1007800)&&fe0945d9 execute
(81e10b4, 0, 2, 81c3ba8, 8046ecc, 8046ed4) + 195&&fe074111 zend_execute_scripts (8, 0, 3, 0, ) + 129&&fe0255af php_execute_script (80c78, 9c, fe0f72a9, fdc2) + 1df&&fe0f7508 ???????? (, 87f60)&&0807cdce ap_run_handler (b, 7d135, 11e1a300, 0) + 32&&0807d19f ap_invoke_handler (, 712de) + af&&08087fdd ap_process_request (, 86cd0) + 18d&&0808599d ap_process_http_connection (837cf40, 0, 82aed) + f1&& ap_run_process_connection (837cf40, 837cca8, 837cc68, 80bcdd8, fec42c40, 0) + 32&&0808c34a child_main (10, 808beb8, 1, 0) + 406&&0808c52e make_child (fddc1a5e, feb7667a, fec43c80, 6, 0, fec43c80) + de&&0808d0ae ap_mpm_run (80be830, 80ec8e8, 80c8) + aea&& main
(6, 47e24) + 6f8&&0806be7c _start
(6, 47ec4, 47ee7, 8047eea) + 80------------------------------------------------------------------------[ 12:40:08] core dump:(gdb) bt#0
0x082a1ac8 in lex_scan (zendlval=0xbf85525c) at /root/php-5.3.5/Zend/zend_language_scanner.c:2063#1
0x082b2df8 in zendlex (zendlval=0xbf855258) at /root/php-5.3.5/Zend/zend_compile.c:4949#2
0x in zendparse () at /root/php-5.3.5/Zend/zend_language_parser.c:3280#3
0x082a0f3c in compile_file (file_handle=0xbf855330, type=8) at /root/php-5.3.5/Zend/zend_language_scanner.c:359#4
0x082fa1ca in ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER (execute_data=0x9fbd1b8) at /root/php-5.3.5/Zend/zend_vm_execute.h:5200#5
0x082ed7e8 in execute (op_array=0x9f88d68) at /root/php-5.3.5/Zend/zend_vm_execute.h:107#6
0x082cb847 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /root/php-5.3.5/Zend/zend.c:1194#7
0x0827ae7e in php_execute_script (primary_file=0xbf859858) at /root/php-5.3.5/main/main.c:2265#8
0x in main (argc=131072, argv=0x640004) at /root/php-5.3.5/sapi/fpm/fpm/fpm_main.c:1882------------------------------------------------------------------------[ 12:38:42] &?phpfile_put_contents(__DIR__ . '/test.tpl', 'AAA&?php $string = &'. str_repeat('A', mt_rand(1, 256 * 1024)) .'&; ?&BBB' . &\r\n&, LOCK_EX);require_once __DIR__ . '/test.tpl';?&please use &€œab -n 200 -n 20
to test it.------------------------------------------------------------------------[ 00:20:11] Thank you for this bug report. To properly diagnose the problem, weneed a short but complete example script to be able to reproducethis bug ourselves.A proper reproducing script starts with &?php and ends with ?&,is max. 10-20 lines long and does not require any externalresources such as databases, etc. If the script requires adatabase to demonstrate the issue, please make sure it createsall necessary tables, stored procedures etc.Please avoid embedding huge scripts into the report.------------------------------------------------------------------------[ 07:39:16] and, centos 64bit server, same result.------------------------------------------------------------------------The remainder of the comments for this report are too long. To viewthe rest of the comments, please view the bug report online at&&&&&https://bugs.php.net/bug.php?id=52752--Edit this bug report at
Edit report at &&ID:
52752&&Comment by:
vc at artstyle dot ru&&Reported by:
&&Summary:
Program terminated with signal 7, Bus error.&&Status:
Feedback&&Type:
Bug&&Package:
Scripting Engine problem&&Operating System:
Centos 5 32bit&&PHP Version:
5.3SVN- (SVN)&&Block user comment: N&&Private report:
N&&New Comment:Test case:# cat test3.php&?phpif ($argv[1] & 0) {&&&while ($argv[1]--) file_put_contents('test.tpl', &&?php #&.str_repeat('A', mt_rand()).& ?&\n&, LOCK_EX);} else {&&&$p2 = popen(&php test3.php 100&, &r&);&&&while (1) include 'test.tpl';}?&# php test3.phpBus error# php test3.phpBus error# php test3.phpBus error# php test3.phpPHP Parse error:
syntax error, unexpected $end, expecting T_VARIABLE or T_DOLLAR_OPEN_CURLY_BRACES or T_CURLY_OPEN in /var/tmp/test.tpl on line 1Parse error: syntax error, unexpected $end, expecting T_VARIABLE or T_DOLLAR_OPEN_CURLY_BRACES or T_CURLY_OPEN in /var/tmp/test.tpl on line 1In my case it's an application (Bitrix) to blame. Ugly code that frequently rewrites cached template in place, instead of creating new and renaming it.Previous Comments:------------------------------------------------------------------------[ 22:36:53] vc at artstyle dot ruSame here. Apache doesn't matter, I've get this SIGBUS couple times a day. With APC or xcache different versions,latest - all the same. PHP is stock Debian:PHP 5.3.3-7+squeeze3 with Suhosin-Patch (cli) (built: Jun 28 :26)Using fastcgi SAPI with pretty large PHP application (thousands of files).I'll try to make it reproducible.# gdb /usr/lib/cgi-bin/php5-fcgi ./3002.php5-fcgi.7.9143[...]Program terminated with signal 7, Bus error.#0
lex_scan (zendlval=0xbfffa2ec) at /build/buildd-php5_5.3.3-7+squeeze3-i386-H_HNTR/php5-5.3.3/Zend/zend_language_scanner.c:940940
yych = *YYCURSOR;(gdb) l935
YYDEBUG(0, *YYCURSOR);939
YYFILL(8);940
yych = *YYCURSOR;941
if (yych != '&') goto yy4;942
YYDEBUG(2, *YYCURSOR);943
yyaccept = 0;944
yych = *(YYMARKER = ++YYCURSOR);(gdb) p language_scanner_globals.yy_cursor$1 = (unsigned char *) 0xb77c1000 &Address 0xb77c1000 out of bounds&(gdb) inf targetSymbols from &/usr/lib/cgi-bin/php5-fcgi&.Local core dump file:&&&&&&&&&`/var/tmp/./3002.php5-fcgi.7.9143', file type elf32-i386.[...]&&&&&&&&&0xb7759000 - 0xb7781000 is load52&&&&&&&&&0xb77c1000 - 0xb77c1000 is load53&&&&&&&&&0xb77c2000 - 0xb77c5000 is load54[...]------------------------------------------------------------------------[ 21:32:30] juraj at lutter dot skThis same happens on Solaris 10/x86 with PHP 5.3.8 compiled using GCC4 and using Apache 2.2.21.root@[nwebs3 /var/crash/nwebs3]# pstack httpd-29691-cust_zend_apache3core 'httpd-29691-cust_zend_apache3' of 29691:
/opt/csw/apache2/sbin/httpd -f /opt/csw/apache2/etc/httpd.conf -k star&&fe0485d4 lex_scan (c632f61, 746e6569, fe762f63, 72656c6c) + 60&&fe062863 zendlex
(45ae0, 8045690, fe04344b) + 4f&&fe043ac2 zendparse (85af794, 2, 40, 2, 81c3ecc, 9) + 69a&&fe047cd1 compile_file (, 2, fef399c, 85b1265) + bd&&fdd7706c sg_compile_file (, 55, 0, fe3ae224, 31) + 20&&fe0abaac ???????? (c3e12, 8046e98, fe3ae0c0, 88b39c8, 1007800)&&fe0945d9 execute
(81e10b4, 0, 2, 81c3ba8, 8046ecc, 8046ed4) + 195&&fe074111 zend_execute_scripts (8, 0, 3, 0, ) + 129&&fe0255af php_execute_script (80c78, 9c, fe0f72a9, fdc2) + 1df&&fe0f7508 ???????? (, 87f60)&&0807cdce ap_run_handler (b, 7d135, 11e1a300, 0) + 32&&0807d19f ap_invoke_handler (, 712de) + af&&08087fdd ap_process_request (, 86cd0) + 18d&&0808599d ap_process_http_connection (837cf40, 0, 82aed) + f1&& ap_run_process_connection (837cf40, 837cca8, 837cc68, 80bcdd8, fec42c40, 0) + 32&&0808c34a child_main (10, 808beb8, 1, 0) + 406&&0808c52e make_child (fddc1a5e, feb7667a, fec43c80, 6, 0, fec43c80) + de&&0808d0ae ap_mpm_run (80be830, 80ec8e8, 80c8) + aea&& main
(6, 47e24) + 6f8&&0806be7c _start
(6, 47ec4, 47ee7, 8047eea) + 80------------------------------------------------------------------------[ 12:40:08] core dump:(gdb) bt#0
0x082a1ac8 in lex_scan (zendlval=0xbf85525c) at /root/php-5.3.5/Zend/zend_language_scanner.c:2063#1
0x082b2df8 in zendlex (zendlval=0xbf855258) at /root/php-5.3.5/Zend/zend_compile.c:4949#2
0x in zendparse () at /root/php-5.3.5/Zend/zend_language_parser.c:3280#3
0x082a0f3c in compile_file (file_handle=0xbf855330, type=8) at /root/php-5.3.5/Zend/zend_language_scanner.c:359#4
0x082fa1ca in ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER (execute_data=0x9fbd1b8) at /root/php-5.3.5/Zend/zend_vm_execute.h:5200#5
0x082ed7e8 in execute (op_array=0x9f88d68) at /root/php-5.3.5/Zend/zend_vm_execute.h:107#6
0x082cb847 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /root/php-5.3.5/Zend/zend.c:1194#7
0x0827ae7e in php_execute_script (primary_file=0xbf859858) at /root/php-5.3.5/main/main.c:2265#8
0x in main (argc=131072, argv=0x640004) at /root/php-5.3.5/sapi/fpm/fpm/fpm_main.c:1882------------------------------------------------------------------------[ 12:38:42] &?phpfile_put_contents(__DIR__ . '/test.tpl', 'AAA&?php $string = &'. str_repeat('A', mt_rand(1, 256 * 1024)) .'&; ?&BBB' . &\r\n&, LOCK_EX);require_once __DIR__ . '/test.tpl';?&please use &€œab -n 200 -n 20
to test it.------------------------------------------------------------------------[ 00:20:11] Thank you for this bug report. To properly diagnose the problem, weneed a short but complete example script to be able to reproducethis bug ourselves.A proper reproducing script starts with &?php and ends with ?&,is max. 10-20 lines long and does not require any externalresources such as databases, etc. If the script requires adatabase to demonstrate the issue, please make sure it createsall necessary tables, stored procedures etc.Please avoid embedding huge scripts into the report.------------------------------------------------------------------------The remainder of the comments for this report are too long. To viewthe rest of the comments, please view the bug report online at&&&&&https://bugs.php.net/bug.php?id=52752--Edit this bug report at
Edit report at &&ID:
52752&&Comment by:
&&Reported by:
&&Summary:
Program terminated with signal 7, Bus error.&&Status:
Feedback&&Type:
Bug&&Package:
Scripting Engine problem&&Operating System:
Centos 5 32bit&&PHP Version:
5.3SVN- (SVN)&&Block user comment: N&&Private report:
N&&New Comment:I believe I'm running into this exact same error. I'm new to PHP-FPM (v5.3.9) as well as GDB, so here's what I managed to pull from the &core dump& / gdb backtrace log:Core was generated by `php-fpm: pool www '.Program terminated with signal 7, Bus error.#0
lex_scan (zendlval=0x7fffbe65e368) at Zend/zend_language_scanner.l:18011801
if (*YYCURSOR == '\'') {AND#0
lex_scan (zendlval=0x7fffbe65e368) at Zend/zend_language_scanner.l:1801#1
0xfe90 in zendlex (zendlval=0x7fffbe65e360)&&&&&at /usr/src/install/php-5.3.9/Zend/zend_compile.c:4975#2
0x98ae in zendparse ()&&&&&at /usr/src/install/php-5.3.9/Zend/zend_language_parser.c:3285#3
0x5268 in compile_file (file_handle=0x7fffbe65e6e0, type=2)&&&&&at Zend/zend_language_scanner.l:364#4
0xee40a in phar_compile_file (file_handle=&value optimized out&,&&&&&type=&value optimized out&) at /usr/src/install/php-5.3.9/ext/phar/phar.c:3393#5
0xb88ac in ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER (execute_data=0x31432a8)&&&&&at /usr/src/install/php-5.3.9/Zend/zend_vm_execute.h:5234#6
0xad538 in execute (op_array=0x32c4900)&&&&&at /usr/src/install/php-5.3.9/Zend/zend_vm_execute.h:107#7
0x806a in zend_execute_scripts (type=8, retval=&value optimized out&,&&&&&file_count=3) at /usr/src/install/php-5.3.9/Zend/zend.c:1236#8
0x686d in php_execute_script (primary_file=&value optimized out&)&&&&&at /usr/src/install/php-5.3.9/main/main.c:2308#9
0x7545 in main (argc=&value optimized out&, argv=&value optimized out&)&&&&&at /usr/src/install/php-5.3.9/sapi/fpm/fpm/fpm_main.c:1858I'm running Ubuntu 10.10 (64-bit) -- Any ideas one what could be happening here or ways to address this moving forward?Previous Comments:------------------------------------------------------------------------[ 23:56:52] vc at artstyle dot ruTest case:# cat test3.php&?phpif ($argv[1] & 0) {&&&while ($argv[1]--) file_put_contents('test.tpl', &&?php #&.str_repeat('A', mt_rand()).& ?&\n&, LOCK_EX);} else {&&&$p2 = popen(&php test3.php 100&, &r&);&&&while (1) include 'test.tpl';}?&# php test3.phpBus error# php test3.phpBus error# php test3.phpBus error# php test3.phpPHP Parse error:
syntax error, unexpected $end, expecting T_VARIABLE or T_DOLLAR_OPEN_CURLY_BRACES or T_CURLY_OPEN in /var/tmp/test.tpl on line 1Parse error: syntax error, unexpected $end, expecting T_VARIABLE or T_DOLLAR_OPEN_CURLY_BRACES or T_CURLY_OPEN in /var/tmp/test.tpl on line 1In my case it's an application (Bitrix) to blame. Ugly code that frequently rewrites cached template in place, instead of creating new and renaming it.------------------------------------------------------------------------[ 22:36:53] vc at artstyle dot ruSame here. Apache doesn't matter, I've get this SIGBUS couple times a day. With APC or xcache different versions,latest - all the same. PHP is stock Debian:PHP 5.3.3-7+squeeze3 with Suhosin-Patch (cli) (built: Jun 28 :26)Using fastcgi SAPI with pretty large PHP application (thousands of files).I'll try to make it reproducible.# gdb /usr/lib/cgi-bin/php5-fcgi ./3002.php5-fcgi.7.9143[...]Program terminated with signal 7, Bus error.#0
lex_scan (zendlval=0xbfffa2ec) at /build/buildd-php5_5.3.3-7+squeeze3-i386-H_HNTR/php5-5.3.3/Zend/zend_language_scanner.c:940940
yych = *YYCURSOR;(gdb) l935
YYDEBUG(0, *YYCURSOR);939
YYFILL(8);940
yych = *YYCURSOR;941
if (yych != '&') goto yy4;942
YYDEBUG(2, *YYCURSOR);943
yyaccept = 0;944
yych = *(YYMARKER = ++YYCURSOR);(gdb) p language_scanner_globals.yy_cursor$1 = (unsigned char *) 0xb77c1000 &Address 0xb77c1000 out of bounds&(gdb) inf targetSymbols from &/usr/lib/cgi-bin/php5-fcgi&.Local core dump file:&&&&&&&&&`/var/tmp/./3002.php5-fcgi.7.9143', file type elf32-i386.[...]&&&&&&&&&0xb7759000 - 0xb7781000 is load52&&&&&&&&&0xb77c1000 - 0xb77c1000 is load53&&&&&&&&&0xb77c2000 - 0xb77c5000 is load54[...]------------------------------------------------------------------------[ 21:32:30] juraj at lutter dot skThis same happens on Solaris 10/x86 with PHP 5.3.8 compiled using GCC4 and using Apache 2.2.21.root@[nwebs3 /var/crash/nwebs3]# pstack httpd-29691-cust_zend_apache3core 'httpd-29691-cust_zend_apache3' of 29691:
/opt/csw/apache2/sbin/httpd -f /opt/csw/apache2/etc/httpd.conf -k star&&fe0485d4 lex_scan (c632f61, 746e6569, fe762f63, 72656c6c) + 60&&fe062863 zendlex
(45ae0, 8045690, fe04344b) + 4f&&fe043ac2 zendparse (85af794, 2, 40, 2, 81c3ecc, 9) + 69a&&fe047cd1 compile_file (, 2, fef399c, 85b1265) + bd&&fdd7706c sg_compile_file (, 55, 0, fe3ae224, 31) + 20&&fe0abaac ???????? (c3e12, 8046e98, fe3ae0c0, 88b39c8, 1007800)&&fe0945d9 execute
(81e10b4, 0, 2, 81c3ba8, 8046ecc, 8046ed4) + 195&&fe074111 zend_execute_scripts (8, 0, 3, 0, ) + 129&&fe0255af php_execute_script (80c78, 9c, fe0f72a9, fdc2) + 1df&&fe0f7508 ???????? (, 87f60)&&0807cdce ap_run_handler (b, 7d135, 11e1a300, 0) + 32&&0807d19f ap_invoke_handler (, 712de) + af&&08087fdd ap_process_request (, 86cd0) + 18d&&0808599d ap_process_http_connection (837cf40, 0, 82aed) + f1&& ap_run_process_connection (837cf40, 837cca8, 837cc68, 80bcdd8, fec42c40, 0) + 32&&0808c34a child_main (10, 808beb8, 1, 0) + 406&&0808c52e make_child (fddc1a5e, feb7667a, fec43c80, 6, 0, fec43c80) + de&&0808d0ae ap_mpm_run (80be830, 80ec8e8, 80c8) + aea&& main
(6, 47e24) + 6f8&&0806be7c _start
(6, 47ec4, 47ee7, 8047eea) + 80------------------------------------------------------------------------[ 12:40:08] core dump:(gdb) bt#0
0x082a1ac8 in lex_scan (zendlval=0xbf85525c) at /root/php-5.3.5/Zend/zend_language_scanner.c:2063#1
0x082b2df8 in zendlex (zendlval=0xbf855}

我要回帖

更多关于 php syntax error 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信