Bug 867276
| Summary: | mod_wsgi crashes after httpd restart | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Martin Kosek <mkosek> |
| Component: | mod_wsgi | Assignee: | Matthias Runge <mrunge> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 18 | CC: | dmalcolm, jokajak, jorton, lmacken, mrunge |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | mod_wsgi-3.4-3.fc19 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-12-14 12:17:16 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Martin Kosek
2012-10-17 08:22:50 UTC
Tried with a fresh build of mod_wsgi:
httpd-2.4.2-23.fc18.i686
mod_wsgi-3.4-2.fc18.i686
mod_auth_kerb-5.4-19.fc18.i686
I still see the crash.
/var/log/httpd/error_log:
...
[Wed Oct 17 04:27:27.140123 2012] [mpm_prefork:notice] [pid 12303] AH00163: Apache/2.4.2 (Unix) mod_auth_kerb/5.4 mod_nss/2.4.2 NSS/3.13.5.0 mod_wsgi/3.4 Python/2.7.3 configured -- resuming normal operations
[Wed Oct 17 04:27:27.140382 2012] [core:notice] [pid 12303] AH00094: Command line: '/usr/sbin/httpd'
[Wed Oct 17 04:27:31.977125 2012] [:error] [pid 12305] ipa: INFO: *** PROCESS START ***
[Wed Oct 17 04:27:31.978811 2012] [:error] [pid 12304] ipa: INFO: *** PROCESS START ***
[Wed Oct 17 04:28:31.274524 2012] [:error] [pid 12304] ipa: INFO: admin.BOS.REDHAT.COM: ping(): SUCCESS
[Wed Oct 17 04:28:51.227986 2012] [core:notice] [pid 12303] AH00052: child pid 12304 exit signal Segmentation fault (11)
[Wed Oct 17 04:28:51.788078 2012] [:error] [pid 12305] ipa: INFO: admin.BOS.REDHAT.COM: user_find(None, whoami=False, all=False, raw=False, version=u'2.44', pkey_only=False): SUCCESS
[Wed Oct 17 04:28:52.233842 2012] [core:notice] [pid 12303] AH00052: child pid 12305 exit signal Segmentation fault (11)
[Wed Oct 17 04:28:55.215162 2012] [:error] [pid 12351] ipa: INFO: *** PROCESS START ***
[Wed Oct 17 04:28:55.683228 2012] [:error] [pid 12357] ipa: INFO: *** PROCESS START ***
gdb output:
(gdb) continue
Continuing.
warning: cannot close "/usr/lib/krb5/plugins/libkrb5/sssd_krb5_locator_plugin.so": Invalid operation
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb39f8b40 (LWP 12323)]
0xb7725e4d in update_child_status_internal (child_num=-1, thread_num=0, status=8, c=0x0, r=0x0)
at scoreboard.c:460
460 ws = &ap_scoreboard_image->servers[child_num][thread_num];
(gdb) where
#0 0xb7725e4d in update_child_status_internal (child_num=-1, thread_num=0, status=8, c=0x0, r=0x0)
at scoreboard.c:460
#1 0xb7726af3 in ap_update_child_status (sbh=0x8, status=0, status@entry=8, r=r@entry=0x0)
at scoreboard.c:526
#2 0xb774956c in ap_start_lingering_close (c=c@entry=0xb8ef62c8) at connection.c:106
#3 0xb7749607 in ap_lingering_close (c=c@entry=0xb8ef62c8) at connection.c:147
#4 0xb6b42b37 in wsgi_process_socket (bucket_alloc=0xb8efaca8, sock=<optimized out>,
p=<optimized out>, daemon=<optimized out>) at mod_wsgi.c:10672
#5 wsgi_daemon_worker (thread=0xb8eed268, p=0xb8ef4018) at mod_wsgi.c:10993
#6 wsgi_daemon_thread (thd=0xb8eed300, data=0xb8eed268) at mod_wsgi.c:11026
#7 0xb74051d5 in dummy_worker (opaque=0xb8eed300) at threadproc/unix/thread.c:142
#8 0xb73ccaff in start_thread (arg=0xb39f8b40) at pthread_create.c:308
#9 0xb7300d4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:132
Commit: http://pkgs.fedoraproject.org/gitweb/?p=mod_wsgi.git;a=commitdiff;h=76920be5e5c1de8363df24054fbb6f047cd4e505 Package: mod_wsgi-3.4-3.fc19 Build: https://koji.fedoraproject.org/koji/buildinfo?buildID=360600 It looks like mod_wsgi's fake connection_rec handling needs updating for httpd 2.4. Can somebody try this build? http://koji.fedoraproject.org/koji/buildinfo?buildID=360604 (In reply to comment #3) > It looks like mod_wsgi's fake connection_rec handling needs updating for > httpd 2.4. > > Can somebody try this build? > > http://koji.fedoraproject.org/koji/buildinfo?buildID=360604 I tested the new build and it seems that it fixes the bug, I can no longer reproduce the crash. Thanks Joe! |