Re: com php-src: More type inferences fixes: ext/opcache/Optimizer/zend_func_info.c ext/opcache/Optimizer/zend_inference.c

From: Date: Tue, 28 Jun 2016 16:28:45 +0000
Subject: Re: com php-src: More type inferences fixes: ext/opcache/Optimizer/zend_func_info.c ext/opcache/Optimizer/zend_inference.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-92700@lists.php.net to get a copy of this message
Hi Nikita, it looks like you broke something. $ USE_ZEND_ALLOC=0 valgrind sapi/cgi/php-cgi /var/www/html/bench/wordpress-4.2.2/index.php ==2162== Invalid read of size 4 ==2162== at 0x7B859B8: zend_update_type_info (zend_inference.c:3322) ==2162== by 0x7B859B8: zend_infer_types_ex (zend_inference.c:3526) ==2162== by 0x7B8B764: zend_infer_types (zend_inference.c:4003) ==2162== by 0x7B8B91E: zend_ssa_inference (zend_inference.c:4062) ==2162== by 0x7B73368: zend_dfa_analyze_op_array (dfa_pass.c:106) ==2162== by 0x7B68700: zend_optimize_script (zend_optimizer.c:912) ==2162== by 0x7B598EC: cache_script_in_shared_memory (ZendAccelerator.c:1256) ==2162== by 0x7B598EC: persistent_compile_file (ZendAccelerator.c:1834) ==2162== by 0x845AC34: compile_filename (zend_language_scanner.l:656) ==2162== by 0x84EA8A9: zend_include_or_eval (zend_execute.c:2827) ==2162== by 0x8522B95: ZEND_INCLUDE_OR_EVAL_SPEC_TMPVAR_HANDLER (zend_vm_execute.h:51060) ==2162== by 0x84D24A1: execute_ex (zend_vm_execute.h:429) ==2162== by 0x8526117: zend_execute (zend_vm_execute.h:474) ==2162== by 0x849030C: zend_execute_scripts (zend.c:1441) ==2162== Address 0x5eb41114 is not stack'd, malloc'd or (recently) free'd ==2162== This worked few commits before. Thanks. Dmitry. ________________________________ From: Nikita Popov <nikic@php.net> Sent: Tuesday, June 28, 2016 12:49:50 PM To: php-cvs@lists.php.net Subject: [PHP-CVS] com php-src: More type inferences fixes: ext/opcache/Optimizer/zend_func_info.c ext/opcache/Optimizer/zend_inference.c Commit: cdd58edf42f1c758bfdfc386b7f700fd633c5006 Author: Nikita Popov <nikic@php.net> Thu, 16 Jun 2016 14:41:33 +0200 Parents: 0cfb47651c09a4a17c5aa4e9c06f865171cb34f9 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=cdd58edf42f1c758bfdfc386b7f700fd633c5006 Log: More type inferences fixes Changed paths: M ext/opcache/Optimizer/zend_func_info.c M ext/opcache/Optimizer/zend_inference.c

« previous php.cvs (#92700) next »