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 bu...@apache.org on 2010/08/22 14:19:27 UTC
DO NOT REPLY [Bug 49797] New: DeadLock in AsyncAppenders
https://issues.apache.org/bugzilla/show_bug.cgi?id=49797
Summary: DeadLock in AsyncAppenders
Product: Log4j
Version: 1.2
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: critical
Priority: P2
Component: Appender
AssignedTo: log4j-dev@logging.apache.org
ReportedBy: glraj80@gmail.com
I can see a deadlock in AsyncAppender
at org.apache.log4j.AsyncAppender.append(AsyncAppender.java:165) - waiting to
lock [0xb0cecda8] (a java.util.ArrayList) at
org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251) - locked
[0xab623920] (a org.apache.log4j.AsyncAppender) at
org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66)
at org.apache.log4j.Category.callAppenders(Category.java:206) - locked
[0x4ccb0548] (a org.apache.log4j.Logger) at
org.apache.log4j.Category.forcedLog(Category.java:391) at
org.apache.log4j.Category.info(Category.java:666) at
com.citi.ucs.util.LogEventFactory.logEvent(LogEventFactory.java:64)
This might be related to Bug 45915
https://issues.apache.org/bugzilla/show_bug.cgi?id=45915
But we are not using any recursive logging in our code like the one used in the
bug 45915 but still we see the issue.
Sorry for ignorance if any.
Thanks,
Raj
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
DO NOT REPLY [Bug 49797] AsyncAppenders Enchancement
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49797
Raj gurupackiam <gl...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|DeadLock in AsyncAppenders |AsyncAppenders Enchancement
Severity|critical |enhancement
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org