Bug #66554 [Opn->Fbk]: php-fpm segmentation fault
| From: | cmb@php.net | Date: | Tue, 24 Aug 2021 13:55:50 +0000 |
| Subject: | Bug #66554 [Opn->Fbk]: php-fpm segmentation fault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-236041@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=66554&edit=1
ID: 66554
Updated by: cmb@php.net
Reported by: sargaskn at gmail dot com
Summary: php-fpm segmentation fault
-Status: Open
+Status: Feedback
Type: Bug
Package: *General Issues
Operating System: FreeBSD 9.1-RELEASE-p4
PHP Version: 5.5.8
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Is this still an issue with any of the actively supported PHP
versions[1]?
[1] <https://www.php.net/supported-versions.php>
Previous Comments:
------------------------------------------------------------------------
[2014-01-22 18:38:48] sargaskn at gmail dot com
Description:
------------
I periodicaly see php-fpm errors (usually every 3-5 hours it crashes)
Jan 22 15:17:15 DS2152 kernel: pid 16212 (php-fpm), uid 80: exited on signal 11 (core dumped)
I cant find how to reproduce the problem, cant see any regularity.
It can be reproduced on php 5.5.8. I've tried it on php 5.5 snapshot and it appears.
PHP 5.5.9-dev (cli) (built: Jan 22 2014 12:02:27) (DEBUG)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies
PHP compiled like this http://pastebin.com/94HW6sqX
Php module used http://pecl.php.net/package/redis
Backtrace below
(gdb) bt
#0 0x00000000007fd8b3 in lex_scan (zendlval=0x7fffffff99d8) at zend_language_scanner.c:2269
#1 0x0000000000839f6e in zendlex (zendlval=0x7fffffff99d0) at
/usr/work/src/php5.5-201401220830/Zend/zend_compile.c:6749
#2 0x00000000007f0c84 in zendparse () at
/usr/work/src/php5.5-201401220830/Zend/zend_language_parser.c:3436
#3 0x00000000007f8ac4 in compile_file (file_handle=0x7fffffff9fa0, type=8) at
zend_language_scanner.l:588
#4 0x00000000006201e2 in phar_compile_file (file_handle=0x7fffffff9fa0, type=8) at
/usr/work/src/php5.5-201401220830/ext/phar/phar.c:3383
#5 0x000000080540780c in compile_and_cache_file (file_handle=0x7fffffff9fa0, type=8,
key=0x80562da94 "/home/wwwdata/example.com/_tmp/lang/en/forum.php", key_length=53,
op_array_p=0x7fffffff9f30, from_shared_memory=0x7fffffff9f38)
at /usr/work/src/php5.5-201401220830/ext/opcache/ZendAccelerator.c:1363
#6 0x00000008054083db in persistent_compile_file (file_handle=0x7fffffff9fa0, type=8) at
/usr/work/src/php5.5-201401220830/ext/opcache/ZendAccelerator.c:1641
#7 0x00000000008e5ad9 in ZEND_INCLUDE_OR_EVAL_SPEC_CV_HANDLER (execute_data=0x805046640) at
zend_vm_execute.h:30905
#8 0x0000000000891cf9 in execute_ex (execute_data=0x805046640) at zend_vm_execute.h:363
#9 0x0000000000891d8d in zend_execute (op_array=0x805d89470) at zend_vm_execute.h:388
#10 0x00000000008555e2 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at
/usr/work/src/php5.5-201401220830/Zend/zend.c:1316
#11 0x00000000007bf8f2 in php_execute_script (primary_file=0x7fffffffd9b0) at
/usr/work/src/php5.5-201401220830/main/main.c:2506
#12 0x000000000090fc03 in main (argc=1, argv=0x7fffffffdb48) at
/usr/work/src/php5.5-201401220830/sapi/fpm/fpm/fpm_main.c:1933
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=66554&edit=1