Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8365442

[asan] runtime/ErrorHandling/CreateCoredumpOnCrash.java fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 26
    • hotspot
    • generic
    • linux

      When running with asan - enabled binaries, the test CreateCoredumpOnCrash.java fails with the output below, maybe it has issues with ulimit :

      [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)

            Unassigned Unassigned
            mbaesken Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: