William Miller created TIKA-4380:
------------------------------------

             Summary: Java crash on M4 processor
                 Key: TIKA-4380
                 URL: https://issues.apache.org/jira/browse/TIKA-4380
             Project: Tika
          Issue Type: Bug
            Reporter: William Miller


Hi Tika team,

There appears to be a Java bug impacting only M4 variant Arm processors on 
Apple systems:

[https://bugs.openjdk.org/browse/JDK-8345296]

I discovered the bug when a Docker stack I use frequently had a Tika container 
stuck in a crash/restart loop:

[https://github.com/owncloud/ocis/issues/10965]

This issue seems to be mitigated by adding an env flag:

JAVA_OPTS: "-XX:UseSVE=0"

I see more discussion of it here:

[https://github.com/corretto/corretto-21/issues/85]

[https://forums.docker.com/t/image-builds-fail-on-new-macbook-despite-working-fine-on-prior-apple-silicon/145772/5]

I don't personally use Tika outside the scope of this application stack, but I 
thought I'd report here so it can be addressed.

 

Thanks to everyone who devotes their time and energy to these valuable open 
source projects.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to