Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005465 [Resin] minor always 06-18-13 11:33 10-04-13 10:53
Reporter alex View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.1.12
Summary 0005465: Classloader deadlock
Description rep. by Shinomiya Nobuaki.

Fix for 3.1 branch is requested.

Found one Java-level deadlock:
=============================
"hmux-CTOMS1749:6800-20$107860435":
  waiting to lock monitor 0x00000000051441f0 (object 0x00000000c47f9410, a com.caucho.loader.EnvironmentClassLoader),
  which is held by "hmux-CTOMS1749:6800-7$1337758873"
"hmux-CTOMS1749:6800-7$1337758873":
  waiting to lock monitor 0x0000000005d27b00 (object 0x00000000ba00c340, a com.caucho.loader.CompilingClassEntry),
  which is held by "hmux-CTOMS1749:6800-6$272238939"
"hmux-CTOMS1749:6800-6$272238939":
  waiting to lock monitor 0x00000000051441f0 (object 0x00000000c47f9410, a com.caucho.loader.EnvironmentClassLoader),
  which is held by "hmux-CTOMS1749:6800-7$1337758873"

Java stack information for the threads listed above:
Additional Information Java stack information for the threads listed above:
===================================================
"hmux-CTOMS1749:6800-20$107860435":
              at jp.co.intra_mart.foundation.security.AccessSecurityManager.updateAccount(AccessSecurityManager.java:1431)
              at jp.co.intra_mart.foundation.security.AccessSecurityManager.getUserLoginCertification(AccessSecurityManager.java:1262)
              at jp.co.intra_mart.foundation.security.AccessSecurityManager.getLoginCertification(AccessSecurityManager.java:2962)
              at jp.co.intra_mart.foundation.security.servlet.UserCertificationServlet.doGet(UserCertificationServlet.java:114)
              at jp.co.intra_mart.foundation.security.servlet.UserCertificationServlet.doPost(UserCertificationServlet.java:156)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:153)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:91)
              at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103)
              at jp.co.intra_mart.foundation.security.filter.LoginBlockFilter.doFilter(LoginBlockFilter.java:193)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.foundation.security.filter.URLAccessFilter.doFilter(URLAccessFilter.java:171)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.system.servlet.jssp.JSSPContextFilter.doFilter(JSSPContextFilter.java:67)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.common.aid.jsdk.javax.servlet.filter.impl.HTTPContextHandlingFilterImpl.doFilter(HTTPContextHandlingFilterImpl.java:53)
              at jp.co.intra_mart.common.aid.jsdk.javax.servlet.filter.HTTPContextHandlingFilter.doFilter(HTTPContextHandlingFilter.java:94)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.foundation.security.filter.ResponseCharacterEncodingFilter.doFilter(ResponseCharacterEncodingFilter.java:104)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.system.servlet.filter.RequestControlFilter.doFilter(RequestControlFilter.java:78)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.common.aid.jsdk.javax.servlet.filter.ExceptionHandlingFilter.doFilter(ExceptionHandlingFilter.java:298)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.system.log.transition.TransitionLogFilter.doFilter(TransitionLogFilter.java:109)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.system.servlet.filter.RequestLogFilter.doFilter(RequestLogFilter.java:86)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.system.servlet.filter.ResponseMonitoringFilter.doFilter(ResponseMonitoringFilter.java:57)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.system.servlet.filter.RequestScopeLockReleaseFilter.doFilter(RequestScopeLockReleaseFilter.java:44)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:187)
              at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:265)
              at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:436)
              at com.caucho.server.port.TcpConnection.run(TcpConnection.java:682)
              - locked <0x00000000ba16faf0> (a java.lang.Object)
              at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:743)
              at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:662)
              at java.lang.Thread.run(Thread.java:662)
