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

Matthias Baesken mbaesken at openjdk.org
Tue Aug 26 06:16:40 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)

This pull request has now been integrated.

Changeset: e5ec4641
Author:    Matthias Baesken <mbaesken at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/e5ec464120bec50ab111ee32dfb930f26150b109
Stats:     1 line in 1 file changed: 1 ins; 0 del; 0 mod

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

Reviewed-by: jsjolen

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

PR: https://git.openjdk.org/jdk/pull/26927


More information about the hotspot-runtime-dev mailing list