Error: “Segmentation Fault (Core Dumped)” When Passing Large Array to Enclave in Intel® Software Guard Extensions (Intel® SGX)
Content Type: Error Messages | Article ID: 000090622 | Last Reviewed: 10/28/2022
There is not enough memory allocated to the enclave to pass a large array.
In the Enclave Configuration File, enclave.config.xml, increase the amount of heap memory allocated to the enclave:
Use the Enclave Memory Measurement Tool to measure the memory of your enclave so you can set Heap size accordingly. More threads will require more memory.
Refer to the Intel® SGX Developer Reference Guide for your OS for more information on setting the parameters in the Enclave Configuration File.