Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-4808

[LTS] Deep Recursion Causes StackOverflowError in BindingsImpl

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Done
    • AMQ 7.8.0.GA
    • None
    • broker-core
    • None
    • Hide

      TBD

      This is occurring in a test environment with many addresses and many wildcard consumers.

      Show
      TBD This is occurring in a test environment with many addresses and many wildcard consumers.
    • ARTEMIS-3188

    Description

      When working in a clustered environment with many clients / queues, we are periodically seeing a StackOverflowError with apparently deep recursion:

      2021-02-05 15:40:16,591 WARN  [org.apache.activemq.artemis.core.protocol.mqtt.MQTTPublishManager] [@XXXXX@] [#HXXXXX-AMQ1#] null: java.lang.StackOverflowError
              at org.apache.activemq.artemis.core.filter.impl.FilterImpl.access$200(FilterImpl.java:54) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.filter.impl.FilterImpl$FilterableServerMessage.getProperty(FilterImpl.java:235) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.selector.filter.PropertyExpression.evaluate(PropertyExpression.java:40) [artemis-selector-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.selector.filter.ComparisonExpression$1.evaluate(ComparisonExpression.java:219) [artemis-selector-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.selector.filter.LogicExpression$1.evaluate(LogicExpression.java:40) [artemis-selector-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.selector.filter.UnaryExpression$3.evaluate(UnaryExpression.java:135) [artemis-selector-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.selector.filter.UnaryExpression$BooleanUnaryExpression.matches(UnaryExpression.java:126) [artemis-selector-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.filter.impl.FilterImpl.match(FilterImpl.java:122) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.filter.impl.FilterImpl.match(FilterImpl.java:110) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:438) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
              at org.apache.activemq.artemis.core.postoffice.impl.BindingsImpl.getNextBinding(BindingsImpl.java:490) [artemis-server-2.16.0.redhat-00007.jar:2.16.0.redhat-00007]
      ...
      (last line is repeated 1040 or so times)
      

      Attachments

        Issue Links

          Activity

            People

              gtully@redhat.com Gary Tully
              rhn-support-dhawkins Duane Hawkins
              Roman Vais Roman Vais
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: