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

1.5.0_15 C2 compiler crashes in PhaseIdealLoop::spinup() w/in split_if_with_blocks()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • P4
    • None
    • 5.0u4, 5.0u15
    • hotspot
    • None
    • sparc
    • solaris_9

    Description

      C2 compiler of 1.5.0_15 crashed (SEGV) in PhaseIdealLoop::spinup()

      # SIGSEGV (0xb) at pc=0xfb18088c, pid=6966, tid=24
      #
      # Java VM: Java HotSpot(TM) Server VM (1.5.0_15_6403625_july31_2008 mixed mode)
      # Problematic frame:
      # V [libjvm.so+0x18088c]


      Stack: [0x41d00000,0x41d80000), sp=0x41d7e718, free space=505k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x18088c] Node*PhaseIdealLoop::spinup(Node*,Node*,Node*,Node*,Node*,small_cache*)+0x48
      V [libjvm.so+0x181e98] void PhaseIdealLoop::handle_use(Node*,Node*,small_cache*,Node*,Node*,Node*,Node*,Node*)+0x50
      V [libjvm.so+0x278a50] void PhaseIdealLoop::do_split_if(Node*)+0x8a8
      V [libjvm.so+0x20f548] void PhaseIdealLoop::split_if_with_blocks(VectorSet&,Node_Stack&)+0x158
      V [libjvm.so+0x201fc0] PhaseIdealLoop::PhaseIdealLoop(PhaseIterGVN&,const PhaseIdealLoop*,int)+0xbcc
      V [libjvm.so+0x27d0c8] void Compile::Optimize()+0x17c
      V [libjvm.so+0x27fd44] Compile::Compile(ciEnv*,C2Compiler*,ciMethod*,int,int)+0xbc8
      V [libjvm.so+0x275e30] void C2Compiler::compile_method(ciEnv*,ciMethod*,int)+0xb8
      V [libjvm.so+0x2769e0] void CompileBroker::invoke_compiler_on_method(CompileTask*)+0x4d4
      V [libjvm.so+0x333354] void CompileBroker::compiler_thread_loop()+0x454
      V [libjvm.so+0x2dbad8] void JavaThread::run()+0x2b8
      V [libjvm.so+0x67d808] void*_start(void*)+0x210


      The core file shows the following stack trace:
      (dbx) where
      current thread: t@24
      =>[1] __lwp_kill(0x0, 0x6, 0x0, 0xfbcbc000, 0xfb684448, 0x161c10), at 0xfbca0218
        [2] raise(0x6, 0x0, 0x41d7df98, 0x7ea8, 0x8e24, 0x8c00), at 0xfbc50c80
        [3] abort(0x7400, 0xfb7e6000, 0xfb6843e4, 0xfb83c014, 0x0, 0x331f8), at 0xfbc36e98
        [4] os::abort(0x1, 0x0, 0xfb81b094, 0xfb7e6000, 0x7da8, 0x7c00), at 0xfb67dce4
        [5] VMError::report_and_die(0x0, 0xfb842638, 0xfb83bfec, 0x1, 0xfb6824ac, 0xfb83bfec), at 0xfb70d604
        [6] JVM_handle_solaris_signal(0xb, 0x41d7e698, 0x41d7e3e0, 0x8000, 0xfb83af98, 0x2abc00), at 0xfb273fa8
        [7] __sighndlr(0xb, 0x41d7e698, 0x41d7e3e0, 0xfb2734bc, 0x0, 0x0), at 0xfbd156c8
        ---- called from signal handler with signal 11 (SIGSEGV) ------
        [8] PhaseIdealLoop::spinup(0x0, 0x3308a3c, 0x328bbb0, 0x328bc9c, 0xe436d8, 0x3308da0), at 0xfb18088c
        [9] PhaseIdealLoop::handle_use(0x41d7ed8c, 0xe436d8, 0x3308da0, 0x41d7e860, 0x3308a3c, 0x328bbb0), at 0xfb181e90
        [10] PhaseIdealLoop::do_split_if(0x3308dc8, 0x330a2cc, 0x41d7ed8c, 0x3308d44, 0x41d7ed9c, 0xffffffff), at 0xfb278a48
        [11] PhaseIdealLoop::split_if_with_blocks(0x41d7ed8c, 0x41d7e9c8, 0x41d7e9b8, 0x200, 0x330a0c0, 0x330a070), at 0xfb20f540
        [12] PhaseIdealLoop::PhaseIdealLoop(0x41d7ed8c, 0xffffffff, 0x41d7e9a8, 0x2097f90, 0x0, 0x41d7ed90), at 0xfb201fb8
        [13] Compile::Optimize(0x41d7f418, 0x2a5c38, 0x8d18, 0x8c00, 0xfb7e6000, 0x1000), at 0xfb27d0c0
        [14] Compile::Compile(0x41d7f418, 0x333759c, 0x2a2cb8, 0x0, 0xfb75727c, 0x332f5a8), at 0xfb27fd3c
        [15] C2Compiler::compile_method(0x41d7fd14, 0xfb742a08, 0x1fd88c8, 0x87, 0x2a2cb8, 0xd1800001), at 0xfb275e28
        [16] CompileBroker::invoke_compiler_on_method(0x11a9a48, 0x2ac1f4, 0x2a5c38, 0x2abc00, 0xfb757ca3, 0x41d7fd14), at 0xfb2769d8
        [17] CompileBroker::compiler_thread_loop(0xfb83b0b0, 0x2a5ba8, 0x2abc00, 0xeb0048c8, 0x2ac1f0, 0x0), at 0xfb33334c
        [18] JavaThread::run(0x2abc00, 0xfb83f038, 0x7834, 0x0, 0x7800, 0x9400), at 0xfb2dbad0
        [19] _start(0x2abc00, 0x1b36, 0xfb7e6000, 0x0, 0x5874, 0x5800), at 0xfb67d800
      (dbx)

      Attachments

        Issue Links

          Activity

            People

              minqi Yumin Qi
              thlenz Thomas Lenz (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: