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 OpenMP test issue and hanging #500

Merged
merged 5 commits into from
Oct 14, 2021
Merged

Fix OpenMP test issue and hanging #500

merged 5 commits into from
Oct 14, 2021

Conversation

Shillaker
Copy link
Collaborator

@Shillaker Shillaker commented Oct 13, 2021

We've been seeing regular OpenMP test failures which I think may be a stack overflow in disguise. WAVM is failing internally calling alloca and producing a segfault then totally bombing out (not even running the crash handler).

I've reproduced this locally, and expanding the stack size seems to fix it.

This also reinstates the calls to FaabricMain::shutdown which cause hanging issues in func_runner and other executables.

The namespace for stuff in include/system and src/system is isolation, which should probably be system, but it's out of scope for this PR to change.

@Shillaker Shillaker self-assigned this Oct 13, 2021
@Shillaker Shillaker marked this pull request as ready for review October 13, 2021 12:35
@Shillaker Shillaker changed the title Reinstate faabric shutdown Fix OpenMP test issue and hanging Oct 14, 2021
)
CGroup.cpp
NetworkNamespace.cpp
memory.cpp
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what our policy on alphatical ordering of caps vs. lowercase. I think caps before lowercase but not too fussed.

@csegarragonz csegarragonz merged commit 33c42f1 into master Oct 14, 2021
@csegarragonz csegarragonz deleted the runner-shutdown branch October 14, 2021 16:36
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.

None yet

2 participants