php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74553 Segfault's after Logrotate
Submitted: 2017-05-08 05:58 UTC Modified: 2018-03-13 17:09 UTC
Votes:3
Avg. Score:4.3 ± 0.9
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: waldemar dot wetzel at hissit dot de Assigned:
Status: Open Package: FPM related
PHP Version: 7.0.18 OS: Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2017-05-08 05:58 UTC] waldemar dot wetzel at hissit dot de
Description:
------------
We get reproducable segfault after running "/bin/kill -SIGUSR1 `cat /var/run/php-fpm/php-fpm.pid 2>/dev/null` 2>/dev/null || true" from the shell or logrotate.

php-fpm[4079]: segfault at 7f7ad468c865 ip 00007f7aedf025eb sp 00007ffed657c140 error 4 in php-fpm[7f7aedc6c000+3e7000]


NGINX
PHP-FPM FCGI
Fedora // Ubuntu same same



Test script:
---------------
Try this after Surfing a few pages.


/bin/kill -SIGUSR1 `cat /var/run/php-fpm/php-fpm.pid 2>/dev/null` 2>/dev/null || true


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-05-14 19:17 UTC] cmb@php.net
-Summary: Segfalult's after Logrotate +Summary: Segfault's after Logrotate
 [2018-03-13 09:40 UTC] laruence@php.net
-Status: Open +Status: Feedback
 [2018-03-13 09:40 UTC] laruence@php.net
is this still reproduce-able in later php 7.1?
 [2018-03-13 17:09 UTC] waldemar dot wetzel at hissit dot de
-Status: Feedback +Status: Open
 [2018-03-13 17:09 UTC] waldemar dot wetzel at hissit dot de
Hi,

at the moment not reproducible with PHP 7.1.12 on Debian
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Oct 21 08:01:27 2019 UTC