Closed cosmicdusts closed 9 years ago
sorry everyone, that is not a bug, I compiled PHP with two flags , --with-config-file-path and --with-config-file-scan-dir but the two value are the same, That led to load php.ini twice... so.. Something happened.
php.5.4.28 & php.5.4.30 opcache 7.0.3 & opcache 7.0.2
[root@MYHOST ~]# /path/to/php-5.4/bin/php -i |fgrep opcache. opcache.blacklist_filename => no value => no value opcache.consistency_checks => 0 => 0 opcache.dups_fix => Off => Off opcache.enable => On => On opcache.enable_cli => On => On opcache.enable_file_override => Off => Off opcache.error_log => /tmp/opcache.err => /tmp/opcache.err opcache.fast_shutdown => 1 => 1 opcache.file_update_protection => 2 => 2 opcache.force_restart_timeout => 180 => 180 opcache.inherited_hack => On => On opcache.interned_strings_buffer => 8 => 8 opcache.load_comments => 1 => 1 opcache.log_verbosity_level => 1 => 1 opcache.max_accelerated_files => 4000 => 4000 opcache.max_file_size => 0 => 0 opcache.max_wasted_percentage => 5 => 5 opcache.memory_consumption => 128 => 128 opcache.optimization_level => 0xFFFFFFFF => 0xFFFFFFFF opcache.preferred_memory_model => no value => no value opcache.protect_memory => 0 => 0 opcache.restrict_api => no value => no value opcache.revalidate_freq => 60 => 60 opcache.revalidate_path => Off => Off opcache.save_comments => 1 => 1 opcache.use_cwd => On => On opcache.validate_timestamps => On => On * glibc detected * /path/to/php-5.4/bin/php: free(): invalid pointer: 0x00007f55bb0fab00 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x76166)[0x7f55cd18f166] /path/to/php-5.4/bin/php(php_module_shutdown+0x2a)[0x6f912a] /path/to/php-5.4/bin/php[0x800e65] /lib64/libc.so.6(__libc_start_main+0xfd)[0x7f55cd137d1d] /path/to/php-5.4/bin/php[0x42c3a9]
[root@MYHOST ~]# uname -a Linux MYHOST 2.6.32-431.20.3.el6.x86_64 #1 SMP Thu Jun 19 21:14:45 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
[root@MYHOST ~]# cat /etc/redhat-release CentOS release 6.5 (Final)