Bug 34357

Summary: Seg Fault in Apache 2 mod_jk.c
Product: Tomcat Connectors Reporter: Glenn Nielsen <glenn>
Component: CommonAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: Sun   
OS: Solaris   
Attachments: Patch to fix apache 2 mod_jk seg fault

Description Glenn Nielsen 2005-04-07 20:47:48 UTC
This is for mod_jk 1.2.8 but the bug still exists in the HEAD of CVS.

t@12 (l@5) terminated by signal SEGV (no mapping at the fault address)
Current function is jk_translate
 2330                   !strcmp(r->main->handler, DIR_MAGIC_TYPE)) {
(/opt/SUNWspro/bin/dbx) where                                                
current thread: t@12
  [1] strcmp(0x14594a8, 0xfeba6b58, 0x0, 0x0, 0xfecf565c, 0x68747470), at 0xfee32d34
=>[2] jk_translate(r = 0x3016d8), line 2330 in "mod_jk.c"
  [3] ap_run_translate_name(0x3016d8, 0x30c7e8, 0x301810, 0x7efefeff, 0x0, 0x0),
at 0xa23d0

I will be attaching a patch.
Comment 1 Glenn Nielsen 2005-04-07 20:49:06 UTC
Created attachment 14646 [details]
Patch to fix apache 2 mod_jk seg fault
Comment 2 Glenn Nielsen 2005-04-09 17:42:43 UTC
Bug fix applied and committed to CVS.