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: 2020-03-23 11:40 UTC
From: antony dot landsman at verticacrm dot com Assigned: derick (profile)
Status: Assigned 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
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 — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
48 + 32 = ?
Subscribe to this entry?

 
 [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?
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Jul 04 19:01:16 2020 UTC