Apache2 Segfault after logrotate
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Hello, I have found Apache dying after Logrotate runs. First this happened on the 02th July, then on a different server (but practically identical) on the 07th July and again on server 2 today (13th July).
Logrotate is running daily.
I have attached the crash report from Apache.
Below is an extract from the error logs and a backtrace ran against the coredump:
**Backtrace**
Reading symbols from /usr/sbin/
[New LWP 28485]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_
Core was generated by `/usr/sbin/apache2 -k start'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f36373ca640 in ?? ()
(gdb)
(gdb)
(gdb) bt
#0 0x00007f36373ca640 in ?? ()
#1 <signal handler called>
#2 0x00007f363aacc1ad in apr_pool_clear () from /usr/lib/
#3 0x000055956434c4f4 in main ()
** Apache error log extract **
[Thu Jul 12 06:25:02.832549 2018] [:notice] [pid 1107:tid 139870898558848] FastCGI: process manager initialized (pid 1107)
[Thu Jul 12 06:25:02.842829 2018] [mpm_event:notice] [pid 28485:tid 139870898558848] AH00489: Apache/2.4.18 (Ubuntu) mod_fastcgi/
[Thu Jul 12 06:25:02.842846 2018] [core:notice] [pid 28485:tid 139870898558848] AH00094: Command line: '/usr/sbin/apache2'
[Thu Jul 12 06:25:02.973957 2018] [mpm_event:notice] [pid 28485:tid 139870898558848] AH00493: SIGUSR1 received. Doing graceful restart
[Thu Jul 12 06:25:02.978540 2018] [:alert] [pid 1107:tid 139870898558848] FastCGI: read() from pipe failed (0)
[Thu Jul 12 06:25:02.978556 2018] [:alert] [pid 1107:tid 139870898558848] FastCGI: the PM is shutting down, Apache seems to have disappeared - bye
[Thu Jul 12 06:25:03.030952 2018] [:notice] [pid 1185:tid 139870898558848] FastCGI: process manager initialized (pid 1185)
[Thu Jul 12 06:25:03.045371 2018] [mpm_event:notice] [pid 28485:tid 139870898558848] AH00489: Apache/2.4.18 (Ubuntu) mod_fastcgi/
[Thu Jul 12 06:25:03.045388 2018] [core:notice] [pid 28485:tid 139870898558848] AH00094: Command line: '/usr/sbin/apache2'
[Fri Jul 13 06:25:02.569038 2018] [mpm_event:notice] [pid 28485:tid 139870898558848] AH00493: SIGUSR1 received. Doing graceful restart
[Fri Jul 13 06:25:02.744427 2018] [:alert] [pid 1185:tid 139870898558848] (4)Interrupted system call: FastCGI: read() from pipe failed (0)
[Fri Jul 13 06:25:02.751826 2018] [:alert] [pid 1185:tid 139870898558848] (4)Interrupted system call: FastCGI: the PM is shutting down, Apache seems to have disappeared - bye
[Fri Jul 13 06:25:02.871442 2018] [core:notice] [pid 28485] AH00060: seg fault or similar nasty error detected in the parent process
---
Apache2ConfdDir
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
DistroRelease: Ubuntu 16.04
Ec2AMI: ami-a8d2d7ce
Ec2AMIManifest: (unknown)
Ec2Availability
Ec2InstanceType: t2.small
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
Package: apache2 2.4.18-2ubuntu3.9
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
Tags: xenial ec2-images
Uname: Linux 4.4.0-1062-aws x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
_MarkForUpload: True
modified.
modified.
mtime.conffile.
mtime.conffile.
Status changed to 'Confirmed' because the bug affects multiple users.