lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <>
Subject [jira] [Commented] (LUCENE-5168) ByteSliceReader assert trips with 32-bit oracle 1.7.0_25 + G1GC
Date Thu, 15 Aug 2013 10:02:48 GMT


Uwe Schindler commented on LUCENE-5168:

What happens if you make "upto" volatile? I assume the same happens like with the static dummy

Maybe for now we use the static field "hack". I don't think this causes performance trouble.
We can add a good comment and once the bug is fixed in JDK we can remove it in 5 years or
so :-)

To me it looks like we hit this bug more often because of optimized tests that seem to run
this method more often. This is a good sign, we are improving our tests! :-)
> ByteSliceReader assert trips with 32-bit oracle 1.7.0_25 + G1GC
> ---------------------------------------------------------------
>                 Key: LUCENE-5168
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: java8-windows-4x-3075-console.txt
> 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:
> Java: 32bit/jdk1.7.0_25 -server -XX:+UseG1GC
> 1 tests failed.
> Error Message:
> Stack Trace:
> java.lang.AssertionError
>         at __randomizedtesting.SeedInfo.seed([EBBFA6F4E80A7365:1FBF811885F2D611]:0)
>         at org.apache.lucene.index.ByteSliceReader.readByte(
>         at
>         at org.apache.lucene.index.FreqProxTermsWriterPerField.flush(
>         at org.apache.lucene.index.FreqProxTermsWriter.flush(
>         at org.apache.lucene.index.TermsHash.flush(
>         at org.apache.lucene.index.DocInverter.flush(
>         at org.apache.lucene.index.DocFieldProcessor.flush(
>         at org.apache.lucene.index.DocumentsWriterPerThread.flush(
> {noformat}

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message