RFR: 8365442: [asan] runtime/ErrorHandling/CreateCoredumpOnCrash.java fails

Johan Sjölen jsjolen at openjdk.org
Tue Aug 26 08:53:44 UTC 2025


On Mon, 25 Aug 2025 12:55:13 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> When running with asan - enabled binaries, the test CreateCoredumpOnCrash.java fails with the output below. Seems asan does not work well with ulimit used in the test, so better avoid running it with asan enabled.
> 
> 
> [2025-08-09T09:25:35.801707203Z] Gathering output for process 4376
> [2025-08-09T09:25:41.863125073Z] Waiting for completion for process 4376
> [2025-08-09T09:25:41.863790182Z] Waiting for completion finished for process 4376
> [2025-08-09T09:25:41.876094199Z] Gathering output for process 5017
> [2025-08-09T09:25:41.883445027Z] Waiting for completion for process 5017
> [2025-08-09T09:25:41.883598661Z] Waiting for completion finished for process 5017
> ----------System.err:(10/570)----------
> java.lang.Exception: ulimit is not set correctly, try 'ulimit -c unlimited' and re-run.
> at CreateCoredumpOnCrash.main(CreateCoredumpOnCrash.java:82)
> at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
> at java.base/java.lang.reflect.Method.invoke(Method.java:565)
> at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
> at java.base/java.lang.Thread.run(Thread.java:1474)

> Thanks for the review !
> 
> /integrate

Thanks for fixing it :). Could you please wait 24 hours after opening the PR and wait for a 2nd reviewer before integrating next time? I wasn't sure if this was actually trivial, and we want all time zones to get a chance to look at a PR before it goes in.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/26927#issuecomment-3223232637


More information about the hotspot-runtime-dev mailing list