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

Invalid access in nmethod::fix_oop_relocations

    Details

      Description

      Hotspot PIT testing, happened once on Linux-i586

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0xf719c22c, pid=23210, tid=23223
      #
      # JRE version: Java(TM) SE Runtime Environment (9.0) (build 9-internal+0-2016-08-12-205858.amurillo.jdk9-hs-2016-08-12-snapshot)
      # Java VM: Java HotSpot(TM) Server VM (9-internal+0-2016-08-12-205858.amurillo.jdk9-hs-2016-08-12-snapshot, mixed mode, parallel gc, linux-x86)
      # Problematic frame:
      # V [libjvm.so+0x90b22c] nmethod::fix_oop_relocations(unsigned char*, unsigned char*, bool)+0x13c
      #
      # Core dump will be written. Default location: Core dumps may be processed with "/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t e" (or dumping to /export/home/aurora/sandbox/results/workDir/compiler/unsafe/SunMiscUnsafeAccessTestObject/core.23210)
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp
      #

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

      Command Line: -Dtest.src=/export/home/aurora/CommonData/j2se_jdk/hotspot/test/compiler/unsafe -Dtest.src.path=/export/home/aurora/CommonData/j2se_jdk/hotspot/test/compiler/unsafe -Dtest.classes=/export/home/aurora/sandbox/results/workDir/classes/1/compiler/unsafe -Dtest.class.path=/export/home/aurora/sandbox/results/workDir/classes/1/compiler/unsafe -Dtest.vm.opts= -Dtest.tool.vm.opts= -Dtest.compiler.opts= -Dtest.java.opts=-Xmixed -server -XX:+CreateCoredumpOnCrash -XX:+IgnoreUnrecognizedVMOptions -XX:ReservedCodeCacheSize=256M -XX:+UseParallelGC -Dtest.jdk=/export/home/aurora/CommonData/TEST_JAVA_HOME -Dcompile.jdk=/export/home/aurora/CommonData/TEST_JAVA_HOME -Dtest.timeout.factor=16.0 -Dtest.modules=jdk.unsupported/sun.misc -Dtest.nativepath=/export/home/aurora/sandbox/JTREG_NATIVEPATH_LIBRARY_PREPARED --add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED -Xmixed -XX:+CreateCoredumpOnCrash -XX:+IgnoreUnrecognizedVMOptions -XX:ReservedCodeCacheSize=256M -XX:+UseParallelGC -Djava.library.path=/export/home/aurora/sandbox/JTREG_NATIVEPATH_LIBRARY_PREPARED -Diters=20000 -XX:-TieredCompilation com.sun.javatest.regtest.agent.MainWrapper /export/home/aurora/sandbox/results/workDir/compiler/unsafe/SunMiscUnsafeAccessTestObject.d/testng.2.jta compiler/unsafe/SunMiscUnsafeAccessTestObject.java compiler.unsafe.SunMiscUnsafeAccessTestObject

      Host: Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz, 2 cores, 11G, Oracle Linux Server release 6.4
      Time: Sun Aug 14 03:41:11 2016 UTC elapsed time: 0 seconds (0d 0h 0m 0s)

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

      Current thread (0xa312a400): JavaThread "C2 CompilerThread0" daemon [_thread_in_vm, id=23223, stack(0xa307f000,0xa3100000)]


      Current CompileTask:
      C2: 803 92 % compiler.unsafe.SunMiscUnsafeAccessTestObject::testFieldInstance @ 10 (31 bytes)

      Stack: [0xa307f000,0xa3100000], sp=0xa30fe2d0, free space=508k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x90b22c] nmethod::fix_oop_relocations(unsigned char*, unsigned char*, bool)+0x13c
      V [libjvm.so+0x90b2e6] nmethod::copy_values(GrowableArray<_jobject*>*)+0x66
      V [libjvm.so+0x933775] ValueRecorder<_jobject*>::copy_values_to(nmethod*)+0x25
      V [libjvm.so+0x9090ef] nmethod::nmethod(Method*, int, int, int, CodeOffsets*, int, DebugInformationRecorder*, Dependencies*, CodeBuffer*, int, OopMapSet*, ExceptionHandlerTable*, ImplicitExceptionTable*, AbstractCompiler*, int)+0x2ef
      V [libjvm.so+0x909bb8] nmethod::new_nmethod(methodHandle const&, int, int, CodeOffsets*, int, DebugInformationRecorder*, Dependencies*, CodeBuffer*, int, OopMapSet*, ExceptionHandlerTable*, ImplicitExceptionTable*, AbstractCompiler*, int)+0x158
      V [libjvm.so+0x3ca44b] ciEnv::register_method(ciMethod*, int, CodeOffsets*, int, CodeBuffer*, int, OopMapSet*, ExceptionHandlerTable*, ImplicitExceptionTable*, AbstractCompiler*, bool, bool, RTMState)+0x32b
      V [libjvm.so+0x468989] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0xf99
      V [libjvm.so+0x3a3f58] C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x208
      V [libjvm.so+0x470f33] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x463
      V [libjvm.so+0x471c85] CompileBroker::compiler_thread_loop()+0x295
      V [libjvm.so+0xaac835] compiler_thread_entry(JavaThread*, Thread*)+0x15
      V [libjvm.so+0xab9034] JavaThread::thread_main_inner()+0xf4
      V [libjvm.so+0xab9189] JavaThread::run()+0x119
      V [libjvm.so+0x94399c] thread_native_entry(Thread*)+0x10c
      C [libpthread.so.0+0x6bc9]
      C [libc.so.6+0xe2c9e] clone+0x5e


      siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x1a239408

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rbackman Rickard Backman
                Reporter:
                tpivovarova Tatiana Pivovarova (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: