edgelesssys / edgelessdb

EdgelessDB is a MySQL-compatible database for confidential computing. It runs entirely inside a secure enclave and comes with advanced features for collaboration, recovery, and access control.
https://edgeless.systems/products/edgelessdb
GNU General Public License v2.0
170 stars 17 forks source link

fatal error: nanotime returning zero #133

Closed henrysun007 closed 1 year ago

henrysun007 commented 1 year ago

When we run the DB on a vSGX environment, fatal error: nanotime returning zero rised. The simulation mode DB has the same error. The OS version is CentOS 8.5.2111. However, when we run the DB in a bare-metal envrionment (CentOS 7.9.2009), the error was gone. The detailed error log is as below:

image

thomasten commented 1 year ago

Do you use any of the published docker images? If so, please tell me its digest (get it with docker images --digests).

Or do you build it yourself? If you use the Dockerfile for this, ensure that you use the latest. If you build it manually, ensure that you use the latest version of EdgelessRT.

henrysun007 commented 1 year ago

The digest is sha256:668d43866609e7a93cec56cfa68c8ef5835e36244c8cecc57766b265e687f688. It is an old release of edgelesssys/edgelessdb-sgx-1gb.

thomasten commented 1 year ago

The bug you encounter should be fixed in the latest version.

henrysun007 commented 1 year ago

Thank you for your quick response. We switched to ubuntu18.04 and the error was gone.