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

JVMTI: tracing segfaults.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 5.0
    • 5.0
    • hotspot
    • b35
    • generic
    • generic


      I tried to run with jvmti tracing enabled, i.e. -XX:TraceJVMTI=ec

      and the vm fails during startup with the following stack trace:

        ---- called from signal handler with signal 11 (SIGSEGV) ------
        [11] ThreadLocalStorage::thread(), line 23 in "thread_solaris.inline.hpp"
        [12] Thread::current(), line 494 in "thread.hpp"
        [13] ResourceMark::ResourceMark(this = 0xffbfe524), line 85 in "resourceArea.hpp"
        [14] jvmtiTrace_GetVersionNumber(env = 0x32134, version_ptr = 0xfefc0874), line 11549 in "jvmtiEnterTrace.cpp"
        [15] jvmtiVersion(), line 858 in "util.c"
        [16] jvmtiMajorVersion(), line 870 in "util.c"
        [17] Agent_OnLoad(vm = 0xfee3f3cc, options = 0x2f660 "transport=dt_socket,address=8131,server=n,suspend=y", reserved = (nil)), line 175 in "debugInit.c"
        [18] Threads::create_vm_init_agents(), line 2884 in "thread.cpp"
        [19] Threads::create_vm(args = 0xffbfea44), line 2537 in "thread.cpp"
        [20] JNI_CreateJavaVM(vm = 0xffbff318, penv = 0xffbff314, args = 0xffbfea44), line 2380 in "jni.cpp"
        [21] InitializeJVM(0xffbff318, 0xffbff314, 0xffbff2ec, 0x29e88, 0xffbff2f4, 0x400), at 0x13304
        [22] main(0xd, 0xffbff384, 0xffbff3bc, 0x29400, 0x0, 0x0), at 0x113dc

            rfield Robert Field (Inactive)
            sgoldman Steve Goldman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: