Hi there. My name is Dino Ciuffetti, I'm a linux sysadmin and I'm new to
this list.

I have a sporadic problem with mod_jk (tomcat connectors), I hope someone
can help me on this.

I have Apache/2.2.15 (Unix) mod_jk/1.2.37 PHP/5.3.3
Apache, and PHP are installed via RPM (centos packages), while mod_jk was
compiled from source.

I have sporadic "segmentation fault" and "stack smashing detected" errors
on my error_log:

[Mon May 26 11:03:31 2014] [notice] child pid 59191 exit signal
Segmentation fault (11)
[Mon May 26 11:03:36 2014] [notice] child pid 57331 exit signal
Segmentation fault (11)
*** stack smashing detected ***: /usr/sbin/httpd.worker terminated
======= Backtrace: =========
/lib64/libc.so.6(__fortify_fail+0x37)[0x7fa19ef57507]
/lib64/libc.so.6(__fortify_fail+0x0)[0x7fa19ef574d0]
/etc/httpd/modules/mod_jk.so(jk_open_socket+0xa3e)[0x7fa19bd0796e]
/etc/httpd/modules/mod_jk.so(ajp_connect_to_endpoint+0x65)[0x7fa19bd25405]
/etc/httpd/modules/mod_jk.so(+0x32900)[0x7fa19bd25900]
/etc/httpd/modules/mod_jk.so(+0x35952)[0x7fa19bd28952]
/etc/httpd/modules/mod_jk.so(+0x1f96a)[0x7fa19bd1296a]
/etc/httpd/modules/mod_jk.so(+0xd869)[0x7fa19bd00869]
/usr/sbin/httpd.worker(ap_run_handler+0x70)[0x7fa1a0945530]
/usr/sbin/httpd.worker(ap_invoke_handler+0xce)[0x7fa1a0948dee]
/usr/sbin/httpd.worker(ap_process_request+0x1c0)[0x7fa1a09541f0]
/usr/sbin/httpd.worker(+0x38068)[0x7fa1a0951068]
/usr/sbin/httpd.worker(ap_run_process_connection+0x68)[0x7fa1a094d038]
/usr/sbin/httpd.worker(+0x40f02)[0x7fa1a0959f02]
/lib64/libpthread.so.0(+0x7851)[0x7fa19f1ef851]
/lib64/libc.so.6(clone+0x6d)[0x7fa19ef3d90d]

Reading the backtrace, it seems to me that there is something with
jk_open_socket() that is causing the "stack smashing" protection check to
fire.

We have those errors only on high loads.
Anyone have something similar?

I cannot find fixed bugs like this on newer versions (bugzilla).

Thank you.

-- 
Dino Ciuffetti
Linux System Administrator and Architect
TuxWeb S.r.l. - http://www.tuxweb.it/



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

Reply via email to