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

JWS fails with base_loc=NULL in OopMapSet::all_do.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.3.0
    • 1.0.1, 1.3.0
    • hotspot
    • None
    • sol-beta
    • generic, sparc
    • generic, solaris_7

      This assertion failed around line 378 in oopMap.cpp

            if ( loc != NULL ) {
              oop *base_loc = fr->oopmapreg_to_location(omv.content_reg(), reg_map)
      ;
              assert(base_loc != NULL, "base pointer is NULL"); <<<<
              oop *derived_loc = loc;
              derived_oop_fn(base_loc, derived_loc);
            }


      stack trace

       1149 ::abort(); // dump core (for debugging)
      (dbx) where
      current thread: t@4
        [1] __sigprocmask(0x0, 0x60eafb10, 0x0, 0xffffffff, 0xffffffff, 0x0), at 0xef784d34
        [2] _resetsig(0xef79787c, 0xef20bdd8, 0xef796bc8, 0x0, 0x0, 0xef20be44), at 0xef77ba54
        [3] _sigon(0xef79b6c0, 0xef79b640, 0xef20be3c, 0xef20a8a4, 0x6, 0x4), at 0xef77b19c
        [4] _thrp_kill(0x0, 0x4, 0x6, 0xef796bc8, 0xef20bdd8, 0xef79afdc), at 0xef77dff0
        [5] abort(0xef723180, 0xef20a9a0, 0x0, 0xfffffff8, 0x0, 0xef20a9c1), at 0xef6ba600
      =>[6] os::abort(), line 1149 in "os_solaris.cpp"
        [7] report_error(is_vm_internal_error = 0x1, file_name = 0xee8d08d0 "/export/home1/java/hotspot_baseline_d/src/share/vm/compiler/oopMap.cpp", line_no = 0x17a, title = 0xee7516c4 "assertion failure", format = 0xee7516d8 "assert(%s, "%s")", ...), line 313 in "debug.cpp"
        [8] report_assertion_failure(code_str = 0xee8d08c0 "base_loc != 0", file_name = 0xee8d08d0 "/export/home1/java/hotspot_baseline_d/src/share/vm/compiler/oopMap.cpp", line_no = 0x17a, message = 0xee8d0918 "base pointer is NULL"), line 145 in "debug.cpp"
        [9] OopMapSet::all_do(fr = 0xef20b670, cb = 0xeb40cc50, reg_map = 0xef20b680, oop_fn = 0xee150768 = &Scavenge::scavenge_oop_with_check(oopDesc**), derived_oop_fn = 0xee5e6610 = &`libjvm_g.so`oopMap.cpp`add_derived_oop(oopDesc**, oopDesc**), value_fn = 0xee5e65d0 = &`libjvm_g.so`oopMap.cpp`do_nothing(oopDesc**), dead_fn = 0xee5e65d0 = &`libjvm_g.so`oopMap.cpp`do_nothing(oopDesc**)), line 378 in "oopMap.cpp"
        [10] OopMapSet::oops_do(fr = 0xef20b670, cb = 0xeb40cc50, reg_map = 0xef20b680, f = 0xee150768 = &Scavenge::scavenge_oop_with_check(oopDesc**)), line 353 in "oopMap.cpp"
        [11] frame::oops_code_blob_do(this = 0xef20b670, f = 0xee150768 = &Scavenge::scavenge_oop_with_check(oopDesc**), reg_map = 0xef20b680), line 628 in "frame.cpp"
        [12] frame::oops_do(this = 0xef20b670, f = 0xee150768 = &Scavenge::scavenge_oop_with_check(oopDesc**), map = 0xef20b680), line 743 in "frame.cpp"
        [13] JavaThread::oops_do(this = 0x1b7b80, f = 0xee150768 = &Scavenge::scavenge_oop_with_check(oopDesc**)), line 1356 in "thread.cpp"
        [14] Threads::oops_do(f = 0xee150768 = &Scavenge::scavenge_oop_with_check(oopDesc**)), line 2081 in "thread.cpp"
        [15] Scavenge::invoke_at_safepoint(size_to_be_allocated = 0x800, deferred = 0, notify_ref_lock = 0), line 550 in "scavenge.cpp"
        [16] VM_Scavenge::doit(this = 0xdf101294), line 109 in "vm_operations.cpp"
        [17] VM_Operation::evaluate(this = 0xdf101294), line 33 in "vm_operations.cpp"
        [18] VMThread::evaluate_operation(this = 0x12f508, op = 0xdf101294), line 217 in "vmThread.cpp"
        [19] VMThread::loop(this = 0x12f508), line 290 in "vmThread.cpp"
        [20] VMThread::vm_thread_main(notify_lock = 0x2bab8), line 162 in "vmThread.cpp"
        [21] _start(osthread = 0x12f7a0), line 514 in "os_solaris.cpp"
      (dbx)

            jrose John Rose
            jmasa Jon Masamitsu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: