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

AEADBufferTest crash

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • repo-shenandoah
    • hotspot
    • generic

      I am seeing this failure in some of our Shenandoah PRs' GHA testing since a day or two ago. I suspect a. bug has been pulled in via a merge from upstream JDK tip. Filing this as a placeholder until it is traiged and refined. I am temporarily assigning to myself to triage into the right place.



      These tests reported errors:

      com/sun/crypto/provider/Cipher/AEAD/AEADBufferTest
      Test output for failed tests
      com/sun/crypto/provider/Cipher/AEAD/AEADBufferTest
      View test results
      View HotSpot error log
      build/run-test-prebuilt/test-support/jtreg_test_jdk_tier1_part3/com/sun/crypto/provider/Cipher/AEAD/AEADBufferTest/hs_err_pid6102.log:

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00000000, pid=6102, tid=10131
      #
      # JRE version: OpenJDK Runtime Environment (22.0) (build 22-internal-ysramakrishna-ca5e058eb490782a322a7e708f9e60be5982092b)
      # Java VM: OpenJDK Server VM (22-internal-ysramakrishna-ca5e058eb490782a322a7e708f9e60be5982092b, mixed mode, tiered, g1 gc, linux-x86)
      # Problematic frame:
      # J 2507 c2 com.sun.crypto.provider.ChaCha20Cipher.chaCha20Transform([BII[BI)V java.base@22-internal (193 bytes) @ 0xef25863d [0xef2582c0+0x0000037d]
      #
      # CreateCoredumpOnCrash turned off, no core file dumped
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #

      --------------- S U M M A R Y ------------

      Command Line: -Xmx768m -XX:MaxRAMPercentage=12.5 -Dtest.boot.jdk=/home/runner/work/shenandoah/shenandoah/bootjdk/jdk -Djava.io.tmpdir=/home/runner/work/shenandoah/shenandoah/build/run-test-prebuilt/test-support/jtreg_test_jdk_tier1_part3/tmp -ea -esa -XX:-CreateCoredumpOnCrash -Djava.library.path=/home/runner/work/shenandoah/shenandoah/bundles/tests/jdk/jtreg/native --patch-module=java.base=/home/runner/work/shenandoah/shenandoah/build/run-test-prebuilt/test-support/jtreg_test_jdk_tier1_part3/patches/java.base -Djava.security.policy=file:/home/runner/work/shenandoah/shenandoah/build/run-test-prebuilt/test-support/jtreg_test_jdk_tier1_part3/jtreg.policy com.sun.javatest.regtest.agent.AgentServer -id 9 -logfile /home/runner/work/shenandoah/shenandoah/build/run-test-prebuilt/test-support/jtreg_test_jdk_tier1_part3/jtData/agentServer.9.trace -allowSetSecurityManager -port 45801 -timeoutFactor 4.0

      Host: AMD EPYC 7763 64-Core Processor, 4 cores, 15G, Ubuntu 22.04.3 LTS
      Time: Fri Dec 15 09:01:47 2023 UTC elapsed time: 34.090060 seconds (0d 0h 0m 34s)

      --------------- T H R E A D ---------------

      Current thread (0xb56ee140): JavaThread "AgentVMThread" [_thread_in_Java, id=10131, stack(0xb3fb0000,0xb4000000) (320K)]

      Stack: [0xb3fb0000,0xb4000000], sp=0xb3ffe8d0, free space=314k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      J 2507 c2 com.sun.crypto.provider.ChaCha20Cipher.chaCha20Transform([BII[BI)V java.base@22-internal (193 bytes) @ 0xef25863d [0xef2582c0+0x0000037d]
      J 2448 c1 com.sun.crypto.provider.ChaCha20Cipher$EngineAEADEnc.doUpdate([BII[BI)I java.base@22-internal (148 bytes) @ 0xe7a47964 [0xe7a47640+0x00000324]
      J 2483 c1 com.sun.crypto.provider.ChaCha20Cipher$EngineAEADEnc.doFinal([BII[BI)I java.base@22-internal (64 bytes) @ 0xe7a5d240 [0xe7a5d160+0x000000e0]
      J 2487 c1 com.sun.crypto.provider.ChaCha20Cipher.engineDoFinal([BII[BI)I java.base@22-internal (52 bytes) @ 0xe7a5e818 [0xe7a5e700+0x00000118]
      J 2076 c1 javax.crypto.Cipher.doFinal([BII[BI)I java.base@22-internal (59 bytes) @ 0xe79b6678 [0xe79b6400+0x00000278]
      J 2017 c1 AEADBufferTest.crypto(ZLAEADBufferTest$Data;[B[B)V (1208 bytes) @ 0xe79974c0 [0xe7994140+0x00003380]
      J 2105 c1 AEADBufferTest.encrypt(LAEADBufferTest$Data;)V (119 bytes) @ 0xe79cbc1c [0xe79ca7e0+0x0000143c]
      j AEADBufferTest.test()V+181
      j AEADBufferTest.main([Ljava/lang/String;)V+1458
      j java.lang.invoke.LambdaForm$DMH+0xb4402a58.invokeStatic(Ljava/lang/Object;Ljava/lang/Object;)V+10 java.base@22-internal
      j java.lang.invoke.LambdaForm$MH+0xb4a63280.invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;+33 java.base@22-internal
      j java.lang.invoke.Invokers$Holder.invokeExact_MT(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;+20 java.base@22-internal
      j jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+55 java.base@22-internal
      j jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+23 java.base@22-internal
      j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+102 java.base@22-internal
      j com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run()V+10
      j java.lang.Thread.runWith(Ljava/lang/Object;Ljava/lang/Runnable;)V+5 java.base@22-internal
      j java.lang.Thread.run()V+19 java.base@22-internal
      v ~StubRoutines::call_stub 0xeebe1c7c
      V [libjvm.so+0x6fef62] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x232 (javaCalls.cpp:415)
      V [libjvm.so+0x6ffb75] JavaCalls::call_virtual(JavaValue*, Handle, Klass*, Symbol*, Symbol*, JavaThread*)+0x195 (javaCalls.cpp:329)
      V [libjvm.so+0x7e113b] thread_entry(JavaThread*, JavaThread*)+0x8b (jvm.cpp:2937)
      V [libjvm.so+0x7193c8] JavaThread::thread_main_inner() [clone .part.0]+0xb8 (javaThread.cpp:720)
      V [libjvm.so+0xc9e0d3] Thread::call_run()+0xa3 (thread.cpp:220)
      V [libjvm.so+0xa4ef69] thread_native_entry(Thread*)+0xf9 (os_linux.cpp:789)
      C [libc.so.6+0x86071]

            ysr Y. Ramakrishna
            ysr Y. Ramakrishna
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: