gramine-sgx hold at step of loading #1259
Replies: 12 comments 18 replies
-
Could you try to use |
Beta Was this translation helpful? Give feedback.
-
I have tried using |
Beta Was this translation helpful? Give feedback.
-
logs.txt The The I think there may be some limited in resources, but there is no logs to help me to debug. |
Beta Was this translation helpful? Give feedback.
-
There is not anything special in the program. When I remove some code, it can be runned, but there is nothing special about the removed code. |
Beta Was this translation helpful? Give feedback.
-
In the manifest, I config 64 thread. gramine-sgx can run 64 threads before, but now it hang at loading. The thread is only one as following: loader.pal_internal_mem_size = "64M" sys.insecure__allow_eventfd = true |
Beta Was this translation helpful? Give feedback.
-
What does this mean? What happened after this date? You modified the Looking at your log, you're using v1.3.1 of Gramine ( Also, have you tried running with |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
When I gdb attach the |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Is there any docker images, and the sgx driver/sdk/psw has been installed in it, then the gramine program can be built direct. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Or can gramine source code can be built in docker?When I build the source
code in the docker, it depend sgx.h and some more files of sgx driver. There
is not those files in the docker.
`sgx.h` is from `linux-libc-dev` package, starting from version 5.11. You can
use `debian:bullseye-backports` docker image to build gramine just fine
(probably with intel-sgx repo added).
|
Beta Was this translation helpful? Give feedback.
-
Run with gramine of debug mode, it seems hang in _PalVirtualMemoryAlloc function? Maybe the size of memset is too large?? |
Beta Was this translation helpful? Give feedback.
-
When I exec a program "xsce" with gramine-sgx, it hold at step of loading…
Is there any log to debug this? And what conditions can cause this problem?
[P1:T1:xsce] debug: Creating pipe: pipe.srv:33ae186edfd95bdcdd6f65630930dcc497bdda64c078b8cf83fd0fec87158b17
[P1:T1:xsce] debug: Allocated stack at 0x8f6cb000 (size = 0x4000000)
[P1:T1:xsce] debug: loading "file:xsce"
Beta Was this translation helpful? Give feedback.
All reactions