On my linux box I'm seeing a test hang

org.apache.geronimo.network.protocol.control.ControlProtocolTest

thread dump:
"VM Thread" prio=1 tid=0x0808fda0 nid=0x7fa4 runnable

"VM Periodic Task Thread" prio=1 tid=0x08099230 nid=0x7fa4 waiting on condition
"Suspend Checker Thread" prio=1 tid=0x08095c48 nid=0x7fa4 runnable
[junit] Full thread dump Java HotSpot(TM) Client VM (1.4.2_02-b03 mixed mode):
[junit]
[junit] "CP " daemon prio=1 tid=0x0829bc88 nid=0x3a7 in Object.wait() [4d351000..4d3518bc]
[junit] at java.lang.Object.wait(Native Method)
[junit] - waiting on <0x44c774a0> (a EDU.oswego.cs.dl.util.concurrent.ClockDaemon)
[junit] at EDU.oswego.cs.dl.util.concurrent.ClockDaemon.nextTask(ClockDaemon.java:3 28)
[junit] - locked <0x44c774a0> (a EDU.oswego.cs.dl.util.concurrent.ClockDaemon)
[junit] at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.jav a:362)
[junit] at java.lang.Thread.run(Thread.java:534)
[junit]
[junit] "SM" prio=1 tid=0x0828acb0 nid=0x3a7 runnable [4d0aa000..4d0aa8bc]
[junit] at sun.nio.ch.PollArrayWrapper.poll0(Native Method)
[junit] at sun.nio.ch.PollArrayWrapper.poll(PollArrayWrapper.java:100)
[junit] at sun.nio.ch.PollSelectorImpl.doSelect(PollSelectorImpl.java:64)
[junit] at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:59)
[junit] - locked <0x44c783e8> (a java.util.HashSet)
[junit] - locked <0x44c783f8> (a java.util.HashSet)
[junit] - locked <0x44c773a8> (a sun.nio.ch.PollSelectorImpl)
[junit] at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:70)
[junit] at org.apache.geronimo.network.SelectorManager.run(SelectorManager.java:137 )
[junit] at java.lang.Thread.run(Thread.java:534)
[junit]
[junit] "Signal Dispatcher" daemon prio=1 tid=0x0808eb40 nid=0x3a7 runnable [0..0]
[junit]
[junit] "Finalizer" daemon prio=1 tid=0x0808a388 nid=0x3a7 in Object.wait() [4c92f000..4c92f8bc]
[junit] at java.lang.Object.wait(Native Method)
[junit] - waiting on <0x44c283d0> (a java.lang.ref.ReferenceQueue$Lock)
[junit] at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
[junit] - locked <0x44c283d0> (a java.lang.ref.ReferenceQueue$Lock)
[junit] at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
[junit] at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
[junit]
[junit] "Reference Handler" daemon prio=1 tid=0x08089710 nid=0x3a7 in Object.wait() [4c8af000..4c8af8bc]
[junit] at java.lang.Object.wait(Native Method)
[junit] - waiting on <0x44c28438> (a java.lang.ref.Reference$Lock)
[junit] at java.lang.Object.wait(Object.java:429)
[junit] at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:115)
[junit] - locked <0x44c28438> (a java.lang.ref.Reference$Lock)
[junit]
[junit] "main" prio=1 tid=0x080537a0 nid=0x3a7 in Object.wait() [bfffc000..bfffd03c]
[junit] at java.lang.Object.wait(Native Method)
[junit] - waiting on <0x44c7c0e0> (a EDU.oswego.cs.dl.util.concurrent.Latch)
[junit] at EDU.oswego.cs.dl.util.concurrent.Latch.attempt(Latch.java:79)
[junit] - locked <0x44c7c0e0> (a EDU.oswego.cs.dl.util.concurrent.Latch)
[junit] at org.apache.geronimo.network.protocol.control.ControlClientProtocolKitche n.sendDown(ControlClientProtocolKitchen.java:
130)
[junit] at org.apache.geronimo.network.protocol.ProtocolStack.sendDown(ProtocolStac k.java:125)
[junit] at org.apache.geronimo.network.protocol.control.ControlProtocolTest.test(Co ntrolProtocolTest.java:136)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39)
[junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25)
[junit] at java.lang.reflect.Method.invoke(Method.java:324)
[junit] at junit.framework.TestCase.runTest(TestCase.java:154)
[junit] at junit.framework.TestCase.runBare(TestCase.java:127)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:106)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:124)
[junit] at junit.framework.TestResult.run(TestResult.java:109)
[junit] at junit.framework.TestCase.run(TestCase.java:118)
[junit] at junit.framework.TestSuite.runTest(TestSuite.java:208)
[junit] at junit.framework.TestSuite.run(TestSuite.java:203)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTe stRunner.java:325)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitT estRunner.java:536)
[junit]
[junit] "VM Thread" prio=1 tid=0x080882e0 nid=0x3a7 runnable
[junit]
[junit] "VM Periodic Task Thread" prio=1 tid=0x08091718 nid=0x3a7 waiting on condition
[junit] "Suspend Checker Thread" prio=1 tid=0x0808e130 nid=0x3a7 runnable


Seems OK on osx.

Any ideas?

thanks
david jencks



Reply via email to