Deadlock with FSIndexInput and SegmentReader [LUCENE-2263]
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
See http://issues.apache.org/jira/browse/JCR-2426 - Issue seen with Jackrabbit 1.4.4 and lucene 2.2.0
There is a deadlock but it is not visible in the dump what thread is holding the lock, which indicates a VM thread is holding it.
The class involved "FSIndexInput" uses "Descriptor" class, which has overridden the finalize method and eventually calls RandomAccessFile "close" and "finalize" methods.
---
Migrated from [LUCENE-2263](https://issues.apache.org/jira/browse/LUCENE-2263) by Antonio Martinez, updated Nov 30 2013
Environment:
```
bash-3.00$ cat /etc/release
Solaris 10 10/08 s10s_u6wos_07b SPARC
Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 27 October 2008
bash-3.00$ uname -a
SunOS op06udb1 5.10 Generic_138888-03 sun4v sparc SUNW,Sun-Blade-T6340
```
Linked issues:
- [JCR-2426](https://issues.apache.org/jira/browse/JCR-2426)
Contributor guide
Assessment
This issue has not been assessed yet.