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

Stack overflow during logging

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: qpid-java-broker-7.0.6
    • Fix Version/s: None
    • Component/s: Broker-J
    • Labels:
      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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sithmein Thorsten Meinl

              Dates

              • Created:
                Updated:

                Issue deployment