Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Sep 2011 16:06:21 -0400
From:      Mike Jakubik <mike.jakubik@intertainservices.com>
To:        java@freebsd.org
Subject:   Recent OpenJDK6/APR crashing
Message-ID:  <1316030781.2913.4.camel@mike-laptop>

next in thread | raw e-mail | index | archive | help
Hello,

After upgrading to the latest version of OpenJDK/APR/tomcat-native my
application keeps on crashing with the below error every day or two. Has
anyone else experienced this or has any idea what the problem is?

Thanks.

openjdk6-b23_1
tomcat-6.0.33_1
tomcat-native-1.1.22
FreeBSD 8.2-STABLE #0: Mon Sep 12 16:17:30 EDT 2011



#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00000008e711c2ca, pid=11416, tid=34389419648
#
# JRE version: 6.0-b23
# Java VM: OpenJDK 64-Bit Server VM (20.0-b11 mixed mode bsd-amd64
compressed oops)
# Problematic frame:
# C  [libtcnative-1.so.1+0x152ca]
Java_org_apache_tomcat_jni_Socket_sendbb+0x5a
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/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 (0x0000000801cee800):  JavaThread "Finalizer" daemon
[_thread_in_native, id=100137,
stack(0x00007fffff3f8000,0x00007fffff4f8000)]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR),
si_addr=0x0000000000000040

Registers:
RAX=0x0000000000000000, RBX=0x0000000000000000, RCX=0x0000000000000000,
RDX=0x00007fffff4f6f88
RSP=0x00007fffff4f6f80, RBP=0x00000008eea0d0a0, RSI=0x0000000000000000,
RDI=0x0000000000000000
R8 =0x000000000000000e, R9 =0x000000080c848858, R10=0x0000000802151d3b,
R11=0x000000080158d150
R12=0x000000000000000e, R13=0x0000000000000000, R14=0x00007fffff4f6f88,
R15=0x0000000801cee800
RIP=0x00000008e711c2ca, EFLAGS=0x0000000000000001,
ERR=0x0000000000000004
  TRAPNO=0x000000000000000c

Top of Stack: (sp=0x00007fffff4f6f80)
0x00007fffff4f6f80:   00000008037c6ebc 000000000000000e
0x00007fffff4f6f90:   0000000805b2a308 00007fffff4f7028
0x00007fffff4f6fa0:   000000080515f000 0000000805b2a308
0x00007fffff4f6fb0:   00007fffff4f7060 0000000802151d68
0x00007fffff4f6fc0:   0000000007d4c462 0000000843bc1430
0x00007fffff4f6fd0:   0000000843b9e0e8 07d4b5d600000000
0x00007fffff4f6fe0:   0000000843bad168 00007fffff4f6fe8
0x00007fffff4f6ff0:   0000000000000000 00007fffff4f7060
0x00007fffff4f7000:   0000000805b2b660 0000000000000000
0x00007fffff4f7010:   0000000805b2a308 0000000000000000
0x00007fffff4f7020:   00007fffff4f7070 00007fffff4f7158
0x00007fffff4f7030:   0000000803a2d280 0000000805b2b5f8
0x00007fffff4f7040:   000000080214ef56 000000080000000e
0x00007fffff4f7050:   00007fff00000000 00000008eea0d0a0
0x00007fffff4f7060:   00000008f6d410a0 0000000803a2d280
0x00007fffff4f7070:   0000000843bad168 00007fffff4f7090
0x00007fffff4f7080:   00007fffff4f70e8 000000080214685a
0x00007fffff4f7090:   00007fffff4f7100 000000080214685a
0x00007fffff4f70a0:   00007fffff4f7158 0000000803be86f0
0x00007fffff4f70b0:   0000000829fbb1f0 0000000843bb9e58
0x00007fffff4f70c0:   00007fffff4f70c0 000000080c841ecd
0x00007fffff4f70d0:   00007fffff4f7110 000000080c843338
0x00007fffff4f70e0:   00007fffff4f7158 000000080214685a
0x00007fffff4f70f0:   00007fffff4f7158 000000080214685a
0x00007fffff4f7100:   0000000843bb9e58 0000000829fbb1e0
0x00007fffff4f7110:   0000000843bb9e58 00007fffff4f7118
0x00007fffff4f7120:   000000080c870e40 00007fffff4f7178
0x00007fffff4f7130:   000000080c872b98 0000000812603d80
0x00007fffff4f7140:   000000080c870e98 00007fffff4f7100
0x00007fffff4f7150:   00007fffff4f7170 00007fffff4f71c0
0x00007fffff4f7160:   000000080214685a 0000000000000000
0x00007fffff4f7170:   0000000000000001 0000000843bba248 

Instructions: (pc=0x00000008e711c2ca)
0x00000008e711c2aa:   4c 89 f2 4c 89 e0 4c 89 ee 48 29 d8 48 89 44 24
0x00000008e711c2ba:   08 48 03 75 20 48 8b 45 30 48 01 de 48 8b 7d 18
0x00000008e711c2ca:   ff 50 40 89 c2 85 c0 74 cd 3d 77 11 01 00 74 47
0x00000008e711c2da:   be 3e 2b fe ff 83 fa 23 74 1d 40 b6 3d 83 fa 04 

Register to memory mapping:

RAX=0x0000000000000000 is an unknown value
RBX=0x0000000000000000 is an unknown value
RCX=0x0000000000000000 is an unknown value
RDX=0x00007fffff4f6f88 is pointing into the stack for thread:
0x0000000801cee800
RSP=0x00007fffff4f6f80 is pointing into the stack for thread:
0x0000000801cee800
RBP=0x00000008eea0d0a0 is an unknown value
RSI=0x0000000000000000 is an unknown value
RDI=0x0000000000000000 is an unknown value
R8 =0x000000000000000e is an unknown value
R9 =0x000000080c848858 is an oop
{instance class} 
 - klass: {other class}
R10=0x0000000802151d3b is an Interpreter codelet
method entry point (kind = native)  [0x0000000802151ae0,
0x0000000802152320]  2112 bytes
R11=0x000000080158d150: JVM_handle_bsd_signal+0x7d4e0
in /usr/local/openjdk6/jre/lib/amd64/server/libjvm.so at
0x0000000800e00000
R12=0x000000000000000e is an unknown value
R13=0x0000000000000000 is an unknown value
R14=0x00007fffff4f6f88 is pointing into the stack for thread:
0x0000000801cee800
R15=0x0000000801cee800 is a thread


Stack: [0x00007fffff3f8000,0x00007fffff4f8000],  sp=0x00007fffff4f6f80,
free space=1019k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
C=native code)
C  [libtcnative-1.so.1+0x152ca]
Java_org_apache_tomcat_jni_Socket_sendbb+0x5a

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.apache.tomcat.jni.Socket.sendbb(JII)I+0
J
org.apache.coyote.ajp.AjpAprProcessor.action(Lorg/apache/coyote/ActionCode;Ljava/lang/Object;)V
J
org.apache.coyote.Response.action(Lorg/apache/coyote/ActionCode;Ljava/lang/Object;)V
j  org.apache.catalina.connector.OutputBuffer.doFlush(Z)V+80
j  org.apache.catalina.connector.OutputBuffer.flush()V+2
j  org.apache.catalina.connector.CoyoteOutputStream.flush()V+4
j  javax.imageio.stream.MemoryCacheImageOutputStream.flushBefore(J)V+47
j  javax.imageio.stream.MemoryCacheImageOutputStream.close()V+15
j  javax.imageio.stream.ImageInputStreamImpl.finalize()V+8
v  ~StubRoutines::call_stub
J  java.lang.ref.Finalizer.invokeFinalizeMethod(Ljava/lang/Object;)V
J  java.lang.ref.Finalizer.access$100(Ljava/lang/ref/Finalizer;)V
J  java.lang.ref.Finalizer$FinalizerThread.run()V
v  ~StubRoutines::call_stub

Other Threads:
  0x0000000801d2d800 VMThread [stack:
0x00007fffff5fa000,0x00007fffff6fa000] [id=100135]
  0x0000000801d2d000 WatcherThread [stack:
0x00007ffffeef3000,0x00007ffffeff3000] [id=100156]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 PSYoungGen      total 128640K, used 7850K [0x00000008dd160000,
0x00000008e5160000, 0x00000008e5160000)
  eden space 126208K, 6% used
[0x00000008dd160000,0x00000008dd90aa68,0x00000008e4ca0000)
  from space 2432K, 0% used
[0x00000008e4ca0000,0x00000008e4ca0000,0x00000008e4f00000)
  to   space 2432K, 0% used
[0x00000008e4f00000,0x00000008e4f00000,0x00000008e5160000)
 PSOldGen        total 849152K, used 755229K [0x0000000825160000,
0x0000000858ea0000, 0x00000008dd160000)
  object space 849152K, 88% used
[0x0000000825160000,0x00000008532e7738,0x0000000858ea0000)
 PSPermGen       total 289920K, used 288717K [0x0000000805160000,
0x0000000816c80000, 0x0000000825160000)
  object space 289920K, 99% used
[0x0000000805160000,0x0000000816b53670,0x0000000816c80000)

Code Cache  [0x0000000802141000, 0x0000000804f11000, 0x0000000805141000)
 total_blobs=9408 nmethods=8841 adapters=519 free_code_cache=2687808
largest_free_block=54272






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1316030781.2913.4.camel>