apache / apache/lucene

possible hang in UIMATypeAwareAnalyzerTest [LUCENE-3869]

Open
#4,942 10 comments 0 reactions 0 assignees View on GitHub
affects-version:4.0-ALPHA legacy-jira-priority:Major module:analysis type:bug
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

Just testing an unrelated patch, I was hung (with 100% cpu) in UIMATypeAwareAnalyzerTest.

I'll attach stacktrace at the moment of the hang.

The fact we get a seed in the actual stacktraces for cases like this is awesome! Thanks Dawid!
I don't think it reproduces 100%, but I'll try beasting this seed to see if i can reproduce the hang:

should be 'ant test -Dtestcase=UIMATypeAwareAnalyzerTest -Dtests.seed=-262aada3325aa87a:-44863926cf5c87e9:5c8c471d901b98bd'
from what I can see.

---
Migrated from [LUCENE-3869](https://issues.apache.org/jira/browse/LUCENE-3869) by Robert Muir (@rmuir), updated Jun 18 2018

Contributor guide

Open the contributing guide

Research direction

Start with UIMATypeAwareAnalyzerTest and run `ant test -Dtestcase=UIMATypeAwareAnalyzerTest -Dtests.seed=-262aada3325aa87a:-44863926cf5c87e9:5c8c471d901b98bd` to investigate whether the hang reproduces. Use the resulting stacktrace to identify the cause and confirm that the test completes reliably.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
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.