enterprise-support team mailing list archive
-
enterprise-support team
-
Mailing list archive
-
Message #07296
[Bug 1781576] [NEW] Apache2 Segfault after logrotate
Public bug reported:
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/apache2...(no debugging symbols found)...done.
[New LWP 28485]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
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/x86_64-linux-gnu/libapr-1.so.0
#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/mod_fastcgi-SNAP-0910052141 OpenSSL/1.0.2g configured -- resuming normal operations
[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/mod_fastcgi-SNAP-0910052141 OpenSSL/1.0.2g configured -- resuming normal operations
[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
** Affects: apache2 (Ubuntu)
Importance: Undecided
Status: Confirmed
** Attachment added: "Apache2 crash report"
https://bugs.launchpad.net/bugs/1781576/+attachment/5163262/+files/_usr_sbin_apache2.0.crash
** Description changed:
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/apache2...(no debugging symbols found)...done.
[New LWP 28485]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/sbin/apache2 -k start'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f36373ca640 in ?? ()
- (gdb)
- (gdb)
+ (gdb)
+ (gdb)
(gdb) bt
#0 0x00007f36373ca640 in ?? ()
#1 <signal handler called>
#2 0x00007f363aacc1ad in apr_pool_clear () from /usr/lib/x86_64-linux-gnu/libapr-1.so.0
#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/mod_fastcgi-SNAP-0910052141 OpenSSL/1.0.2g configured -- resuming normal operations
[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/mod_fastcgi-SNAP-0910052141 OpenSSL/1.0.2g configured -- resuming normal operations
[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
--
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to apache2 in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1781576
Title:
Apache2 Segfault after logrotate
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1781576/+subscriptions
Follow ups