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

test with -prof fails assertion

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.3.0
    • hotspot
    • generic
    • solaris_7

      This is run with a C2 jvmg build from a workspace up to date as of
      7pm, 2/29/00. See comments for instructions on how to reproduce this
      bug. It occurs every time. The problem occurs with -Xint and
      mixed mode.


      arches% run.jdk.dbg.deltablue
      ===================================================
      Testing /net/jde1/export/jtech18/jmasa/tmp/jdk1.3-test/bin/java_g -ss128k
      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-R)
      Java HotSpot(TM) Server VM (build 2.0, mixed mode)
      Wed Mar 1 14:54:32 PST 2000
       
      ===================================================
      Testing -prof...
      #
      # HotSpot Virtual Machine Error, assertion failure
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # assert(state == SUSPENDED || state == ALLOCATED || state == INITIALIZED, "must be suspended")
      #
      # Error ID: /net/jde1/export/jtechbig/jmasa/hotspot_baseline_c/build/solaris/../../src/os/solaris/vm/os_solaris.cpp, 1753 [ Patched ]
      #
      # Problematic Thread: prio=5 tid=0x3e650 nid=0x1 runnable
      #
      Dumping core....
      Abort (core dumped)

      ------------------------------------------------------------------------

      stack trace

      arches% dbx /net/jde1/export/jtech18/jmasa/tmp/jdk1.3-test/bin/../bin/sparc/native_threads/java_g ./core
      Reading java_g
      core file header read successfully
      Reading ld.so.1
      Reading libthread.so.1
      Reading libdl.so.1
      Reading libc.so.1
      Reading libX11.so.4
      Reading libXext.so.0
      Reading libsocket.so.1
      Reading libnsl.so.1
      Reading libmp.so.2
      Reading libc_psr.so.1
      Reading libjvm_g.so
      Reading libC.so.5
      Reading libm.so.1
      Reading libw.so.1
      Reading libhpi_g.so
      Reading libverify_g.so
      Reading libjava_g.so
      Reading libzip_g.so
      Reading libhprof_g.so
      detected a multithreaded program
      t@1 (l@1) terminated by signal ABRT (Abort)
      dbx: warning: can't find file "/usr/re/jdk1.3/src/solaris/build/solaris/java/main/java/obj_g/sparc/java.o"
      dbx: warning: see `help pathmap'
      Current function is os::abort
       1135 ::abort(); // dump core (for debugging)
      (dbx) where
      current thread: t@1
        [1] __sigprocmask(0x0, 0x712c4080, 0x0, 0xffffffff, 0xffffffff, 0x0), at 0xff3699a4
        [2] _resetsig(0xff37c55c, 0x0, 0x25c68, 0x0, 0x0, 0x25ce4), at 0xff35f1e8
        [3] _sigon(0xff380ff8, 0xff380fd8, 0x25cdc, 0xffbeb054, 0x6, 0x1), at 0xff35e934
        [4] _thrp_kill(0x0, 0x1, 0x6, 0xff37c55c, 0x25c68, 0xff38095c), at 0xff3617ac
        [5] abort(0xff332118, 0xffbeb150, 0x0, 0xfffffff8, 0x0, 0xffbeb171), at 0xff2b9338
      =>[6] os::abort(), line 1135 in "os_solaris.cpp"
        [7] report_error(is_vm_internal_error = 0x1, file_name = 0xfe3e6d68 "/net/jde1/export/jtechbig/jmasa/hotspot_baseline_c/build/solaris/../../src/os/solaris/vm/os_solaris.cpp", line_no = 0x6d9, title = 0xfe33dac4 "assertion failure", format = 0xfe33dad8 "assert(%s, "%s")", ...), line 322 in "debug.cpp"
        [8] report_assertion_failure(code_str = 0xfe3e6d24 "state == SUSPENDED || state == ALLOCATED || state == INITIALIZED", file_name = 0xfe3e6d68 "/net/jde1/export/jtechbig/jmasa/hotspot_baseline_c/build/solaris/../../src/os/solaris/vm/os_solaris.cpp", line_no = 0x6d9, message = 0xfe3e6dd0 "must be suspended"), line 145 in "debug.cpp"
        [9] os::fetch_top_frame(thread = 0x3e650, ret_younger_sp = 0xffbebc64, ret_sp = 0xffbebc68), line 1753 in "os_solaris.cpp"
        [10] JavaThread::get_top_frame(this = 0x3e650, _fr = 0xffbebd14, _addr = (nil), for_profile_only = 0x1), line 90 in "frame_sparc.cpp"
        [11] JavaThread::profile_last_Java_frame(this = 0x3e650, _fr = 0xffbebdbc, addr = (nil)), line 138 in "frame_sparc.cpp"
        [12] jvmpi::get_call_trace(trace = 0xffbebe64, depth = 0x4), line 1631 in "jvmpi.cpp"
      dbx: warning: can't find file "/usr/re/jdk1.3/src/solaris/build/solaris/java/hprof/obj_g/sparc/hprof_trace.o"
        [13] hprof_get_trace(0x3e6e8, 0x4, 0x7e200, 0x0, 0x0, 0xff332118), at 0xfd37caac
      dbx: warning: can't find file "/usr/re/jdk1.3/src/solaris/build/solaris/java/hprof/obj_g/sparc/hprof_jni.o"
        [14] hprof_jni_globalref_alloc_event(0x3e6e8, 0xf8c798a8, 0x47b94, 0x0, 0x0, 0xff332118), at 0xfd372f94
      dbx: warning: can't find file "/usr/re/jdk1.3/src/solaris/build/solaris/java/hprof/obj_g/sparc/hprof.o"
        [15] hprof_notify_event(0xffbec030, 0x0, 0x7e200, 0xffffffff, 0x0, 0x122a48), at 0xfd36ca7c
        [16] jvmpi::post_event_vm_mode(event = 0xffbec030, calling_thread = (nil)), line 158 in "jvmpi.cpp"
        [17] jvmpi::post_new_globalref_event(ref = 0x47b94, obj = 0xf8c798a8), line 508 in "jvmpi.cpp"
        [18] JNIHandles::make_global(obj = CLASS), line 69 in "jniHandles.cpp"
        [19] CompileTask::initialize(this = 0x2a41d8, compile_id = 0x1, method = CLASS, osr_bci = 0xffffffff, adapter_kind = 0xffffffff, is_blocking = 0), line 141 in "compileBroker.cpp"
        [20] CompileBroker::create_compile_task(queue = 0x2a2ea8, compile_id = 0x1, method = CLASS, osr_bci = 0xffffffff, adapter_kind = 0xffffffff, blocking = 0), line 901 in "compileBroker.cpp"
        [21] CompileBroker::compile_method_base(method = CLASS, osr_bci = 0xffffffff, __the_thread__ = 0x3e650), line 569 in "compileBroker.cpp"
        [22] CompileBroker::compile_method(method = CLASS, osr_bci = 0xffffffff, __the_thread__ = 0x3e650), line 643 in "compileBroker.cpp"
        [23] Recompilation::methodOop_invocation_counter_overflow(method = CLASS, __the_thread__ = 0x3e650), line 72 in "recompile.cpp"
        [24] InterpreterRuntime::invocation_counter_overflow(thread = 0x3e650, in_loop = 0, extra_frame_size = 0), line 640 in "interpreterRuntime.cpp"
        [25] 0x88ed8(0xffbec5d4, 0x0, 0xffbec668, 0xa0cec, 0x0, 0xffbec508), at 0x88ed7
        [26] 0x85858(0xffbec680, 0x0, 0x6d, 0xa0a2c, 0x1c, 0xffbec560), at 0x85857
        [27] 0x85858(0xffbec714, 0xffbec788, 0xffbec78c, 0xa0a2c, 0x1c, 0xffbec608), at 0x85857
        [28] 0x85858(0xffbec78c, 0x3e650, 0x8, 0xa11ac, 0x8, 0xffbec6b0), at 0x85857
        [29] 0xfe520698(0xffbec828, 0xffbecaf8, 0xa, 0xf8c05970, 0x4, 0xffbec730), at 0xfe520697
        [30] JavaCalls::call_helper(result = 0xffbecaf0, m = 0xffbeca04, args = 0xffbeca08, __the_thread__ = 0x3e650), line 347 in "javaCalls.cpp"
        [31] os::os_exception_wrapper(f = 0xfdaf8318 = &JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*), value = 0xffbecaf0, method = 0xffbeca04, args = 0xffbeca08, thread = 0x3e650), line 1839 in "os_solaris.cpp"
        [32] JavaCalls::call(result = 0xffbecaf0, method = CLASS, args = 0xffbeca08, __the_thread__ = 0x3e650), line 284 in "javaCalls.cpp"
        [33] jni_invoke(env = 0x3e6e8, result = 0xffbecaf0, receiver = 0xffbecd58, call_type = JNI_VIRTUAL, methodID = 0x132af8, args = 0xffbecad4, __the_thread__ = 0x3e650), line 587 in "jni.cpp"
        [34] jni_CallObjectMethod(env = 0x3e6e8, obj = 0xffbecd58, methodID = 0x132af8, ...), line 762 in "jni.cpp"
      dbx: warning: can't find file "/usr/re/jdk1.3/src/solaris/build/solaris/java/java/obj_g/sparc/jni_util.o"
        [35] JNU_GetStringPlatformChars(0x3e6e8, 0xffbecd58, 0x0, 0x4, 0x10, 0x2a4138), at 0xfe6f67ac
      dbx: warning: can't find file "/usr/re/jdk1.3/src/solaris/build/solaris/java/java/obj_g/sparc/io_util.o"
        [36] fileOpen(0x3e6e8, 0xffbecd5c, 0xffbecd58, 0x148fc00b, 0x0, 0x1), at 0xfe6f3724
      dbx: warning: can't find file "/usr/re/jdk1.3/src/solaris/build/solaris/java/java/obj_g/sparc/FileInputStream.o"
        [37] Java_java_io_FileInputStream_open(0x3e6e8, 0xffbecd5c, 0xffbecd58, 0xe, 0xb7, 0x3e650), at 0xfe6e8250
        [38] 0x8a400(0xffbecd5c, 0xb7, 0x4, 0x9a314, 0x0, 0xffbecc78), at 0x8a3ff
        [39] 0x85a38(0xffbecde4, 0xb7, 0xffbece5c, 0x9b340, 0x8, 0xffbeccf8), at 0x85a37
        [40] 0x85a38(0xffbece60, 0xb7, 0x7, 0x9b0c8, 0x8, 0xffbecd80), at 0x85a37
        [41] 0x85a38(0xffbeceec, 0xb6, 0xffbecfa4, 0x9b340, 0x8, 0xffbece00), at 0x85a37
        [42] 0x85858(0xffbecfa4, 0xb6, 0xffbed034, 0x9b0c8, 0x4, 0xffbece80), at 0x85857
        [43] 0x85858(0xffbed03c, 0xb7, 0xffbed0bc, 0x9b0c8, 0x4, 0xffbecf28), at 0x85857
        [44] 0x85858(0xffbed0c4, 0xb8, 0xffbed14c, 0x9b340, 0xc, 0xffbecfd8), at 0x85857
        [45] 0x85858(0xffbed14c, 0x3e650, 0x8, 0x9b5b8, 0xc, 0xffbed058), at 0x85857
        [46] 0xfe520698(0xffbed1e8, 0xffbed430, 0xa, 0xf8c95220, 0x4, 0xffbed0f0), at 0xfe520697
        [47] JavaCalls::call_helper(result = 0xffbed428, m = 0xffbed3e8, args = 0xffbed3f0, __the_thread__ = 0x3e650), line 347 in "javaCalls.cpp"
        [48] os::os_exception_wrapper(f = 0xfdaf8318 = &JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*), value = 0xffbed428, method = 0xffbed3e8, args = 0xffbed3f0, thread = 0x3e650), line 1839 in "os_solaris.cpp"
        [49] JavaCalls::call(result = 0xffbed428, method = CLASS, args = 0xffbed3f0, __the_thread__ = 0x3e650), line 284 in "javaCalls.cpp"
        [50] JVM_DoPrivileged(env = 0x3e6e8, cls = 0xffbed738, action = 0xffbed7bc, context = 0xffbed7b8, wrapException = '\001'), line 748 in "jvm.cpp"
      dbx: warning: can't find file "/usr/re/jdk1.3/src/solaris/build/solaris/java/java/obj_g/sparc/AccessController.o"
        [51] Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedExceptionAction_2Ljava_security_AccessControlContext_2(0x3e6e8, 0xffbed738, 0xffbed7bc, 0xffbed7b8, 0x7c400, 0xffbed640), at 0xfe6e539c
        [52] 0x8a400(0xffbed7bc, 0xf8c952c8, 0x0, 0x9a314, 0x0, 0xffbed6d0), at 0x8a3ff
        [53] 0x85858(0xffbed84c, 0xf6167a10, 0xffbed8dc, 0xa11ac, 0x8, 0xffbed750), at 0x85857
        [54] 0x85858(0xffbed8e4, 0xb7, 0xffbed96c, 0xa0a2c, 0x8, 0xffbed7e0), at 0x85857
        [55] 0x85858(0xffbed974, 0xb6, 0xffbed9f0, 0x9b340, 0xc, 0xffbed878), at 0x85857
        [56] 0x85858(0xffbed9f4, 0xb6, 0xffbeda80, 0x9b0c8, 0xc, 0xffbed910), at 0x85857
        [57] 0x85858(0xffbeda84, 0x3e650, 0x8, 0x9b0c8, 0x8, 0xffbed990), at 0x85857
        [58] 0xfe520698(0xffbedb20, 0xffbede68, 0xa, 0xf8c0d320, 0x8, 0xffbeda20), at 0xfe520697
        [59] JavaCalls::call_helper(result = 0xffbede60, m = 0xffbedce0, args = 0xffbedd8c, __the_thread__ = 0x3e650), line 347 in "javaCalls.cpp"
        [60] os::os_exception_wrapper(f = 0xfdaf8318 = &JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*), value = 0xffbede60, method = 0xffbedce0, args = 0xffbedd8c, thread = 0x3e650), line 1839 in "os_solaris.cpp"
        [61] JavaCalls::call(result = 0xffbede60, method = CLASS, args = 0xffbedd8c, __the_thread__ = 0x3e650), line 284 in "javaCalls.cpp"
        [62] JavaCalls::call_special(result = 0xffbede60, klass = CLASS, name = CLASS, signature = CLASS, args = 0xffbedd8c, __the_thread__ = 0x3e650), line 215 in "javaCalls.cpp"
        [63] JavaCalls::call_special(result = 0xffbede60, receiver = CLASS, klass = CLASS, name = CLASS, signature = CLASS, arg1 = CLASS, __the_thread__ = 0x3e650), line 228 in "javaCalls.cpp"
        [64] SystemDictionary::load_instance_class(class_name = CLASS, class_loader = CLASS, __the_thread__ = 0x3e650), line 610 in "systemDictionary.cpp"
        [65] SystemDictionary::resolve_instance_class_or_null(class_name = CLASS, class_loader = CLASS, protection_domain = CLASS, __the_thread__ = 0x3e650), line 463 in "systemDictionary.cpp"
        [66] SystemDictionary::resolve_or_null(class_name = CLASS, class_loader = CLASS, protection_domain = CLASS, __the_thread__ = 0x3e650), line 327 in "systemDictionary.cpp"
        [67] SystemDictionary::resolve_or_fail(class_name = CLASS, class_loader = CLASS, protection_domain = CLASS, throw_error = 0x1, __the_thread__ = 0x3e650), line 294 in "systemDictionary.cpp"
        [68] find_class_from_class_loader(env = 0x3e6e8, name = CLASS, init = '\001', loader = CLASS, protection_domain = CLASS, throwError = '\001', __the_thread__ = 0x3e650), line 2955 in "jvm.cpp"
        [69] jni_FindClass(env = 0x3e6e8, name = 0x2a3b10 "COM/sun/labs/kanban/DeltaBlue/DeltaBlue"), line 181 in "jni.cpp"
        [70] LoadClass(0x3e6e8, 0xffbeee1c, 0xffbeeba8, 0xffbeebc4, 0xffbeebb0, 0x65727665), at 0x13780
        [71] main(0x4, 0xffbeec3c, 0xffbeec50, 0x25800, 0x0, 0x0), at 0x11f14

            rknippelsunw Ross Knippel (Inactive)
            jmasa Jon Masamitsu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: