Skip to content

Got error when use fork and exec to start up python executable inside gramine #1595

Closed Answered by dimakuv
santongding asked this question in Q&A
Discussion options

You must be logged in to vote

I believe the memory allocation for the Python code is insufficient, but I don't understand why it crashes randomly.

I think the randomness is because ASLR (Address Space Layout Randomization) is enabled in Gramine by default. Try loader.insecure__disable_aslr = false, and you'll see more consistent behavior.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@santongding
Comment options

@dimakuv
Comment options

@santongding
Comment options

@dimakuv
Comment options

Answer selected by santongding
@santongding
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants