logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41274] New: - Deadlock using log4j
Date Tue, 02 Jan 2007 07:30:11 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41274>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41274

           Summary: Deadlock using log4j
           Product: Log4j
           Version: 1.2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P1
         Component: Appender
        AssignedTo: log4j-dev@logging.apache.org
        ReportedBy: ravitx12@yahoo.com
                CC: ravitx12@yahoo.com


I'm getting a dead lock as follows, wondering if this is a known issue or if a
fix is available in a later release.

Please let me know if you need more information.

Found one Java-level deadlock:
=============================
"SW_WORKER.12":
  waiting to lock monitor 0x08777644 (object 0xce2f6478, a
org.apache.log4j.spi.RootLogger),
  which is held by "SW_WORKER.13"
"SW_WORKER.13":
  waiting to lock monitor 0x08777604 (object 0xce3ac200, a
com.aol.jwal.sapi.KSLog$Appender),
  which is held by "SW_WORKER.12"

Java stack information for the threads listed above:
===================================================
"SW_WORKER.12":
    at org.apache.log4j.Category.callAppenders(Category.java:193)
    - waiting to lock <0xce2f6478> (a org.apache.log4j.spi.RootLogger)
    at org.apache.log4j.Category.forcedLog(Category.java:379)
    at org.apache.log4j.Category.debug(Category.java:248)
    at com.aol.jwal.sapi.PreemptorPipe.Preempt(PreemptorPipe.java:69)
    at com.aol.jwal.sapi.NTKRunFIFO.schedule(NTKRunFIFO.java:158)
    at com.aol.jwal.sapi.KSLog$Appender$Writer.done(KSLog.java:357)
    at com.aol.jwal.sapi.KSLog$Appender.append(KSLog.java:292)
    at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:221)
    - locked <0xce3ac200> (a com.aol.jwal.sapi.KSLog$Appender)
    at
org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:57)
    at org.apache.log4j.Category.callAppenders(Category.java:194)
    - locked <0xce399418> (a org.apache.log4j.Logger)
    at org.apache.log4j.Category.forcedLog(Category.java:379)
    at org.apache.log4j.Category.debug(Category.java:248)
    at com.aol.jdb.somldb.SomlDbToJdbc.handleInt(SomlDbToJdbc.java:220)
    at com.aol.jdb.somldb.SomlDbToJdbc.fillArguments(SomlDbToJdbc.java:87)
    at com.aol.jdb.source.SomlDbSpSource.fillArguments(SomlDbSpSource.java:79)
    at com.aol.jdb.source.SomlDbSourceBase.processRequest(SomlDbSourceBase.java:110)
    at com.aol.jdb.source.SomlDbSourceBase.perform(SomlDbSourceBase.java:81)
    at com.aol.jdb.service.JdbServiceBase.processRequest(JdbServiceBase.java:70)
    at
com.aol.jdb.somldb.SomlDbRequestProcessor.processRequest(SomlDbRequestProcessor.java:38)
    at com.aol.jdb.somldb.SomldbJdbRequest.process(SomldbJdbRequest.java:49)
    at com.aol.jdb.engine.Worker.run(Worker.java:106)
"SW_WORKER.13":
    at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:201)
    - waiting to lock <0xce3ac200> (a com.aol.jwal.sapi.KSLog$Appender)
    at
org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:57)
    at org.apache.log4j.Category.callAppenders(Category.java:194)
    - locked <0xce2f6478> (a org.apache.log4j.spi.RootLogger)
    at org.apache.log4j.Category.forcedLog(Category.java:379)
    at org.apache.log4j.Category.debug(Category.java:248)
    at com.aol.jwal.sapi.PreemptorPipe.Preempt(PreemptorPipe.java:69)
    at com.aol.jwal.sapi.NTKRunFIFO.schedule(NTKRunFIFO.java:158)
    at
com.aol.jwal.sapi.channels.QMIChannelBase$MessageSender.sendASAP(QMIChannelBase.java:138)
    at com.aol.jwal.sapi.channels.QMIChannel.sendMessage(QMIChannel.java:43)
    at com.aol.jdb.somldb.ResultDispatcher.sendOverQMI(ResultDispatcher.java:151)
    at com.aol.jdb.somldb.ResultDispatcher.dispatch(ResultDispatcher.java:134)
    at com.aol.jdb.somldb.SomlDbResponse.dispatch(SomlDbResponse.java:267)
    at com.aol.jdb.source.SomlDbSourceBase.processRequest(SomlDbSourceBase.java:170)
    at com.aol.jdb.source.SomlDbSourceBase.perform(SomlDbSourceBase.java:81)
    at com.aol.jdb.service.JdbServiceBase.processRequest(JdbServiceBase.java:70)
    at
com.aol.jdb.somldb.SomlDbRequestProcessor.processRequest(SomlDbRequestProcessor.java:38)
    at com.aol.jdb.somldb.SomldbJdbRequest.process(SomldbJdbRequest.java:49)
    at com.aol.jdb.engine.Worker.run(Worker.java:106)

Found 1 deadlock.

Thanks
Ravi

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message