Skip to content
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

[ERROR] occlum-pal: Failed to enter the enclave to execute a LibOS thread (host tid = 367) with error code 0x1009: Unknown SGX error (line 21, file src/ocalls/spawn.c) #1534

Open
LiPengce opened this issue May 1, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@LiPengce
Copy link

LiPengce commented May 1, 2024

Describe the bug

A clear and concise description of what the bug is.
java jar can't run!

To reproduce

Steps to reproduce the behavior:
1.
2.
3.
4.

Expected behavior

A clear and concise description of what you expected to happen.

Logs

If applicable, add logs to help explain your problem.

Environment

  • HW: [e.g. SGX1, SGX2]
  • OS: [e.g. Ubuntu20.04, CentOS8.2]
  • Occlum version: [e.g. 0.28.0]

Additional context

Add any other context about the problem here.

Possible solution/Implementation

Not obligatory, but suggest a fix/reason for the bug.

@LiPengce LiPengce added the bug Something isn't working label May 1, 2024
@volcano0dr
Copy link
Contributor

Error code 0x1009 means "the enclave is running out of stack".
Try increasing kernel_space_stack_size in the Occlum.json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants