php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80551 With wordpress 5.6 and php 8.0 on debian i got a SIGSEGV maybe opcache
Submitted: 2020-12-24 21:39 UTC Modified: 2021-06-20 04:22 UTC
From: mryodatak at gmail dot com Assigned: cmb (profile)
Status: No Feedback Package: Reproducible crash
PHP Version: 8.0.0 OS: Debian 10.7
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mryodatak at gmail dot com
New email:
PHP Version: OS:

 

 [2020-12-24 21:39 UTC] mryodatak at gmail dot com
Description:
------------
[PHP Modules]
calendar
Core
ctype
date
exif
FFI
fileinfo
filter
ftp
gettext
hash
iconv
json
libxml
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
shmop
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
Zend OPcache
zlib

[Zend Modules]
Zend OPcache



Dec 10 01:16:58 . kernel: php-fpm8.0[5517]: segfault at 5583cf033c54 ip 00005583cf033c54 sp 00007fffd86adbe0 error 14
Dec 10 01:16:58 kernel: Code: Bad RIP value.

(gdb) bt
#0  0x000055e16eea1c54 in ?? ()
#1  0x00000a4e00000a4c in ?? ()
#2  0x000055e134bb48de in zend_hash_real_init_mixed_ex (ht=0x7ffea6c18370) at ./Zend/zend_hash.c:171
#3  zend_hash_real_init_mixed (ht=0x7ffea6c18370) at ./Zend/zend_hash.c:334
#4  0x7bf2814d26900d00 in ?? ()
#5  0x00007ffea6c184f0 in ?? ()
#6  0x00007fbc04c05eb4 in ?? ()
#7  0x00007ffea6c18370 in ?? ()
#8  0x00007fbc04ee35e0 in ?? ()
#9  0x00007fbc04cb3160 in ?? ()
#10 0x00007fbc061242e8 in ?? () from /usr/lib/php/20200930/opcache.so
#11 0x00007fbc06129144 in ?? () from /usr/lib/php/20200930/opcache.so
#12 0x00007fbc061280b6 in ?? () from /usr/lib/php/20200930/opcache.so
#13 0x00007fbc060fc44d in ?? () from /usr/lib/php/20200930/opcache.so
#14 0x00007fbc060ec47a in ?? () from /usr/lib/php/20200930/opcache.so
#15 0x00007fbc060d673e in ?? () from /usr/lib/php/20200930/opcache.so
#16 0x000055e134b6de62 in compile_filename (type=type@entry=2, filename=filename@entry=0x7fbc06214440) at ./Zend/zend_language_scanner.c:721
#17 0x000055e134bd8345 in zend_include_or_eval (inc_filename=0x7fbc06214440, type=2) at ./Zend/zend_execute.c:4225
#18 0x000055e134bedd90 in ZEND_INCLUDE_OR_EVAL_SPEC_TMPVAR_HANDLER () at ./Zend/zend_vm_execute.h:14249
#19 0x000055e134c09e6b in execute_ex (ex=0x7ffea6c18370) at ./Zend/zend_vm_execute.h:56020
#20 0x000055e134c1195c in zend_execute (op_array=0x7fbc06202000, return_value=0x0) at ./Zend/zend_vm_execute.h:58856
#21 0x000055e134ba8d1d in zend_execute_scripts (type=102843344, type@entry=8, retval=retval@entry=0x0, file_count=file_count@entry=3) at ./Zend/zend.c:1680
#22 0x000055e134b45bab in php_execute_script (primary_file=<optimized out>) at ./main/main.c:2488
#23 0x000055e1349ffd40 in main (argc=<optimized out>, argv=<optimized out>) at ./sapi/fpm/fpm/fpm_main.c:1916

It seem it comme from opcache



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-06-09 16:03 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-06-09 16:03 UTC] cmb@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.
 [2021-06-20 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-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC