jboss - JVM Crash due to `EXCEPTION_ACCESS_VIOLATION` in org.infinispan.util.concurrent.jdk8backported.LongAdder -
this happening on jboss eap 6.1, single user works fine, 2 or 3 concurrent user start interacting application, jvm gets crashed.
the jvm crashing exception_access_violation; full trace below:
# # fatal error has been detected java runtime environment: # # exception_access_violation (0xc0000005) @ pc=0x024c8266, pid=5136, tid=8736 # # jre version: 6.0_45-b06 # java vm: java hotspot(tm) client vm (20.45-b01 mixed mode windows-x86 ) # problematic frame: # j org.infinispan.util.concurrent.jdk8backported.longadder.add(j)v # # if submit bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # --------------- t h r e d --------------- current thread (0x6602dc00): javathread "http-ds-7071bc90200f..corp.in/10.112.70.75:8080-6" daemon [_thread_in_java, id=8736, stack(0x663a0000,0x663f0000)] siginfo: exceptioncode=0xc0000005, reading address 0x8ddb6987 registers: eax=0x00000002, ebx=0xffffffff, ecx=0x00000001, edx=0x0ddb6988 esp=0x663ee3c0, ebp=0x663eea58, esi=0x0ddb60a0, edi=0xffffffff eip=0x024c8266, eflags=0x00010293 top of stack: (sp=0x663ee3c0) 0x663ee3c0: 0ddb4830 00000000 663eea58 024d2b44 0x663ee3d0: 0ddb1610 0ddb1610 663eea58 024d7368 0x663ee3e0: 0ddb4830 00000000 0ddb1610 0ddb6be0 0x663ee3f0: 22239910 0ddb1610 2223aff0 22239910 0x663ee400: 0ddb60a0 2223c338 2127c660 24bb6ca8 0x663ee410: 24c1f6e0 0ddb6070 00000002 0ddb6988 0x663ee420: 4ac892b3 0ddb1610 663eea58 024d5bf4 0x663ee430: 00000000 00000000 663eea58 024c5a0c instructions: (pc=0x024c8266) 0x024c8246: 0c 00 00 00 b8 01 00 00 00 8b f7 e9 5b 00 00 00 0x024c8256: 8b bc 24 80 00 00 00 8b 9c 24 84 00 00 00 3b 02 0x024c8266: f2 0f 10 82 ff ff ff 7f 66 0f 7e c6 66 0f 73 d0 0x024c8276: 20 66 0f 7e c0 8b d6 8b c8 03 d7 13 cb 89 34 24 register memory mapping: eax=0x00000002 unknown value ebx=0xffffffff unknown value ecx=0x00000001 unknown value edx= [error occurred during error reporting (printing register info), id 0xc0000005] stack: [0x663a0000,0x663f0000], sp=0x663ee3c0, free space=312k native frames: (j=compiled java code, j=interpreted, vv=vm code, c=native code) j org.infinispan.util.concurrent.jdk8backported.longadder.add(j)v j org.infinispan.cacheimpl.put(ljava/lang/object;ljava/lang/object;jljava/util/concurrent/timeunit;jljava/util/concurrent/timeunit;ljava/util/enumset;ljava/lang/classloader;)ljava/lang/object;+24 j org.infinispan.cacheimpl.put(ljava/lang/object;ljava/lang/object;jljava/util/concurrent/timeunit;jljava/util/concurrent/timeunit;)ljava/lang/object;+12 j org.infinispan.cachesupport.put(ljava/lang/object;ljava/lang/object;)ljava/lang/object;+17 j org.infinispan.abstractdelegatingcache.put(ljava/lang/object;ljava/lang/object;)ljava/lang/object;+6 j org.infinispan.spring.provider.springcache.put(ljava/lang/object;ljava/lang/object;)v+6 j com.hmtp.security.server.util.sessiontokenvalidator.refreshaccesstime(ljava/lang/string;)v+25 j com.hmtp.security.server.util.sessiontokenvalidator.checkandrenewtoken([ljava/lang/string;)lorg/springframework/security/web/authentication/rememberme/persistentremembermetoken;+174 j com.hmtp.security.server.auth.multitenantremembermeservices.processautologincookie([ljava/lang/string;ljavax/servlet/http/httpservletrequest;ljavax/servlet/http/httpservletresponse;)lorg/springframework/security/core/userdetails/userdetails;+5 j org.springframework.security.web.authentication.rememberme.abstractremembermeservices.autologin(ljavax/servlet/http/httpservletrequest;ljavax/servlet/http/httpservletresponse;)lorg/springframework/security/core/authentication;+64 j com.hmtp.common.security.server.brownstoneremembermeauthenticationfilter.dofilter(ljavax/servlet/servletrequest;ljavax/servlet/servletresponse;ljavax/servlet/filterchain;)v+20 j org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(ljavax/servlet/servletrequest;ljavax/servlet/servletresponse;)v j org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(ljavax/servlet/servletrequest;ljavax/servlet/servletresponse;)v j org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(ljavax/servlet/servletrequest;ljavax/servlet/servletresponse;)v j org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(ljavax/servlet/servletrequest;ljavax/servlet/servletresponse;)v j org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(ljavax/servlet/servletrequest;ljavax/servlet/servletresponse;)v j org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(ljavax/servlet/servletrequest;ljavax/servlet/servletresponse;)v j org.springframework.security.web.filterchainproxy$virtualfilterchain.dofilter(ljavax/servlet/servletrequest;ljavax/servlet/servletresponse;)v j org.springframework.security.web.filterchainproxy.dofilter(ljavax/servlet/servletrequest;ljavax/servlet/servletresponse;ljavax/servlet/filterchain;)v+40 j org.springframework.web.filter.delegatingfilterproxy.invokedelegate(ljavax/servlet/filter;ljavax/servlet/servletrequest;ljavax/servlet/servletresponse;ljavax/servlet/filterchain;)v+5 j org.springframework.web.filter.delegatingfilterproxy.dofilter(ljavax/servlet/servletrequest;ljavax/servlet/servletresponse;ljavax/servlet/filterchain;)v+71 j org.apache.catalina.core.applicationfilterchain.internaldofilter(ljavax/servlet/servletrequest;ljavax/servlet/servletresponse;)v j org.apache.catalina.core.applicationfilterchain.internaldofilter(ljavax/servlet/servletrequest;ljavax/servlet/servletresponse;)v j org.apache.catalina.core.standardcontextvalve.invoke(lorg/apache/catalina/connector/request;lorg/apache/catalina/connector/response;)v+200 j org.jboss.as.web.session.clusteredsessionvalve.handlerequest(lorg/apache/catalina/connector/request;lorg/apache/catalina/connector/response;lorg/jboss/servlet/http/httpevent;z)v+61 j org.jboss.as.web.session.clusteredsessionvalve.invoke(lorg/apache/catalina/connector/request;lorg/apache/catalina/connector/response;)v+26 j org.jboss.as.web.session.jvmroutevalve.invoke(lorg/apache/catalina/connector/request;lorg/apache/catalina/connector/response;)v+33 j org.jboss.as.web.session.lockingvalve.invoke(lorg/apache/catalina/connector/request;lorg/apache/catalina/connector/response;)v+43 j org.jboss.as.web.security.securitycontextassociationvalve.invoke(lorg/apache/catalina/connector/request;lorg/apache/catalina/connector/response;)v+402 j org.apache.catalina.core.standardhostvalve.invoke(lorg/apache/catalina/connector/request;lorg/apache/catalina/connector/response;)v j org.apache.catalina.core.standardenginevalve.invoke(lorg/apache/catalina/connector/request;lorg/apache/catalina/connector/response;)v+42 j org.apache.catalina.connector.coyoteadapter.service(lorg/apache/coyote/request;lorg/apache/coyote/response;)v+188 j org.apache.coyote.http11.http11processor.process(ljava/net/socket;)lorg/apache/tomcat/util/net/jioendpoint$handler$socketstate;+349 j org.apache.coyote.http11.http11protocol$http11connectionhandler.process(ljava/net/socket;)lorg/apache/tomcat/util/net/jioendpoint$handler$socketstate;+65 j org.apache.tomcat.util.net.jioendpoint$worker.run()v+128 j java.lang.thread.run()v+11 v ~stubroutines::call_stub v [jvm.dll+0xfb88b] v [jvm.dll+0x18d551] v [jvm.dll+0xfba31] v [jvm.dll+0xfba8b] v [jvm.dll+0xb5e89] v [jvm.dll+0x119b74] v [jvm.dll+0x14217c] c [msvcr71.dll+0x9565] endthreadex+0xa0 c [kernel32.dll+0x4ee6c] basethreadinitthunk+0x12 c [ntdll.dll+0x6399b] rtlinitializeexceptionchain+0xef c [ntdll.dll+0x6396e] rtlinitializeexceptionchain+0xc2 vm state:synchronizing (normal execution) vm mutex/monitor owned thread: ([mutex/lock_event]) [0x00dd8360] safepoint_lock - owner thread: 0x01a68c00 [0x00dd83c8] threads_lock - owner thread: 0x01a68c00 heap def new generation total 400384k, used 175418k [0x03ae0000, 0x1ed50000, 0x1ed80000) eden space 355904k, 47% used [0x03ae0000, 0x0df2c4f0, 0x19670000) space 44480k, 16% used [0x1c1e0000, 0x1c8e2540, 0x1ed50000) space 44480k, 0% used [0x19670000, 0x19670000, 0x1c1e0000) tenured generation total 889536k, used 111605k [0x1ed80000, 0x55230000, 0x552e0000) space 889536k, 12% used [0x1ed80000, 0x25a7d7f0, 0x25a7d800, 0x55230000) compacting perm gen total 102144k, used 102123k [0x552e0000, 0x5b6a0000, 0x652e0000) space 102144k, 99% used [0x552e0000, 0x5b69ad60, 0x5b69ae00, 0x5b6a0000) no shared spaces configured. code cache [0x01ae0000, 0x02cb8000, 0x03ae0000) total_blobs=9369 nmethods=9146 adapters=163 free_code_cache=14876096 largest_free_block=384 vm arguments: jvm_args: -dprogram.name=standalone.bat -xms1303m -xmx1303m -xx:maxpermsize=256m -djava.net.preferipv4stack=true -djboss.modules.system.pkgs=org.jboss.byteman -agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n -dorg.jboss.boot.log.file=c:\jboss-eap-6.1\standalone\log\server.log -dlogging.configuration=file:c:\jboss-eap-6.1\standalone/configuration/logging.properties java_command: c:\jboss-eap-6.1\jboss-modules.jar -mp c:\jboss-eap-6.1\modules -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -djboss.home.dir=c:\jboss-eap-6.1 launcher type: sun_standard environment variables: java_home=c:\program files\java\jdk1.6.0_45 path=c:\programdata\oracle\java\javapath;c:\program files\java\jdk1.6.0_45\bin;c:\windows\system32;c:\windows;c:\windows\system32\wbem;c:\windows\system32\windowspowershell\v1.0\;c:\apache-maven-3.2.2\bin;c:\program files\tortoisesvn\bin;d:\apache-ant-1.9.4\bin username=neeraj.ar os=windows_nt processor_identifier=x86 family 6 model 23 stepping 10, genuineintel --------------- s y s t e m --------------- os: windows 7 build 7601 service pack 1 cpu:total 2 (2 cores per cpu, 1 threads per core) family 6 model 23 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1 memory: 4k page, physical 3338764k(929876k free), swap 15625020k(11901304k free) vm_info: java hotspot(tm) client vm (20.45-b01) windows-x86 jre (1.6.0_45-b06), built on mar 26 2013 13:40:03 "java_re" ms vc++ 7.1 (vs2003) time: thu jul 23 18:41:10 2015 elapsed time: 256 seconds
the crash happens in c1-compiled code on instruction
f20f1082ffffff7f movsd xmm0, qword ptr [edx+0x7fffffff]
which represents volatile long load has not been patched.
i believe jvm bug jdk-6965570 or duplicate jdk-7004258.
has been fixed long ago in jdk 6u60, seem use old version of jdk.
Comments
Post a Comment