lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3528) TestNRTManager hang
Date Sat, 05 Nov 2011 14:58:51 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-3528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144706#comment-13144706
] 

Michael McCandless commented on LUCENE-3528:
--------------------------------------------

Hmm I hit a hang too, running with:
{noformat}
ant test -Dtestcase=TestNRTManager -Dtestmethod=testNRTManager -Dtests.seed=2aa27e1aec20c4a2:-4a5a5ecf46837d0e:-7c4f651f1f0b75d7
-Dtests.multiplier=3 -Dtests.nightly=true
{noformat}

Slightly different trace:

{noformat}

    [junit] Testsuite: org.apache.lucene.index.TestNRTManager
    [junit] 2011-11-05 10:53:55
    [junit] Full thread dump Java HotSpot(TM) 64-Bit Server VM (17.0-b16 mixed mode):
    [junit] 
    [junit] "Low Memory Detector" daemon prio=10 tid=0x00007fd41c0ae000 nid=0x21a5 runnable
[0x0000000000000000]
    [junit]    java.lang.Thread.State: RUNNABLE
    [junit] 
    [junit] "CompilerThread1" daemon prio=10 tid=0x00007fd41c0ac000 nid=0x21a4 waiting on
condition [0x0000000000000000]
    [junit]    java.lang.Thread.State: RUNNABLE
    [junit] 
    [junit] "CompilerThread0" daemon prio=10 tid=0x00007fd41c0a9000 nid=0x21a3 waiting on
condition [0x0000000000000000]
    [junit]    java.lang.Thread.State: RUNNABLE
    [junit] 
    [junit] "Signal Dispatcher" daemon prio=10 tid=0x00007fd41c0a7000 nid=0x21a2 waiting on
condition [0x0000000000000000]
    [junit]    java.lang.Thread.State: RUNNABLE
    [junit] 
    [junit] "Finalizer" daemon prio=10 tid=0x00007fd41c088000 nid=0x21a1 in Object.wait()
[0x00007fd3f36f9000]
    [junit]    java.lang.Thread.State: WAITING (on object monitor)
    [junit] 	at java.lang.Object.wait(Native Method)
    [junit] 	- waiting on <0x00007fd4114a0448> (a java.lang.ref.ReferenceQueue$Lock)
    [junit] 	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
    [junit] 	- locked <0x00007fd4114a0448> (a java.lang.ref.ReferenceQueue$Lock)
    [junit] 	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
    [junit] 	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
    [junit] 
    [junit] "Reference Handler" daemon prio=10 tid=0x00007fd41c086000 nid=0x21a0 in Object.wait()
