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=41214>.
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=41214





------- Additional Comments From [EMAIL PROTECTED]  2007-01-30 10:56 -------
I'm very confused about what could be causing this, but here's some more 
information that I have:

* We run the same code with the same JVM version on Linux 2.6, Solaris 
(Sparc/x86), and Windows.
* We see these problems only on Solaris machines (Sparc and x86).
* We have hundreds of unit tests, and they all using logging a lot. In several 
consecutive runs, the exact 
same logging statement as described in Additional Comment #14 caused the 
deadlock, not any other of 
the thousands of logging statements.
* I see one other case during this test run of a deadlock, which is described 
below.
* Ocassionally I will see a similar deadlock in a completely different piece of 
code that has nothing to do 
with log4j. A thread will be sitting in Object.wait(), when I know it must have 
had Object.notify() 
delivered to it. I have never seen this happen with the same unit test on 
Linux/Windows. This unit test 
runs many times a day on all our platforms. This makes me think this problem is 
a very rare bug in 
Solaris JVM or Solaris itself, that is triggered by a specific sequence of 
events in our code. Although that 
seems unlikely...

Here's another instance of our "deadlock":
        at 
org.apache.log4j.helpers.CountingQuietWriter.write(CountingQuietWriter.java:45)
        at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:301)
        at 
org.apache.log4j.RollingFileAppender.subAppend(RollingFileAppender.java:236)
        at org.apache.log4j.WriterAppender.append(WriterAppender.java:159)
        at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230)
        at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders
(AppenderAttachableImpl.java:65)
        at org.apache.log4j.Category.callAppenders(Category.java:203)
        at org.apache.log4j.Category.forcedLog(Category.java:388)
        at org.apache.log4j.Category.log(Category.java:835)
        at com.scalent.shared.util.Logger.log(Logger.java:352)


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

Reply via email to