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

Panics end process with 4 SIGILL when panic is called from mruby. #58

Closed
dragostis opened this issue Mar 19, 2016 · 3 comments
Closed
Assignees
Labels

Comments

@dragostis
Copy link
Member

No description provided.

@dragostis dragostis added the bug label Mar 19, 2016
@dragostis dragostis changed the title Panics end process with 4 SIGILL when run from spec tests. Panics end process with 4 SIGILL when run from tests. Mar 19, 2016
@dragostis dragostis changed the title Panics end process with 4 SIGILL when run from tests. Panics end process with 4 SIGILL when panic is called from mruby. Mar 19, 2016
@dragostis
Copy link
Member Author

Every Rust callback run from mruby should be wrapped in a recover.

@dragostis dragostis self-assigned this Mar 19, 2016
@dragostis
Copy link
Member Author

recover is not stable until Rust 1.9.0. Until then, we should use catch_panic, which depends on #59.

@dragostis
Copy link
Member Author

catch_panic is not stable either. Should be fixed on nightly until 1.9.0 is released.

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

No branches or pull requests

1 participant