logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Williams (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-322) Endless loop in ThrowableProxy.getCurrentStack
Date Sun, 28 Jul 2013 02:09:49 GMT

    [ https://issues.apache.org/jira/browse/LOG4J2-322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13721823#comment-13721823

Nick Williams commented on LOG4J2-322:

Reflection#getCallerClass(int) changed as of Java 1.7.0_25 and Java 1.8. We are currently
working on a fix and replacement. See http://mail.openjdk.java.net/pipermail/core-libs-dev/2013-July/019334.html,
http://log4j.markmail.org/thread/uoowctmmm7mo4fkw, and http://log4j.markmail.org/thread/txcb456wupe35l6u.
> 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

View raw message