Open
Description
Preconditions (*)
- Magento 2.4.2
- PHP 7.3 or PHP 7.4 through FPM
- MySQL 8.0
Steps to reproduce (*)
- Set the value for
web/secure/base_url
incore_config_data
table toNULL
- Flush all Magento caches
- Refresh the website
Expected result (*)
- An exception being thrown telling the store URL is invalid
Actual result (*)
- PHP-FPM runs into an error and throws a SEGSERV exception
[25-Mar-2021 13:46:59] NOTICE: [pool www] child 2842 started
[25-Mar-2021 13:47:07] WARNING: [pool www] child 2839 exited on signal 11 (SIGSEGV) after 13.986447 seconds from start
Additional info
In our case, due to a human error the database field for web/secure/base_url
got set to NULL
. I agree that this shouldn't usually happen, but it did.
I spent ages looking into the issue, since Magento CLI as well as the webpage, started throwing SIGSERV errors, meaning that PHP was trying to access an invalid memory pointer. This has been traced back to the erroneous configuration setting.
Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Metadata
Metadata
Assignees
Labels
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmedA defect with this priority could have functionality issues which are not to expectations.Indicates original Magento version for the Issue report.The issue has been reproduced on latest 2.4-develop branchAffects critical data or functionality and forces users to employ a workaround.Issue related to Developer Experience and needs help with Triage to Confirm or Reject it