php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74608 Program terminated with signal 11, Segmentation fault
Submitted: 2017-05-18 03:22 UTC Modified: 2017-05-19 02:42 UTC
Votes:3
Avg. Score:4.0 ± 0.8
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:3 (100.0%)
From: 874762695 at qq dot com Assigned:
Status: Open Package: yaf (PECL)
PHP Version: 7.1Git-2017-05-18 (Git) OS: CentOS Linux release 7.1.1503 (C
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.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: 874762695 at qq dot com
New email:
PHP Version: OS:

 

 [2017-05-18 03:22 UTC] 874762695 at qq dot com
Description:
------------
Core was generated by `php-fpm: pool php7-www               '.
Program terminated with signal 11, Segmentation fault.
#0  0x00000000007ea8a5 in zend_mm_alloc_small (bin_num=4, size=40, heap=0x7f6fb9800040)
    at /root/php7/php-7.1.0/Zend/zend_alloc.c:1261
1261	/root/php7/php-7.1.0/Zend/zend_alloc.c: 没有那个文件或目录.
Missing separate debuginfos, use: debuginfo-install php-7.1.0-el7.x86_64
(gdb) bt
#0  0x00000000007ea8a5 in zend_mm_alloc_small (bin_num=4, size=40, heap=0x7f6fb9800040)
    at /root/php7/php-7.1.0/Zend/zend_alloc.c:1261
#1  zend_mm_alloc_heap (size=40, heap=0x7f6fb9800040) at /root/php7/php-7.1.0/Zend/zend_alloc.c:1332
#2  _emalloc (size=40) at /root/php7/php-7.1.0/Zend/zend_alloc.c:2417
#3  0x00000000009a8fc0 in zend_string_alloc (persistent=0, len=15) at /root/php7/php-7.1.0/Zend/zend_string.h:122
#4  ZEND_CONCAT_SPEC_TMPVAR_CV_HANDLER () at /root/php7/php-7.1.0/Zend/zend_vm_execute.h:54531
#5  0x00000000008c2c45 in execute_ex (ex=0x7f6fb9815190) at /root/php7/php-7.1.0/Zend/zend_vm_execute.h:429
#6  0x000000000080dd07 in zend_call_function (fci=0x7fff84c30210, fci_cache=0x7fff84c301b0)
    at /root/php7/php-7.1.0/Zend/zend_execute_API.c:828
#7  0x0000000000869eee in zend_call_method (object=0x7fff84c30430, obj_ce=0x7f6fb9983cc0, fn_proxy=0x0,
    function_name=0x7f6fb9968b18 "getdetailaction", function_name_len=15, retval_ptr=0x7fff84c30450, param_count=0,
    arg1=0x0, arg2=0x0) at /root/php7/php-7.1.0/Zend/zend_interfaces.c:101
#8  0x00007f6fa596c19d in yaf_dispatcher_handle (dispatcher=0x7f6fb987e038, request=0x7f6fb987b208,
    response=0x7fff84c30810, view=0x7f6fb987b1f8)
    at /root/php7/php-install/php7.1.0/extensions/yaf-3.0.4/yaf_dispatcher.c:603
#9  0x00007f6fa596de51 in yaf_dispatcher_dispatch (dispatcher=0x7f6fb987e038, response_ptr=0x7fff84c30810)
    at /root/php7/php-install/php7.1.0/extensions/yaf-3.0.4/yaf_dispatcher.c:881
#10 0x00007f6fa5967a84 in zim_yaf_application_run (execute_data=0x7f6fb9815140, return_value=0x7fff84c308d0)
    at /root/php7/php-install/php7.1.0/extensions/yaf-3.0.4/yaf_application.c:444
#11 0x00000000008c6f54 in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER ()
    at /root/php7/php-7.1.0/Zend/zend_vm_execute.h:970
#12 0x00000000008c2c45 in execute_ex (ex=0x7f6fb9815030) at /root/php7/php-7.1.0/Zend/zend_vm_execute.h:429
#13 0x00000000008c35f9 in zend_execute (op_array=0x7f6fb987b000, return_value=0x0)
    at /root/php7/php-7.1.0/Zend/zend_vm_execute.h:474
#14 0x000000000082cc7c in zend_execute_scripts (type=8, retval=0x0, file_count=3)
    at /root/php7/php-7.1.0/Zend/zend.c:1474
#15 0x0000000000780159 in php_execute_script (primary_file=0x7fff84c331a0) at /root/php7/php-7.1.0/main/main.c:2533
#16 0x00000000009c9b24 in main (argc=2, argv=0x7fff84c333c8) at /root/php7/php-7.1.0/sapi/fpm/fpm/fpm_main.c:1967


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-05-18 03:38 UTC] laruence@php.net
-Package: FPM related +Package: yaf
 [2017-05-18 03:38 UTC] laruence@php.net
我看好像是Yaf相关? 你有可重现的脚本么, 也可以在github的yaf项目中提issue给我
(It seems relates to yaf,I will need a reproduce project, you could concat me directly at github by issue)
 [2017-05-18 06:54 UTC] 874762695 at qq dot com
this error can't be occurred every time, this is our core dump list
-rwxrwxrwx 1 nice nice 343M 5月  16 16:05 core-php-fpm.11921
-rwxrwxrwx 1 nice nice 346M 5月  16 16:30 core-php-fpm.11907
-rwxrwxrwx 1 nice nice 343M 5月  16 16:39 core-php-fpm.47546
-rwxrwxrwx 1 nice nice 350M 5月  16 17:17 core-php-fpm.47538
-rwxrwxrwx 1 nice nice 351M 5月  16 19:17 core-php-fpm.11406
-rwxrwxrwx 1 nice nice 342M 5月  16 19:39 core-php-fpm.40873
-rwxrwxrwx 1 nice nice 374M 5月  16 21:36 core-php-fpm.40864
-rwxrwxrwx 1 nice nice 381M 5月  16 21:58 core-php-fpm.40846
-rwxrwxrwx 1 nice nice 343M 5月  16 22:22 core-php-fpm.14291
-rwxrwxrwx 1 nice nice 341M 5月  17 00:45 core-php-fpm.31601
-rwxrwxrwx 1 nice nice 366M 5月  17 03:56 core-php-fpm.31735
-rwxrwxrwx 1 nice nice 375M 5月  17 07:26 core-php-fpm.33661
-rwxrwxrwx 1 nice nice 366M 5月  17 09:47 core-php-fpm.1556
-rwxrwxrwx 1 nice nice 344M 5月  17 09:53 core-php-fpm.32210
-rwxrwxrwx 1 nice nice 346M 5月  17 10:39 core-php-fpm.20078
-rwxrwxrwx 1 nice nice 360M 5月  17 11:53 core-php-fpm.35918
-rwxrwxrwx 1 nice nice 343M 5月  17 12:59 core-php-fpm.23711
-rwxrwxrwx 1 nice nice 340M 5月  17 15:29 core-php-fpm.4475
-rwxrwxrwx 1 nice nice 351M 5月  17 18:00 core-php-fpm.38074
-rwxrwxrwx 1 nice nice 358M 5月  17 18:30 core-php-fpm.38102
-rwxrwxrwx 1 nice nice 365M 5月  17 18:59 core-php-fpm.38059
-rwxrwxrwx 1 nice nice 380M 5月  17 20:12 core-php-fpm.38199
-rwxrwxrwx 1 nice nice 364M 5月  17 21:58 core-php-fpm.44777
-rwxrwxrwx 1 nice nice 354M 5月  17 23:00 core-php-fpm.42336
-rwxrwxrwx 1 nice nice 375M 5月  18 00:01 core-php-fpm.41605
-rwxrwxrwx 1 nice nice 377M 5月  18 00:15 core-php-fpm.41358
-rwxrwxrwx 1 nice nice 347M 5月  18 01:04 core-php-fpm.46356
-rwxrwxrwx 1 nice nice 347M 5月  18 01:13 core-php-fpm.46494
-rwxrwxrwx 1 nice nice 363M 5月  18 04:59 core-php-fpm.12289
-rwxrwxrwx 1 nice nice 350M 5月  18 10:26 core-php-fpm.38161
-rwxrwxrwx 1 nice nice 343M 5月  18 10:30 core-php-fpm.25999
-rwxrwxrwx 1 nice nice 365M 5月  18 10:54 core-php-fpm.19661
-rwxrwxrwx 1 nice nice 361M 5月  18 11:48 core-php-fpm.39269
-rwxrwxrwx 1 nice nice 343M 5月  18 12:11 core-php-fpm.45965
-rwxrwxrwx 1 nice nice 351M 5月  18 12:43 core-php-fpm.44912
-rwxrwxrwx 1 nice nice 358M 5月  18 13:52 core-php-fpm.19727
-rwxrwxrwx 1 nice nice 360M 5月  18 14:12 core-php-fpm.4729
-rwxrwxrwx 1 nice nice 369M 5月  18 14:12 core-php-fpm.44927

if I give you one core dump file and php-fpm binary is ok?
 [2017-05-19 02:42 UTC] laruence@php.net
No, it's not okey, is that possible you could give me a ssh access to one of your box which could reproduce this problem?

(you can sent mail to me)
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sat Dec 07 19:01:24 2019 UTC