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

[AArch64] Crash caused by assert fp_args < 32 under rt_call

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 16
    • 15
    • hotspot
    • aarch64
    • linux

      Crashes in the file src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp:1138:

      On:
      # assert((unsigned)fpargs < 32) failed: eek!

      The stack traces:
      --------------- T H R E A D ---------------

      Current thread (0x0000fffd2469d300): JavaThread "MainThread" [_thread_in_vm, id=4613, stack(0x0000fffcecfe0000,0x0000fffced1e0000)]

      Stack: [0x0000fffcecfe0000,0x0000fffced1e0000], sp=0x0000fffced1d9db0, free space=2023k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x129420c] rt_call(MacroAssembler*, unsigned char*, int, int, int) [clone .isra.0]+0x18c
      V [libjvm.so+0x129c358] SharedRuntime::generate_native_wrapper(MacroAssembler*, methodHandle const&, int, BasicType*, VMRegPair*, BasicType, unsigned char*)+0x1538
      V [libjvm.so+0x128335c] AdapterHandlerLibrary::create_native_wrapper(methodHandle const&)+0x32c
      V [libjvm.so+0x8002fc] CompileBroker::compile_method(methodHandle const&, int, int, methodHandle const&, int, CompileTask::CompileReason, DirectiveSet*, Thread*)+0x27c
      V [libjvm.so+0x801214] CompileBroker::compile_method(methodHandle const&, int, int, methodHandle const&, int, CompileTask::CompileReason, Thread*)+0xa4
      V [libjvm.so+0x7d6964] CompilationPolicy::compile_if_required(methodHandle const&, Thread*)+0x164
      V [libjvm.so+0xec42e0] LinkResolver::resolve_static_call(CallInfo&, LinkInfo const&, bool, Thread*)+0x138
      V [libjvm.so+0xeca594] LinkResolver::resolve_invoke(CallInfo&, Handle, constantPoolHandle const&, int, Bytecodes::Code, Thread*)+0x18c
      V [libjvm.so+0x1288404] SharedRuntime::find_callee_info_helper(JavaThread*, vframeStream&, Bytecodes::Code&, CallInfo&, Thread*)+0x6cc
      V [libjvm.so+0x1288a30] SharedRuntime::resolve_sub_helper(JavaThread*, bool, bool, Thread*)+0x148
      V [libjvm.so+0x1288f48] SharedRuntime::resolve_helper(JavaThread*, bool, bool, Thread*)+0x50
      V [libjvm.so+0x1289290] SharedRuntime::resolve_static_call_C(JavaThread*)+0x140
      v ~RuntimeStub::resolve_static_call
      C 0x7fd8c04a2420cc4b

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      v ~RuntimeStub::resolve_static_call
      J 3580 c1 vm.jit.LongTransitions.LTTest.nativeFnc9_invoke(Ljava/io/PrintStream;)V (3382 bytes) @ 0x0000fffd0e73b220 [0x0000fffd0e72bb40+0x000000000000f6e0]
      j vm.jit.LongTransitions.LTTest.main([Ljava/lang/String;)V+1593
      v ~StubRoutines::call_stub
      J 2244 jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java.base@15-ea (0 bytes) @ 0x0000fffd15744af4 [0x0000fffd15744a40+0x00000000000000b4]
      J 2242 c1 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java.base@15-ea (117 bytes) @ 0x0000fffd0e2337c0 [0x0000fffd0e232f00+0x00000000000008c0]
      J 2240 c1 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java.base@15-ea (10 bytes) @ 0x0000fffd0e1ec9f0 [0x0000fffd0e1ec8c0+0x0000000000000130]
      J 2221 c1 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java.base@15-ea (65 bytes) @ 0x0000fffd0e6b1f7c [0x0000fffd0e6b1c40+0x000000000000033c]
      J 2185 c1 com.sun.javatest.regtest.agent.MainWrapper$MainThread.run()V (476 bytes) @ 0x0000fffd0e6a1514 [0x0000fffd0e69fe00+0x0000000000001714]
      J 2183 c1 java.lang.Thread.run()V java.base@15-ea (17 bytes) @ 0x0000fffd0e69f1dc [0x0000fffd0e69f140+0x000000000000009c]
      v ~StubRoutines::call_stub

            Unassigned Unassigned
            enikitin Evgeny Nikitin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: