opensubscriber
   Find in this group all groups
 
Unknown more information…

l : log4j-dev@logging.apache.org 26 August 2009 • 6:48PM -0400

DO NOT REPLY [Bug 47740] New: log4j 1.2.15 deadlock RootAppender NDC
by bugzilla

REPLY TO AUTHOR
 
REPLY TO GROUP




https://issues.apache.org/bugzilla/show_bug.cgi?id=47740

           Summary: log4j 1.2.15 deadlock RootAppender NDC
           Product: Log4j
           Version: 1.2
          Platform: HP
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other
        AssignedTo: log4j-dev@logg...
        ReportedBy: ashutoshpunhani@yaho...


--- Comment #0 from ashutoshpunhani@yaho... 2009-08-26 03:48:08 PDT ---
Created an attachment (id=24167)
thread dump

We were using log4j 1.2.8. We were getting deadlocks similar to following.

https://issues.apache.org/bugzilla/show_bug.cgi?id=38137 : Curt, we have also
experienced this exact problem in our production system...We are
currently using log4j 1.2.8...Please retry using log4j 1.2.15

Then we upgraded to log4j 1.2.15. But we still got following deadlock. Please
see attachment for more details.

"RMI TCP Connection(5392)-154.4.160.174" daemon prio=1 tid=0x0000002af80e9110
nid=0x1e26 waiting for monitor entry [0x0000000043182000..0x0000000043183bb0]
    at java.util.Hashtable.get(Hashtable.java:335)
    - waiting to lock <0x0000002aa16b5fb8> (a java.util.Hashtable)
    at org.apache.log4j.NDC.getCurrentStack(NDC.java:135)
    at org.apache.log4j.NDC.get(NDC.java:220)
    at org.apache.log4j.spi.LoggingEvent.getNDC(LoggingEvent.java:303)
    at org.apache.log4j.AsyncAppender.append(AsyncAppender.java:155)
    at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251)
    - locked <0x0000002aa16bf418> (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 <0x0000002aa16c6040> (a org.apache.log4j.spi.RootLogger)
    at org.apache.log4j.Category.forcedLog(Category.java:391)
    at org.apache.log4j.Category.info(Category.java:666)
    at
com.abc.dataExtractor.SLMTDSLFDDataExtractor.extract(SLMTDSLFDDataExtractor.java:192)
    at com.abc.pdfGenerator.PdfGeneratorImpl.start(PdfGeneratorImpl.java:379)
    at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
    at sun.rmi.transport.Transport$1.run(Transport.java:153)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
    at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
    at java.lang.Thread.run(Thread.java:595)

--
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@logg...
For additional commands, e-mail: log4j-dev-help@logg...

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.