You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2010/09/20 22:08:34 UTC

[jira] Updated: (LUCENE-2658) TestIndexWriterExceptions random failure: AIOOBE in ByteBlockPool.allocSlice

     [ https://issues.apache.org/jira/browse/LUCENE-2658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir updated LUCENE-2658:
--------------------------------

    Attachment: LUCENE-2658_environment.patch

attached is my current modifications to trunk (unrelated to this failure completely)

this is because, i have a "single test seed" that controls all behavior, so i want to make sure the random seed i give you will actually work.

if you apply the patch, just run 

ant test-core -Dtestcase=TestIndexWriterExceptions -Dtests.seed=1285011726042

{noformat}

junit-sequential:
    [junit] Testsuite: org.apache.lucene.index.TestIndexWriterExceptions
    [junit] Testcase: testRandomExceptionsThreads(org.apache.lucene.index.TestIndexWriterExceptions):   FAILED
    [junit] thread Indexer 0: hit unexpected failure
    [junit] junit.framework.AssertionFailedError: thread Indexer 0: hit unexpected failure
    [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:773)
    [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:746)
    [junit]     at org.apache.lucene.index.TestIndexWriterExceptions.testRandomExceptionsThreads(TestIndexWriterExceptio
ns.java:195)
    [junit]
    [junit]
    [junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 1.257 sec
    [junit]
    [junit] ------------- Standard Output ---------------
    [junit] Indexer 2: unexpected exception3
    [junit] java.lang.ArrayIndexOutOfBoundsException: 483
    [junit]     at org.apache.lucene.index.ByteSliceReader.nextSlice(ByteSliceReader.java:108)
    [junit]     at org.apache.lucene.index.ByteSliceReader.writeTo(ByteSliceReader.java:90)
    [junit]     at org.apache.lucene.index.TermVectorsTermsWriterPerField.finish(TermVectorsTermsWriterPerField.java:186
)
    [junit]     at org.apache.lucene.index.TermsHashPerField.finish(TermsHashPerField.java:552)
    [junit]     at org.apache.lucene.index.TermsHashPerField.finish(TermsHashPerField.java:554)
    [junit]     at org.apache.lucene.index.DocInverterPerField.processFields(DocInverterPerField.java:208)
    [junit]     at org.apache.lucene.index.DocFieldProcessorPerThread.processDocument(DocFieldProcessorPerThread.java:24
8)
    [junit]     at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:839)
    [junit]     at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:820)
    [junit]     at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:2162)
    [junit]     at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:2134)
    [junit]     at org.apache.lucene.index.TestIndexWriterExceptions$IndexerThread.run(TestIndexWriterExceptions.java:98
)
    [junit] Indexer 0: unexpected exception3
    [junit] java.lang.ArrayIndexOutOfBoundsException: 507
    [junit]     at org.apache.lucene.index.ByteSliceReader.nextSlice(ByteSliceReader.java:108)
    [junit]     at org.apache.lucene.index.ByteSliceReader.writeTo(ByteSliceReader.java:90)
    [junit]     at org.apache.lucene.index.TermVectorsTermsWriterPerField.finish(TermVectorsTermsWriterPerField.java:186
)
    [junit]     at org.apache.lucene.index.TermsHashPerField.finish(TermsHashPerField.java:552)
    [junit]     at org.apache.lucene.index.TermsHashPerField.finish(TermsHashPerField.java:554)
    [junit]     at org.apache.lucene.index.DocInverterPerField.processFields(DocInverterPerField.java:208)
    [junit]     at org.apache.lucene.index.DocFieldProcessorPerThread.processDocument(DocFieldProcessorPerThread.java:24
8)
    [junit]     at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:839)
    [junit]     at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:820)
    [junit]     at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:2162)
    [junit]     at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:2134)
    [junit]     at org.apache.lucene.index.TestIndexWriterExceptions$IndexerThread.run(TestIndexWriterExceptions.java:98
)
    [junit] Indexer 1: unexpected exception3
    [junit] java.lang.ArrayIndexOutOfBoundsException: 15
    [junit]     at org.apache.lucene.index.ByteBlockPool.allocSlice(ByteBlockPool.java:122)
    [junit]     at org.apache.lucene.index.TermsHashPerField.writeByte(TermsHashPerField.java:526)
    [junit]     at org.apache.lucene.index.TermsHashPerField.writeVInt(TermsHashPerField.java:547)
    [junit]     at org.apache.lucene.index.TermVectorsTermsWriterPerField.newTerm(TermVectorsTermsWriterPerField.java:22
5)
    [junit]     at org.apache.lucene.index.TermsHashPerField.add(TermsHashPerField.java:375)
    [junit]     at org.apache.lucene.index.TermsHashPerField.add(TermsHashPerField.java:513)
    [junit]     at org.apache.lucene.index.DocInverterPerField.processFields(DocInverterPerField.java:173)
    [junit]     at org.apache.lucene.index.DocFieldProcessorPerThread.processDocument(DocFieldProcessorPerThread.java:24
8)
    [junit]     at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:839)
    [junit]     at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:820)
    [junit]     at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:2162)
    [junit]     at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:2134)
    [junit]     at org.apache.lucene.index.TestIndexWriterExceptions$IndexerThread.run(TestIndexWriterExceptions.java:98
)
    [junit] Indexer 3: unexpected exception3
    [junit] java.lang.ArrayIndexOutOfBoundsException: 15
    [junit]     at org.apache.lucene.index.ByteBlockPool.allocSlice(ByteBlockPool.java:122)
    [junit]     at org.apache.lucene.index.TermsHashPerField.writeByte(TermsHashPerField.java:526)
    [junit]     at org.apache.lucene.index.TermsHashPerField.writeVInt(TermsHashPerField.java:547)
    [junit]     at org.apache.lucene.index.TermVectorsTermsWriterPerField.newTerm(TermVectorsTermsWriterPerField.java:22
5)
    [junit]     at org.apache.lucene.index.TermsHashPerField.add(TermsHashPerField.java:375)
    [junit]     at org.apache.lucene.index.TermsHashPerField.add(TermsHashPerField.java:513)
    [junit]     at org.apache.lucene.index.DocInverterPerField.processFields(DocInverterPerField.java:173)
    [junit]     at org.apache.lucene.index.DocFieldProcessorPerThread.processDocument(DocFieldProcessorPerThread.java:24
8)
    [junit]     at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:839)
    [junit]     at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:820)
    [junit]     at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:2162)
    [junit]     at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:2134)
    [junit]     at org.apache.lucene.index.TestIndexWriterExceptions$IndexerThread.run(TestIndexWriterExceptions.java:98
)
    [junit] NOTE: random codec of testcase 'testRandomExceptionsThreads' was: MockVariableIntBlock(baseBlockSize=67)
    [junit] NOTE: random locale of testcase 'testRandomExceptionsThreads' was: ar_AE
    [junit] NOTE: random timezone of testcase 'testRandomExceptionsThreads' was: America/Winnipeg
    [junit] ------------- ---------------- ---------------
    [junit] Test org.apache.lucene.index.TestIndexWriterExceptions FAILED
{noformat}

> TestIndexWriterExceptions random failure: AIOOBE in ByteBlockPool.allocSlice
> ----------------------------------------------------------------------------
>
>                 Key: LUCENE-2658
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2658
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>            Reporter: Robert Muir
>         Attachments: LUCENE-2658_environment.patch
>
>
> TestIndexWriterExceptions threw this today, and its reproducable

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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