Edit report at http://bugs.php.net/bug.php?id=52752&edit=1

 ID:                 52752
 Comment by:         paulgao at yeah dot 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:   Centos 5 32bit
 PHP Version:        5.3SVN-2010-08-31 (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  0x0829c0f9 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  0x08352122 in main (argc=131072, argv=0x640004) at
/root/php-5.3.5/sapi/fpm/fpm/fpm_main.c:1882


Previous Comments:
------------------------------------------------------------------------
[2011-02-09 12:38:42] paulgao at yeah dot net

<?php



file_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 http://localhost/test.php“ to test it.

------------------------------------------------------------------------
[2010-11-24 00:20:11] fel...@php.net

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.



------------------------------------------------------------------------
[2010-09-09 07:39:16] paulgao at yeah dot net

and, centos 64bit server, same result.

------------------------------------------------------------------------
[2010-09-04 18:24:58] paulgao at yeah dot net

Anybody There?

------------------------------------------------------------------------
[2010-09-02 08:15:49] paulgao at yeah dot net

please use “ab -n 200 -n 20 http://xxx/xxx.php“ test.

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=52752


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=52752&edit=1

Reply via email to