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

             Bug #: 52354
           Summary: Protect concurrent accesses to field
                    "org.apache.catalina.tribes.transport.bio.util.FastQue
                    ue.inRemove"
           Product: Tomcat 7
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: reprogram...@gmail.com
    Classification: Unclassified


Field "org.apache.catalina.tribes.transport.bio.util.FastQueue.inRemove" may be
read and written in parallel. Thus, accesses to it should be synchronized. The
following is a sequence of method calls from the "run" method of a class that
implements "Runnable" to a method that accesses "FastQueue.inRemove" without
proper synchronization.

1.
org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor.run()
2.
org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor.removeFromQueue()
3. org.apache.catalina.tribes.transport.bio.util.FastQueue.remove()

Field "FastQueue.inRemove" is declared at
<http://svn.apache.org/repos/asf/!svn/bc/1220560/tomcat/trunk/java/org/apache/catalina/tribes/transport/bio/util/FastQueue.java>.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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