Intel® ISA Extensions
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.

SDE segfaults when running the JVM

JosefEisl
Beginner
1,414 Views

Hello!

I noticed that SDE is not able to execute the JVM:

 

$ java -version
openjdk version "11.0.14.1" 2022-02-08
OpenJDK Runtime Environment 18.9 (build 11.0.14.1+1)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.14.1+1, mixed mode, sharing)

$ ~/Downloads/sde-external-9.0.0-2021-11-07-lin/sde64 -- java -version
Segmentation fault (core dumped)

 

 I know that the VM is using SEGFAULT handlers for implicit null checks, which is not supported according to the SDE FAQ, but for --version I'd assume that this is not the issues as not Java program is executed.

Any ideas how to find out what is causing the issue?

Thanks, Josef

0 Kudos
1 Solution
AdyT_Intel
Moderator
1,394 Views

Fedora 35 is using a new system call (clone3) and the support for it still does not exists in the latest external Intel SDE version (9.0).

This will be fixed in the next release.

View solution in original post

4 Replies
AdyT_Intel
Moderator
1,403 Views

Please provide more details on your system.

I tried running Java from openjdk 17.0.2 and openjdk version 1.8.0 on my Ubuntu 20.04 host and both pass with no issue.

% sde-external-9.0.0-2021-11-07-lin/sde64 -- ./jdk-17.0.2/bin/java -version
openjdk version "17.0.2" 2022-01-18
OpenJDK Runtime Environment (build 17.0.2+8-86)
OpenJDK 64-Bit Server VM (build 17.0.2+8-86, mixed mode, sharing)

 

0 Kudos
JosefEisl
Beginner
1,396 Views

Thanks for the quick reply!

 

Interesting! I'm on Fedora 35, openjdk installed via the package manager:

 

Installed Packages
Name : java-11-openjdk
Epoch : 1
Version : 11.0.14.1.1
Release : 5.fc35
Architecture : x86_64
Size : 743 k
Source : java-11-openjdk-11.0.14.1.1-5.fc35.src.rpm
Repository : @system
From repo : updates
Summary : OpenJDK 11 Runtime Environment
URL : http://openjdk.java.net/
License : ASL 1.1 and ASL 2.0 and BSD and BSD with advertising and GPL+ and GPLv2 and GPLv2 with exceptions and IJG and LGPLv2+ and MIT and MPLv2.0
: and Public Domain and W3C and zlib and ISC and FTL and RSA
Description : The OpenJDK 11 runtime environment.

0 Kudos
AdyT_Intel
Moderator
1,395 Views

Fedora 35 is using a new system call (clone3) and the support for it still does not exists in the latest external Intel SDE version (9.0).

This will be fixed in the next release.

JosefEisl
Beginner
1,389 Views

Good to know! Thanks for the update and looking forward to the next release!

 

Thanks, Josef

0 Kudos
Reply