php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80414 Core dump was generated by `php-fpm: pool www
Submitted: 2020-11-25 12:04 UTC Modified: 2021-09-05 04:22 UTC
From: hbdlbj at 163 dot com Assigned: cmb (profile)
Status: No Feedback Package: Reproducible crash
PHP Version: 7.3.24 OS: centos 6.3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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.
 [2021-08-24 14:13 UTC] cmb@php.net
-Summary: Core was generated by `php-fpm: pool www +Summary: Core dump was generated by `php-fpm: pool www -Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-08-24 14:13 UTC] cmb@php.net
Is this still an issue with any of the actively supported PHP
versions[1]?  If so, could you please provide a script to be able
to reproduce this problem?

[1] <https://www.php.net/supported-versions.php>
 [2021-09-05 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 18:01:29 2024 UTC