yangfh2004 opened a new issue, #454:
URL: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/454

   The V2.0.0 preview only supports Intel's SGX SDK 2.17.1, which does not 
support Ubuntu 22.04. We are looking forward to supporting newer versions of 
Intel's SGX SDK.
   
   We are experimenting with the support on version 2.21 on [our 
fork](https://gitlab.com/dexlabs/incubator-teaclave-sgx-sdk/-/tree/v2.0.0-preview-sdk-2.21?ref_type=heads)
 but have issues with a segmentation fault on TCS initiation while it creates 
and `memset` a new piece of memory inside the enclave for a new TCS. We haven't 
digged into the root cause but it seems that there might be some difference in 
creating the thread stacks in the newer version.
   
   The same segmentation fault happens in all modes, including HW and SIM with 
or without optimization libraries.
   Since the fast `memset` function is provided by Intel, I don't believe the 
problem is the function of the fast or regular `memset`.
   
   <img width="1275" alt="Screenshot 2024-02-13 at 5 47 50 PM" 
src="https://github.com/apache/incubator-teaclave-sgx-sdk/assets/20646825/1830859e-4164-4154-b1de-421fbf36ff99";>
   
   <img width="623" alt="Screenshot 2024-02-14 at 5 23 29 PM" 
src="https://github.com/apache/incubator-teaclave-sgx-sdk/assets/20646825/b370ccc5-3854-4862-8958-730c38ecdc7a";>
   Where it crashes the enclave with regular `memset`
   <img width="1330" alt="Screenshot 2024-02-15 at 10 38 27 AM" 
src="https://github.com/apache/incubator-teaclave-sgx-sdk/assets/20646825/f17c98e5-cc0b-4f10-9077-ed1abaef4a15";>
   Where it crashes the enclave with fast `memset`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@teaclave.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@teaclave.apache.org
For additional commands, e-mail: notifications-h...@teaclave.apache.org

Reply via email to