You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Dawid Weiss (JIRA)" <ji...@apache.org> on 2013/11/25 09:24:35 UTC

[jira] [Commented] (LUCENE-5168) ByteSliceReader assert trips with 32-bit oracle 1.7.0_25 + G1GC

    [ https://issues.apache.org/jira/browse/LUCENE-5168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13831264#comment-13831264 ] 

Dawid Weiss commented on LUCENE-5168:
-------------------------------------

I just checked with jdk-8-ea-bin-b116-linux-i586-14_nov_2013.tar.gz and this issue seems to be still valid.
{code}
> svn info
URL: https://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x/lucene/highlighter
Repository Root: https://svn.apache.org/repos/asf
Revision: 1512807

> uname -a
Linux dweiss-ubuntu9 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux

> cd lucene/highlighter
> for i in `seq 1 100`; do ant test -Dtests.failfast=true -Dtests.seed=CF -Dtests.jvms=1 -Dtests.dynamicAssignmentRatio=0 -Dargs="-server -XX:+UseG1GC -XX:-TieredCompilation -Xbatch -XX:CICompilerCount=1"; done
{code}

The above leaves me about 1 failure in 5 runs. 
{code}
   [junit4] Suite: org.apache.lucene.search.postingshighlight.TestPostingsHighlighter
   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestPostingsHighlighter -Dtests.method=testMulti
plePassages -Dtests.seed=CF -Dtests.slow=true -Dtests.locale=sk -Dtests.timezone=America/Whitehorse -Dtests.
file.encoding=US-ASCII
   [junit4] FAILURE 0.11s | TestPostingsHighlighter.testMultiplePassages <<<
   [junit4]    > Throwable #1: java.lang.AssertionError
   [junit4]    >        at __randomizedtesting.SeedInfo.seed([CF:3191CE42818D1FA]:0)
   [junit4]    >        at org.apache.lucene.index.ByteSliceReader.readByte(ByteSliceReader.java:73)
   [junit4]    >        at org.apache.lucene.store.DataInput.readVInt(DataInput.java:108)
   [junit4]    >        at org.apache.lucene.index.FreqProxTermsWriterPerField.flush(FreqProxTermsWriterPerF
ield.java:453)
   [junit4]    >        at org.apache.lucene.index.FreqProxTermsWriter.flush(FreqProxTermsWriter.java:85)
   [junit4]    >        at org.apache.lucene.index.TermsHash.flush(TermsHash.java:116)
   [junit4]    >        at org.apache.lucene.index.DocInverter.flush(DocInverter.java:53)
   [junit4]    >        at org.apache.lucene.index.DocFieldProcessor.flush(DocFieldProcessor.java:81)
   [junit4]    >        at org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.j
ava:501)
   [junit4]    >        at org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:478)
   [junit4]    >        at org.apache.lucene.index.DocumentsWriter.flushAllThreads(DocumentsWriter.java:615)
   [junit4]    >        at org.apache.lucene.index.IndexWriter.prepareCommitInternal(IndexWriter.java:2760)
   [junit4]    >        at org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:2909)
   [junit4]    >        at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:2884)
   [junit4]    >        at org.apache.lucene.index.RandomIndexWriter.getReader(RandomIndexWriter.java:312)
   [junit4]    >        at org.apache.lucene.index.RandomIndexWriter.getReader(RandomIndexWriter.java:249)
   [junit4]    >        at org.apache.lucene.search.postingshighlight.TestPostingsHighlighter.testMultiplePa
ssages(TestPostingsHighlighter.java:257)
   [junit4]    >        at java.lang.Thread.run(Thread.java:744)
{code}

> ByteSliceReader assert trips with 32-bit oracle 1.7.0_25 + G1GC
> ---------------------------------------------------------------
>
>                 Key: LUCENE-5168
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5168
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: java8-windows-4x-3075-console.txt, log.0025, log.0042, log.0078, log.0086, log.0100
>
>
> This assertion trips (sometimes from different tests), if you run the highlighting tests on branch_4x with r1512807.
> It reproduces about half the time, always only with 32bit + G1GC (other combinations do not seem to trip it, i didnt try looping or anything really though).
> {noformat}
> rmuir@beast:~/workspace/branch_4x$ svn up -r 1512807
> rmuir@beast:~/workspace/branch_4x$ ant clean
> rmuir@beast:~/workspace/branch_4x$ rm -rf .caches #this is important,
> otherwise master seed does not work!
> rmuir@beast:~/workspace/branch_4x/lucene/highlighter$ ant test
> -Dtests.jvms=2 -Dtests.seed=EBBFA6F4E80A7365 -Dargs="-server
> -XX:+UseG1GC"
> {noformat}
> Originally showed up like this:
> {noformat}
> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-4.x-Linux/6874/
> Java: 32bit/jdk1.7.0_25 -server -XX:+UseG1GC
> 1 tests failed.
> REGRESSION:  org.apache.lucene.search.postingshighlight.TestPostingsHighlighter.testUserFailedToIndexOffsets
> Error Message:
> Stack Trace:
> java.lang.AssertionError
>         at __randomizedtesting.SeedInfo.seed([EBBFA6F4E80A7365:1FBF811885F2D611]:0)
>         at org.apache.lucene.index.ByteSliceReader.readByte(ByteSliceReader.java:73)
>         at org.apache.lucene.store.DataInput.readVInt(DataInput.java:108)
>         at org.apache.lucene.index.FreqProxTermsWriterPerField.flush(FreqProxTermsWriterPerField.java:453)
>         at org.apache.lucene.index.FreqProxTermsWriter.flush(FreqProxTermsWriter.java:85)
>         at org.apache.lucene.index.TermsHash.flush(TermsHash.java:116)
>         at org.apache.lucene.index.DocInverter.flush(DocInverter.java:53)
>         at org.apache.lucene.index.DocFieldProcessor.flush(DocFieldProcessor.java:81)
>         at org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:501)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org