Bug #70749 [Com]: try...catch with set_error_handler throttle all CPU cores overheat - freeze O/S
| From: | ryan dot jentzsch at gmail dot com | Date: | Tue, 27 Oct 2015 08:05:48 +0000 |
| Subject: | Bug #70749 [Com]: try...catch with set_error_handler throttle all CPU cores overheat - freeze O/S | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-196840@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70749&edit=1
ID: 70749
Comment by: ryan dot jentzsch at gmail dot com
Reported by: ryan dot jentzsch at gmail dot com
Summary: try...catch with set_error_handler throttle all CPU
cores overheat - freeze O/S
Status: Feedback
Type: Bug
Package: Performance problem
Operating System: Linux Mint 17.2
PHP Version: 7.0.0RC5
Block user comment: N
Private report: N
New Comment:
I am the OP. I plan on trying this again when RC6 is released. Hopefully this will be fixed in that
release.
Previous Comments:
------------------------------------------------------------------------
[2015-10-22 18:13:04] derick@php.net
Actually, it could be: http://thread.gmane.org/gmane.comp.php.devel/101724
-- would you mind testing with the latest of the PHP-7.0 branch of GitHub?
------------------------------------------------------------------------
[2015-10-22 18:00:09] ryan dot jentzsch at gmail dot com
appears to be an XDEBUG issue.
Closing.
------------------------------------------------------------------------
[2015-10-21 10:43:24] ab@php.net
Do you have xdebug, uopz or other similar extension activated? If so, please try to deactiate it and
retry the script.
Thanks.
------------------------------------------------------------------------
[2015-10-20 06:48:45] ryan dot jentzsch at gmail dot com
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 this bug report at https://bugs.php.net/bug.php?id=70749&edit=1