Bug #80128 [Opn->Fbk]: trigger_error produces 255 exit code
| From: | requinix@php.net | Date: | Mon, 21 Sep 2020 10:50:38 +0000 |
| Subject: | Bug #80128 [Opn->Fbk]: trigger_error produces 255 exit code | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-229106@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=80128&edit=1
ID: 80128
Updated by: requinix@php.net
Reported by: php at shyim dot de
Summary: trigger_error produces 255 exit code
-Status: Open
+Status: Feedback
Type: Bug
-Package: Reproducible crash
+Package: *General Issues
Operating System: NixOs
PHP Version: 8.0.0beta4
Block user comment: N
Private report: N
New Comment:
Use an actual debugger to step through the code as it hits that trigger_error() call.
Previous Comments:
------------------------------------------------------------------------
[2020-09-21 08:34:14] php at shyim dot de
Description:
------------
I am currently testing our Software on PHP 8. Anything seems to work, but the CLI Installer fails. I
did some debugging using var_dump and searching which line produces the 255 exit code without
message. It was always the trigger_error calls.
When I remove from the entire project all trigger_error calls, the installation step works.
Test script:
---------------
Unfortunately I don't know what causes it. But when you run our Installer (MySQL Database
needed) it crashes always. See install.sh to how to execute the installer.
Github Repository: https://github.com/shyim/php8-bug-trigger-error
Expected result:
----------------
The Installer works runs with exit code 0. And a recovery/install/data/install.lock file exists
Actual result:
--------------
The trigger_error triggers 255 exit code without message.
Example: https://github.com/symfony/form/blob/v4.4.13/DependencyInjection/FormPass.php#L100
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=80128&edit=1