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

[S390X] test/hotspot/jtreg/applications/ctw/modules/jdk_jfr.java fails with SIGSEGV

XMLWordPrintable

      The test fails with the following stack trace:
      ----
      Thread 33 "C2 CompilerThre" received signal SIGSEGV, Segmentation fault.
      0x000003fffb67b622 in CodeBlob::code_begin (this=0x0) at /home/ubuntu/jdk/src/hotspot/share/code/codeBlob.hpp:197
      197 address code_begin() const { return (address) header_begin() + _code_offset; }
      (gdb) where
      #0 0x000003fffb67b622 in CodeBlob::code_begin (this=0x0)
          at /home/ubuntu/jdk/src/hotspot/share/code/codeBlob.hpp:197
      #1 0x000003fffb67b670 in RuntimeStub::entry_point (this=0x0)
          at /home/ubuntu/jdk/src/hotspot/share/code/codeBlob.hpp:423
      #2 0x000003fffc507ca8 in SharedRuntime::jfr_write_checkpoint ()
          at /home/ubuntu/jdk/src/hotspot/share/runtime/sharedRuntime.hpp:295
      #3 0x000003fffc4e14e4 in LibraryCallKit::inline_native_getEventWriter (this=0x3ffd8a7b980)
          at /home/ubuntu/jdk/src/hotspot/share/opto/library_call.cpp:3364
      #4 0x000003fffc4cfc8e in LibraryCallKit::try_to_inline (this=0x3ffd8a7b980, predicate=-1)
          at /home/ubuntu/jdk/src/hotspot/share/opto/library_call.cpp:493
      #5 0x000003fffc4cd532 in LibraryIntrinsic::generate (this=0x3ffa8829a18, jvms=0x3ffa8829998)
          at /home/ubuntu/jdk/src/hotspot/share/opto/library_call.cpp:119
      #6 0x000003fffbe1fec6 in Parse::do_call (this=0x3ffd8a7c5e0)
          at /home/ubuntu/jdk/src/hotspot/share/opto/doCall.cpp:679
      #7 0x000003fffc83604c in Parse::do_one_bytecode (this=0x3ffd8a7c5e0)
          at /home/ubuntu/jdk/src/hotspot/share/opto/parse2.cpp:2741
      #8 0x000003fffc81f1a8 in Parse::do_one_block (this=0x3ffd8a7c5e0)
          at /home/ubuntu/jdk/src/hotspot/share/opto/parse1.cpp:1586
      #9 0x000003fffc819b98 in Parse::do_all_blocks (this=0x3ffd8a7c5e0)
          at /home/ubuntu/jdk/src/hotspot/share/opto/parse1.cpp:724
      #10 0x000003fffc8194b8 in Parse::Parse (this=0x3ffd8a7c5e0, caller=0x3ffa8829588, parse_method=0x3ffa80b5b00,
          expected_uses=600) at /home/ubuntu/jdk/src/hotspot/share/opto/parse1.cpp:628
      #11 0x000003fffba4504a in ParseGenerator::generate (this=0x3ffa8829570, jvms=0x3ffa8829588)
          at /home/ubuntu/jdk/src/hotspot/share/opto/callGenerator.cpp:97
      #12 0x000003fffbc18738 in Compile::Compile (this=0x3ffd8a7d598, ci_env=0x3ffd8a7e480, target=0x3ffa80b5b00,
          osr_bci=-1, options=..., directive=0x3fff44de3b0) at /home/ubuntu/jdk/src/hotspot/share/opto/compile.cpp:797
      #13 0x000003fffba414ce in C2Compiler::compile_method (this=0x3fff45585d0, env=0x3ffd8a7e480,
          target=0x3ffa80b5b00, entry_bci=-1, install_code=true, directive=0x3fff44de3b0)
          at /home/ubuntu/jdk/src/hotspot/share/opto/c2compiler.cpp:141
      #14 0x000003fffbc4a4d8 in CompileBroker::invoke_compiler_on_method (task=0x3ffa4001040)
          at /home/ubuntu/jdk/src/hotspot/share/compiler/compileBroker.cpp:2331
      #15 0x000003fffbc48d0c in CompileBroker::compiler_thread_loop ()
          at /home/ubuntu/jdk/src/hotspot/share/compiler/compileBroker.cpp:1975
      #16 0x000003fffbc7600a in CompilerThread::thread_entry (thread=0x3ffa87e8130, __the_thread__=0x3ffa87e8130)
          at /home/ubuntu/jdk/src/hotspot/share/compiler/compilerThread.cpp:67
          
          (gdb) print SharedRuntime::_jfr_write_checkpoint_blob
      $15 = (RuntimeStub *) 0x0
      ----
      because SharedRuntime::generate_jfr_write_checkpoint is not implemented for S390x:
      https://github.com/openjdk/jdk/blame/06ba6cf3a137a6cdf572a876a46d18e51c248451/src/hotspot/cpu/s390/sharedRuntime_s390.cpp#L3412

            Unassigned Unassigned
            vpetko Vladimir Petko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: