You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2012/06/11 11:45:13 UTC
[Bug 53393] New: tomcat-connectors-1.2.37-src Crashing web server
segmentation fault
https://issues.apache.org/bugzilla/show_bug.cgi?id=53393
Priority: P2
Bug ID: 53393
Assignee: dev@tomcat.apache.org
Summary: tomcat-connectors-1.2.37-src Crashing web server
segmentation fault
Severity: normal
Classification: Unclassified
OS: other
Reporter: garhwal_satyapal@rediffmail.com
Hardware: PC
Status: NEW
Version: 1.2.37
Component: mod_jk
Product: Tomcat Connectors
I have Apache/2.2.22 (Ubuntu) mod_jk/1.2.37 mod_ssl/2.2.22 OpenSSL/1.0.1
configured on Ubuntu server 12 . I compiled mod_jk from source . When we
connect Apache web server to tomcat using mod_jk 1.2.37. It gives segmentation
fault error in Apache error log.
I seen following error in Mozilla Firefox using httpfox addon's.
(Error loading content (NS_ERROR_DOCUMENT_NOT_CACHED)). I hope this is due to
jk connector .does anybody have solution for this.
This is apache error log
[Mon Jun 11 19:47:33 2012] [notice] Apache/2.2.22 (Ubuntu) mod_jk/1.2.37
mod_ssl/2.2.22 OpenSSL/1.0.1 configured -- resuming normal operations
[Mon Jun 11 20:14:16 2012] [notice] child pid 2097 exit signal Segmentation
fault (11)
[Mon Jun 11 20:14:16 2012] [notice] child pid 2098 exit signal Segmentation
fault (11)
[Mon Jun 11 20:14:18 2012] [notice] child pid 2157 exit signal Segmentation
fault (11)
[Mon Jun 11 20:14:19 2012] [notice] child pid 2186 exit signal Segmentation
fault (11)
[Mon Jun 11 20:14:19 2012] [notice] child pid 2187 exit signal Segmentation
fault (11)
[Mon Jun 11 20:14:21 2012] [notice] child pid 2244 exit signal Segmentation
fault (11)
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 53393] tomcat-connectors-1.2.37-src Crashing web server
segmentation fault
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53393
satyapal <ga...@rediffmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #8 from satyapal <ga...@rediffmail.com> ---
Marking this bug as invalid because the problem is not with mod_jk the problem
is with Mod_auth_cas, Mod_auth_cas is crashing the web server i found this in
stack trace
[pid 10098] <... stat resumed> {st_mode=S_IFDIR|0750, st_size=143360, ...}) = 0
[pid 10099] read(18, "GET /core/js/optimus.js HTTP/1.1"..., 8000) = 423
[pid 10098]
open("/var/cache/apache2/mod_auth_cas/02ca9bb8b348fd1dfff7ba6545a79930",
O_RDONLY|O_CLOEXEC) = 19
[pid 10099] mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0 <unfinished ...>
[pid 10098] fcntl(19, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}
<unfinished ...>
[pid 10099] <... mmap resumed> ) = 0x7f90143bd000
[pid 10098] <... fcntl resumed> ) = 0
[pid 10098] lseek(19, 0, SEEK_SET <unfinished ...>
[pid 10099] stat("/var/cache/apache2/mod_auth_cas/", <unfinished ...>
[pid 10098] <... lseek resumed> ) = 0
[pid 10099] <... stat resumed> {st_mode=S_IFDIR|0750, st_size=143360, ...}) = 0
[pid 10099]
open("/var/cache/apache2/mod_auth_cas/02ca9bb8b348fd1dfff7ba6545a79930",
O_RDONLY|O_CLOEXEC <unfinished ...>
[pid 10098] read(19, <unfinished ...>
[pid 10099] <... open resumed> ) = 20
[pid 10098] <... read resumed> "", 1024) = 0
[pid 10099] fcntl(20, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0,
len=0}) = 0
[pid 10098] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
so i compiled latest version of mod_auth_cas from source using
apxs2 -i -lssl -lcurl -c mod_auth_cas.c
and now it's working fine.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 53393] tomcat-connectors-1.2.37-src Crashing web server
segmentation fault
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53393
satyapal <ga...@rediffmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P2 |P1
--- Comment #1 from satyapal <ga...@rediffmail.com> ---
changed priority ..
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 53393] tomcat-connectors-1.2.37-src Crashing web server
segmentation fault
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53393
--- Comment #5 from satyapal <ga...@rediffmail.com> ---
Created attachment 28960
--> https://issues.apache.org/bugzilla/attachment.cgi?id=28960&action=edit
Output of starce
Output of starce
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 53393] tomcat-connectors-1.2.37-src Crashing web server
segmentation fault
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53393
satyapal <ga...@rediffmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS|other |Linux
--- Comment #6 from satyapal <ga...@rediffmail.com> ---
this is attached output of strace
strace -p 7475 -f 2>&1 >/home/optimus/strace.out
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 53393] tomcat-connectors-1.2.37-src Crashing web server
segmentation fault
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53393
--- Comment #4 from satyapal <ga...@rediffmail.com> ---
[Mon Jun 18 23:12:51 2012] [notice] Apache/2.2.22 (Ubuntu) mod_jk/1.2.37
mod_ssl/2.2.22 OpenSSL/1.0.1 configured -- resuming normal operations
[Mon Jun 18 23:13:01 2012] [notice] child pid 4949 exit signal Segmentation
fault (11), possible coredump in /tmp/apache2-gdb-dump
[Mon Jun 18 23:13:15 2012] [notice] child pid 4948 exit signal Segmentation
fault (11), possible coredump in /tmp/apache2-gdb-dump
[Mon Jun 18 23:13:15 2012] [notice] child pid 5016 exit signal Segmentation
fault (11), possible coredump in /tmp/apache2-gdb-dump
[Mon Jun 18 23:13:17 2012] [notice] child pid 5053 exit signal Segmentation
fault (11), possible coredump in /tmp/apache2-gdb-dump
[Mon Jun 18 23:13:18 2012] [notice] child pid 5083 exit signal Segmentation
fault (11), possible coredump in /tmp/apache2-gdb-dump
[Mon Jun 18 23:13:18 2012] [notice] child pid 5084 exit signal Segmentation
fault (11), possible coredump in /tmp/apache2-gdb-dump
[Mon Jun 18 23:13:20 2012] [notice] child pid 5143 exit signal Segmentation
fault (11), possible coredump in /tmp/apache2-gdb-dump
[Mon Jun 18 23:13:21 2012] [notice] child pid 5173 exit signal Segmentation
fault (11), possible coredump in /tmp/apache2-gdb-dump
[Mon Jun 18 23:13:21 2012] [notice] child pid 5174 exit signal Segmentation
fault (11), possible coredump in /tmp/apache2-gdb-dump
I changed /etc/apache2/apache2.conf added following at the end
CoreDumpDirectory /tmp/apache2-gdb-dump
But nothing is there
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 53393] tomcat-connectors-1.2.37-src Crashing web server
segmentation fault
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53393
--- Comment #3 from satyapal <ga...@rediffmail.com> ---
Created attachment 28955
--> https://issues.apache.org/bugzilla/attachment.cgi?id=28955&action=edit
Core dump image file
Core dump image file
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 53393] tomcat-connectors-1.2.37-src Crashing web server
segmentation fault
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53393
--- Comment #7 from William A. Rowe Jr. <wr...@apache.org> ---
Please see comment #2 on how to convert the core dump you attached into a gdb
backtrace (e.g. 'thread apply all bt') so we can see the full picture relative
to what your machine knows about its installation. Without the actual binaries
corresponding to your installation, unwinding that backtrace is non-trivial.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 53393] tomcat-connectors-1.2.37-src Crashing web server
segmentation fault
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53393
--- Comment #2 from Mladen Turk <mt...@apache.org> ---
Any chance to get a backtrace?
See http://httpd.apache.org/dev/debugging.html
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org