|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75255 Request hangs and not finish
Submitted: 2017-09-25 19:14 UTC Modified: 2017-09-26 11:08 UTC
From: hmayak dot tigranyan at gmail dot com Assigned:
Status: Closed Package: opcache
PHP Version: 7.1.9 OS: ubuntu14.04.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
39 - 29 = ?
Subscribe to this entry?

 [2017-09-25 19:14 UTC] hmayak dot tigranyan at gmail dot com
On Ubuntu installed php7.1.9 (PHP Version no special configuration. Have one file and request to that file not return result, apache version is Apache/2.4.7 (Ubuntu). If I chnage anything  in code it work properly. If disable opcode than it work fine.

Test script:

class PlanService

    public function generatePlanImage()
        if ($abc > 5) {
            $abc = 5;

        for ($row = 0; $row < $abc; $row++) {

            for ($col = 0; $col < $numCols; $col++) {

                $this->getPossibleRatio( $abc);



    public function getPossibleRatio( $abc)


Expected result:
expected to get response

Actual result:
apache not return any result,CPU is going to 99% and  request hangs.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-09-25 23:03 UTC]
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2017-09-25 23:03 UTC]
> If disable opcode than it work fine.

Do you mean OPcache? If so, please change the status to "open", and the package
to "Opcache".
 [2017-09-26 06:32 UTC] hmayak dot tigranyan at gmail dot com
-Status: Feedback +Status: Open -Package: *General Issues +Package: opcache
 [2017-09-26 06:32 UTC] hmayak dot tigranyan at gmail dot com
Changed package to Opcache
 [2017-09-26 11:08 UTC]
-Status: Assigned +Status: Open -Assigned To: cmb +Assigned To:
 [2017-09-27 14:18 UTC]
Automatic comment on behalf of
Log: Fixed bug #75255 (Request hangs and not finish)
 [2017-09-27 14:18 UTC]
-Status: Open +Status: Closed
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sat Dec 03 09:03:43 2022 UTC