Troubleshooting
This section addresses possible warnings or errors you might encounter while using the Anjuna tools.
Potential issues following Intel’s mid-2021 updates to SGX drivers and libraries
Intel recently updated its SGX drivers and libraries in ways that can affect running software in SGX enclaves using Anjuna Runtime. The following information will help you recognize those issues.
The enclave fails to start
When trying to run your application in the enclave, using Runtime/anjuna-runtime
or anjuna-sgxrun
, you may
get an error in the following format:
[39781] Anjuna Runtime version release-1.29.0001, Copyright (C) Anjuna Security, Inc. All rights reserved. [39781] sgx_qe_set_enclave_load_policy failed: error (0xe03e)
To resolve this issue, unset the SGX_AESM_ADDR
environment variable.
For example, run the following command:
unset SGX_AESM_ADDR
Warning messages display when running an application inside an enclave
Since Intel’s release of DCAP library version 1.11, the following warning message may appear on
DCAP machines when using Runtime/anjuna-runtime
or anjuna-sgxrun
:
[get_qpl_handle ../qe_logic.cpp:295] Failed to set logging callback for the quote provider library.
This is only a warning and can be ignored, because it only relates to the DCAP Quote Provider library logging mechanism, which isn’t yet implemented by Microsoft’s DCAP Quote Provider library.