Replies: 4 comments 7 replies
-
Hello, I am happy to look into this, but can you provide more instructions for reproducing this issue? |
Beta Was this translation helpful? Give feedback.
-
I've been trying to reproduce this using gramine-direct and no edmm enabled and are unable todo so, I dont know how comparable gramine-direct are to gramine-sgx..? I'll move on to enable edmm with gramine-direct before switching to gramine-sgx |
Beta Was this translation helpful? Give feedback.
-
I dont think it's actually related to gramine as such. It looks like something ~java goes crazy consuming memory when it think's there's 1tb memory it seems to throw all switches away at begin consuming. I've attached logs |
Beta Was this translation helpful? Give feedback.
-
Oh and here is my repo https://github.com/nmwael/javaspawnprocess.git , it might need some cleanup. So let me know if you will use it. |
Beta Was this translation helpful? Give feedback.
-
Hi I am getting this error:
(host_framework.c:477:edmm_modify_pages_type) error: SGX_IOC_ENCLAVE_MODIFY_TYPES failed: (0) Bad address (EFAULT)
(libos_exec.c:50:__libos_syscall_execve_rtld) [P3:T52:jspawnhelper] error: BUG() ../libos/src/sys/libos_exec.c:50
(pal_exception.c:260:handle_ud) warning: Unknown or illegal instruction executed at die_or_inf_loop at cpu.h, libsysdb.so+0x83304 (addr = 0xfffaee8304)
I am utilizing EDMM, could it be stack or brk being too small, values are these:
As far as I can see this is the source being executed, i'm having a bit of trouble getting the exact call that's making it fail.
https://github.com/openjdk/jdk/blob/jdk-21%2B0/src/java.base/unix/native/jspawnhelper/jspawnhelper.c#L132
Beta Was this translation helpful? Give feedback.
All reactions