apache / apache/lucene

Scary "read past EOF" in RAMDir [LUCENE-5849]

Open
#6,911 9 comments 0 reactions 0 assignees View on GitHub
legacy-jira-priority:Major type:bug
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

Nightly build hit this: http://builds.flonkings.com/job/Lucene-trunk-Linux-Java7-64-test-only/91095

And I'm able to repro at least once after beasting w/ the right JVM (1.7.0_55) and G1GC.

---
Migrated from [LUCENE-5849](https://issues.apache.org/jira/browse/LUCENE-5849) by Michael McCandless (@mikemccand), updated Jul 30 2014
Attachments: [TestBinaryDocIndex.java](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-5849/TestBinaryDocIndex.java)

Contributor guide

Open the contributing guide

Research direction

Start with the linked nightly-build report and the attached TestBinaryDocIndex.java, then trace the RAMDir code involved in the reported read-past-EOF condition. Reproduce it with the stated Java 1.7.0_55 and G1GC environment if available. The issue does not define a specific expected fix or completion test, so the scope needs clarification before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.