Intel Confidential Computing
Discussion board focused on Intel Confidential Computing technologies and how they can protect data and AI security, privacy, and sovereignty.

Enclave runtime exception on ERESUME

PYuhala
Débutant
2 769 Visites

Hello, 

I have a runtime error below when running some SGX code in HW mode:

 

[sig_handler sig_handler.cpp:93] signal handler is triggered
[sig_handler sig_handler.cpp:111] exception on ERESUME
[sig_handler sig_handler.cpp:149] NOT enclave signal
Illegal instruction (core dumped)

The error does not appear when I use the sgx debugger (sgx-gdb), which makes the issue very difficult to fix. I use the SDK and driver version 2.14. However I have a similar error with other versions like 2.11.

Does anyone have an idea why this happens and how I could fix it ?

 

 

0 Compliments
1 Solution
JesusG_Intel
Modérateur
2 758 Visites

Hello PYuhala,


Try uninstalling the SDK and PSW then install the latest SDK and Platform Software (PSW) according to the instructions in latest Intel SGX SW Installation Guide for Linux for your Linux distribution. The latest SGX files can be found at https://download.01.org/intel-sgx/latest/linux-latest/distro/.


  • If your system has Flexible Launch Control (FLC) and are using kernel 5.11 or higher, then do not install the out-of-tree driver. Kernel 5.11 has an in-kernel SGX DCAP driver that is used by the PSW when the system has FLC.
  • If your system does not support FLC, then install the out-of-tree driver, regardless of which kernel you have.


Sincerely,

Jesus G.

Intel Customer Support


Voir la solution dans l'envoi d'origine

0 Compliments
3 Réponses
JesusG_Intel
Modérateur
2 759 Visites

Hello PYuhala,


Try uninstalling the SDK and PSW then install the latest SDK and Platform Software (PSW) according to the instructions in latest Intel SGX SW Installation Guide for Linux for your Linux distribution. The latest SGX files can be found at https://download.01.org/intel-sgx/latest/linux-latest/distro/.


  • If your system has Flexible Launch Control (FLC) and are using kernel 5.11 or higher, then do not install the out-of-tree driver. Kernel 5.11 has an in-kernel SGX DCAP driver that is used by the PSW when the system has FLC.
  • If your system does not support FLC, then install the out-of-tree driver, regardless of which kernel you have.


Sincerely,

Jesus G.

Intel Customer Support


0 Compliments
JesusG_Intel
Modérateur
2 724 Visites

Hello PYuhala,


Were you able to resolve your runtime exception by performing a clean installation of the SGX SDK and PSW?


Sincerely,

Jesus G.

Intel Customer Support


0 Compliments
JesusG_Intel
Modérateur
2 673 Visites

Hello PYuhala,


We have not heard from you in several days so we will no longer monitor this thread. We hope you were able to resolve your issue. Please start a new thread if you need further help.


Sincerely,

Jesus G.

Intel Customer Support


0 Compliments
Répondre