Bug #71821 [NEW]: php-fpm7 crashes due to unknown entry 'log_level' in config
| From: | contact at sshilko dot com | Date: | Mon, 14 Mar 2016 12:02:24 +0000 |
| Subject: | Bug #71821 [NEW]: php-fpm7 crashes due to unknown entry 'log_level' in config | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-199812@lists.php.net to get a copy of this message | ||
From: contact at sshilko dot com
Operating system: Ubuntu 14.04.3
PHP version: 7.0.4
Package: FPM related
Bug Type: Bug
Bug description:php-fpm7 crashes due to unknown entry 'log_level' in config
Description:
------------
$ /usr/lib/php/php7.0-fpm-checkconf
Segmentation fault (core dumped)
# gdb /usr/sbin/php-fpm7.0
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show
copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/sbin/php-fpm7.0...(no debugging symbols
found)...done.
(gdb) run
Starting program: /usr/sbin/php-fpm7.0
[Thread debugging using libthread_db enabled]
Using host libthread_db library
"/lib/x86_64-linux-gnu/libthread_db.so.1".
[14-Mar-2016 11:56:02] ERROR: [/etc/php/7.0/fpm/php-fpm.conf:420]
unknown entry 'log_level'
[14-Mar-2016 11:56:02] ERROR: failed to load configuration file
'/etc/php/7.0/fpm/php-fpm.conf'
[14-Mar-2016 11:56:02] ERROR: FPM initialization failed
zend_mm_heap corrupted
[Inferior 1 (process 3842) exited with code 01]
PHP 7.0.4-5+deb.sury.org~trusty+1 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend
Technologies
Test script:
---------------
echo 'log_level=warning' >> /etc/php/7.0/fpm/php-fpm.conf
$ /usr/lib/php/php7.0-fpm-checkconf
Segmentation fault (core dumped)
--
Edit bug report at https://bugs.php.net/bug.php?id=71821&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=71821&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=71821&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=71821&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=71821&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=71821&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=71821&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=71821&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=71821&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=71821&r=support
Expected behavior: https://bugs.php.net/fix.php?id=71821&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=71821&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=71821&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=71821&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71821&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=71821&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=71821&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=71821&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=71821&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=71821&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=71821&r=mysqlcfg