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 build on Zing #15

Open
JerryShea opened this issue Jun 18, 2022 · 1 comment
Open

Fix build on Zing #15

JerryShea opened this issue Jun 18, 2022 · 1 comment
Assignees
Labels
bug Something isn't working review

Comments

@JerryShea
Copy link
Contributor

JerryShea commented Jun 18, 2022

See https://teamcity.chronicle.software/buildConfiguration/Chronicle_Posix_SnapshotZing8?mode=builds#all-projects

Fails on TC with Zing zing-jdk1.8.0-21.10.0.0-3-x86_64 but works locally under Ubuntu and Zing zing22.05.0.0-3-jdk8.0.332

@rogersimmons rogersimmons self-assigned this Jun 20, 2022
@rogersimmons
Copy link
Contributor

The issue is caused by Azul causing ENOMEM on mlock and mlock2 calls, even though the parameters passed appear valid.
As this works in newer versions of Azul it seems to be an issue within Azul itself. There are some google hits on Azul/mlock but I didn't find anything definite on a quick scan. mlock/2 are very rarely used/needed so for now these have been changed to no-ops if running under Azul.

@tgd tgd added the bug Something isn't working label Jan 25, 2024
@tgd tgd added the review label Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working review
Projects
None yet
Development

No branches or pull requests

3 participants