php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75610 php-7.1.12-4.el7.remi - SegFault
Submitted: 2017-12-01 13:55 UTC Modified: 2021-03-28 04:22 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: thomas at tourlourat dot com Assigned: cmb (profile)
Status: No Feedback Package: *General Issues
PHP Version: 7.1.12 OS: centos 7.4.1708
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: thomas at tourlourat dot com
New email:
PHP Version: OS:

 

 [2017-12-01 13:55 UTC] thomas at tourlourat dot com
Description:
------------
PHP 7.1.12 (cli) (built: Dec  1 2017 13:53:12) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.1.12, Copyright (c) 1999-2017, by Zend Technologies
    with blackfire v1.18.0~linux-x64-non_zts71, https://blackfire.io, by SensioLabs


Version: php-7.1.12-4.el7.remi



#0  zend_get_constant_ex (cname=0x7f0a2c995500, scope=0x7f0a2c6237f8, flags=33) at /usr/src/debug/php-7.1.12/Zend/zend_constants.c:310
#1  0x00007f0a4686503d in zval_update_constant_ex (p=p@entry=0x7f0a2b53b280, scope=<optimized out>)
    at /usr/src/debug/php-7.1.12/Zend/zend_execute_API.c:589
#2  0x00007f0a469176cb in ZEND_RECV_INIT_SPEC_CONST_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:2290
#3  0x00007f0a468bff9b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#4  0x00007f0a4691904e in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:1076
#5  0x00007f0a468bff9b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#6  0x00007f0a469195dc in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:949
#7  0x00007f0a468bff9b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#8  0x00007f0a469195dc in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:949
#9  0x00007f0a468bff9b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#10 0x00007f0a469195dc in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:949
#11 0x00007f0a468bff9b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#12 0x00007f0a469195dc in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:949
#13 0x00007f0a468bff9b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#14 0x00007f0a469195dc in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:949
#15 0x00007f0a468bff9b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#16 0x00007f0a469195dc in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:949
#17 0x00007f0a468bff9b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#18 0x00007f0a469195dc in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:949
#19 0x00007f0a468bff9b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#20 0x00007f0a469195dc in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:949
#21 0x00007f0a468bff9b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#22 0x00007f0a469195dc in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:949
#23 0x00007f0a468bff9b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#24 0x00007f0a469195dc in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:949
#25 0x00007f0a468bff9b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#26 0x00007f0a469195dc in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:949
#27 0x00007f0a468bff9b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#28 0x00007f0a469195dc in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:949
#29 0x00007f0a468bff9b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#30 0x00007f0a469195dc in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:949
#31 0x00007f0a468bff9b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#32 0x00007f0a469195dc in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:949
#33 0x00007f0a468bff9b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#34 0x00007f0a469195dc in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:949
#35 0x00007f0a468bff9b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#36 0x00007f0a469195dc in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:949
#37 0x00007f0a468bff9b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#38 0x00007f0a469195dc in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:949
#39 0x00007f0a468bff9b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#40 0x00007f0a469195dc in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:949
#41 0x00007f0a468bff9b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#42 0x00007f0a469195dc in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:949
#43 0x00007f0a468bff9b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#44 0x00007f0a469195dc in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:949
#45 0x00007f0a468bff9b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#46 0x00007f0a469195dc in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:949
#47 0x00007f0a468bff9b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#48 0x00007f0a469195dc in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:949
#49 0x00007f0a468bff9b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#50 0x00007f0a469195dc in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:949
#51 0x00007f0a468bff9b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#52 0x00007f0a469195dc in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:949
#53 0x00007f0a468bff9b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#54 0x00007f0a469195dc in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:949


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-12-02 11:26 UTC] laruence@php.net
-Status: Open +Status: Feedback
 [2017-12-02 11:26 UTC] laruence@php.net
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.


 [2017-12-04 13:33 UTC] thomas at tourlourat dot com
-Status: Feedback +Status: Open
 [2017-12-04 13:33 UTC] thomas at tourlourat dot com
The SegFault was coming from blackfire extension; when running console from Symfony application 2.7, `app/console` (without argument).

Regards.
 [2018-01-18 08:37 UTC] emir@php.net
Can you please add a full list of extensions that you use? (php -m)
Do you happen to have Memcache extension installed? I have experienced the same segfault as well and I'm suspecting Memcache behaviour as well.

(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x0000557a95583e6b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#2  0x0000557a955dd4ac in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:949
#3  0x0000557a95583e6b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#4  0x0000557a955dcf1e in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:1076
#5  0x0000557a95583e6b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#6  0x0000557a955dd4ac in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:949
#7  0x0000557a95583e6b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#8  0x0000557a955dd4ac in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:949
#9  0x0000557a95583e6b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#10 0x0000557a955dd4ac in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:949
#11 0x0000557a95583e6b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#12 0x0000557a955dd4ac in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:949
#13 0x0000557a95583e6b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#14 0x0000557a955dd4ac in ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:949
#15 0x0000557a95583e6b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#16 0x0000557a955dcf1e in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:1076
#17 0x0000557a95583e6b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#18 0x0000557a95529bc4 in zend_call_function (fci=0x7f824da16eb0, fci@entry=0x7fff3cf602a0, fci_cache=<optimized out>, fci_cache@entry=0x7fff3cf60270) at /usr/src/debug/php-7.1.12/Zend/zend_execute_API.c:855
#19 0x0000557a9546fc22 in zif_call_user_func_array (execute_data=0x7f824da164a0, return_value=0x7f824da16480) at /usr/src/debug/php-7.1.12/ext/standard/basic_functions.c:4860
#20 0x0000557a955dce4c in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:1099
#21 0x0000557a95583e6b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#22 0x0000557a955dcf1e in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:1076
#23 0x0000557a95583e6b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#24 0x0000557a955dcf1e in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:1076
#25 0x0000557a95583e6b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#26 0x0000557a955dcf1e in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:1076
#27 0x0000557a95583e6b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#28 0x0000557a955da004 in ZEND_INCLUDE_OR_EVAL_SPEC_CONST_HANDLER () at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:3479
#29 0x0000557a95583e6b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:429
#30 0x0000557a955df4d8 in zend_execute (op_array=op_array@entry=0x7f824da6b1c0, return_value=return_value@entry=0x7f823c04fe68) at /usr/src/debug/php-7.1.12/Zend/zend_vm_execute.h:474
#31 0x0000557a95539ef3 in zend_execute_scripts (type=1302422480, type@entry=8, retval=0x7f823c04fe68, retval@entry=0x0, file_count=file_count@entry=3) at /usr/src/debug/php-7.1.12/Zend/zend.c:1482
#32 0x0000557a954d5af0 in php_execute_script (primary_file=primary_file@entry=0x7fff3cf62aa0) at /usr/src/debug/php-7.1.12/main/main.c:2579
#33 0x0000557a9536b71a in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/php-7.1.12/sapi/fpm/fpm/fpm_main.c:1966



memcache extension:

memcache support => enabled
Version => 3.0.9-dev
 [2021-03-16 15:00 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-03-16 15:00 UTC] cmb@php.net
Is that still an issue with any of the actively supported PHP
versions[1]?  If so, does it only happen with blackfire enabled?
If so, have you reported that issue to them?

[1] <https://www.php.net/supported-versions.php>
 [2021-03-28 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-2022 The PHP Group
All rights reserved.
Last updated: Sun Aug 14 18:05:43 2022 UTC