[
https://issues.apache.org/jira/browse/LUCENE-5212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13769105#comment-13769105
]
Robert Muir commented on LUCENE-5212:
-------------------------------------
I ran again and here is the output where it does not crash, but instead
corrupts:
{noformat}
rmuir@beast:~/workspace/trunk/lucene/core$ rm -rf ../../.caches/
rmuir@beast:~/workspace/trunk/lucene/core$ ant test
-Dtests.seed=43A1116E7F98BED4 -Dtests.jvms=1 -Dargs="-XX:-UseCompressedOops
-XX:+UseParallelGC"
Buildfile: /home/rmuir/workspace/trunk/lucene/core/build.xml
-clover.disable:
-clover.load:
-clover.classpath:
-clover.setup:
clover:
ivy-availability-check:
ivy-fail:
ivy-configure:
[ivy:configure] :: Apache Ivy 2.3.0 - 20130110142753 ::
http://ant.apache.org/ivy/ ::
[ivy:configure] :: loading settings :: file =
/home/rmuir/workspace/trunk/lucene/ivy-settings.xml
resolve:
init:
compile-core:
compile-test-framework:
ivy-availability-check:
ivy-fail:
ivy-configure:
[ivy:configure] :: loading settings :: file =
/home/rmuir/workspace/trunk/lucene/ivy-settings.xml
resolve:
init:
compile-lucene-core:
ivy-availability-check:
ivy-fail:
ivy-configure:
[ivy:configure] :: loading settings :: file =
/home/rmuir/workspace/trunk/lucene/ivy-settings.xml
resolve:
init:
-clover.disable:
-clover.load:
-clover.classpath:
-clover.setup:
clover:
compile-core:
compile-codecs:
[echo] Building codecs...
ivy-availability-check:
[echo] Building codecs...
ivy-fail:
ivy-configure:
[ivy:configure] :: loading settings :: file =
/home/rmuir/workspace/trunk/lucene/ivy-settings.xml
resolve:
common.init:
compile-lucene-core:
init:
-clover.disable:
-clover.load:
-clover.classpath:
-clover.setup:
clover:
compile-core:
-clover.disable:
-clover.load:
-clover.classpath:
-clover.setup:
clover:
common.compile-core:
compile-core:
compile-test:
install-junit4-taskdef:
validate:
test:
[junit4:pickseed] Seed property 'tests.seed' already defined: 43A1116E7F98BED4
[mkdir] Created dir: /home/rmuir/workspace/trunk/.caches/test-stats/core
[junit4] <JUnit4> says ciao! Master seed: 43A1116E7F98BED4
[junit4] Executing 367 suites with 1 JVM.
[junit4]
[junit4] Started J0 PID(27313@beast).
[junit4] Suite: org.apache.lucene.store.TestHugeRamFile
[junit4] Completed in 1.55s, 1 test
[junit4]
[junit4] Suite: org.apache.lucene.search.TestTimeLimitingCollector
[junit4] Completed in 3.23s, 6 tests
[junit4]
[junit4] Suite: org.apache.lucene.index.TestLazyProxSkipping
[junit4] Completed in 0.57s, 2 tests
[junit4]
[junit4] Suite: org.apache.lucene.index.TestPostingsOffsets
[junit4] Completed in 0.78s, 11 tests
[junit4]
[junit4] Suite: org.apache.lucene.search.TestRegexpQuery
[junit4] Completed in 0.11s, 7 tests
[junit4]
[junit4] Suite: org.apache.lucene.index.TestTryDelete
[junit4] Completed in 0.04s, 3 tests
[junit4]
[junit4] Suite: org.apache.lucene.util.TestDoubleBarrelLRUCache
[junit4] Completed in 1.02s, 2 tests
[junit4]
[junit4] Suite: org.apache.lucene.analysis.TestGraphTokenizers
[junit4] Completed in 3.05s, 21 tests
[junit4]
[junit4] Suite: org.apache.lucene.index.TestIndexWriterMerging
[junit4] Completed in 10.27s, 6 tests
[junit4]
[junit4] Suite: org.apache.lucene.search.TestSearchAfter
[junit4] 1> CheckIndex failed
[junit4] 1> Segments file=segments_2 numSegments=2 version=5.0 format=
[junit4] 1> 1 of 2: name=_0 docCount=156
[junit4] 1> codec=Lucene45
[junit4] 1> compound=false
[junit4] 1> numFiles=30
[junit4] 1> size (MB)=0.157
[junit4] 1> diagnostics = {timestamp=1379384646861, os=Linux,
os.version=3.5.0-27-generic, source=flush, lucene.version=5.0-SNAPSHOT,
os.arch=amd64, java.version=1.7.0_40, java.vendor=Oracle Corporation}
[junit4] 1> no deletions
[junit4] 1> test: open reader.........OK
[junit4] 1> test: fields..............OK [15 fields]
[junit4] 1> test: field norms.........OK [2 fields]
[junit4] 1> test: terms, freq, prox...OK [8628 terms; 10659 terms/docs
pairs; 423 tokens]
[junit4] 1> test: stored fields.......OK [1 total field count; avg
0.006 fields per doc]
[junit4] 1> test: term vectors........OK [3 total vector count; avg 1
term/freq vector fields per doc]
[junit4] 1> test: docvalues...........OK [5 docvalues fields; 1
BINARY; 2 NUMERIC; 2 SORTED; 0 SORTED_SET]
[junit4] 1>
[junit4] 1> 2 of 2: name=_1 docCount=57
[junit4] 1> codec=Lucene45
[junit4] 1> compound=false
[junit4] 1> numFiles=30
[junit4] 1> size (MB)=0.06
[junit4] 1> diagnostics = {timestamp=1379384646900, os=Linux,
os.version=3.5.0-27-generic, source=flush, lucene.version=5.0-SNAPSHOT,
os.arch=amd64, java.version=1.7.0_40, java.vendor=Oracle Corporation}
[junit4] 1> no deletions
[junit4] 1> test: open reader.........OK
[junit4] 1> test: fields..............OK [15 fields]
[junit4] 1> test: field norms.........OK [2 fields]
[junit4] 1> test: terms, freq, prox...OK [3296 terms; 3969 terms/docs
pairs; 227 tokens]
[junit4] 1> test: stored fields.......OK [2 total field count; avg
0.035 fields per doc]
[junit4] 1> test: term vectors........ERROR [null]
[junit4] 1> java.lang.NegativeArraySizeException
[junit4] 1> at
org.apache.lucene.codecs.compressing.CompressingTermVectorsReader.get(CompressingTermVectorsReader.java:433)
[junit4] 1> at
org.apache.lucene.index.SegmentReader.getTermVectors(SegmentReader.java:169)
[junit4] 1> at
org.apache.lucene.index.CheckIndex.testTermVectors(CheckIndex.java:1524)
[junit4] 1> at
org.apache.lucene.index.CheckIndex.checkIndex(CheckIndex.java:611)
[junit4] 1> at
org.apache.lucene.util._TestUtil.checkIndex(_TestUtil.java:223)
[junit4] 1> at
org.apache.lucene.store.MockDirectoryWrapper.close(MockDirectoryWrapper.java:641)
[junit4] 1> at
org.apache.lucene.search.TestSearchAfter.tearDown(TestSearchAfter.java:86)
[junit4] 1> at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown
Source)
[junit4] 1> at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[junit4] 1> at java.lang.reflect.Method.invoke(Method.java:606)
[junit4] 1> at
com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1559)
[junit4] 1> at
com.carrotsearch.randomizedtesting.RandomizedRunner.access$600(RandomizedRunner.java:79)
[junit4] 1> at
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:795)
[junit4] 1> at
org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
[junit4] 1> at
org.apache.lucene.util.TestRuleFieldCacheSanity$1.evaluate(TestRuleFieldCacheSanity.java:51)
[junit4] 1> at
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
[junit4] 1> at
com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
[junit4] 1> at
org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49)
[junit4] 1> at
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70)
[junit4] 1> at
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
[junit4] 1> at
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
[junit4] 1> at
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:358)
[junit4] 1> at
com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:782)
[junit4] 1> at
com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:442)
[junit4] 1> at
com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:746)
[junit4] 1> at
com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:648)
[junit4] 1> at
com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:682)
[junit4] 1> at
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:693)
[junit4] 1> at
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
[junit4] 1> at
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
[junit4] 1> at
com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
[junit4] 1> at
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
[junit4] 1> at
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
[junit4] 1> at
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
[junit4] 1> at
org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:43)
[junit4] 1> at
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
[junit4] 1> at
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70)
[junit4] 1> at
org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:55)
[junit4] 1> at
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
[junit4] 1> at
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:358)
[junit4] 1> at java.lang.Thread.run(Thread.java:724)
[junit4] 1> test: docvalues...........OK [5 docvalues fields; 1
BINARY; 2 NUMERIC; 2 SORTED; 0 SORTED_SET]
[junit4] 1> FAILED
[junit4] 1> WARNING: fixIndex() would remove reference to this
segment; full exception:
[junit4] 1> java.lang.RuntimeException: Term Vector test failed
[junit4] 1> at
org.apache.lucene.index.CheckIndex.checkIndex(CheckIndex.java:624)
[junit4] 1> at
org.apache.lucene.util._TestUtil.checkIndex(_TestUtil.java:223)
[junit4] 1> at
org.apache.lucene.store.MockDirectoryWrapper.close(MockDirectoryWrapper.java:641)
[junit4] 1> at
org.apache.lucene.search.TestSearchAfter.tearDown(TestSearchAfter.java:86)
[junit4] 1> at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown
Source)
[junit4] 1> at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[junit4] 1> at java.lang.reflect.Method.invoke(Method.java:606)
[junit4] 1> at
com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1559)
[junit4] 1> at
com.carrotsearch.randomizedtesting.RandomizedRunner.access$600(RandomizedRunner.java:79)
[junit4] 1> at
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:795)
[junit4] 1> at
org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
[junit4] 1> at
org.apache.lucene.util.TestRuleFieldCacheSanity$1.evaluate(TestRuleFieldCacheSanity.java:51)
[junit4] 1> at
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
[junit4] 1> at
com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
[junit4] 1> at
org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49)
[junit4] 1> at
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70)
[junit4] 1> at
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
[junit4] 1> at
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
[junit4] 1> at
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:358)
[junit4] 1> at
com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:782)
[junit4] 1> at
com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:442)
[junit4] 1> at
com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:746)
[junit4] 1> at
com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:648)
[junit4] 1> at
com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:682)
[junit4] 1> at
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:693)
[junit4] 1> at
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
[junit4] 1> at
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
[junit4] 1> at
com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
[junit4] 1> at
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
[junit4] 1> at
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
[junit4] 1> at
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
[junit4] 1> at
org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:43)
[junit4] 1> at
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
[junit4] 1> at
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70)
[junit4] 1> at
org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:55)
[junit4] 1> at
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
[junit4] 1> at
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:358)
[junit4] 1> at java.lang.Thread.run(Thread.java:724)
[junit4] 1>
[junit4] 1> WARNING: 1 broken segments (containing 57 documents) detected
[junit4] 1>
[junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestSearchAfter
-Dtests.method=testQueries -Dtests.seed=43A1116E7F98BED4 -Dtests.slow=true
-Dtests.locale=th_TH_TH_#u-nu-thai -Dtests.timezone=JST
-Dtests.file.encoding=ISO-8859-1
[junit4] ERROR 2.09s | TestSearchAfter.testQueries <<<
[junit4] > Throwable #1: java.lang.RuntimeException: CheckIndex failed
[junit4] > at
__randomizedtesting.SeedInfo.seed([43A1116E7F98BED4:1F2FDDB565F10B7A]:0)
[junit4] > at
org.apache.lucene.util._TestUtil.checkIndex(_TestUtil.java:227)
[junit4] > at
org.apache.lucene.store.MockDirectoryWrapper.close(MockDirectoryWrapper.java:641)
[junit4] > at
org.apache.lucene.search.TestSearchAfter.tearDown(TestSearchAfter.java:86)
[junit4] > at java.lang.Thread.run(Thread.java:724)
[junit4] 2> NOTE: test params are: codec=Lucene45:
{short=PostingsFormat(name=FSTPulsing41),
oddeven=PostingsFormat(name=Lucene41WithOrds),
bytes=PostingsFormat(name=TestBloomFilteredLucene41Postings),
byte=PostingsFormat(name=FSTPulsing41),
int=PostingsFormat(name=TestBloomFilteredLucene41Postings),
bytesval=PostingsFormat(name=FSTPulsing41),
long=PostingsFormat(name=FSTPulsing41),
double=PostingsFormat(name=Lucene41WithOrds),
float=PostingsFormat(name=FSTPulsing41),
english=PostingsFormat(name=Lucene41VarGapFixedInterval)},
docValues:{straightbytesdocvalues=DocValuesFormat(name=SimpleText),
intdocvalues=DocValuesFormat(name=Lucene45),
floatdocvalues=DocValuesFormat(name=Disk),
sortedbytesdocvalues=DocValuesFormat(name=Disk),
sortedbytesdocvaluesval=DocValuesFormat(name=SimpleText)},
sim=RandomSimilarityProvider(queryNorm=true,coord=yes): {oddeven=DFR GBZ(0.3),
english=DFR I(F)BZ(0.3)}, locale=th_TH_TH_#u-nu-thai, timezone=JST
[junit4] 2> NOTE: Linux 3.5.0-27-generic amd64/Oracle Corporation 1.7.0_40
(64-bit)/cpus=8,threads=1,free=167266488,total=400556032
[junit4] 2> NOTE: All tests run in this JVM: [TestHugeRamFile,
TestTimeLimitingCollector, TestLazyProxSkipping, TestPostingsOffsets,
TestRegexpQuery, TestTryDelete, TestDoubleBarrelLRUCache, TestGraphTokenizers,
TestIndexWriterMerging, TestSearchAfter]
[junit4] Completed in 2.11s, 1 test, 1 error <<< FAILURES!
{noformat}
> java 7u40 causes sigsegv and corrupt term vectors
> -------------------------------------------------
>
> Key: LUCENE-5212
> URL: https://issues.apache.org/jira/browse/LUCENE-5212
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Robert Muir
> Attachments: hs_err_pid32714.log, jenkins.txt
>
>
--
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: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]