Bug #79095 [Fbk->Opn]: App shutdown during 'include' specific path

From: Date: Sat, 11 Jan 2020 20:18:08 +0000
Subject: Bug #79095 [Fbk->Opn]: App shutdown during 'include' specific path
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-224853@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79095&edit=1

 ID:                 79095
 User updated by:    andpis58 at gmail dot com
 Reported by:        andpis58 at gmail dot com
 Summary:            App shutdown during 'include' specific path
-Status:             Feedback
+Status:             Open
 Type:               Bug
 Package:            opcache
 Operating System:   Linux Debian Buster
 PHP Version:        7.4.1
 Block user comment: N
 Private report:     N

 New Comment:

Backtrace from child of php-fpm:

(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007ffff7227535 in __GI_abort () at abort.c:79
#2  0x00007ffff722740f in __assert_fail_base (fmt=0x7ffff7389ee0 "%s%s%s:%u: %s%sAssertion
`%s' failed.\n%n", assertion=0x5555566d34d6 "zfunc != ((void *)0)", 
    file=0x5555566d2dd0 "/usr/src/php/Zend/zend_vm_execute.h", line=9476,
function=<optimized out>) at assert.c:92
#3  0x00007ffff7235102 in __GI___assert_fail (assertion=0x5555566d34d6 "zfunc != ((void
*)0)", file=0x5555566d2dd0 "/usr/src/php/Zend/zend_vm_execute.h", line=9476, 
    function=0x5555566d44e0 "ZEND_DECLARE_LAMBDA_FUNCTION_SPEC_CONST_UNUSED_HANDLER") at
assert.c:101
#4  0x0000555555cdc1fb in ?? ()
#5  0x0000555555d318c9 in execute_ex ()
#6  0x0000555555d34dbe in zend_execute ()
#7  0x0000555555c595b8 in zend_execute_scripts ()
#8  0x0000555555bb94f0 in php_execute_script ()
#9  0x0000555555d48167 in ?? ()
#10 0x00007ffff722909b in __libc_start_main (main=0x555555d47111, argc=1, argv=0x7fffffffe288,
init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
stack_end=0x7fffffffe278)
    at ../csu/libc-start.c:308
#11 0x00005555557589da in _start ()


Previous Comments:
------------------------------------------------------------------------
[2020-01-10 16:16:30] requinix@php.net

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.



------------------------------------------------------------------------
[2020-01-10 14:27:39] andpis58 at gmail dot com

Description:
------------
Bug appearing randomly. 

1. after some maual test of our app we saw 502 errors
2. php-fpm shutdown with error:  [error] 24#24: *373 recv() failed (104: Connection reset by peer)
while reading response header from upstream, client: , server: , request: "GET /
HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host:
"api.dialogue.loc"
3. bug was caused by opcache extension
4. during include specific file php immedietly shutdown (I can't grab any more logs) 


This code with exacltly this path provide error:
include '/opt/app/var/cache/prod/pools/hNlXCdOl-q/X/C/zjqrka6rgVZ8jWbLa0WQ';

In this line app crashes, if tried debug that but I can't grab more informations



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=79095&edit=1


Thread (3 messages)

« previous php.bugs (#224853) next »