Bug #75815 [Fbk->NoF]: Segmentation fault

From: Date: Sun, 15 Nov 2020 04:22:14 +0000
Subject: Bug #75815 [Fbk->NoF]: Segmentation fault
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-230362@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75815&edit=1 ID: 75815 Updated by: php-bugs@lists.php.net Reported by: fen_liuzhi at 163 dot com Summary: Segmentation fault -Status: Feedback +Status: No Feedback Type: Bug Package: CGI/CLI related Operating System: linux PHP Version: 7.1.13 Assigned To: cmb Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2020-11-06 17:39:00] cmb@php.net Does this still happen with any of the actively supported PHP versions[1]? [1] <https://www.php.net/supported-versions.php> ------------------------------------------------------------------------ [2018-01-15 03:01:54] fen_liuzhi at 163 dot com Description: ------------ running php 7(7.1.13) using php-cgi on lighttpd causes segmentation fault at zend_ast.h. the segmentation fault is: php-cgi[8722]: unhandled signal 11 at 68700050 nip 1029b9c8 lr 1029e4c0 code 30 gdb info is: (gdb) list *0x1029b9c8 0x1029b9c8 is in zend_compile_expr (Zend/zend_sst.h:239). 234 static zend_always_inline uint32_t zend_ast_get_num_children(zend_ast *ast) { 235 ZEND_ASSERT(!zend_ast_is_list(ast)); 236 return ast->kind >> ZEND_AST_NUM_CHILDREN_SHIFT; 237 } 238 static zend_always_inline uint32_t zend_ast_get_lineno(zend_ast *ast) { 239 if (ast->kind == ZEND_AST_ZVAL) { 240 zval *zv = zend_ast_get_zval(ast); 241 return zv->u2.lineno; 242 } else { 243 return ast->lineno; 244 } php 5.6.33 running ok. Test script: --------------- <? phpinfo(); ?> Expected result: ---------------- show phpinfo page Actual result: -------------- 500 - Internal Server Error ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=75815&edit=1

« previous php.bugs (#230362) next »