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: 2021-09-05 04:22 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: cmb (profile)
Status: No Feedback Package: FPM related
PHP Version: 7.0.18 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: waldemar dot wetzel at hissit dot de
New email:
PHP Version: OS:

 

 [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
 [2021-08-24 14:00 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-08-24 14:00 UTC] cmb@php.net
And what about any of the actively supported PHP versions[1]?

[1] <https://www.php.net/supported-versions.php>
 [2021-09-05 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Sep 20 00:03:37 2021 UTC