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

Vfork support broken. #983

Open
karya0 opened this issue May 2, 2022 · 2 comments
Open

Vfork support broken. #983

karya0 opened this issue May 2, 2022 · 2 comments

Comments

@karya0
Copy link
Member

karya0 commented May 2, 2022

Vfork support requires some refactoring of plugin layers wrt. PRESUSPEND barrier. The make-check-vfork* tests are disabled for now.

If someone requires vfork support, please upvote this issue.

@Larofeticus
Copy link

I'd like to have the vfork support in dmtcp.

I'm working in the area of using dmtcp with workflow management tools to preserve and resume their active state and child tasks. A significant number of tools I would like to support use vfork to launch their tasks (Snakemake, regular GNU Makefile, anything that uses the python subprocess package) are currently unusable with dmtcp.

The outcome of trying is the workflow tool silently hangs when reaching the vfork call; there is no stderr or exit code.

@karya0
Copy link
Member Author

karya0 commented Sep 20, 2022

@Larofeticus: I just created a simple PR (#1023) to simulate vfork using fork(). Can you give it a try and see if your usecase is satisfied? If it works, then we can merge it in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants