Bug #52752 [Com]: Program terminated with signal 7, Bus error.

From: Date: Wed, 09 Feb 2011 11:38:42 +0000
Subject: Bug #52752 [Com]: Program terminated with signal 7, Bus error.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-158638@lists.php.net to get a copy of this message
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:

<?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.


Previous Comments:
------------------------------------------------------------------------
[2010-11-24 00:20:11] felipe@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.

------------------------------------------------------------------------
[2010-09-01 15:19:11] paulgao at yeah dot net

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 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


Thread (44 messages)

« previous php.bugs (#158638) next »