ImmediateMessageTest Hang
-------------------------
Key: QPID-615
URL: https://issues.apache.org/jira/browse/QPID-615
Project: Qpid
Issue Type: Bug
Affects Versions: M2, M2.1
Reporter: Martin Ritchie
I've seen this test hang twice now. This the stack trace from the hang. It
appears to be waiting for a frame which I would expect to timeout. Thing is it
doesn't timeout.
Running org.apache.qpid.server.exchange.ImmediateMessageTest
Full thread dump Java HotSpot(TM) Client VM (1.5.0_08-b03 mixed mode, sharing):
"VmPipeIdleStatusChecker" daemon prio=6 tid=0x0320afb8 nid=0xec0 waiting on
condition [0x0330f000..0x0330fb68]
at java.lang.Thread.sleep(Native Method)
at
org.apache.mina.transport.vmpipe.support.VmPipeIdleStatusChecker$Worker.run(VmPipeIdleStatusChecker
.java:74)
"PooledByteBufferExpirer-0" daemon prio=6 tid=0x02fa62f0 nid=0x1290 waiting on
condition [0x032cf000..0x032cfb
e8]
at java.lang.Thread.sleep(Native Method)
at
org.apache.mina.common.PooledByteBufferAllocator$Expirer.run(PooledByteBufferAllocator.java:277)
"Low Memory Detector" daemon prio=6 tid=0x00a71aa0 nid=0x14dc runnable
[0x00000000..0x00000000]
"CompilerThread0" daemon prio=10 tid=0x00a70688 nid=0xbe4 waiting on condition
[0x00000000..0x02c0fa48]
"Signal Dispatcher" daemon prio=10 tid=0x00a6f9f8 nid=0x69c waiting on
condition [0x00000000..0x00000000]
"Finalizer" daemon prio=8 tid=0x00a42908 nid=0xe44 in Object.wait()
[0x02b8f000..0x02b8fa68]
at java.lang.Object.wait(Native Method)
- waiting on <0x23078668> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
- locked <0x23078668> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
"Reference Handler" daemon prio=10 tid=0x0003fb30 nid=0xac0 in Object.wait()
[0x02b4f000..0x02b4fae8]
at java.lang.Object.wait(Native Method)
- waiting on <0x230786e8> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:474)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
- locked <0x230786e8> (a java.lang.ref.Reference$Lock)
"main" prio=6 tid=0x00036c80 nid=0x1408 in Object.wait()
[0x0007e000..0x0007fc3c]
at java.lang.Object.wait(Native Method)
- waiting on <0x22ba1c20> (a java.lang.Object)
at
org.apache.qpid.client.protocol.BlockingMethodFrameListener.blockForFrame(BlockingMethodFrameListen
er.java:175)
- locked <0x22ba1c20> (a java.lang.Object)
at
org.apache.qpid.client.protocol.AMQProtocolHandler.writeCommandFrameAndWaitForReply(AMQProtocolHand
ler.java:570)
at
org.apache.qpid.client.protocol.AMQProtocolHandler.syncWrite(AMQProtocolHandler.java:597)
at org.apache.qpid.client.AMQSession.close(AMQSession.java:545)
- locked <0x23d2a7d8> (a java.lang.Object)
- locked <0x22ca0bb0> (a java.lang.Object)
at
org.apache.qpid.client.AMQConnection.closeAllSessions(AMQConnection.java:883)
at org.apache.qpid.client.AMQConnection.close(AMQConnection.java:790)
- locked <0x23d2a7d8> (a java.lang.Object)
- locked <0x23d2f550> (a java.lang.Object)
at org.apache.qpid.client.AMQConnection.close(AMQConnection.java:776)
- locked <0x22ca0bb0> (a java.lang.Object)
- locked <0x23d2f550> (a java.lang.Object)
at org.apache.qpid.client.AMQConnection.close(AMQConnection.java:776)
- locked <0x22ca6408> (a java.lang.Object)
- locked <0x23d2f550> (a java.lang.Object)
at org.apache.qpid.client.AMQConnection.close(AMQConnection.java:764)
at org.apache.qpid.client.AMQConnection.close(AMQConnection.java:759)
at
org.apache.qpid.test.framework.localcircuit.LocalCircuitImpl.close(LocalCircuitImpl.java:341)
at
org.apache.qpid.test.framework.localcircuit.LocalCircuitImpl.test(LocalCircuitImpl.java:413)
at
org.apache.qpid.server.exchange.ImmediateMessageTest.test_QPID_517_ImmediateOkTxPubSub(ImmediateMes
sageTest.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
uk.co.thebadgerset.junit.extensions.AsymptoticTestCase.runTest(AsymptoticTestCase.java:255)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuit
e.java:135)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:
122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at
org.apache.maven.surefire.booter.SurefireBooter.run(SurefireBooter.java:139)
at
org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:376)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecut
or.java:480)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleEx
ecutor.java:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.ja
va:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
"VM Thread" prio=10 tid=0x00a40a98 nid=0x1050 runnable
"VM Periodic Task Thread" prio=10 tid=0x00a72cf0 nid=0x1698 waiting on condition
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.