php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #77803 open opcache
Submitted: 2019-03-27 07:02 UTC Modified: 2019-04-07 04:22 UTC
From: luffyzhao at vip dot 126 dot com Assigned:
Status: No Feedback Package: FPM related
PHP Version: 7.1.27 OS: centos 7
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2019-03-27 07:02 UTC] luffyzhao at vip dot 126 dot com
Description:
------------
The core.xxxx file appears after open opcache.

#0  0x00000000008526ab in zm_startup_core (type=<optimized out>,
    module_number=<optimized out>)
    at /home/software/php-7.1.1/Zend/zend_builtin_functions.c:399
#1  0x00007f9f363baf88 in ?? ()
#2  0x00007f9f363bc3e0 in ?? ()
#3  0x0000000000851fec in zend_clean_module_rsrc_dtors_cb (zv=0x7f9f362c37c0,
    arg=0x7f9eafe15398) at /home/software/php-7.1.1/Zend/zend_list.c:262
#4  0x00007f9f362afc00 in ?? ()
#5  0x00007f9e00000000 in ?? ()
#6  0x00007f9f362d4090 in ?? ()
#7  0x00007f9e00000c08 in ?? ()
#8  0x0000000000000001 in ?? ()
#9  0x00007f9eb5a04238 in ?? ()
#10 0x00007f9f362afc00 in ?? ()
#11 0x00007f9f362afc00 in ?? ()
#12 0x00007f9f3629c400 in ?? ()
#13 0x0000000000867529 in zend_interned_strings_init ()
    at /home/software/php-7.1.1/Zend/zend_string.c:100
#14 0x00007f9eb5a04200 in ?? ()
#15 0x0000000000000c08 in ?? ()
#16 0x00007ffc0fdfc2e0 in ?? ()
#17 0x00007ffc0fdfc2f0 in ?? ()
#18 0x00007f9f3629c400 in ?? ()
---Type <return> to continue, or q <return> to quit---
#19 0x0000000100000000 in ?? ()
#20 0x0000000000867d62 in zend_signal_register (
    handler=0x867700 <zend_signal_handler_defer>, signo=266322224)
    at /home/software/php-7.1.1/Zend/zend_signal.c:296
#21 zend_signal_activate () at /home/software/php-7.1.1/Zend/zend_signal.c:316
#22 0x00007ffc0fdfc4f0 in ?? ()
#23 0x00007f9eb7c5d538 in ?? ()
#24 0x0000000000000000 in ?? ()


maybe it is php-fpm setting. i do not know! 

php.ini:

```
[php]
engine = On
short_open_tag = Off
precision = 14
output_buffering = 4096
zlib.output_compression = Off
implicit_flush = Off
unserialize_callback_func =
serialize_precision = -1
disable_functions =
disable_classes =
zend.enable_gc = On
expose_php = On
max_execution_time = 300
max_input_time = 60
memory_limit = 128M
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
display_errors = Off
display_startup_errors = Off
log_errors = On
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
track_errors = Off
html_errors = On
error_log = /var/log/php/php_errors.log
variables_order = "GPCS"
request_order = "GP"
register_argc_argv = Off
auto_globals_jit = On
post_max_size = 50M
auto_prepend_file =
auto_append_file =
default_mimetype = "text/html"
default_charset = "UTF-8"
doc_root =
user_dir =
enable_dl = Off
file_uploads = On
upload_max_filesize = 50M
max_file_uploads = 20
allow_url_fopen = On
allow_url_include = Off
default_socket_timeout = 60

[CLI Server]
cli_server.color = On

[Date]

[filter]

[iconv]

[intl]

[sqlite3]

[Pcre]

[Pdo]

[Pdo_mysql]
pdo_mysql.cache_size = 2000
pdo_mysql.default_socket= /var/lib/mysql/mysql.sock

[Phar]

[mail function]
SMTP = localhost
smtp_port = 25
mail.add_x_header = On

[SQL]
sql.safe_mode = Off

[ODBC]
odbc.allow_persistent = On
odbc.check_persistent = On
odbc.max_persistent = -1
odbc.max_links = -1
odbc.defaultlrl = 4096
odbc.defaultbinmode = 1

[Interbase]
ibase.allow_persistent = 1
ibase.max_persistent = -1
ibase.max_links = -1
ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
ibase.dateformat = "%Y-%m-%d"
ibase.timeformat = "%H:%M:%S"

[MySQLi]
mysqli.max_persistent = -1
mysqli.allow_persistent = On
mysqli.max_links = -1
mysqli.cache_size = 2000
mysqli.default_port = 3306
mysqli.default_socket =
mysqli.default_host =
mysqli.default_user =
mysqli.default_pw =
mysqli.reconnect = Off

[mysqlnd]
mysqlnd.collect_statistics = On
mysqlnd.collect_memory_statistics = Off

[OCI8]

[PostgreSQL]
pgsql.allow_persistent = On
pgsql.auto_reset_persistent = Off
pgsql.max_persistent = -1
pgsql.max_links = -1
pgsql.ignore_notice = 0
pgsql.log_notice = 0

[bcmath]
bcmath.scale = 0

[browscap]

[Session]
session.save_handler = files
session.use_strict_mode = 0
session.use_cookies = 1
session.use_only_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.cookie_httponly =
session.serialize_handler = php
session.gc_probability = 1
session.gc_divisor = 1000
session.gc_maxlifetime = 1440
session.referer_check =
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 0
session.sid_length = 26
session.trans_sid_tags = "a=href,area=href,frame=src,form="
session.sid_bits_per_character = 5

[Assertion]
zend.assertions = -1

[COM]

[mbstring]

[gd]

[exif]

[Tidy]
tidy.clean_output = Off

[soap]
soap.wsdl_cache_enabled=1
soap.wsdl_cache_dir="/tmp"
soap.wsdl_cache_ttl=86400
soap.wsdl_cache_limit = 5

[sysvshm]

[ldap]
ldap.max_links = -1

[mcrypt]

[dba]

zend_extension=opcache.so
[opcache]
opcache.enable= 1
opcache.enable_cli= 1
opcache.memory_consumption= 10240
opcache.max_accelerated_files= 70000
opcache.revalidate_freq= 120
opcache.validate_timestamps= 1
;opcache.file_cache=/tmp
[curl]

[openssl]

```


php-fpm
```
[www]
user = nginx
group = nginx
listen = 127.0.0.1:9000
pm = static
pm.max_children = 1000
pm.start_servers = 100
pm.min_spare_servers = 10
pm.max_spare_servers = 190
pm.max_requests = 100
```




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-03-27 07:07 UTC] krakjoe@php.net
-Status: Open +Status: Feedback
 [2019-03-27 07:07 UTC] krakjoe@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.


 [2019-03-27 07:23 UTC] luffyzhao at vip dot 126 dot com
I'm just running an empty laravel 5.5 project and that's the problem.
 [2019-03-27 07:24 UTC] luffyzhao at vip dot 126 dot com
and i used PHP 7.1.1.
 [2019-03-27 08:23 UTC] nikic@php.net
That stack trace looks corrupted to me, it has a bunch of functions that don't call each other...

If you're using 7.1.1, you should definitely try a newer version of the 7.1.x series though. There have been more than 25 releases since then, so it's likely that this issue has already been resolved.
 [2019-03-28 01:38 UTC] luffyzhao at vip dot 126 dot com
Thank you. I'll try.
 [2019-04-07 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-2019 The PHP Group
All rights reserved.
Last updated: Tue Nov 12 16:01:30 2019 UTC