mod_wsgi crashes during shutdown

Bug #1202655 reported by Dimitri John Ledkov
34
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mod-wsgi (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

upgrade to 2.4

ProblemType: Crash
DistroRelease: Ubuntu 13.10
Package: apache2-bin 2.4.4-6ubuntu4
ProcVersionSignature: Ubuntu 3.10.0-3.12-generic 3.10.1
Uname: Linux 3.10.0-3-generic x86_64
ApportVersion: 2.11-0ubuntu1
Architecture: amd64
Date: Thu Jul 18 12:58:47 2013
ExecutablePath: /usr/sbin/apache2
InstallationDate: Installed on 2012-01-12 (552 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130318)
MarkForUpload: True
ProcCmdline: /usr/sbin/apache2 -k start
ProcEnviron:
 PATH=(custom, no user)
 LANG=C
Signal: 6
SourcePackage: apache2
StacktraceTop:
 do_fcntl (arg=0x7f383dedad80, cmd=7, fd=11) at ../sysdeps/unix/sysv/linux/fcntl.c:39
 __libc_fcntl (fd=<optimised out>, cmd=<optimised out>) at ../sysdeps/unix/sysv/linux/fcntl.c:92
 ?? () from /usr/lib/libapr-1.so.0
 ?? () from /usr/lib/apache2/modules/mod_mpm_prefork.so
 ?? () from /usr/lib/apache2/modules/mod_mpm_prefork.so
Title: apache2 crashed with SIGABRT in do_fcntl()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

Revision history for this message
Dimitri John Ledkov (xnox) wrote :
information type: Private → Public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 do_fcntl (arg=0x7f383dedad80 <proc_mutex_lock_it>, cmd=7, fd=11) at ../sysdeps/unix/sysv/linux/fcntl.c:39
 __libc_fcntl (fd=<optimized out>, cmd=cmd@entry=7) at ../sysdeps/unix/sysv/linux/fcntl.c:92
 proc_mutex_fcntl_acquire (mutex=0x7f383e37e310) at ../locks/unix/proc_mutex.c:579
 accept_mutex_on () at prefork.c:232
 child_main (child_num_arg=child_num_arg@entry=2) at prefork.c:611

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in apache2 (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Revision history for this message
Stefan Fritsch (sf-sfritsch) wrote : Re: apache2 crashed with SIGABRT in do_fcntl()

The "StacktraceTop" shown above is not actually the top of the stack. It looks like apache is shutting down and mod_wsgi is crashing during shutdown.

#2 0x00007f383822c6ee in Py_FatalError () from /tmp/apport_sandbox_EBD2sJ/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
No symbol table info available.
#3 0x00007f383821a8dc in PyEval_AcquireThread () from /tmp/apport_sandbox_EBD2sJ/usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
No symbol table info available.
#4 0x00007f38374566ee in wsgi_python_child_cleanup (data=<optimized out>) at mod_wsgi.c:6885
        interp = 0x0
#5 0x00007f383dcc5d2e in run_cleanups (cref=<optimized out>) at ../memory/unix/apr_pools.c:2352
        c = <optimized out>
#6 apr_pool_destroy (pool=0x7f383e368028) at ../memory/unix/apr_pools.c:814
        active = <optimized out>
        allocator = <optimized out>
#7 0x00007f383abfa1ae in clean_child_exit (code=code@entry=0) at prefork.c:218
No locals.
#8 0x00007f383abfa1eb in just_die (sig=<optimized out>) at prefork.c:344
No locals.
#9 <signal handler called>
No locals.

The "signal handler called" is actually the SIGTERM handler.

summary: - apache2 crashed with SIGABRT in do_fcntl()
+ mod_wsgi crashes during shutdown
affects: apache2 (Ubuntu) → mod-wsgi (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mod-wsgi (Ubuntu):
status: New → Confirmed
tags: added: trusty
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.