[0x00007fd3f37fa000]
    [junit]    java.lang.Thread.State: WAITING (on object monitor)
    [junit] 	at java.lang.Object.wait(Native Method)
    [junit] 	- waiting on <0x00007fd4114a8028> (a java.lang.ref.Reference$Lock)
    [junit] 	at java.lang.Object.wait(Object.java:485)
    [junit] 	at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
    [junit] 	- locked <0x00007fd4114a8028> (a java.lang.ref.Reference$Lock)
    [junit] 
    [junit] "main" prio=10 tid=0x00007fd41c009800 nid=0x218c waiting on condition [0x00007fd422ef8000]
    [junit]    java.lang.Thread.State: WAITING (parking)
    [junit] 	at sun.misc.Unsafe.park(Native Method)
    [junit] 	- parking to wait for  <0x00007fd40f557ff8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
    [junit] 	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
    [junit] 	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1987)
    [junit] 	at org.apache.lucene.index.NRTManager.waitOnGenCondition(NRTManager.java:251)
    [junit] 	at org.apache.lucene.index.NRTManager.waitForGeneration(NRTManager.java:232)
    [junit] 	at org.apache.lucene.index.NRTManager.waitForGeneration(NRTManager.java:196)
    [junit] 	at org.apache.lucene.index.TestNRTManager.getFinalSearcher(TestNRTManager.java:47)
    [junit] 	at org.apache.lucene.index.ThreadedIndexingAndSearchingTestCase.runTest(ThreadedIndexingAndSearchingTestCase.java:524)
    [junit] 	at org.apache.lucene.index.TestNRTManager.testNRTManager(TestNRTManager.java:39)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit] 	at java.lang.reflect.Method.invoke(Method.java:597)
    [junit] 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    [junit] 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    [junit] 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    [junit] 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    [junit] 	at org.junit.rules.TestWatchman$1.evaluate(TestWatchman.java:48)
    [junit] 	at org.apache.lucene.util.LuceneTestCase$3$1.evaluate(LuceneTestCase.java:508)
    [junit] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    [junit] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    [junit] 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
    [junit] 	at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:149)
    [junit] 	at org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:51)
    [junit] 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    [junit] 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    [junit] 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    [junit] 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    [junit] 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    [junit] 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    [junit] 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    [junit] 	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    [junit] 	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
    [junit] 
    [junit] "VM Thread" prio=10 tid=0x00007fd41c081800 nid=0x219f runnable 
    [junit] 
    [junit] "GC task thread#0 (ParallelGC)" prio=10 tid=0x00007fd41c01c800 nid=0x218d runnable

    [junit] 
    [junit] "GC task thread#1 (ParallelGC)" prio=10 tid=0x00007fd41c01e000 nid=0x218e runnable

    [junit] 
    [junit] "GC task thread#2 (ParallelGC)" prio=10 tid=0x00007fd41c020000 nid=0x218f runnable

    [junit] 
    [junit] "GC task thread#3 (ParallelGC)" prio=10 tid=0x00007fd41c021800 nid=0x2190 runnable

    [junit] 
    [junit] "GC task thread#4 (ParallelGC)" prio=10 tid=0x00007fd41c023800 nid=0x2191 runnable

    [junit] 
    [junit] "GC task thread#5 (ParallelGC)" prio=10 tid=0x00007fd41c025800 nid=0x2192 runnable

    [junit] 
    [junit] "GC task thread#6 (ParallelGC)" prio=10 tid=0x00007fd41c027000 nid=0x2193 runnable

    [junit] 
    [junit] "GC task thread#7 (ParallelGC)" prio=10 tid=0x00007fd41c029000 nid=0x2194 runnable

    [junit] 
    [junit] "GC task thread#8 (ParallelGC)" prio=10 tid=0x00007fd41c02b000 nid=0x2195 runnable

    [junit] 
    [junit] "GC task thread#9 (ParallelGC)" prio=10 tid=0x00007fd41c02c800 nid=0x2196 runnable

    [junit] 
    [junit] "GC task thread#10 (ParallelGC)" prio=10 tid=0x00007fd41c02e800 nid=0x2197 runnable

    [junit] 
    [junit] "GC task thread#11 (ParallelGC)" prio=10 tid=0x00007fd41c030800 nid=0x2198 runnable

    [junit] 
    [junit] "GC task thread#12 (ParallelGC)" prio=10 tid=0x00007fd41c032000 nid=0x2199 runnable

    [junit] 
    [junit] "GC task thread#13 (ParallelGC)" prio=10 tid=0x00007fd41c034000 nid=0x219a runnable

    [junit] 
    [junit] "GC task thread#14 (ParallelGC)" prio=10 tid=0x00007fd41c036000 nid=0x219b runnable

    [junit] 
    [junit] "GC task thread#15 (ParallelGC)" prio=10 tid=0x00007fd41c037800 nid=0x219c runnable

    [junit] 
    [junit] "GC task thread#16 (ParallelGC)" prio=10 tid=0x00007fd41c039800 nid=0x219d runnable

    [junit] 
    [junit] "GC task thread#17 (ParallelGC)" prio=10 tid=0x00007fd41c03b000 nid=0x219e runnable

    [junit] 
    [junit] "VM Periodic Task Thread" prio=10 tid=0x00007fd41c0c0800 nid=0x21a6 waiting on
condition 
    [junit] 
    [junit] JNI global references: 1054
    [junit] 
    [junit] Heap
    [junit]  PSYoungGen      total 56448K, used 35319K [0x00007fd40e560000, 0x00007fd4153a0000,
0x00007fd419000000)
    [junit]   eden space 48384K, 56% used [0x00007fd40e560000,0x00007fd4100010d8,0x00007fd4114a0000)
    [junit]   from space 8064K, 99% used [0x00007fd4114a0000,0x00007fd411c7cc68,0x00007fd411c80000)
    [junit]   to   space 8064K, 0% used [0x00007fd414bc0000,0x00007fd414bc0000,0x00007fd4153a0000)
    [junit]  PSOldGen        total 129088K, used 21713K [0x00007fd3f9000000, 0x00007fd400e10000,
0x00007fd40e560000)
    [junit]   object space 129088K, 16% used [0x00007fd3f9000000,0x00007fd3fa534438,0x00007fd400e10000)
    [junit]  PSPermGen       total 21248K, used 10801K [0x00007fd3f3c00000, 0x00007fd3f50c0000,
0x00007fd3f9000000)
    [junit]   object space 21248K, 50% used [0x00007fd3f3c00000,0x00007fd3f468c5c8,0x00007fd3f50c0000)
    [junit] 
{noformat}

                
> TestNRTManager hang
> -------------------
>
>                 Key: LUCENE-3528
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3528
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>
> didn't check 3.x yet, just encountered this one running the tests

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message