Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-8439

Stack overflow during logging

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • qpid-java-broker-7.0.6
    • None
    • Broker-J
    • None

    Description

      We are occasionally seeing stack overflow during logging in QPid. This completely kills the broker because some data structure are not initialized correctly any more afterwards. The problems lies in the combination of SLf4j use in QPid and the logging in the BDB implementation. BDB is configured using the Slf4jLoggingHandler in org.apache.qpid.server.store.berkeleydb.StandardEnvironmentFacade.StandardEnvironmentFacade(StandardEnvironmentConfiguration) which eventually ends up at the JDK logger (at least in our setup). However, BDB has a com.sleepycat.je.utilint.ConfiguredRedirectHandler which is appended to the the JDK logger and logs records from it to the configured Slf4jLoggingHandler. Which in turn forwards them to the JDK logger and there it starts again. The error is so obvious which makes me wonder why nobody else has reported it before. Is there some kind of configuration that we have set wrong?

      Attachments

        1. catalina.out
          85 kB
          Thorsten Meinl

        Activity

          People

            Unassigned Unassigned
            sithmein Thorsten Meinl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: