[ 
https://issues.apache.org/jira/browse/LUCENE-3335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Uwe Schindler updated LUCENE-3335:
----------------------------------

    Attachment: patch-0uwe.patch

Hi,
we had some success with direct communication to the hotspot developers.

The whole story:
- Java 7 contains a fix to the readVInt issue since 1.6.0_21 (approx, 
LUCENE-2975), this fix was fortunately not included in 1.6.0_26
- This fix causes the SIGSEGV on Porter code, but also breaks other loops (e.g. 
a strange CheckIndex failure in 
org.apache.lucene.facet.search.SamplingWrapperTest)
- We had contact to the hotspot-compiler-dev list and Vladimir sent me the 
patches, that should fix the bug. The attached patch is a combination of all 
patches received, in a format suitable for the FreeBSD ports build framework. 
Place the file in your port's "files/" folder and rebuild the package. In 
Debian/Ubuntu you should be able to do the same thing by placing the file in 
the debian/patches folder somehow.
- I have now disabled all jenkins builds and queued the Java 7 builds for 3.x 
and trunk quarter-hourly. The machine now stress tests.
- We will report the resuls back to Oracle, but it seems that the attached 
patch fixes the issues.

If they would have added their original broken fix to the 1.6.0_26 release it 
would have been catastrophic...

> jrebug causes porter stemmer to sigsegv
> ---------------------------------------
>
>                 Key: LUCENE-3335
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3335
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: 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]

Reply via email to