edgelesssys / edgelessrt

Edgeless RT is an SDK and a runtime for Intel SGX. It combines top-notch Go support with simplicity, robustness and a small TCB. Developing confidential microservices has never been easier! C++17 and Rust (experimental) are also supported.
https://edgeless.systems
MIT License
134 stars 20 forks source link

fix crash on terminating a nondebug enclave with lingering threads #130

Closed thomasten closed 2 years ago

thomasten commented 2 years ago

This fixes a crash on exit of a nondebug enclave that has lingering threads (like those of the Go runtime). This has been reported via Discord.

The bug doesn't occur with EGo. I haven't investigated the reason. But that's why we didn't encounter it ourselves yet.