You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mike Drob (JIRA)" <ji...@apache.org> on 2015/07/22 21:20:06 UTC

[jira] [Commented] (LUCENE-6692) AIOOB in ByteSliceReader.nextSlice (negative index)

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

Mike Drob commented on LUCENE-6692:
-----------------------------------

Related to LUCENE-6327 ?

> AIOOB in ByteSliceReader.nextSlice (negative index)
> ---------------------------------------------------
>
>                 Key: LUCENE-6692
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6692
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: 5.1
>            Reporter: Dawid Weiss
>            Assignee: Dawid Weiss
>            Priority: Minor
>
> Happened to me during heavy multithreaded indexing. Can be a bitflip or something, can't say for sure. Not reproducible.
> {code}
> 	Caused by: java.lang.ArrayIndexOutOfBoundsException: -59357
> 		at org.apache.lucene.index.ByteSliceReader.nextSlice(ByteSliceReader.java:109)
> 		at org.apache.lucene.index.ByteSliceReader.readByte(ByteSliceReader.java:76)
> 		at org.apache.lucene.store.DataInput.readVInt(DataInput.java:125)
> 		at org.apache.lucene.index.FreqProxFields$FreqProxPostingsEnum.nextDoc(FreqProxFields.java:473)
> 		at org.apache.lucene.codecs.PushPostingsWriterBase.writeTerm(PushPostingsWriterBase.java:128)
> 		at org.apache.lucene.codecs.blocktree.BlockTreeTermsWriter$TermsWriter.write(BlockTreeTermsWriter.java:847)
> 		at org.apache.lucene.codecs.blocktree.BlockTreeTermsWriter.write(BlockTreeTermsWriter.java:335)
> 		at org.apache.lucene.codecs.perfield.PerFieldPostingsFormat$FieldsWriter.write(PerFieldPostingsFormat.java:198)
> 		at org.apache.lucene.index.FreqProxTermsWriter.flush(FreqProxTermsWriter.java:107)
> 		at org.apache.lucene.index.DefaultIndexingChain.flush(DefaultIndexingChain.java:112)
> 		at org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:420)
> 		at org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:512)
> 		at org.apache.lucene.index.DocumentsWriter.postUpdate(DocumentsWriter.java:382)
> 		at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:475)
> 		at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1350)
> {code}
> More context:
> {code}
> os.arch: amd64
> os.name: Windows 7
> os.version: 6.1 
> java.runtime.name: Java(TM) SE Runtime Environment
> java.runtime.version: 1.8.0_51-b16
> java.specification.name: Java Platform API Specification
> java.specification.vendor: Oracle Corporation
> java.specification.version: 1.8
> java.vendor: Oracle Corporation
> java.vendor.url: http://java.oracle.com/
> java.vendor.url.bug: http://bugreport.sun.com/bugreport/
> java.version: 1.8.0_51
> java.vm.info: mixed mode
> java.vm.name: Java HotSpot(TM) 64-Bit Server VM
> java.vm.specification.name: Java Virtual Machine Specification
> java.vm.specification.vendor: Oracle Corporation
> java.vm.specification.version: 1.8
> java.vm.vendor: Oracle Corporation
> java.vm.version: 25.51-b03 
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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