-
Notifications
You must be signed in to change notification settings - Fork 823
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
Interrupt signal propagation #1496
Conversation
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.53 to 1.0.56. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](serde-rs/json@v1.0.53...v1.0.56) Signed-off-by: dependabot-preview[bot] <[email protected]>
Bumps [cc](https://github.com/alexcrichton/cc-rs) from 1.0.54 to 1.0.57. - [Release notes](https://github.com/alexcrichton/cc-rs/releases) - [Commits](rust-lang/cc-rs@1.0.54...1.0.57) Signed-off-by: dependabot-preview[bot] <[email protected]>
@Hywan Could you review this PR? This change is essential to shutdown process gracefully. |
Hi @hanjukim we are in the mid of the process of upgrading Wasmer, that's why we are a bit slower replying here. We will be super happy to invite you to it so you can try the new Wasmer, would you mind joining our slack channel so I can follow up there and make sure the issue is fixed? https://slack.wasmer.io/ Thanks! 🤗 |
@hanjukim Sorry for the late reply. As @syrusakbary told you, a new version of Wasmer is coming, and your issue is likely to be resolved already. If you accept the invitation, you can try to replicate your issue. Thoughts? |
@syrusakbary I justed joined to wasmer slack. Which branch should I use for testing new version candidate? Thanka for your help. |
@Hywan @syrusakbary |
That's right. Thanks though for taking a sneak peek of the project!
Yeah, I think we can do that to facilitate your work! |
While reviewing this PR, I began to wonder why we were installing a hander for SIGINT at all, and discovered that it's tied to the If you'd like to update this PR so that you can use |
This PR was done for the old codebase, which as commented by Nick it's also solved in PS: thanks anyway for the contribution @hanjukim ! |
Description
If we embed wasmer to a process, wasmer will override interrupt(SIGINT) signal handler. In result, previous signal handler will not be called when SIGINT is fired, and if it gets fired again, process will be stopped by process::abort() which leads to output a long stack trace.
Related Issue: #842
Review