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: [email protected]
        ReportedBy: [email protected]


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to