You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Xavier Cho (JIRA)" <ji...@apache.org> on 2013/07/28 04:01:50 UTC

[jira] [Created] (LOG4J2-322) Endless loop in ThrowableProxy.getCurrentStack

Xavier Cho created LOG4J2-322:
---------------------------------

             Summary: Endless loop in ThrowableProxy.getCurrentStack
                 Key: LOG4J2-322
                 URL: https://issues.apache.org/jira/browse/LOG4J2-322
             Project: Log4j 2
          Issue Type: Bug
    Affects Versions: 2.0-beta8
         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)
            Reporter: Xavier Cho
            Priority: Critical


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.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org