"hmux-CTOMS1749:6800-7$1337758873":
              at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1431)
              - waiting to lock <0x00000000ba00c340> (a com.caucho.loader.CompilingClassEntry)
              at com.caucho.loader.DynamicClassLoader.findClassImpl(DynamicClassLoader.java:1390)
              at com.caucho.loader.DynamicClassLoader.loadClassImpl(DynamicClassLoader.java:1289)
              at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1219)
              at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1203)
              at jp.co.chugai.pvh.comm.event.Comm04NoticePvEventListener.fire(Unknown Source)
              at jp.co.intra_mart.framework.base.event.StandardEventListener.execute(StandardEventListener.java:175)
              at jp.co.intra_mart.framework.base.event.container.EventContainerImpl.dispatch(EventContainerImpl.java:199)
              at jp.co.intra_mart.framework.base.event.EventManager.dispatch(EventManager.java:235)
              at jp.co.intra_mart.framework.base.event.EventManager.dispatch(EventManager.java:214)
              at jp.co.intra_mart.framework.base.service.ServiceControllerAdapter.dispatchEvent(ServiceControllerAdapter.java:240)
              at jp.co.chugai.pvh.comm.service.Comm04NoticePvServiceController.service(Unknown Source)
              at jp.co.intra_mart.framework.base.service.ServiceServlet.execute(ServiceServlet.java:334)
              at jp.co.intra_mart.framework.base.service.ServiceServlet.doGet(ServiceServlet.java:102)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:114)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:91)
              at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103)
              at jp.co.intra_mart.foundation.access_block.filter.AccessBlockerFilter.doFilter(AccessBlockerFilter.java:67)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.foundation.security.filter.DuplicateLoginHandlingFilter.doFilter(DuplicateLoginHandlingFilter.java:176)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.foundation.security.filter.ActiveSessionFilter.doFilter(ActiveSessionFilter.java:237)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:79)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.common.aid.jsdk.javax.servlet.filter.AbsoluteLinkFilter.doFilter(AbsoluteLinkFilter.java:147)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.framework.base.service.FileUploadFilter.doFilter(FileUploadFilter.java:75)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.framework.base.service.FrameworkParameterSettingFilter.doFilter(FrameworkParameterSettingFilter.java:76)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.framework.base.service.IntramartLocaleFilter.doFilter(IntramartLocaleFilter.java:103)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.foundation.security.filter.URLAccessFilter.doFilter(URLAccessFilter.java:171)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.foundation.security.filter.SessionFilter.doFilter(SessionFilter.java:200)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.system.servlet.jssp.JSSPContextFilter.doFilter(JSSPContextFilter.java:67)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.common.aid.jsdk.javax.servlet.filter.impl.HTTPContextHandlingFilterImpl.doFilter(HTTPContextHandlingFilterImpl.java:53)
              at jp.co.intra_mart.common.aid.jsdk.javax.servlet.filter.HTTPContextHandlingFilter.doFilter(HTTPContextHandlingFilter.java:94)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.common.aid.jsdk.javax.servlet.filter.LuxuryResponseWriterFilter.doFilter(LuxuryResponseWriterFilter.java:46)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.foundation.security.filter.ResponseCharacterEncodingFilter.doFilter(ResponseCharacterEncodingFilter.java:104)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.common.aid.jsdk.javax.servlet.filter.RequestMessageBodyFilter.doFilter(RequestMessageBodyFilter.java:246)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.foundation.security.filter.RequestCharacterEncodingFilter.doFilter(RequestCharacterEncodingFilter.java:76)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.system.servlet.filter.RequestControlFilter.doFilter(RequestControlFilter.java:78)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.system.servlet.filter.RequestQueryLengthMonitoringFilter.doFilter(RequestQueryLengthMonitoringFilter.java:51)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.common.aid.jsdk.javax.servlet.filter.ExceptionHandlingFilter.doFilter(ExceptionHandlingFilter.java:298)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.system.log.transition.TransitionLogFilter.doFilter(TransitionLogFilter.java:109)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.system.servlet.filter.RequestLogFilter.doFilter(RequestLogFilter.java:86)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.system.servlet.filter.ResponseMonitoringFilter.doFilter(ResponseMonitoringFilter.java:57)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.system.servlet.filter.RequestScopeLockReleaseFilter.doFilter(RequestScopeLockReleaseFilter.java:44)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:187)
              at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:265)
              at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:436)
              at com.caucho.server.port.TcpConnection.run(TcpConnection.java:682)
              - locked <0x00000000ba011640> (a java.lang.Object)
              at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:743)
              at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:662)
              at java.lang.Thread.run(Thread.java:662)
