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

Adrien Grand commented on LUCENE-8175:
--------------------------------------

This is what it looks like indeed, but I'm not familiar enough with the ICU4J 
code to be 100% sure. The bug doesn't reproduce if I construct 
{{DefaultICUTokenizerConfig}} with {{false}} to both ctor args.

> ICUTokenizer might return corrupt tokens due to concurrency bug in ICU4J
> ------------------------------------------------------------------------
>
>                 Key: LUCENE-8175
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8175
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Adrien Grand
>            Priority: Critical
>
> I was digging some test failures with {{testRandomHugeStrings}} that occurred 
> since the upgrade to ICU4J 60.2 which happen to boil down to this bug: 
> http://bugs.icu-project.org/trac/ticket/13512 which is fixed but not released 
> yet.
> In short an int[] is shared across several threads while it shouldn't. As a 
> consequence, ICUTokenizer may sometimes return corrupt tokens. I pinged on 
> the issue to know when a release fixing this bug is expected.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to