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

runtime/StackGuardPages/TestStackGuardPagesNative.java fails with exit code 139

XMLWordPrintable

      This failure has been spotted in a few recent adhoc builds all based on recent versions of mainline (at/around jdk-21+11). Seen on both linux-aarch64 and linux-x64 fastdebug. In at least one of the cases there were no significant changes on top of mainline.

       stdout: [Test started with pid: 1281575
      Java thread is alive.

      Testing NATIVE_OVERFLOW
      Testing stack guard page behaviour for other thread
      run_native_overflow 1281626
      Got SIGSEGV(2) at address: 0xffff8daf3fa0
      Test PASSED. Got access violation accessing guard page at 7983
      Test PASSED. Not initial thread
      ];
       stderr: []
       exitValue = 139

      java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [139]
      at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:490)
      at TestStackGuardPagesNative.main(TestStackGuardPagesNative.java:44)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
      at java.base/java.lang.Thread.run(Thread.java:1623)

        There are no Sub-Tasks for this issue.

            jsjolen Johan Sjölen
            mikael Mikael Vidstedt
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: