https://issues.apache.org/bugzilla/show_bug.cgi?id=52921
Bug #: 52921
Summary: mod_jk 1.2.33 crashes Apache 2.2 when accessing HTML,
GIF, etc.
Product: Tomcat Connectors
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: mod_jk
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Created attachment 28475
--> https://issues.apache.org/bugzilla/attachment.cgi?id=28475
mod_jk.log showing full run from Apache start through failed HTML page
Since October 2011, I have run the mod_jk/1.2.32 connector. I built the
connector myself using Apache 2.2.15's apxs (I also built Apache myself).
I downloaded, built, and installed the latest mod_jk.1.2.33 connector. This
version causes my Apache server to crash when serving most any page I've
tried--HTML, cgi-bin/test-cgi, GIF, etc. The only exceptions I've found are
Apache's htdocs/index.html page, server-info, and Tomcat served pages.
Initially I tried building the connector using --with-apxs set to the apxs in
my copy of Apache 2.2.15. When that failed, I downloaded, built, and installed
Apache 2.2.22, then built mod_jk 1.2.33 with the apxs from that version. Again,
Apache (this time 2.2.22) crashes with mod_jk 1.2.33, but runs fine with the
1.2.32 connector.
I am running openSUSE Linux 11.4. From the connector's config.log:
uname -m = i686
uname -r = 2.6.37.6-0.11-desktop
uname -s = Linux
uname -v = #1 SMP PREEMPT 2011-12-19 23:39:38 +0100
To document the problem, I added "CoreDumpDirectory /tmp" to httpd.conf, set
"JkLogLevel trace" for mod_jk, made sure I was going to load mod_jk/1.2.33, and
started Tomcat and Apache (I don't see Tomcat as necessary for this, but just
be thorough). I accessed a simple HTML page. (I get similar results trying to
access the local Apache manual, local javadocs, etc.)
I'm attaching the mod_jk.log that resulted. Below is the entire contents of the
Apache error_log:
[Thu Mar 15 09:05:14 2012] [warn] Init: Session Cache is not configured [hint:
SSLSessionCache]
[Thu Mar 15 09:05:14 2012] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22
OpenSSL/1.0.0c mod_jk/1.2.33 configured -- resuming normal operations
[Thu Mar 15 09:05:22 2012] [notice] child pid 24552 exit signal Segmentation
fault (11), possible coredump in /tmp
Here is what I find in /tmp/core with gdb:
$ gdb /srv/apache2/bin/httpd /tmp/core
GNU gdb (GDB) SUSE (7.2-3.3)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i586-suse-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /srv/apache2.2.22/bin/httpd...done.
[New Thread 24552]
...
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /srv/apache2/modules/mod_jk.so...done.
Loaded symbols for /srv/apache2/modules/mod_jk.so
Core was generated by `/srv/apache2.2.22/bin/httpd -k start'.
Program terminated with signal 11, Segmentation fault.
#0 0xb720288c in jk_map_to_storage () from /srv/apache2/modules/mod_jk.so
(gdb) backtrace
#0 0xb720288c in jk_map_to_storage () from /srv/apache2/modules/mod_jk.so
#1 0x08081478 in ap_run_map_to_storage ()
#2 0x08081e55 in ap_process_request_internal ()
#3 0x080da502 in ap_process_request ()
#4 0x080d7531 in ap_process_http_connection ()
#5 0x0808f05f in ap_run_process_connection ()
#6 0x0808f474 in ap_process_connection ()
#7 0x080f3deb in child_main ()
#8 0x080f3fe0 in make_child ()
#9 0x080f403a in startup_children ()
#10 0x080f44d8 in ap_mpm_run ()
#11 0x08070e89 in main ()
(gdb)
I can provide the full core dump if required.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]