-
Notifications
You must be signed in to change notification settings - Fork 260
BUG() triggered during vfork and clone #2672
Comments
@llly Could you try it on the latest Graphene? After the In particular, when you move to the latest Graphene, you will notice more meaningful Process IDs (instead of your current Hopefully this bug will disappear after you update. If not, please post a similar debug log for the updated run. @boryspoplawski Please keep an eye on this too. Also, looks like this message:
should actually be:
(Meaning that TID |
@dimakuv I can reproduce this failure on latest Graphene trunk.
|
@llly How can we quickly reproduce it? What is the Python script you tried and is there anything special you did in |
Also what is the exact commit hash you've run this on? |
actually we use bash to start java/python programs any comments and help will be appreciated! |
That commit is 5 months old... |
sorry, I pasted the wrong commit, actually we are now running on fb71e43, and encounter this issue. |
@glorysdj Unfortunately, the manifest you provided requires a very specific environment on the machine (Python3.6, Java, Spark, something called Anyway, @boryspoplawski, do you have an idea what the debug log above could indicate? In particular, why this could trigger:
In other words, why the main process P1 wouldn't know all ancestor IDs? |
trace log is attached. also you can run it with below docker image:
attach the container
init the sgx manifest
run the workload
|
@dimakuv @boryspoplawski any insights? |
@glorysdj Could you check if gramineproject/gramine#109 fixes this issue? |
yes, we will try this |
have tried with latest gramine, but encountered another issues, when run a very simple java program. will try to summarize the issue. |
I countered an
BUG()
whem migrating Java program from old Graphene version to latest 1.2 rc. It can reproduce every time.https://github.com/oscarlab/graphene/blob/f7aa86ed3ae4bbb99480d16bab98c87625b778c9/LibOS/shim/src/ipc/shim_ipc_pid.c#L150-L153
There are several fork() called in the Java program to run another system command. Other forks succeed. I cannot root cause it.
Here is the log:
The text was updated successfully, but these errors were encountered: