[
https://issues.apache.org/jira/browse/LUCENE-3335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13072783#comment-13072783
]
Bernd Fehling commented on LUCENE-3335:
---------------------------------------
> I got new information from Vladimir about the Porter bug in Java 1.6: "The
> code in memnode.cpp was there
> for long time (before 6u26). But before my changes it was guarded by
> OptimizeStringConcat flag. So if you
> use -XX:+OptimizeStringConcat or -XX:+AggressiveOpts flags you will hit the
> same problem (I reproduced it
> even with 1.6.0_23)"
>
> This might be the reason behind
> http://www.lucidimagination.com/search/document/3beaa082c4d2fdd4/porterstemfilter_kills_jvm,
>
> but we never got a response. If he used aggressive opts he has the same
> problem.
@Uwe, sorry for not answering that one or creating an issue as Robert said, but
while switching from FAST Search to Lucene/Solr I had (and still have) several
problems to solve. One was the UTF-8 jetty problem, then this PorterStemFilter
came up and right after that Solr/Lucene crashes with OOM due to FieldCache
problems. And there is still my plan to get FST for synonyms running. Dang, my
day only has 24 hours.
Yes, I used -XX:+AggressiveOpts and as we know now thats the cause why JVM
chrashed.
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
After the crashes with PorterStemFilter I removed AggressiveOpts from my
JAVA_OPTS.
Now I'm watching what Lucenes FieldCache is doing and if its still doubling its
size until OOM.
So I'm deep inside :-)
Well interesting idea to know that if I had filed an issue and that that one
had been traced down a month ago that this might have been prevented a buggy
release of java 1.7 ;-)
> jrebug causes porter stemmer to sigsegv
> ---------------------------------------
>
> Key: LUCENE-3335
> URL: https://issues.apache.org/jira/browse/LUCENE-3335
> Project: Lucene - Java
> Issue Type: Bug
> Affects Versions: 1.9, 1.9.1, 2.0.0, 2.1, 2.2, 2.3, 2.3.1, 2.3.2, 2.4,
> 2.4.1, 2.9, 2.9.1, 2.9.2, 2.9.3, 2.9.4, 3.0, 3.0.1, 3.0.2, 3.0.3, 3.1, 3.2,
> 3.3, 3.4, 4.0
> Environment: - JDK 7 Preview Release, GA (may also affect update _1,
> targeted fix is JDK 1.7.0_2)
> - JDK 1.6.0_20+ with -XX:+OptimizeStringConcat or -XX:+AggressiveOpts
> Reporter: Robert Muir
> Assignee: Robert Muir
> Labels: Java7
> Attachments: LUCENE-3335.patch, LUCENE-3335_slow.patch,
> patch-0uwe.patch
>
>
> happens easily on java7: ant test -Dtestcase=TestPorterStemFilter
> -Dtests.iter=100
> might happen on 1.6.0_u26 too, a user reported something that looks like the
> same bug already:
> http://www.lucidimagination.com/search/document/3beaa082c4d2fdd4/porterstemfilter_kills_jvm
--
This message is automatically generated by JIRA.
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]