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

From: Date: Fri, 06 Nov 2020 17:39:00 +0000
Subject: Bug #75815 [Opn->Fbk]: Segmentation fault
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-230169@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: cmb@php.net Reported by: fen_liuzhi at 163 dot com Summary: Segmentation fault -Status: Open +Status: Feedback Type: Bug Package: CGI/CLI related Operating System: linux PHP Version: 7.1.13 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Does this still happen with any of the actively supported PHP versions[1]? [1] <https://www.php.net/supported-versions.php> Previous Comments: ------------------------------------------------------------------------ [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 (#230169) next »