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

Endless loop in ThrowableProxy.getCurrentStack

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta8
    • Fix Version/s: 2.0-beta9
    • Component/s: None
    • Labels:
      None
    • Environment:

      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

              • Assignee:
                beamerblvd Nick Williams
                Reporter:
                mysticfall Xavier Cho
              • Votes:
                3 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: