https://bz.apache.org/bugzilla/show_bug.cgi?id=59184

            Bug ID: 59184
           Summary: mod_jk segmentation fault at jk_shm.c:875
           Product: Tomcat Connectors
           Version: 1.2.41
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_jk
          Assignee: dev@tomcat.apache.org
          Reporter: erik.herm...@headbird.com

Tried to install mod_jk 1.2.41 on Red Hat Enterprise Linux Server release 6.7
(Santiago)

Installation was done as follow

./configure --with-apxs=/usr/sbin/apxs
LDFLAGS=-lc ./configure -with-apxs=/usr/sbin/apxs
make
make install


When accessing the URL that should connect through mod_jk with tomcat

mod_jk give Segmentation 

Inspecting the core with gdb

Core was generated by `/usr/sbin/httpd'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f66b841ac1d in jk_shm_check_maintain (trigger=1458052643) at
jk_shm.c:875
875         int maintain_checking =
JK_ATOMIC_INCREMENT(&(jk_shmem.hdr->h.data.maintain_checking));
Missing separate debuginfos, use: debuginfo-install
httpd-2.2.15-47.el6_7.1.x86_64


The hdr element ik jk_shmem is null

(gdb) p jk_shmem.hdr
$1 = (jk_shm_header_t *) 0x0


(gdb) bt
#0  0x00007f66b841ac1d in jk_shm_check_maintain (trigger=1458052643) at
jk_shm.c:875
#1  0x00007f66b8409a22 in wc_maintain (l=0x7f66c635b8f8) at jk_worker.c:348
#2  0x00007f66b83fa36b in jk_handler (r=0x7f66c65a2c28) at mod_jk.c:2880
#3  0x00007f66c54c4e50 in ap_run_handler ()
#4  0x00007f66c54c870e in ap_invoke_handler ()
#5  0x00007f66c54d3e00 in ap_process_request ()
#6  0x00007f66c54d0c48 in ?? ()
#7  0x00007f66c54cc958 in ap_run_process_connection ()
#8  0x00007f66c54d8b97 in ?? ()
#9  0x00007f66c54d8eaa in ?? ()
#10 0x00007f66c54d91db in ap_mpm_run ()
#11 0x00007f66c54b0a30 in main ()

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to