tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 58394] New: Data race on field org.apache.catalina.mapper.Mapper.hosts
Date Sat, 12 Sep 2015 17:02:20 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=58394

            Bug ID: 58394
           Summary: Data race on field
                    org.apache.catalina.mapper.Mapper.hosts
           Product: Tomcat 8
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: yilong.li@runtimeverification.com

Data race on field org.apache.catalina.mapper.Mapper.hosts: {{{
    Concurrent read in thread T28 (locks held: {Monitor@7c917bae})
 ---->  at org.apache.catalina.mapper.Mapper.internalMap(Mapper.java:738)
        at org.apache.catalina.mapper.Mapper.map(Mapper.java:687)
        at
org.apache.catalina.connector.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:881)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:513)
        at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
        at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)
        at
org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1074)
        at
org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.run(Nio2Endpoint.java:1033)
        - locked Monitor@7c917bae at
org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.run(Nio2Endpoint.java:1032)
        at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    T28 is created by T16
        at
java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:1010)

    Concurrent write in thread T38 (locks held: {Monitor@21f99bc3,
Monitor@212cb93e})
 ---->  at org.apache.catalina.mapper.Mapper.removeHost(Mapper.java:150)
        - locked Monitor@212cb93e at
org.apache.catalina.mapper.Mapper.removeHost(Mapper.java:n/a)
        at
org.apache.catalina.mapper.MapperListener.unregisterHost(MapperListener.java:319)
        at
org.apache.catalina.mapper.MapperListener.lifecycleEvent(MapperListener.java:494)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
        at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
        at
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:228)
        - locked Monitor@21f99bc3 at
org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:n/a)
        at
org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1424)
    T38 is created by T1
        at
java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:1010)
}}}

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message