Your data. Anywhere you go.

New Relic for iOS or Android


Download on the App Store    Android App on Google play


New Relic Insights App for iOS


Download on the App Store


Learn more

Close icon

PHP Agent 8.1/8.5 segfault

segfault

#1

Please share your agent version and other relevant versions below:

New Relic Version => 8.1.0.209 (“avocado” - “708a1d74e22e”)
New Relic Version => 8.5.0.235 (“eggplant” - “8832d5518c43”)

php 7.1.20
php 7.1.25

Please share your question/describe your issue below. Include any screenshots that may help us understand your question:

cli script is core-dumped
I’ve tried different php/agent versions but crashes are constant (in relatively huge loop with relatively large call-stack (over 100k in gdb)

(gdb) bt
#0  0x00007ffed09abd69 in gettimeofday ()
#1  0x00007f5c066e54d5 in nr_get_time () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/axiom/util_time.h:51
#2  nr_txn_set_time () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/axiom/nr_txn.h:381
#3  nr_php_execute_enabled () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1242
#4  0x00007f5c066e5b52 in nr_php_execute () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1365
#5  0x0000555d100e9e25 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.1.20/Zend/zend_vm_execute.h:1076
#6  0x0000555d1009851b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.20/Zend/zend_vm_execute.h:429
#7  0x00007f5c066e550b in nr_php_execute_enabled () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1255
#8  0x00007f5c066e5b52 in nr_php_execute () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1365
#9  0x0000555d100e9e25 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.1.20/Zend/zend_vm_execute.h:1076
#10 0x0000555d1009851b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.20/Zend/zend_vm_execute.h:429
#11 0x00007f5c066e550b in nr_php_execute_enabled () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1255
#12 0x00007f5c066e5b52 in nr_php_execute () at /home/hudson/slave-workspace/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1365
#13 0x0000555d100e9e25 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.1.20/Zend/zend_vm_execute.h:1076
#14 0x0000555d1009851b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.20/Zend/zend_vm_execute.h:429

#0  0x00007fff14bdbd61 in gettimeofday ()
#1  0x00007f3abeee09e5 in nr_get_time () at /home/hudson/workspace/php-release-agent/label/centos5-64-nrcamp/axiom/util_time.h:51
#2  nr_txn_set_time () at /home/hudson/workspace/php-release-agent/label/centos5-64-nrcamp/axiom/nr_txn.h:432
#3  nr_php_execute_enabled () at /home/hudson/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1242
#4  0x00007f3abeee1062 in nr_php_execute () at /home/hudson/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1365
#5  0x000055f49af1d275 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.1.25/Zend/zend_vm_execute.h:1076
#6  0x000055f49aecb96b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.25/Zend/zend_vm_execute.h:429
#7  0x00007f3abeee0a1b in nr_php_execute_enabled () at /home/hudson/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1255
#8  0x00007f3abeee1062 in nr_php_execute () at /home/hudson/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1365
#9  0x000055f49af1d275 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.1.25/Zend/zend_vm_execute.h:1076
#10 0x000055f49aecb96b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.25/Zend/zend_vm_execute.h:429
#11 0x00007f3abeee0a1b in nr_php_execute_enabled () at /home/hudson/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1255
#12 0x00007f3abeee1062 in nr_php_execute () at /home/hudson/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1365
#13 0x000055f49af1d275 in ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php-7.1.25/Zend/zend_vm_execute.h:1076
#14 0x000055f49aecb96b in execute_ex (ex=<optimized out>) at /usr/src/debug/php-7.1.25/Zend/zend_vm_execute.h:429
#15 0x00007f3abeee0a1b in nr_php_execute_enabled () at /home/hudson/workspace/php-release-agent/label/centos5-64-nrcamp/agent/php_execute.c:1255

uname -a
4.14.63-coreos #1 SMP Wed Aug 15 22:26:16 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux


#2

Hey @Oleksii.Prudkyi,

It looks like is something we were actively working with you on with separately in a ticket. Thank you for bringing this to our attention!