Bug #75815 [NEW]: Segmentation fault

From: Date: Mon, 15 Jan 2018 03:01:58 +0000
Subject: Bug #75815 [NEW]: Segmentation fault
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-213539@lists.php.net to get a copy of this message
From: fen_liuzhi at 163 dot com Operating system: linux PHP version: 7.1.13 Package: CGI/CLI related Bug Type: Bug Bug description:Segmentation fault 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 bug report at https://bugs.php.net/bug.php?id=75815&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75815&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75815&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75815&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=75815&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=75815&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=75815&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=75815&r=needscript Try newer version: https://bugs.php.net/fix.php?id=75815&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=75815&r=support Expected behavior: https://bugs.php.net/fix.php?id=75815&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=75815&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=75815&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=75815&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75815&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=75815&r=dst IIS Stability: https://bugs.php.net/fix.php?id=75815&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=75815&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=75815&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=75815&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=75815&r=mysqlcfg

« previous php.bugs (#213539) next »