"hmux-CTOMS1749:6800-6$272238939":
              at java.lang.ClassLoader.checkCerts(ClassLoader.java:783)
              - waiting to lock <0x00000000c47f9410> (a com.caucho.loader.EnvironmentClassLoader)
              at java.lang.ClassLoader.preDefineClass(ClassLoader.java:488)
              at java.lang.ClassLoader.defineClassCond(ClassLoader.java:626)
              at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
              at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
              at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1523)
              - locked <0x00000000ba00c340> (a com.caucho.loader.CompilingClassEntry)
              at com.caucho.loader.DynamicClassLoader.findClassImpl(DynamicClassLoader.java:1390)
              at com.caucho.loader.DynamicClassLoader.loadClassImpl(DynamicClassLoader.java:1289)
              at com.caucho.loader.DynamicClassLoader.loadClassImpl(DynamicClassLoader.java:1279)
              at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1219)
              at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1203)
              at _jsp._pvh._comm._comm01mainmenu02menu__jsp._jspService(_comm01mainmenu02menu__jsp.java:85)
              at com.caucho.jsp.JavaPage.service(JavaPage.java:61)
              at com.caucho.jsp.Page.pageservice(Page.java:587)
              at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:195)
              at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:112)
              at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:265)
              at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:293)
              at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:111)
              at jp.co.intra_mart.system.log.transition.TransitionLogRequestDispatcher.forward(TransitionLogRequestDispatcher.java:65)
              at jp.co.intra_mart.framework.base.service.DefaultTransition.transfer(DefaultTransition.java:160)
              at jp.co.intra_mart.framework.base.service.ServiceServlet.execute(ServiceServlet.java:379)
              at jp.co.intra_mart.framework.base.service.ServiceServlet.doGet(ServiceServlet.java:102)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:114)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:91)
              at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103)
              at jp.co.intra_mart.foundation.access_block.filter.AccessBlockerFilter.doFilter(AccessBlockerFilter.java:67)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.foundation.security.filter.DuplicateLoginHandlingFilter.doFilter(DuplicateLoginHandlingFilter.java:176)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.foundation.security.filter.ActiveSessionFilter.doFilter(ActiveSessionFilter.java:237)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:79)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.common.aid.jsdk.javax.servlet.filter.AbsoluteLinkFilter.doFilter(AbsoluteLinkFilter.java:147)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.framework.base.service.FileUploadFilter.doFilter(FileUploadFilter.java:75)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.framework.base.service.FrameworkParameterSettingFilter.doFilter(FrameworkParameterSettingFilter.java:76)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.framework.base.service.IntramartLocaleFilter.doFilter(IntramartLocaleFilter.java:103)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.foundation.security.filter.URLAccessFilter.doFilter(URLAccessFilter.java:171)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.foundation.security.filter.SessionFilter.doFilter(SessionFilter.java:200)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.system.servlet.jssp.JSSPContextFilter.doFilter(JSSPContextFilter.java:67)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.common.aid.jsdk.javax.servlet.filter.impl.HTTPContextHandlingFilterImpl.doFilter(HTTPContextHandlingFilterImpl.java:53)
              at jp.co.intra_mart.common.aid.jsdk.javax.servlet.filter.HTTPContextHandlingFilter.doFilter(HTTPContextHandlingFilter.java:94)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.common.aid.jsdk.javax.servlet.filter.LuxuryResponseWriterFilter.doFilter(LuxuryResponseWriterFilter.java:46)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.foundation.security.filter.ResponseCharacterEncodingFilter.doFilter(ResponseCharacterEncodingFilter.java:104)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.common.aid.jsdk.javax.servlet.filter.RequestMessageBodyFilter.doFilter(RequestMessageBodyFilter.java:246)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.foundation.security.filter.RequestCharacterEncodingFilter.doFilter(RequestCharacterEncodingFilter.java:76)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.system.servlet.filter.RequestControlFilter.doFilter(RequestControlFilter.java:78)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.system.servlet.filter.RequestQueryLengthMonitoringFilter.doFilter(RequestQueryLengthMonitoringFilter.java:51)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.common.aid.jsdk.javax.servlet.filter.ExceptionHandlingFilter.doFilter(ExceptionHandlingFilter.java:298)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.system.log.transition.TransitionLogFilter.doFilter(TransitionLogFilter.java:109)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.system.servlet.filter.RequestLogFilter.doFilter(RequestLogFilter.java:86)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.system.servlet.filter.ResponseMonitoringFilter.doFilter(ResponseMonitoringFilter.java:57)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at jp.co.intra_mart.system.servlet.filter.RequestScopeLockReleaseFilter.doFilter(RequestScopeLockReleaseFilter.java:44)
              at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
              at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:187)
              at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:265)
              at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:436)
              at com.caucho.server.port.TcpConnection.run(TcpConnection.java:682)
              - locked <0x00000000ba00cee8> (a java.lang.Object)
              at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:743)
              at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:662)
              at java.lang.Thread.run(Thread.java:662)

Found 1 deadlock.
Attached Files

- Relationships

- Notes
(0006333)
ferg
10-04-13 10:53

Note: this is already fixed in the 4.0 branch.
 

- Issue History
Date Modified Username Field Change
06-18-13 11:33 alex New Issue
10-04-13 10:53 ferg Note Added: 0006333
10-04-13 10:53 ferg Assigned To  => ferg
10-04-13 10:53 ferg Status new => closed
10-04-13 10:53 ferg Resolution open => fixed
10-04-13 10:53 ferg Fixed in Version  => 3.1.14


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker