Bug #70023 [Com]: PHP SegFaults when optimization pass 1 is enabled
| From: | fractalizer at yandex dot ru | Date: | Mon, 14 Dec 2020 13:54:07 +0000 |
| Subject: | Bug #70023 [Com]: PHP SegFaults when optimization pass 1 is enabled | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-231080@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70023&edit=1
ID: 70023
Comment by: fractalizer at yandex dot ru
Reported by: FractalizeR at yandex dot ru
Summary: PHP SegFaults when optimization pass 1 is enabled
Status: Feedback
Type: Bug
Package: opcache
Operating System: CentOS 7
PHP Version: 5.6.10
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
I think this is no longer verifiable. I guess we can close this safely. Too many years have passed.
Previous Comments:
------------------------------------------------------------------------
[2020-12-14 12:58:52] cmb@php.net
Does this bug still occur with any of the actively supported PHP
versions[1]?
[1] <https://www.php.net/supported-versions.php>
------------------------------------------------------------------------
[2015-07-31 14:12:57] FractalizeR at yandex dot ru
Is there anything else I can do to help track this bug?
------------------------------------------------------------------------
[2015-07-14 07:29:53] FractalizeR at yandex dot ru
DEPS_ORDER_VIEW is an array of strings constant on the controller.
------------------------------------------------------------------------
[2015-07-14 07:28:23] FractalizeR at yandex dot ru
PHP stack trace shows very simple line as a last in the backtrace:
(gdb) source /home/vagrant/php-5.6.10/.gdbinit
(gdb) zbacktrace
[0x7f7ac2c33c68] getView() /var/www/exchange/src/UI/Controller/User/Order/OrderController.php:363
[0x7fffe0efe170] FH\Exchange\UI\Controller\User\Order\OrderController->getView("26826",
object[0x7f7ac5f3a620])
[0x7f7ac2c33ac0] call_user_func_array(array(2)[0x7f7ac5ee41a8], array(2)[0x7f7ac5ee1ae8])
/var/www/exchange/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:256
[0x7f7ac2c33980] Illuminate\Routing\Controller->callAction("getView",
array(2)[0x7f7ac5f30900])
/var/www/exchange/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:164
The line in question is:
$order = $this->orders->getOrder($orderId, self::DEPS_ORDER_VIEW);
$orders are declared as:
/**
* @var OrderServiceInterface
*/
protected $orders;
and injected into controller constructor by Laravel using service container.
getOrder() is declared as
public function getOrder($orderId, array $include = [], $cacheTitle = '');
$cacheTitle parameter is unused in the code. Declaration is the same on the interface and on the
class.
I have this crash both on my Vagrant dev environment and on production.
------------------------------------------------------------------------
[2015-07-13 08:33:01] laruence@php.net
try:
gdb> source php-src/.gdbini
gdb> zbacktrace
------------------------------------------------------------------------
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
https://bugs.php.net/bug.php?id=70023
--
Edit this bug report at https://bugs.php.net/bug.php?id=70023&edit=1