php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80414 Core was generated by `php-fpm: pool www
Submitted: 2020-11-25 12:04 UTC Modified: 2020-11-25 14:14 UTC
From: hbdlbj at 163 dot com Assigned:
Status: Open Package: Reproducible crash
PHP Version: 7.3.24 OS: centos 6.3
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: hbdlbj at 163 dot com
New email:
PHP Version: OS:

 

 [2020-11-25 12:04 UTC] hbdlbj at 163 dot com
Description:
------------
(gdb) bt
#0  _emalloc_112 () at /home/ssd/ferry2/ONLINE_SERVICE/other/ferry/task_workspace/3093328a604cd3f9c9d8b358e03e4696/baidu/third-party/php/.tmp/build/php-7.3.24/Zend/zend_alloc.c:1289
#1  0x00000000009e6bc2 in zend_user_it_get_iterator ()
#2  0x00000000009e75d2 in zend_user_it_get_new_iterator ()
#3  0x00000000004665bf in zend_fe_reset_iterator () at /home/ssd/ferry2/ONLINE_SERVICE/other/ferry/task_workspace/3093328a604cd3f9c9d8b358e03e4696/baidu/third-party/php/.tmp/build/php-7.3.24/Zend/zend_execute.c:3251
#4  0x0000000000a139b0 in ZEND_FE_RESET_R_SPEC_TMP_HANDLER () at /home/ssd/ferry2/ONLINE_SERVICE/other/ferry/task_workspace/3093328a604cd3f9c9d8b358e03e4696/baidu/third-party/php/.tmp/build/php-7.3.24/Zend/zend_vm_execute.h:18049
#5  0x0000000000a67c97 in execute_ex () at /home/ssd/ferry2/ONLINE_SERVICE/other/ferry/task_workspace/3093328a604cd3f9c9d8b358e03e4696/baidu/third-party/php/.tmp/build/php-7.3.24/Zend/zend_vm_execute.h:57411
#6  0x0000000000a6f7a8 in zend_execute () at /home/ssd/ferry2/ONLINE_SERVICE/other/ferry/task_workspace/3093328a604cd3f9c9d8b358e03e4696/baidu/third-party/php/.tmp/build/php-7.3.24/Zend/zend_vm_execute.h:60935
#7  0x00000000009cab10 in zend_execute_scripts () at /home/ssd/ferry2/ONLINE_SERVICE/other/ferry/task_workspace/3093328a604cd3f9c9d8b358e03e4696/baidu/third-party/php/.tmp/build/php-7.3.24/Zend/zend.c:1568
#8  0x00000000009611b0 in php_execute_script () at /home/ssd/ferry2/ONLINE_SERVICE/other/ferry/task_workspace/3093328a604cd3f9c9d8b358e03e4696/baidu/third-party/php/.tmp/build/php-7.3.24/main/main.c:2637
#9  0x000000000046e5ac in main () at /home/ssd/ferry2/ONLINE_SERVICE/other/ferry/task_workspace/3093328a604cd3f9c9d8b358e03e4696/baidu/third-party/php/.tmp/build/php-7.3.24/sapi/fpm/fpm/fpm_main.c:1951

Test script:
---------------
no script. A request lead to the crash.

Expected result:
----------------
the request can access server normally

Actual result:
--------------
a php-fpm work thread will exit, when a request come

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-11-25 13:35 UTC] danack@php.net
-Status: Open +Status: Feedback
 [2020-11-25 13:35 UTC] danack@php.net
"#8  0x00000000009611b0 in php_execute_script () at"

There is a script that is starting to be executed. It might be in the new preloading, or it could be in the older `auto_prepend_file` functionality, but it does appear to be some PHP script being run.

Without more info about what is being run, or at least the conditions that the error occurs under, it's unlikely anyone would be able to figure out what is causing it.
 [2020-11-25 14:14 UTC] hbdlbj at 163 dot com
-Status: Feedback +Status: Open
 [2020-11-25 14:14 UTC] hbdlbj at 163 dot com
I want upgrade the version from php5.4 to php7.3.24. I just refresh the website page of our service by using php7.3.24. But return 502 on the page. And one of the php-fpm work process exit with segment fault.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Apr 19 21:01:24 2021 UTC