Hi,

cf. attached stacktraces, seems there is still some instability in this
test.. anyone else seen this?

Dag

d...@t61pos:~/java/sb/sb1/foo$ jps
3182 TestStarter
3234 TestRunner
3248 BootLockMinion
3648 Jps
d...@t61pos:~/java/sb/sb1/foo$ jstack 3248
2010-12-09 00:31:27
Full thread dump Java HotSpot(TM) Server VM (14.2-b01 mixed mode):

"Attach Listener" daemon prio=3 tid=0x081c7000 nid=0xf waiting on condition 
[0x00000000]
   java.lang.Thread.State: RUNNABLE

"derby.rawStoreDaemon" daemon prio=3 tid=0x082c1c00 nid=0xe in Object.wait() 
[0xb71ff000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0xf4411b98> (a 
org.apache.derby.impl.services.daemon.BasicDaemon)
        at 
org.apache.derby.impl.services.daemon.BasicDaemon.rest(BasicDaemon.java:571)
        - locked <0xf4411b98> (a 
org.apache.derby.impl.services.daemon.BasicDaemon)
        at 
org.apache.derby.impl.services.daemon.BasicDaemon.run(BasicDaemon.java:388)
        at java.lang.Thread.run(Thread.java:619)

"Timer-0" daemon prio=3 tid=0x082d1400 nid=0xd in Object.wait() [0xb7291000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0xbbec55d0> (a java.util.TaskQueue)
        at java.lang.Object.wait(Object.java:485)
        at java.util.TimerThread.mainLoop(Timer.java:483)
        - locked <0xbbec55d0> (a java.util.TaskQueue)
        at java.util.TimerThread.run(Timer.java:462)

"Low Memory Detector" daemon prio=3 tid=0x08140800 nid=0xb runnable [0x00000000]
   java.lang.Thread.State: RUNNABLE

"CompilerThread1" daemon prio=3 tid=0x0813d400 nid=0xa waiting on condition 
[0x00000000]
   java.lang.Thread.State: RUNNABLE

"CompilerThread0" daemon prio=3 tid=0x0813bc00 nid=0x9 waiting on condition 
[0x00000000]
   java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" daemon prio=3 tid=0x0813a800 nid=0x8 runnable [0x00000000]
   java.lang.Thread.State: RUNNABLE

"Finalizer" daemon prio=3 tid=0x08128400 nid=0x7 in Object.wait() [0xb79ad000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0xbbec9110> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
        - locked <0xbbec9110> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=3 tid=0x08123c00 nid=0x6 in Object.wait() 
[0xb79fe000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0xbbec97b0> (a java.lang.ref.Reference$Lock)
        at java.lang.Object.wait(Object.java:485)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
        - locked <0xbbec97b0> (a java.lang.ref.Reference$Lock)

"main" prio=3 tid=0x08071000 nid=0x2 waiting on condition [0xfe36e000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at 
org.apache.derbyTesting.functionTests.tests.store.BootLockMinion.main(BootLockMinion.java:59)

"VM Thread" prio=3 tid=0x0811fc00 nid=0x5 runnable 

"GC task thread#0 (ParallelGC)" prio=3 tid=0x08077400 nid=0x3 runnable 

"GC task thread#1 (ParallelGC)" prio=3 tid=0x08078c00 nid=0x4 runnable 

"VM Periodic Task Thread" prio=3 tid=0x0814a800 nid=0xc waiting on condition 

JNI global references: 880



d...@t61pos:~/java/sb/sb1/foo$ jstack 3234
2010-12-09 00:32:11
Full thread dump Java HotSpot(TM) Client VM (14.2-b01 mixed mode, sharing):

"Attach Listener" daemon prio=3 tid=0x080e7800 nid=0x37 waiting on condition 
[0x00000000]
   java.lang.Thread.State: RUNNABLE

"process reaper" daemon prio=3 tid=0x084cf800 nid=0x36 runnable [0xfb359000]
   java.lang.Thread.State: RUNNABLE
        at java.lang.UNIXProcess.waitForProcessExit(Native Method)
        at java.lang.UNIXProcess.access$900(UNIXProcess.java:17)
        at java.lang.UNIXProcess$2$1.run(UNIXProcess.java:86)

"derby.rawStoreDaemon" daemon prio=3 tid=0x086b8c00 nid=0x2a in Object.wait() 
[0xfb7ee000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0xc414d730> (a 
org.apache.derby.impl.services.daemon.BasicDaemon)
        at 
org.apache.derby.impl.services.daemon.BasicDaemon.rest(BasicDaemon.java:571)
        - locked <0xc414d730> (a 
org.apache.derby.impl.services.daemon.BasicDaemon)
        at 
org.apache.derby.impl.services.daemon.BasicDaemon.run(BasicDaemon.java:388)
        at java.lang.Thread.run(Thread.java:619)

"derby.rawStoreDaemon" daemon prio=3 tid=0x08455000 nid=0x18 in Object.wait() 
[0xfb44c000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0xc2a2d448> (a 
org.apache.derby.impl.services.daemon.BasicDaemon)
        at 
org.apache.derby.impl.services.daemon.BasicDaemon.rest(BasicDaemon.java:571)
        - locked <0xc2a2d448> (a 
org.apache.derby.impl.services.daemon.BasicDaemon)
        at 
org.apache.derby.impl.services.daemon.BasicDaemon.run(BasicDaemon.java:388)
        at java.lang.Thread.run(Thread.java:619)

"Timer-1" daemon prio=3 tid=0x08324800 nid=0x10 in Object.wait() [0xfb85f000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0xc28bd660> (a java.util.TaskQueue)
        at java.lang.Object.wait(Object.java:485)
        at java.util.TimerThread.mainLoop(Timer.java:483)
        - locked <0xc28bd660> (a java.util.TaskQueue)
        at java.util.TimerThread.run(Timer.java:462)

"Low Memory Detector" daemon prio=3 tid=0x080de800 nid=0x8 runnable [0x00000000]
   java.lang.Thread.State: RUNNABLE

"CompilerThread0" daemon prio=3 tid=0x080dbc00 nid=0x7 waiting on condition 
[0x00000000]
   java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" daemon prio=3 tid=0x080da800 nid=0x6 runnable [0x00000000]
   java.lang.Thread.State: RUNNABLE

"Finalizer" daemon prio=3 tid=0x08098000 nid=0x5 in Object.wait() [0xfc1dc000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0xc27b0238> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
        - locked <0xc27b0238> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=3 tid=0x08096c00 nid=0x4 in Object.wait() 
[0xfc22d000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0xc27b02c0> (a java.lang.ref.Reference$Lock)
        at java.lang.Object.wait(Object.java:485)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
        - locked <0xc27b02c0> (a java.lang.ref.Reference$Lock)

"main" prio=3 tid=0x08071000 nid=0x2 runnable [0xfe6cd000]
   java.lang.Thread.State: RUNNABLE
        at java.io.FileInputStream.readBytes(Native Method)
        at java.io.FileInputStream.read(FileInputStream.java:199)
        at 
java.lang.UNIXProcess$DeferredCloseInputStream.read(UNIXProcess.java:227)
        at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
        at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
        at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
        - locked <0xc16a42d0> (a java.io.InputStreamReader)
        at java.io.InputStreamReader.read(InputStreamReader.java:167)
        at java.io.BufferedReader.fill(BufferedReader.java:136)
        at java.io.BufferedReader.readLine(BufferedReader.java:299)
        - locked <0xc16a42d0> (a java.io.InputStreamReader)
        at java.io.BufferedReader.readLine(BufferedReader.java:362)
        at 
org.apache.derbyTesting.functionTests.tests.store.BootLockTest.waitForMinionBoot(BootLockTest.java:209)
        at 
org.apache.derbyTesting.functionTests.tests.store.BootLockTest.testBootLock(BootLockTest.java:131)
        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:597)
        at junit.framework.TestCase.runTest(TestCase.java:164)
        at junit.framework.TestCase.runBare(TestCase.java:130)
        at 
org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109)
        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:120)
        at junit.framework.TestSuite.runTest(TestSuite.java:230)
        at junit.framework.TestSuite.run(TestSuite.java:225)
        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.extensions.TestSetup.run(TestSetup.java:25)
        at 
org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.extensions.TestSetup.run(TestSetup.java:25)
        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.extensions.TestSetup.run(TestSetup.java:25)
        at junit.framework.TestSuite.runTest(TestSuite.java:230)
        at junit.framework.TestSuite.run(TestSuite.java:225)
        at junit.framework.TestSuite.runTest(TestSuite.java:230)
        at junit.framework.TestSuite.run(TestSuite.java:225)
        at kah.TestRunner.main(TestRunner.java:77)

"VM Thread" prio=3 tid=0x08095000 nid=0x3 runnable 

"VM Periodic Task Thread" prio=3 tid=0x080e1000 nid=0x9 waiting on condition 

JNI global references: 1195

Reply via email to