Public bug reported:
# Issue Description
Currently, Apache generates a segmentation fault with "libapache2-mod-wsgi-py3"
enabled when the process receives multiple *USR1* signals within a short amount
of time. The issue is only occuring when there is a wsgi process running (see
attached crash report for sample vhost config).
The issue might arise when "apache2ctl graceful" is triggered by logrotate as a
postrotate operation several times (i.e. used in several config files).
## System Infos
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Kernel: 4.4.0-34-generic
Architecture: x86_64
## Package versions
apache2: 2.4.18-2ubuntu3
libapache2-mod-wsgi-py3: 4.3.0-1.1build1
## Steps to reproduce
* Create vhost config with WSGIDaemonProcess directive and enable site
* Issue double reload: apache2ctl graceful && apache2ctl graceful
## Outcome
* Segmentation fault
## Core Dump of Apache
[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 0x00007f6b6d010640 in ?? ()
No symbol table info available.
#1 0x00007f6b6fcbb3d0 in __libc_sigaction (sig=10, act=0x7fffaf18b430,
oact=0x7fffaf18b300)
at ../sysdeps/unix/sysv/linux/x86_64/sigaction.c:54
result = <optimized out>
kact = {k_sa_handler = 0x7fffaf18b3b0, sa_flags = 140099413790480,
sa_restorer = 0x7f6b6fcaaf18, sa_mask = {__val = {140736131019476,
140736131019680,
94201515593344, 140097538228224, 34, 140099423149124, 1, 0,
140099425322224,
140099425321816, 140736131019840, 140099413849040, 1, 0, 0,
140097538228226}}}
koact = {k_sa_handler = 0x7fffaf18b8a0, sa_flags = 1, sa_restorer =
0x0, sa_mask = {
__val = {582, 93750, 1, 140099416110048, 94201486782229, 0, 0, 0,
140099424570760, 0,
18446744073709551612, 140099410844915, 140736131020952,
140099410844915, 582, 51}}}
#2 0x0000000000000000 in ?? ()
No symbol table info available.
# Apport log attached
** Affects: mod-wsgi (Ubuntu)
Importance: Undecided
Status: New
** Tags: apache2 mod-wsgi segfault
** Attachment added: "report by apport"
https://bugs.launchpad.net/bugs/1712589/+attachment/4937496/+files/bug.crash
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1712589
Title:
Apache2 mod-wsgi segfault on double reload
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mod-wsgi/+bug/1712589/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs