You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Preliminary investigation points to the child stack pointer passed to clone(2) call. The debug version of the binary is not affected. Changing the allocated child stack size to 1MB or 2MB seems to make the issue go away, but I'd like a proper fix. Using this issue to track.
The text was updated successfully, but these errors were encountered:
@utam0k I suspect in addition to PR #167, we would need to fix the issue mentioned here: nix-rust/nix#919. The whole discussion on boxed closure in nix-rust/nix#919 is a bit hard to wrap my head around, but I think it means the closure (the cb function in the clone call) context (the arguments to the closure) and its ownership belongs to the parent process instead of the child process callbacks. In the case of clone, the closure context may be free'ed by LLVM as soon as clone returns.
When building the released version of youki binary, the clone(2) used to create the container process will fail with the following error from dmesg:
Preliminary investigation points to the child stack pointer passed to clone(2) call. The debug version of the binary is not affected. Changing the allocated child stack size to 1MB or 2MB seems to make the issue go away, but I'd like a proper fix. Using this issue to track.
The text was updated successfully, but these errors were encountered: