Bug #70749 [NEW]: try...catch with set_error_handler throttle all CPU cores overheat - freeze O/S
| From: | ryan dot jentzsch at gmail dot com | Date: | Tue, 20 Oct 2015 06:48:47 +0000 |
| Subject: | Bug #70749 [NEW]: try...catch with set_error_handler throttle all CPU cores overheat - freeze O/S | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-196696@lists.php.net to get a copy of this message | ||
From: ryan dot jentzsch at gmail dot com
Operating system: Linux Mint 17.2
PHP version: 7.0.0RC5
Package: Performance problem
Bug Type: Bug
Bug description:try...catch with set_error_handler throttle all CPU cores overheat - freeze O/S
Description:
------------
PHP 7 RC5
If I run the referenced script using PHP 5.6.14 there are no problems.
Running this using the PHP 7 engine however results in a number of very
bad things:
- My laptop fans go crazy.
- My 4 core CPUs are maxed.
- My laptop starts to overheat.
- The O/S either freezes or the kernel panics.
Linux Mint 17.2
Intel 64-bit
Test script:
---------------
Script to produce problem.
https://www.dropbox.com/s/uqmccqm9ts0xgrd/test.php?dl=0
Configuration:
https://www.dropbox.com/s/jguszkigzxnce47/config.txt?dl=0
Expected result:
----------------
In PHP 5.6.14 I see this (I would expect the same from PHP 7):
Caught exception: YOLO
Process finished with exit code 0
Actual result:
--------------
- My laptop fans go crazy.
- My 4 core CPUs are maxed.
- My laptop starts to overheat.
- The O/S either freezes or the kernel panics.
--
Edit bug report at https://bugs.php.net/bug.php?id=70749&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70749&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70749&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70749&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=70749&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=70749&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=70749&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=70749&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=70749&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=70749&r=support
Expected behavior: https://bugs.php.net/fix.php?id=70749&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=70749&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=70749&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=70749&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70749&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=70749&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=70749&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=70749&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=70749&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=70749&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=70749&r=mysqlcfg