|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #79095 App shutdown during 'include' specific path
Submitted: 2020-01-10 14:27 UTC Modified: 2020-01-11 20:18 UTC
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: andpis58 at gmail dot com Assigned:
Status: Open Package: opcache
PHP Version: 7.4.1 OS: Linux Debian Buster
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:
Bug Type:
From: andpis58 at gmail dot com
New email:
PHP Version: OS:


 [2020-01-10 14:27 UTC] andpis58 at gmail dot com
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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-01-10 16:16 UTC]
-Status: Open +Status: Feedback
 [2020-01-10 16:16 UTC]
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 for *NIX and 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-11 20:18 UTC] andpis58 at gmail dot com
-Status: Feedback +Status: Open
 [2020-01-11 20:18 UTC] andpis58 at gmail dot com
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 ()
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 17 23:01:27 2024 UTC