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

Assert from swalk.c when using memory disclaiming on NFS #20509

Closed
JamesKingdon opened this issue Nov 5, 2024 · 6 comments
Closed

Assert from swalk.c when using memory disclaiming on NFS #20509

JamesKingdon opened this issue Nov 5, 2024 · 6 comments

Comments

@JamesKingdon
Copy link
Contributor

A customer reported failures with JRE 17 Linux amd64-64 (build 17.0.12+7) and JRE 21 Linux amd64-64 (build 21.0.4+7-LTS) with the symptom of

j9vm.249    *   ** ASSERTION FAILED ** at /home/jenkins/workspace/build-scripts/jobs/jdk17u/jdk17u-linux-x64-openj9/workspace/build/src/openj9/runtime/vm/swalk.c:1629: ((0 ))

Corefile analysis shows large areas of memory reading as 0, and mmap'd to files with names starting with .nfs in the current working directory.

The problem can be avoided with the option -Xjit:disableDataCacheDisclaiming,disableIprofilerDataDisclaiming

This relates to issue #20239 however the customer has tested with the 0.48 m1 build and reports that the problem still exists, albeit with a different line number:

j9vm.249    *   ** ASSERTION FAILED ** at /home/jenkins/workspace/build-scripts/jobs/jdk17u/jdk17u-linux-x64-openj9/workspace/build/src/openj9/runtime/vm/swalk.c:1633: ((0 ))

Internal case reference: TS017553893

Copy link

github-actions bot commented Nov 5, 2024

Issue Number: 20509
Status: Open
Recommended Components: comp:vm, comp:gc, comp:build
Recommended Assignees: babsingh, jasonfengj9, pshipton

@JamesKingdon
Copy link
Contributor Author

I haven't checked that the change for 20239 is in the m1 build, but it seems probable.

@pshipton
Copy link
Member

pshipton commented Nov 5, 2024

If you are referring to the fix for 20239, i.e. eclipse-openj9/openj9-omr#215, then it's not in the m1 build.

The rc1 build does include it. I've provided it here https://ibm.box.com/s/3euojkv5pmk3x3yksbz3v9dqzvxrxrc8

@JamesKingdon
Copy link
Contributor Author

Ah, good to know, thank you Peter. I'll pass the info on.

@JamesKingdon
Copy link
Contributor Author

Customer reports success with the RC1 build - many thanks!
I'll close this issue given this information, it can always be reopened if more problems come to light.

Copy link

github-actions bot commented Nov 6, 2024

Issue Number: 20509
Status: Closed
Actual Components: comp:jit
Actual Assignees: No one :(
PR Assignees: No one :(

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

2 participants