Bug #78382 [NEW]: Segmentation Violation in opcache
| From: | bret at aura-software dot com | Date: | Tue, 06 Aug 2019 16:43:26 +0000 |
| Subject: | Bug #78382 [NEW]: Segmentation Violation in opcache | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-222111@lists.php.net to get a copy of this message | ||
From: bret at aura-software dot com
Operating system: Ubuntu 18.04 LTS [Buster]
PHP version: 7.3.8
Package: Apache2 related
Bug Type: Bug
Bug description:Segmentation Violation in opcache
Description:
------------
Ubuntu 18.04 patched to the latest version
-> php -v
PHP 7.3.7-2+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Jul 25 2019
11:44:59) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.7, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.7-2+ubuntu18.04.1+deb.sury.org+1, Copyright
(c) 1999-2018, by Zend Technologies
Server runs for hours or days, then will suddenly begin to stack trace
with SIGSEGV. Once it starts, every request causes a core dump and
apache has to be restarted.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0xf6c93e67 in ?? () from /usr/lib/php/20180731/opcache.so
(gdb) bt
#0 0xf6c93e67 in ?? () from /usr/lib/php/20180731/opcache.so
#1 0xf6c91654 in ?? () from /usr/lib/php/20180731/opcache.so
#2 0xf6f63715 in ?? () from /usr/lib/apache2/modules/libphp7.3.so
#3 0xf6f9c342 in ?? () from /usr/lib/apache2/modules/libphp7.3.so
#4 0xf6fa3019 in execute_ex () from
/usr/lib/apache2/modules/libphp7.3.so
#5 0xf6fa94e2 in zend_execute () from
/usr/lib/apache2/modules/libphp7.3.so
#6 0xf6f1731d in zend_execute_scripts () from
/usr/lib/apache2/modules/libphp7.3.so
#7 0xf6eb6b4c in php_execute_script () from
/usr/lib/apache2/modules/libphp7.3.so
#8 0xf6fab941 in ?? () from /usr/lib/apache2/modules/libphp7.3.so
#9 0x56608237 in ap_run_handler (r=0xeb20a058) at config.c:170
#10 0x56608797 in ap_invoke_handler (r=0xeb20a058) at config.c:434
#11 0x566202f7 in ap_process_async_request (r=0xeb20a058) at
http_request.c:436
#12 0x566204af in ap_process_request (r=0xeb20a058) at
http_request.c:471
#13 0x5661c4dc in ap_process_http_sync_connection (c=0xf6c001f8) at
http_core.c:210
#14 ap_process_http_connection (c=0xf6c001f8) at http_core.c:251
#15 0x56611fb7 in ap_run_process_connection (c=0xf6c001f8) at
connection.c:42
#16 0x566125c3 in ap_process_connection (c=<optimized out>,
csd=0xf6c00058) at connection.c:226
#17 0xf7bb1bd2 in child_main (child_num_arg=child_num_arg@entry=9,
child_bucket=child_bucket@entry=0) at prefork.c:615
#18 0xf7bb1dee in make_child (s=<optimized out>, slot=9) at
prefork.c:717
#19 0xf7bb2860 in perform_idle_server_maintenance (p=<optimized out>) at
prefork.c:821
#20 prefork_run (_pconf=0xf7fa1018, plog=0xf7c27018, s=0xf7c23f38) at
prefork.c:1014
#21 0x565eb19f in ap_run_mpm (pconf=0xf7fa1018, plog=0xf7c27018,
s=0xf7c23f38) at mpm_common.c:94
#22 0x565e36bd in main (argc=<optimized out>, argv=<optimized out>) at
main.c:818
Phpinfo:
Build Date Jul 25 2019 11:44:59
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php/7.3/apache2
Loaded Configuration File /etc/php/7.3/apache2/php.ini
Scan this dir for additional .ini files /etc/php/7.3/apache2/conf.d
Additional .ini files parsed /etc/php/7.3/apache2/conf.d/10-mysqlnd.ini,
/etc/php/7.3/apache2/conf.d/10-opcache.ini,
/etc/php/7.3/apache2/conf.d/10-pdo.ini,
/etc/php/7.3/apache2/conf.d/15-xml.ini,
/etc/php/7.3/apache2/conf.d/20-calendar.ini,
/etc/php/7.3/apache2/conf.d/20-ctype.ini,
/etc/php/7.3/apache2/conf.d/20-curl.ini,
/etc/php/7.3/apache2/conf.d/20-dom.ini,
/etc/php/7.3/apache2/conf.d/20-exif.ini,
/etc/php/7.3/apache2/conf.d/20-fileinfo.ini,
/etc/php/7.3/apache2/conf.d/20-ftp.ini,
/etc/php/7.3/apache2/conf.d/20-gd.ini,
/etc/php/7.3/apache2/conf.d/20-gettext.ini,
/etc/php/7.3/apache2/conf.d/20-iconv.ini,
/etc/php/7.3/apache2/conf.d/20-json.ini,
/etc/php/7.3/apache2/conf.d/20-mbstring.ini,
/etc/php/7.3/apache2/conf.d/20-mysqli.ini,
/etc/php/7.3/apache2/conf.d/20-pdo_mysql.ini,
/etc/php/7.3/apache2/conf.d/20-phar.ini,
/etc/php/7.3/apache2/conf.d/20-posix.ini,
/etc/php/7.3/apache2/conf.d/20-readline.ini,
/etc/php/7.3/apache2/conf.d/20-shmop.ini,
/etc/php/7.3/apache2/conf.d/20-simplexml.ini,
/etc/php/7.3/apache2/conf.d/20-sockets.ini,
/etc/php/7.3/apache2/conf.d/20-sysvmsg.ini,
/etc/php/7.3/apache2/conf.d/20-sysvsem.ini,
/etc/php/7.3/apache2/conf.d/20-sysvshm.ini,
/etc/php/7.3/apache2/conf.d/20-tokenizer.ini,
/etc/php/7.3/apache2/conf.d/20-wddx.ini,
/etc/php/7.3/apache2/conf.d/20-xmlreader.ini,
/etc/php/7.3/apache2/conf.d/20-xmlwriter.ini,
/etc/php/7.3/apache2/conf.d/20-xsl.ini,
/etc/php/7.3/apache2/conf.d/20-zip.ini
PHP API 20180731
PHP Extension 20180731
Zend Extension 320180731
Zend Extension Build API320180731,NTS
PHP Extension Build API20180731,NTS
Debug Build no
Thread Safety disabled
Zend Signal Handling enabled
Zend Memory Manager enabled
Zend Multibyte Support provided by mbstring
IPv6 Support enabled
DTrace Support available, disabled
Registered PHP Streams https, ftps, compress.zlib, php, file, glob,
data, http, ftp, phar, zip
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, tls,
tlsv1.0, tlsv1.1, tlsv1.2
Registered Stream Filters zlib.*, string.rot13, string.toupper,
string.tolower, string.strip_tags, convert.*, consumed, dechunk,
convert.iconv.*
Opcache Settings
Zend OPcache
Opcode Caching Up and Running
Optimization Enabled
SHM Cache Enabled
File Cache Disabled
Startup OK
Shared memory model mmap
Cache hits 1716703
Cache misses 1438
Used memory 49426520
Free memory 84791208
Wasted memory 0
Interned Strings Used memory 6142312
Interned Strings Free memory 148884
Cached scripts 1438
Cached keys 1628
Max keys 16229
OOM restarts 0
Hash keys restarts 0
Manual restarts 0
Directive Local Value Master Value
opcache.blacklist_filename no value no value
opcache.consistency_checks 0 0
opcache.dups_fix Off Off
opcache.enable On On
opcache.enable_cli Off Off
opcache.enable_file_override Off Off
opcache.error_log no value no value
opcache.file_cache no value no value
opcache.file_cache_consistency_checks 1 1
opcache.file_cache_only 0 0
opcache.file_update_protection 2 2
opcache.force_restart_timeout 180 180
opcache.huge_code_pages Off Off
opcache.interned_strings_buffer 8 8
opcache.lockfile_path /tmp /tmp
opcache.log_verbosity_level 1 1
opcache.max_accelerated_files 10000 10000
opcache.max_file_size 0 0
opcache.max_wasted_percentage 5 5
opcache.memory_consumption 128 128
opcache.opt_debug_level 0 0
opcache.optimization_level 0x7FFEBFFF 0x7FFEBFFF
opcache.preferred_memory_model no value no value
opcache.protect_memory 0 0
opcache.restrict_api no value no value
opcache.revalidate_freq 2 2
opcache.revalidate_path Off Off
opcache.save_comments 1 1
opcache.use_cwd On On
opcache.validate_permission Off Off
opcache.validate_root Off Off
opcache.validate_timestamps On On
--
Edit bug report at https://bugs.php.net/bug.php?id=78382&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=78382&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78382&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78382&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78382&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78382&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78382&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78382&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78382&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78382&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78382&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78382&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=78382&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78382&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78382&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78382&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78382&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78382&r=mysqlcfg