Bug #78926 [NEW]: Segmentation fault on Symfony cache:clear
| From: | djtahoma at gmail dot com | Date: | Sun, 08 Dec 2019 11:31:19 +0000 |
| Subject: | Bug #78926 [NEW]: Segmentation fault on Symfony cache:clear | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-224125@lists.php.net to get a copy of this message | ||
From: djtahoma at gmail dot com
Operating system: Ubuntu 19.10
PHP version: 7.4.0
Package: Reproducible crash
Bug Type: Bug
Bug description:Segmentation fault on Symfony cache:clear
Description:
------------
PHP 7.4.0 (cli) (built: Nov 28 2019 07:27:40) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.0, Copyright (c), by Zend Technologies
When I run Symfony console command I get Segfault. Only for prod Symfony
env.
bin/console cache:clear --no-warmup -e prod
Segmentation fault
[PHP Modules]
bcmath
calendar
Core
ctype
curl
date
dom
exif
FFI
fileinfo
filter
ftp
gd
gettext
hash
iconv
igbinary
intl
json
libxml
mbstring
mcrypt
memcached
mongodb
msgpack
openssl
pcntl
pcre
PDO
pdo_pgsql
pgsql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib
[Zend Modules]
Zend OPcache
(gdb) run /home/user/Projects/project/bin/console cache:clear
--no-warmup -e preprod
Starting program: /usr/bin/php /home/user/Projects/project/bin/console
cache:clear --no-warmup -e preprod
[Thread debugging using libthread_db enabled]
Using host libthread_db library
"/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
zend_hash_set_bucket_key (ht=0x555555a11a50, b=b@entry=0x555555d29d90,
key=0x7fffef00ab60) at ./Zend/zend_hash.c:1116
1116 ./Zend/zend_hash.c: No such file or directory.
(gdb) bt
#0 zend_hash_set_bucket_key (ht=0x555555a11a50,
b=b@entry=0x555555d29d90, key=0x7fffef00ab60) at
./Zend/zend_hash.c:1116
#1 0x00005555557d8928 in do_bind_class (lcname=0x7fffef298750,
lc_parent_name=<optimized out>) at ./Zend/zend_compile.c:1085
#2 0x0000555555846c99 in ZEND_DECLARE_CLASS_SPEC_CONST_HANDLER () at
./Zend/zend_vm_execute.h:4374
#3 0x000055555587b415 in execute_ex (ex=0x555555a11a50) at
./Zend/zend_vm_execute.h:53881
#4 0x00005555557eb97f in zend_call_function
(fci=fci@entry=0x7fffffffa0c0, fci_cache=0x7fffef298700,
fci_cache@entry=0x7fffffffa0a0) at ./Zend/zend_execute_API.c:811
#5 0x00005555556f67a4 in zif_spl_autoload_call (execute_data=<optimized
out>, return_value=<optimized out>) at ./ext/spl/php_spl.c:452
#6 0x00005555557eb89b in zend_call_function (fci=0x7fffffffa250,
fci_cache=0x7fffffffa230) at ./Zend/zend_execute_API.c:824
#7 0x00005555557ebf33 in zend_lookup_class_ex (name=<optimized out>,
key=key@entry=0x0, flags=flags@entry=0) at
./Zend/zend_execute_API.c:990
#8 0x00005555557ec12d in zend_lookup_class (name=<optimized out>) at
./Zend/zend_execute_API.c:1011
#9 0x00005555558127fb in class_exists_impl
(return_value=0x7ffff5416c50, skip_flags=3, flags=0,
execute_data=0x7ffff5416dc0) at ./Zend/zend_builtin_functions.c:1475
#10 zif_class_exists (execute_data=0x7ffff5416dc0,
return_value=0x7ffff5416c50) at ./Zend/zend_builtin_functions.c:1490
#11 0x00005555558804f7 in ZEND_DO_FCALL_BY_NAME_SPEC_RETVAL_USED_HANDLER
() at ./Zend/zend_vm_execute.h:1525
#12 execute_ex (ex=0x555555a11a50) at ./Zend/zend_vm_execute.h:53567
#13 0x0000555555882adb in zend_execute (op_array=0x7ffff547f380,
return_value=0x0) at ./Zend/zend_vm_execute.h:57651
#14 0x00005555557fa55c in zend_execute_scripts (type=type@entry=8,
retval=0x7ffff1f046e0, retval@entry=0x0, file_count=-180262432,
file_count@entry=3) at ./Zend/zend.c:1663
#15 0x000055555579a2d0 in php_execute_script (primary_file=<optimized
out>) at ./main/main.c:2619
#16 0x0000555555884b8f in do_cli (argc=6, argv=0x555555a115c0) at
./sapi/cli/php_cli.c:961
#17 0x0000555555661838 in main (argc=6, argv=0x555555a115c0) at
./sapi/cli/php_cli.c:1352
--
Edit bug report at https://bugs.php.net/bug.php?id=78926&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=78926&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78926&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78926&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78926&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78926&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78926&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78926&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78926&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78926&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78926&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78926&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=78926&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78926&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78926&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78926&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78926&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78926&r=mysqlcfg