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

Fix errors that sometimes occur on hs_exit #165

Open
facundominguez opened this issue Oct 25, 2022 · 0 comments
Open

Fix errors that sometimes occur on hs_exit #165

facundominguez opened this issue Oct 25, 2022 · 0 comments

Comments

@facundominguez
Copy link
Member

facundominguez commented Oct 25, 2022

Calling hs_exit() sometimes produces errors in CI like:

�^ �C�: newBoundTask: RTS is not initialised; call hs_init() first
���� Error: The command exited with status 1

I've tried a few things in the past, but I haven't managed to get rid of it, and I'm unsure if there is a way to fix it. This is probably related to the fact that the failing programs are using bound threads.

A first step would be creating a minimal example to reproduce this failure. Then we could submit a bug to GHC devs.

@facundominguez facundominguez changed the title Fix errors that sometimes occur on hs_exit. Fix errors that sometimes occur on hs_exit Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant