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

ConsoleAgent: Log unexpected signals to stderr #86

Merged
merged 1 commit into from
Jul 18, 2019

Conversation

the-bumble
Copy link

Hi,

Currently, eshost (and eshost-cli) doesn't log unexpected signals (e.g., SIGSEGV) from the child process. As some of the supported JS engines are still in development, this can suppress errors when the engine seg-faults. At this time, seg-faulting test-cases have no output on affected engines and appear to exit successfully.

I noticed SIGKILL was used internally for process control, so my patch captures all signals other than SIGKILL.

This PR should also provide better support for eshost-cli e.g., bterlson/eshost-cli#55

Thank you!

@rwaldron rwaldron merged commit 30f03f1 into tc39:master Jul 18, 2019
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

Successfully merging this pull request may close these issues.

2 participants