sosohu opened a new issue, #12863:
URL: https://github.com/apache/lucene/issues/12863

   ### Description
   
   I used the Lucene 8.10.0 inside my project, and we found a JVM crash with 
the jstack as below:
   
   ```
   "main" #1 prio=5 tid=0x00007f780c042000 nid=0x3503 runnable 
[0x0000000000000000]
     java.lang.Thread.State: RUNNABLE
     JavaThread state: _thread_in_java
   - java.nio.ByteBuffer.get(byte[], int, int) @bci=49, line=745 (Compiled 
frame; information may be imprecise)
   - java.nio.DirectByteBuffer.get(byte[], int, int) @bci=145, line=318 
(Compiled frame)
   - org.apache.lucene.store.ByteBufferGuard.getBytes(java.nio.ByteBuffer, 
byte[], int, int) @bci=9, line=94 (Compiled frame)
   - org.apache.lucene.store.ByteBufferIndexInput.readBytes(byte[], int, int) 
@bci=11, line=99 (Compiled frame)
   - 
org.apache.lucene.codecs.blocktree.CompressionAlgorithm$1.read(org.apache.lucene.store.DataInput,
 byte[], int) @bci=4, line=33 (Compiled frame)
   - org.apache.lucene.codecs.blocktree.SegmentTermsEnumFrame.loadBlock() 
@bci=313, line=194 (Compiled frame)
   - 
org.apache.lucene.codecs.blocktree.SegmentTermsEnum.seekExact(org.apache.lucene.util.BytesRef)
 @bci=804, line=509 (Compiled frame)
   - 
org.apache.lucene.index.TermStates.loadTermsEnum(org.apache.lucene.index.LeafReaderContext,
 org.apache.lucene.index.Term) @bci=26, line=124 (Compiled frame)
   - 
org.apache.lucene.index.TermStates.get(org.apache.lucene.index.LeafReaderContext)
 @bci=67, line=187 (Compiled frame)
   - 
org.apache.lucene.search.TermQuery$TermWeight.getTermsEnum(org.apache.lucene.index.LeafReaderContext)
 @bci=76, line=134 (Compiled frame)
   - 
org.apache.lucene.search.TermQuery$TermWeight.scorer(org.apache.lucene.index.LeafReaderContext)
 @bci=59, line=109 (Compiled frame)
   - 
org.apache.lucene.search.Weight.scorerSupplier(org.apache.lucene.index.LeafReaderContext)
 @bci=2, line=148 (Compiled frame)
   - 
org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.scorerSupplier(org.apache.lucene.index.LeafReaderContext)
 @bci=58, line=727 (Compiled frame)
   - 
org.apache.lucene.search.BooleanWeight.scorerSupplier(org.apache.lucene.index.LeafReaderContext)
 @bci=115, line=379 (Compiled frame)
   - 
org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.scorerSupplier(org.apache.lucene.index.LeafReaderContext)
 @bci=58, line=727 (Compiled frame)
   - 
org.apache.lucene.search.BooleanWeight.scorerSupplier(org.apache.lucene.index.LeafReaderContext)
 @bci=115, line=379 (Compiled frame)
   - 
org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.scorerSupplier(org.apache.lucene.index.LeafReaderContext)
 @bci=58, line=727 (Compiled frame)
   - 
org.apache.lucene.search.BooleanWeight.scorerSupplier(org.apache.lucene.index.LeafReaderContext)
 @bci=115, line=379 (Compiled frame)
   - 
org.apache.lucene.search.BooleanWeight.scorer(org.apache.lucene.index.LeafReaderContext)
 @bci=2, line=344 (Compiled frame)
   - 
org.apache.lucene.search.Weight.bulkScorer(org.apache.lucene.index.LeafReaderContext)
 @bci=2, line=182 (Compiled frame)
   - 
org.apache.lucene.search.BooleanWeight.bulkScorer(org.apache.lucene.index.LeafReaderContext)
 @bci=30, line=338 (Compiled frame)
   - 
org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.bulkScorer(org.apache.lucene.index.LeafReaderContext)
 @bci=58, line=838 (Compiled frame)
   - org.apache.lucene.search.IndexSearcher.search(java.util.List, 
org.apache.lucene.search.Weight, org.apache.lucene.search.Collector) @bci=51, 
line=656 (Interpreted frame)
   - 
org.apache.lucene.search.IndexSearcher.search(org.apache.lucene.search.Query, 
org.apache.lucene.search.Collector) @bci=24, line=443 (Interpreted frame)
   ```
   
   Here is my JDK info:
   ```
   java.runtime.version = 11.0.15+10
   java.vm.vendor = Eclipse Adoptium
   java.vm.name = OpenJDK 64-Bit Server VM
   java.vendor.version = Temurin-11.0.15+10
   ```
   
   VM Flags:
   ```
   Non-default VM flags: -XX:CICompilerCount=18 -XX:ConcGCThreads=11 
-XX:G1ConcRefinementThreads=43 -XX:G1HeapRegionSize=1048576 
-XX:GCDrainStackTargetSize=64 -XX:InitialHeapSize=1258291200 
-XX:MarkStackSize=4194304 -XX:MaxHeapSize=1258291200 -XX:MaxNewSize=754974720 
-XX:MinHeapDeltaBytes=1048576 -XX:NonNMethodCodeHeapSize=8769992 
-XX:NonProfiledCodeHeapSize=121444124 -XX:ProfiledCodeHeapSize=121444124 
-XX:ReservedCodeCacheSize=251658240 -XX:+SegmentedCodeCache 
-XX:+UseCompressedClassPointers -XX:+UseCompressedOops 
-XX:+UseFastUnorderedTimeStamps -XX:+UseG1GC
   Command line:  -Drefine.verbosity=error -Dlog4j2.formatMsgNoLookups=true 
-Xmx1200M vfprintf -Dlog4j2.formatMsgNoLookups=true
   ```
   
   Could someone help to confirm if this issue is caused by Lucene or a JVM 
issue? 
   Manay thanks
   
   ### Version and environment details
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to