Closed teecrypt closed 6 years ago
Hi,
Can I check how much system ram you're operating on? An out of memory error seems to suggest the process can't allocate enough memory on enclave initialization. The teechain binaries tend to allocate a lot of memory on startup (several Gigabytes each).
It has 8GB RAM -- I tried increasing the swap size and it went through fine. Thanks a lot!
Thank you for your work on Teechain, it looks very interesting. I downloaded the binary package, but unfortunately it crashes with a segmentation fault.
My system: Linux 4.15.0-36-generic #39~16.04.1-Ubuntu SGX version: 2.1.103.44322
The sample code in SGX SDK works fine. Here are the steps I did with Teechain:
It then fails with segmentation faults as follows:
When I run it with valgrind, this is the error logged:
Here's
valgrind -v
dump: