[lworld] AgentServer crashes with SIGBUS

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: repo-valhalla
    • Component/s: infrastructure
    • aarch64
    • linux

      The following test failed in the Valhalla CI:

      java/lang/invoke/VarHandles/describeConstable/DescribeConstableTest.java

      Here's a snippet from the log file (does not show the crash):

      #section:junit
      ----------messages:(6/232)----------
      command: junit DescribeConstableTest
      reason: User specified action: run junit DescribeConstableTest
      started: Tue Jan 20 02:36:33.181 UTC 2026
      Mode: agentvm
      finished: Tue Jan 20 02:53:00.659 UTC 2026
      elapsed time (seconds): 987.478
      ----------configuration:(0/0)----------

      <snip>

      result: Error. Cannot get VM for test: java.net.SocketTimeoutException: Accept timed out

      Here's snippets from the hs_err_pid file:

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGBUS (0x7) at pc=0xfefefefefefefefe, pid=2202641, tid=2202645
      #
      # JRE version: Java(TM) SE Runtime Environment (27.0+1) (fastdebug build 27-valhalla+1-51)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 27-valhalla+1-51, compiled mode, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
      # Problematic frame:
      #
      [error occurred during error reporting (printing problematic frame), id 0xe0000000, Internal Error (/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S11766/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/53686e6d-935c-4bfb-8e44-20d566544086/runs/eeddcc3c-0d06-4017-a9bf-ebbcce54de34/workspace/open/src/hotspot/cpu/aarch64/frame_aarch64.inline.hpp:105)]
      # Core dump will be written. Default location: Determined by the following: "/opt/core.sh %p" (alternatively, falling back to /opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S11765/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/6f444077-6de5-4f6a-aded-04d9d5a75cf9/runs/a3dab00e-a1fa-4e8d-a899-79df2ddfccd9/testoutput/test-support/jtreg_open_test_jdk_jdk_lang/scratch/6/core.2202641)

      <snip>

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

      Current thread (0x0000ffffa802f230): JavaThread "main" [_thread_in_vm, id=2202645, stack(0x0000ffffafc40000,0x0000ffffafe3e000) (2040K)]

      Stack: [0x0000ffffafc40000,0x0000ffffafe3e000]
      [error occurred during error reporting (printing stack bounds), id 0xe0000000, Internal Error (/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S11766/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/53686e6d-935c-4bfb-8e44-20d566544086/runs/eeddcc3c-0d06-4017-a9bf-ebbcce54de34/workspace/open/src/hotspot/cpu/aarch64/frame_aarch64.inline.hpp:105)]

      [error occurred during error reporting (printing native stack (with source info)), id 0xe0000000, Internal Error (/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S11766/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/53686e6d-935c-4bfb-8e44-20d566544086/runs/eeddcc3c-0d06-4017-a9bf-ebbcce54de34/workspace/open/src/hotspot/cpu/aarch64/frame_aarch64.inline.hpp:105)]

      Retrying call stack printing without source information...

      [error occurred during error reporting (retry printing native stack (no source info)), id 0xb, SIGSEGV (0xb) at pc=0x0000ffffb240ec8c]
      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j java.util.Properties.load(Ljava/io/InputStream;)V+13 java.base@27-valhalla
      j java.security.Security$SecPropLoader.loadFromPath(Ljava/nio/file/Path;Ljava/security/Security$SecPropLoader$LoadingMode;)V+148 java.base@27-valhalla
      j java.security.Security$SecPropLoader.loadMaster()V+28 java.base@27-valhalla
      J 4783 c2 java.security.Security$SecPropLoader.loadAll()V java.base@27-valhalla (7 bytes) @ 0x0000ffffad1974c0 [0x0000ffffad197480+0x0000000000000040]
      j java.security.Security.initialize()V+0 java.base@27-valhalla
      j java.security.Security.<clinit>()V+19 java.base@27-valhalla
      v ~StubRoutines::Stub Generator call_stub_stub 0x0000ffffacb9649c
      j sun.security.util.SecurityProperties.getOverridableProperty(Ljava/lang/String;)Ljava/lang/String;+10 java.base@27-valhalla
      j sun.security.util.SecurityProperties.includedInExceptions(Ljava/lang/String;)Z+2 java.base@27-valhalla
      J 4776 c2 sun.security.util.SecurityProperties.<clinit>()V java.base@27-valhalla (9 bytes) @ 0x0000ffffad195e60 [0x0000ffffad195dc0+0x00000000000000a0]
      v ~StubRoutines::Stub Generator call_stub_stub 0x0000ffffacb9649c
      j jdk.internal.util.Exceptions.setup()V+15 java.base@27-valhalla
      j java.net.InetAddress.<clinit>()V+43 java.base@27-valhalla
      v ~StubRoutines::Stub Generator call_stub_stub 0x0000ffffacb9649c
      j com.sun.javatest.regtest.agent.AgentServer.<init>([Ljava/lang/String;)V+46
      J 4765 c2 com.sun.javatest.regtest.agent.AgentServer.main([Ljava/lang/String;)V (41 bytes) @ 0x0000ffffad19baf8 [0x0000ffffad19ba40+0x00000000000000b8]
      v ~StubRoutines::Stub Generator call_stub_stub 0x0000ffffacb9649c

      siginfo: si_signo: 7 (SIGBUS), si_code: 1 (BUS_ADRALN), si_addr: 0xfefefefefefefefe

      Based on this line from the test's log file:

      result: Error. Cannot get VM for test: java.net.SocketTimeoutException: Accept timed out

      I don't think the test has started yet and it looks like, based on the
      partial stack from the hs_err_pid file, that the AgentServer crashed.

      I'm starting this issue off in infrastructure/other because I don't know
      if we had a corrupted JDK install in the test task or if we have a
      JTREG problem or something else entirely.

            Assignee:
            Unassigned
            Reporter:
            Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: