|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69992 php-fpm segfault 11 zend_find_alias_name
Submitted: 2015-07-03 22:29 UTC Modified: 2015-07-19 04:22 UTC
From: erich at live2sync dot com Assigned:
Status: No Feedback Package: DBM/DBA related
PHP Version: 5.4.42 OS: CentOS 7.1
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2015-07-03 22:29 UTC] erich at live2sync dot com
CentOS 7 repo version 5.4.16

Search the bug list for this specific issue and came up empty. Submitting as distro is currently at 5.4.16.

gdb /usr/sbin/php-fpm coredump-php-fpm.5162 
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-64.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
Reading symbols from /usr/sbin/php-fpm...Reading symbols from /usr/lib/debug/usr/sbin/php-fpm.debug...done.
[New LWP 5162]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/".
Core was generated by `php-fpm: pool www              '.
Program terminated with signal 11, Segmentation fault.
#0  zend_find_alias_name (ce=0x7efdc0e17ff0, name=0x7efdc04ee5b0 "getrelatableuserids", len=19)
    at /usr/src/debug/php-5.4.16/Zend/zend_API.c:3921
3921		alias = *alias_ptr;

Actual result:
(gdb) bt
#0  zend_find_alias_name (ce=0x7efdc0e17ff0, name=0x7efdc04ee5b0 "getrelatableuserids", len=19)
    at /usr/src/debug/php-5.4.16/Zend/zend_API.c:3921
#1  0x00007efdbd651eca in zif_get_class_methods (ht=<optimized out>, return_value=0x7efdc04e1e68, 
    return_value_ptr=<optimized out>, this_ptr=<optimized out>, return_value_used=<optimized out>)
    at /usr/src/debug/php-5.4.16/Zend/zend_builtin_functions.c:1095
#2  0x00007efdbd6eb0cc in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>)
    at /usr/src/debug/php-5.4.16/Zend/zend_vm_execute.h:643
#3  0x00007efdbd6681b7 in execute (op_array=0x7efdbfbfed18) at /usr/src/debug/php-5.4.16/Zend/zend_vm_execute.h:410
#4  0x00007efdad1da9c0 in nr_php_execute ()
    at /home/hudson/slave-workspace/workspace/PHP_Release_Agent/label/centos5-64-nrcamp/agent/php_execute.c:1153
#5  0x00007efdbd6eb4ad in zend_do_fcall_common_helper_SPEC (execute_data=0x7efdbd382c68)
    at /usr/src/debug/php-5.4.16/Zend/zend_vm_execute.h:671


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-07-05 06:51 UTC]
-Status: Open +Status: Feedback
 [2015-07-05 06:51 UTC]
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.

 [2015-07-19 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-2019 The PHP Group
All rights reserved.
Last updated: Sat Jul 20 16:01:26 2019 UTC