php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #79395 SIGABRT from child when accessing website
Submitted: 2020-03-18 14:42 UTC Modified: 2021-09-23 13:33 UTC
From: antony dot landsman at verticacrm dot com Assigned: cmb (profile)
Status: Not a bug Package: FPM related
PHP Version: 7.3.15 OS: Centos 8.1.1911 (Core)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: antony dot landsman at verticacrm dot com
New email:
PHP Version: OS:

 

 [2020-03-18 14:42 UTC] antony dot landsman at verticacrm dot com
Description:
------------
I recently built a copy of 7.3.15.  When I try to access my website (running on NGINX) I get a 502 error.  In looking at the logs I see that the child process is terminating with a SIGABRT (Signal 6).  In order to gather more information, I created a debug build.  To my surprise, with the debug build the site works perfectly.  Sort of a catch 22, because as IU understand it, I cannot get a stack trace without a debug build.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-03-18 14:53 UTC] requinix@php.net
-Status: Open +Status: Feedback
 [2020-03-18 14:53 UTC] requinix@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

You can still get a stack trace with a release build, but it won't be as useful.

Try with all modules and zend_modules disabled? How about 7.3.16, which was tagged yesterday and will be announced tomorrow?
 [2020-03-23 11:33 UTC] antony dot landsman at verticacrm dot com
-Status: Feedback +Status: Open
 [2020-03-23 11:33 UTC] antony dot landsman at verticacrm dot com
This only occurs when xdebug is enabled.

As an eexample the following script:-
<?php
ob_start();
$result = eval("?>".$string."<"."?p"."hp return 1;");
$new_string = ob_get_clean();
s

What I expect is an undefined variable string error message

When I disable xdebug that is exactly what I get in the log:-
2020/03/23 11:26:46 [error] 30332#30332: *3115 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined variable: string in /home/brgb/public_html/crm/pinf.php on line 3" while reading response header from upstream, client: 82.80.188.85, server: crm.brgbrokers.com, request: "GET /pinf.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php7-brgb-fpm.sock:", host: "crm.brgbrokers.com"

if however I enable xdebug in my php.ini,

In the server error log I get a connection reset by peer error message, and the the php error log I get 
child 7584 exited on signal 6 (SIGABRT) after 960.531820 seconds from start

while I originally reported this on centos 8 and php 7.3.15 I have also experienced the same with centos 7 and php 7.3.16
 [2020-03-23 11:40 UTC] nikic@php.net
-Assigned To: +Assigned To: derick
 [2020-03-23 11:40 UTC] nikic@php.net
@derick: Sound familiar?
 [2021-09-23 13:33 UTC] cmb@php.net
-Status: Assigned +Status: Not a bug -Assigned To: derick +Assigned To: cmb
 [2021-09-23 13:33 UTC] cmb@php.net
If this is still an issue for you, please report it in the Xdebug
tracker at <https://bugs.xdebug.org/my_view_page.php>.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 09:01:30 2024 UTC