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

SIGSEGV in LShiftLNode::Ideal

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • tbd
    • 17
    • hotspot
    • x86_64
    • linux

      The C2 compiler occasionally crashes on a continuous integration system running Linux x64 compiling com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl::doApplyEvent with the stack looking like this:

      Stack: [0x00007f932024d000,0x00007f932034e000], sp=0x00007f9320349890, free space=1010k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xbd5a30] LShiftLNode::Ideal(PhaseGVN*, bool)+0x2a0
      V [libjvm.so+0xc6ca42] PhaseIterGVN::transform_old(Node*)+0x92
      V [libjvm.so+0x3e11ee] ArrayCopyNode::prepare_array_copy(PhaseGVN*, bool, Node*&, Node*&, Node*&, Node*&, BasicType&, Type const*&, bool&)+0x37e
      V [libjvm.so+0x3e2da1] ArrayCopyNode::Ideal(PhaseGVN*, bool)+0x1c1
      V [libjvm.so+0xc6ca42] PhaseIterGVN::transform_old(Node*)+0x92
      V [libjvm.so+0xc69108] PhaseIterGVN::optimize()+0x118
      V [libjvm.so+0x5d7752] Compile::Optimize()+0x1332
      V [libjvm.so+0x5d8b75] Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, bool, DirectiveSet*)+0xe65
      V [libjvm.so+0x5179b1] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x191
      V [libjvm.so+0x5e1d8c] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xd2c
      V [libjvm.so+0x5e2be7] CompileBroker::compiler_thread_loop()+0x677
      V [libjvm.so+0xe69c20] JavaThread::thread_main_inner()+0xd0
      V [libjvm.so+0xe6d230] Thread::call_run()+0xc0
      V [libjvm.so+0xc23351] thread_native_entry(Thread*)+0xe1

      See also attached hs_err files.
      The source code for the compiled method can be found here: https://github.com/JetBrains/intellij-community/blob/836025bc355c8f0f6db6d045deee9d7c565cf933/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/persistent/PersistentFSImpl.java#L1899C49-L1899C49

        1. hs_err_pid114982.log
          135 kB
        2. hs_err_pid169867.log
          162 kB
        3. hs_err_pid204903.log
          131 kB
        4. hs_err_pid85584.log
          135 kB
        5. hs_err_pid9776.log
          161 kB
        6. replay_pid114982.log
          1.73 MB

            Unassigned Unassigned
            mkartashev Maxim Kartashev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: