apache / apache/lucene

JVM crash in RamUsageEstimator.measureObjectSize(Ljava/lang/Object;) [LUCENE-5652]

Open
#6,714 2 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

I hit this JVM crash when running Lucene's tests ... I was using the Python distributed tester (runRemoteTests.py in luceneutil), but I don't think that's the cause here. That test running just fires up randomizedtesting's SlaveMainSafe and feeds it tests to run.

---
Migrated from [LUCENE-5652](https://issues.apache.org/jira/browse/LUCENE-5652) by Michael McCandless (@mikemccand)
Attachments: [hs_err_pid27879.log](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-5652/hs_err_pid27879.log)

Contributor guide

Open the contributing guide

Research direction

Start by reviewing hs_err_pid27879.log and the crash context around RamUsageEstimator.measureObjectSize(Ljava/lang/Object;). Then inspect runRemoteTests.py and randomizedtesting's SlaveMainSafe to determine whether the Lucene test setup can reproduce the JVM crash; done means identifying the cause and adding appropriate regression coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, python
Domain
search, testing
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.