[php-src] Issue #7817: Segmentation fault PHP 8.1

From: Date: Thu, 23 Dec 2021 08:50:33 +0000
Subject: [php-src] Issue #7817: Segmentation fault PHP 8.1
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-238540@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/7817 Author: cappadaan ### Description PHP 8.1.0 + 8.1.1 produce random crashes. --core dump--- BFD: Warning: coredump-php-fpm.30267 is truncated: expected core file size >= 5413076992, found: 35983360. [New LWP 30267] [New LWP 1887] [New LWP 1886] [New LWP 1888] Cannot access memory at address 0x7f277dbb3128 Cannot access memory at address 0x7f277dbb3120 Failed to read a valid object file image from memory. Core was generated by `php-fpm: pool xxxxxx '. Program terminated with signal 11, Segmentation fault. #0 0x000055bbf04c0f25 in ZEND_NEW_SPEC_CONST_UNUSED_HANDLER () at /usr/src/debug/php-8.1.1/Zend/zend_vm_execute.h:10137 10137 ce = CACHED_PTR(opline->op2.num); (gdb) bt Python Exception <class 'gdb.MemoryError'> Cannot access memory at address 0x7ffdc940e3a8: (gdb) bt #0 0x000055bbf04c0f25 in ZEND_NEW_SPEC_CONST_UNUSED_HANDLER () at /usr/src/debug/php-8.1.1/Zend/zend_vm_execute.h:10137 Cannot access memory at address 0x7ffdc940e3a8 (gdb) frame 0 #0 0x000055bbf04c0f25 in ZEND_NEW_SPEC_CONST_UNUSED_HANDLER () at /usr/src/debug/php-8.1.1/Zend/zend_vm_execute.h:10137 10137 ce = CACHED_PTR(opline->op2.num); (gdb) info frame Stack level 0, frame at 0x7ffdc940e3b0: rip = 0x55bbf04c0f25 in ZEND_NEW_SPEC_CONST_UNUSED_HANDLER (/usr/src/debug/php-8.1.1/Zend/zend_vm_execute.h:10137); saved rip Cannot access memory at address 0x7ffdc940e3a8 this is the only available info in the core dump. ### PHP Version PHP 8.1.0 + 8.1.1 ### Operating System CentOS 7

« previous php.bugs (#238540) next »