Bug #66554 [NEW]: php-fpm segmentation fault

From: Date: Wed, 22 Jan 2014 18:38:48 +0000
Subject: Bug #66554 [NEW]: php-fpm segmentation fault
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-183956@lists.php.net to get a copy of this message
From: sargaskn at gmail dot com Operating system: FreeBSD 9.1-RELEASE-p4 PHP version: 5.5.8 Package: *General Issues Bug Type: Bug Bug description:php-fpm segmentation fault 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 bug report at https://bugs.php.net/bug.php?id=66554&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66554&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66554&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66554&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=66554&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=66554&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=66554&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=66554&r=needscript Try newer version: https://bugs.php.net/fix.php?id=66554&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=66554&r=support Expected behavior: https://bugs.php.net/fix.php?id=66554&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=66554&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=66554&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=66554&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66554&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=66554&r=dst IIS Stability: https://bugs.php.net/fix.php?id=66554&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=66554&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=66554&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=66554&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=66554&r=mysqlcfg

« previous php.bugs (#183956) next »