Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-322

Endless loop in ThrowableProxy.getCurrentStack

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0-beta8
    • 2.0-beta9
    • None
    • None
    • java version "1.7.0_25"
      OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.13.04.2)
      OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

    Description

      It seems that the getCallerClass method does not skip the frames correctly on OpenJDK, the ThrowableProxy falls into an endless loop which eventually lead to an OutOfMemoryError as it puts the same class into the stack over and over.

      Attachments

        Issue Links

          Activity

            People

              beamerblvd Nick Williams
              mysticfall Xavier Cho
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: