https://issues.apache.org/bugzilla/show_bug.cgi?id=57521

            Bug ID: 57521
           Summary: Tomcat randomly crashes with
                    [libtcnative-1.so.0.1.30+0xe965]
                    Java_org_apache_tomcat_jni_Socket_sendbb+0x75.
           Product: Tomcat Native
           Version: 1.1.30
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Library
          Assignee: dev@tomcat.apache.org
          Reporter: tanaka.shuns...@simplex.ne.jp

Tomcat 7.0.40
Tomcat Native library 1.1.30
APR version 1.5.0
Java version 1.7.0_21
OS version Red Hat Enterprise Linux 6.3 (64bit)

Tomcat randomly crashes with [libtcnative-1.so.0.1.30+0xe965] 
Java_org_apache_tomcat_jni_Socket_sendbb+0x75.
Tomcat with the APR connector, using HTTPS scheme.
The system implements CometProcessor and run with non blocking I/O model.
Out traffic 80M per seconds, In traffic 40M per seconds in Production
Environment.



====================== Core dump ======================
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f3d1b4c6965, pid=39208, tid=139886924297984
#
# JRE version: 7.0_21-b11
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.21-b01 mixed mode linux-amd64
compressed oops)
# Problematic frame:
# C  [libtcnative-1.so.0.1.30+0xe965] 
Java_org_apache_tomcat_jni_Socket_sendbb+0x75
#
# Core dump written. Default location:
/xxxxxxx/app/eden/0002-20141208113224/deploy/bin/core or core.39208
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  T H R E A D  ---------------

Current thread (0x00007f3a44564000):  JavaThread
"raise-response-flush-dispatcher-379338" daemon [_thread_in_native, id=53963,
stack(0x00007f39f65e7000,0x00007f39f66e8000)]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=128 (),
si_addr=0x0000000000000000

Registers:
RAX=0x6174656d227b5b3a, RBX=0x00007f39e8d65d70, RCX=0x0000000000000000,
RDX=0x00007f39f66e6758
RSP=0x00007f39f66e6750, RBP=0x0000000000000000, RSI=0x59504a2f5255452e,
RDI=0x6563697270223a22
R8 =0x000000000000015a, R9 =0x0000000000000001, R10=0x00007f3d29b52da7,
R11=0x00000000eb68d8bc
R12=0x000000000000015a, R13=0x00007f39f66e6758, R14=0x0000000000000000,
R15=0x00007f3a44564000
RIP=0x00007f3d1b4c6965, EFLAGS=0x0000000000010206, CSGSFS=0x0000000000000033,
ERR=0x0000000000000000
  TRAPNO=0x000000000000000d

Top of Stack: (sp=0x00007f39f66e6750)
0x00007f39f66e6750:   000000075b8ac140 000000000000015a
0x00007f39f66e6760:   000000075b7f9f20 00007f39f66e67d0
0x00007f39f66e6770:   0000000000000000 000000075b46c5e0
0x00007f39f66e6780:   00007f39f66e67c0 00007f3d29b52e1d
0x00007f39f66e6790:   0000000800000002 00000153eb6ff3e8
0x00007f39f66e67a0:   000000075b46c5e0 0000000a5b46c5e0
0x00007f39f66e67b0:   0000000500000153 00007f3d29e6e36c
0x00007f39f66e67c0:   000000074562d840 00007f3afe02d260
0x00007f39f66e67d0:   000000075b7e1970 00007f3d29b2c008
0x00007f39f66e67e0:   00000000eb70d57e 00007f3d29d877b4
0x00007f39f66e67f0:   000000075b7e1970 00007f3d29925f20
0x00007f39f66e6800:   00000007eb6fc32e 000000075b60d580
0x00007f39f66e6810:   000000075b7f9f40 00007f3d2c00f700
0x00007f39f66e6820:   00007f39f66e6870 00007f3d33681265
0x00007f39f66e6830:   000000075b789f40 00007f3d29dd3c98
0x00007f39f66e6840:   eb6f13e8eb7141dc eb7141e200000001
0x00007f39f66e6850:   000000075b895198 000000075b8a34c0
0x00007f39f66e6860:   000000075b8a0ee0 0000000700000000
0x00007f39f66e6870:   00007f39f66e6890 00007f3d00000153
0x00007f39f66e6880:   000000075b7f9f20 000000075b8a3ac0
0x00007f39f66e6890:   000000075b7dca10 00007f3d29061ec7
0x00007f39f66e68a0:   000000075b7dca10 00007f3d29fc344c
0x00007f39f66e68b0:   eb712a3300000153 0000000786e92418
0x00007f39f66e68c0:   000000072199bd00 000000000000013c
0x00007f39f66e68d0:   000000075b7dca10 00000007249aecc8
0x00007f39f66e68e0:   0000000000000002 00007f3d29efe290
0x00007f39f66e68f0:   00000007249ae968 00000007263fc7e8
0x00007f39f66e6900:   0000000746d7eff0 00000000e4935d29
0x00007f39f66e6910:   0000000000000003 00007f3d29b6ea9c
0x00007f39f66e6920:   00000000f0dd2483 00007f3d29efd22c
0x00007f39f66e6930:   00000007240a8eb0 fe03f3cde48151d4
0x00007f39f66e6940:   00000007249aec80 0000000786e92418 

Instructions: (pc=0x00007f3d1b4c6965)
0x00007f3d1b4c6945:   7a 48 8b 43 30 4c 89 e2 4a 8d 74 35 00 48 03 73
0x00007f3d1b4c6955:   20 48 29 ea 48 8b 7b 18 48 89 54 24 08 4c 89 ea
0x00007f3d1b4c6965:   ff 50 40 85 c0 74 c4 83 f8 0b 0f 94 c1 3d c2 d4
0x00007f3d1b4c6975:   01 00 75 5f 48 85 ed 89 ea 75 42 3d 77 11 01 00 

Register to memory mapping:

RAX=0x6174656d227b5b3a is an unknown value
RBX=0x00007f39e8d65d70 is an unknown value
RCX=0x0000000000000000 is an unknown value
RDX=0x00007f39f66e6758 is pointing into the stack for thread:
0x00007f3a44564000
RSP=0x00007f39f66e6750 is pointing into the stack for thread:
0x00007f3a44564000
RBP=0x0000000000000000 is an unknown value
RSI=0x59504a2f5255452e is an unknown value
RDI=0x6563697270223a22 is an unknown value
R8 =0x000000000000015a is an unknown value
R9 =0x0000000000000001 is an unknown value
R10=0x00007f3d29b52bd0 [CodeBlob (0x00007f3d29b52bd0)]
Framesize: 10
R11=0x00000000eb68d8bc is an unknown value
R12=0x000000000000015a is an unknown value
R13=0x00007f39f66e6758 is pointing into the stack for thread:
0x00007f3a44564000
R14=0x0000000000000000 is an unknown value
R15=0x00007f3a44564000 is a thread


Stack: [0x00007f39f65e7000,0x00007f39f66e8000],  sp=0x00007f39f66e6750,  free
space=1021k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libtcnative-1.so.0.1.30+0xe965] 
Java_org_apache_tomcat_jni_Socket_sendbb+0x75

[error occurred during error reporting (printing native stack), id 0xb]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J  org.apache.tomcat.jni.Socket.sendbb(JII)I
J  org.apache.coyote.http11.InternalAprOutputBuffer.flushBuffer()V
J 
org.apache.coyote.http11.AbstractHttp11Processor.action(Lorg/apache/coyote/ActionCode;Ljava/lang/Object;)V
J  org.apache.catalina.connector.OutputBuffer.doFlush(Z)V
J  org.apache.catalina.connector.Response.flushBuffer()V
J  jp.co.xxxxxxx.raise.app.fw.socketio.transport.XHRStreaming.flushResponse()Z
J  scala.concurrent.impl.Future$PromiseCompletingRunnable.run()V
J  akka.dispatch.TaskInvocation.run()V
J 
java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V
j  java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub

-- 
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