activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Burgel (JIRA)" <j...@apache.org>
Subject [jira] Created: (AMQ-1475) deadlock in Usage & Topic
Date Tue, 23 Oct 2007 15:12:24 GMT
deadlock in Usage & Topic
-------------------------

                 Key: AMQ-1475
                 URL: https://issues.apache.org/activemq/browse/AMQ-1475
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.0.0
            Reporter: Alex Burgel
            Priority: Critical


Found one Java-level deadlock:
=============================
"ActiveMQ Task":
  waiting to lock monitor 0x081615fc (object 0xa3ba9c38, a java.util.LinkedList),
  which is held by "ActiveMQ Transport: tcp:///192.168.1.119:40586"
"ActiveMQ Transport: tcp:///192.168.1.119:40586":
  waiting to lock monitor 0x08161598 (object 0xa3badb80, a java.lang.Object),
  which is held by "ActiveMQ Task"

Java stack information for the threads listed above:
===================================================
"ActiveMQ Task":
        at org.apache.activemq.broker.region.Topic$1.run(Topic.java:94)
        - waiting to lock <0xa3ba9c38> (a java.util.LinkedList)
        at org.apache.activemq.usage.Usage.fireEvent(Usage.java:255)
        - locked <0xa3badb80> (a java.lang.Object)
        at org.apache.activemq.usage.Usage.setPercentUsage(Usage.java:232)
        - locked <0xa3badb80> (a java.lang.Object)
        at org.apache.activemq.usage.MemoryUsage.decreaseUsage(MemoryUsage.java:149)
        at org.apache.activemq.command.Message.decrementReferenceCount(Message.java:602)
        - locked <0xa73f5628> (a org.apache.activemq.command.ActiveMQObjectMessage)
        at org.apache.activemq.broker.region.TopicSubscription$2.run(TopicSubscription.java:422)
        at org.apache.activemq.broker.TransportConnection.processDispatch(TransportConnection.java:773)
        at org.apache.activemq.broker.TransportConnection.iterate(TransportConnection.java:801)
        at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:118)
        at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:42)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)
"ActiveMQ Transport: tcp:///192.168.1.119:40586":
        at org.apache.activemq.usage.Usage.notifyCallbackWhenNotFull(Usage.java:354)
        - waiting to lock <0xa3badb80> (a java.lang.Object)
        at org.apache.activemq.broker.region.Topic.send(Topic.java:346)
        - locked <0xa3ba9c38> (a java.util.LinkedList)
        at org.apache.activemq.broker.region.AbstractRegion.send(AbstractRegion.java:328)
        at org.apache.activemq.broker.region.RegionBroker.send(RegionBroker.java:402)
        at org.apache.activemq.broker.TransactionBroker.send(TransactionBroker.java:224)
        at org.apache.activemq.broker.BrokerFilter.send(BrokerFilter.java:125)
        at org.apache.activemq.broker.CompositeDestinationBroker.send(CompositeDestinationBroker.java:95)
        at org.apache.activemq.broker.MutableBrokerFilter.send(MutableBrokerFilter.java:135)
        at org.apache.activemq.broker.TransportConnection.processMessage(TransportConnection.java:434)
        at org.apache.activemq.command.ActiveMQMessage.visit(ActiveMQMessage.java:623)
        at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:281)
        at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:178)
        at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:67)
        at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:134)
        at org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:126)
        - locked <0xa5d116e8> (a org.apache.activemq.transport.InactivityMonitor$1)
        at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)
        at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:183)
        at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:170)
        at java.lang.Thread.run(Thread.java:619)

using snapshot apache-activemq-5.0-20071022.150246-30

java 1.6.0_01 on linux

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message