-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Buffer overflow detected #6
Comments
I got the same error. Have you resolved this issue yet? |
@iihihiuh Not yet. You probably also set |
Hi, does it work with the logger if you reduce the heap size below 4GB (or try to get the enclave size below 4GB)? The working set analyszer might not handle such big enclaves, but the logger should be able to. I'll try to replicate the issue. |
So I took the Intel sample enclave and used your heap value but I was not able to replicate the issue. Logger went through fine. Can you give me some more information regarding the environment/enclave? |
Hi, My SDK version is 2.9.1. Environment: Ubuntu 18.04, Intel(R) Core(TM) i7-9700K CPU@ 3.60GHz, Memory 30G. And I carried out such experiments. My experiments were based on the Intel sample code ---- SampleCode/SampleEnclave, but without these two lines.
First, I set the Enclave.config.xml as follows
There was an error
Then I revised the Enclave.config.xml
The error
I don't know why this error occurred. |
Ok, it might to be connected to the page tracing. Does it also happen without the page tracing enabled? @iihihiuh Did you also got the error when using page tracing? |
Yes, I got the error when using the page tracing. Once I enabled page tracing and max heap size is bigger than 98MB. I got the buffer overflow error. |
Hi, when I enabled EPC page tracing and set the Enclave.config.xml as follows:
Error happened, partial messages were as follows:
How to fix it?
If I didn't work with sgx-perf, it ran well.
The text was updated successfully, but these errors were encountered: