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

Running java -Xaot: causes abort #20601

Open
pshipton opened this issue Nov 15, 2024 · 2 comments
Open

Running java -Xaot: causes abort #20601

pshipton opened this issue Nov 15, 2024 · 2 comments

Comments

@pshipton
Copy link
Member

If you run java -Xaot: it causes an abort. Normally you'd get diagnostic files. If running with -Xdump:none you don't get the OpenJ9 diagnostics, but still get a core file.

java -Xdump:none -Xaot:
JVMJ9VM015W Initialization error for library j9jit29(11): no arguments for -Xaot:
Aborted (core dumped)

This is related to the testCompilerArguments functional test. The test doesn't fail, but does produce a core file, and may timeout.

22:54:13  Testing: Check empty -Xaot:
22:54:13  Test start time: 2024/11/15 03:35:38 Coordinated Universal Time
22:54:13  Running command: "/home/jenkins/workspace/Test_openjdk21_j9_sanity.functional_ppc64_aix_Nightly_testList_1/jdkbinary/j2sdk-image/bin/java"   -Xdump:none -Xaot: -version
22:54:13  Time spent starting: 5 milliseconds
22:54:45  ***[TEST INFO 2024/11/15 03:36:08] destroy test process after timeout***
22:54:45  Time spent executing: 30038 milliseconds
22:54:45  ***[TEST INFO 2024/11/15 03:36:08] java.lang.IllegalThreadStateException: process hasn't exited***
22:54:45  ***[TEST INFO 2024/11/15 03:36:08] 	at java.base/java.lang.ProcessImpl.exitValue(ProcessImpl.java:452)***
22:54:45  ***[TEST INFO 2024/11/15 03:36:08] 	at Test.run(Test.java:259)***
22:54:45  ***[TEST INFO 2024/11/15 03:36:08] 	at TestSuite.runTest(TestSuite.java:84)***
22:54:45  ***[TEST INFO 2024/11/15 03:36:08] 	at TestIterator.addTest(TestIterator.java:84)***
22:54:45  ***[TEST INFO 2024/11/15 03:36:08] 	at TestConfigParser$TestConfigDocumentHandler.xmlEndElement(TestConfigParser.java:309)***
22:54:45  ***[TEST INFO 2024/11/15 03:36:08] 	at com.oti.j9.exclude.XMLParser._scan_element_close(XMLParser.java:370)***
22:54:45  ***[TEST INFO 2024/11/15 03:36:08] 	at com.oti.j9.exclude.XMLParser._scan_element_or_instruction(XMLParser.java:391)***
22:54:45  ***[TEST INFO 2024/11/15 03:36:08] 	at com.oti.j9.exclude.XMLParser.parseXML(XMLParser.java:442)***
22:54:45  ***[TEST INFO 2024/11/15 03:36:08] 	at com.oti.j9.exclude.XMLParser.parse(XMLParser.java:470)***
22:54:45  ***[TEST INFO 2024/11/15 03:36:08] 	at com.oti.j9.exclude.XMLParser.parse(XMLParser.java:459)***
22:54:45  ***[TEST INFO 2024/11/15 03:36:08] 	at TestConfigParser.runTests(TestConfigParser.java:78)***
22:54:45  ***[TEST INFO 2024/11/15 03:36:08] 	at MainTester.main(MainTester.java:106)***
@pshipton
Copy link
Member Author

@hzongaro is the abort intentional?

Copy link

Issue Number: 20601
Status: Open
Recommended Components: comp:test, comp:gc, comp:vm
Recommended Assignees: pshipton, jasonfengj9, keithc-ca

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

1 participant