#50010 [NEW]: script produces a bus error
| From: | rick at alpinenetworking dot com | Date: | Tue, 27 Oct 2009 07:51:01 +0000 |
| Subject: | #50010 [NEW]: script produces a bus error | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-143994@lists.php.net to get a copy of this message | ||
From: rick at alpinenetworking dot com
Operating system: Mac OS X 10.5.8
PHP version: 5.3.0
PHP Bug Type: Reproducible crash
Bug description: script produces a bus error
Description:
------------
The script below gives me the following error in my error logs:
[Tue Oct 27 01:34:20 2009] [notice] child pid 28231 exit signal Bus
error (10)
When I run the same script on Mac OS X 10.6.1 with the version of PHP
that ships with the OS I get the following:
[Tue Oct 27 01:17:35 2009] [notice] child pid 2536 exit signal
Segmentation fault (11)
The code at the URL below is as small as I could get it. It's 35 lines
and if I take out any part of it then I the segfault/bus error stops
occurring.
Reproduce code:
---------------
http://pastie.org/671293
--
Edit bug report at http://bugs.php.net/?id=50010&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50010&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50010&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50010&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=50010&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50010&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=50010&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=50010&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=50010&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=50010&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=50010&r=support
Expected behavior: http://bugs.php.net/fix.php?id=50010&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=50010&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=50010&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=50010&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50010&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=50010&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=50010&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=50010&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=50010&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=50010&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=50010&r=mysqlcfg