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

nsk/jvmti/scenarios/hotswap/HS101/hs101t004 - SEGV in InstanceKlass::purge_previous_versions

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Cannot Reproduce
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      os_x

      Description

         Host: XXX, Intel MacPro5,1 3200 MHz, 8 cores, 8G, MacOSX / Mac OS X Unknown, x86_64
         JDK: Java(TM) SE Runtime Environment 1.9.0 b30 (1.9.0-ea-fastdebug-b30)
         VM: Java HotSpot(TM) 64-Bit Server VM 1.9.0 b0 (1.9.0-fastdebug-internal-201409161153.magnusi.jdk9-hs-rt-HOTSPOT)
         Options: -server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -XX:ReservedCodeCacheSize=256M -XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:FlightRecorderOptions=defaultrecording=true,disk=true,dumponexit=true


      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x0000000102a36c03, pid=97712, tid=12291
      #
      # JRE version: Java(TM) SE Runtime Environment (9.0-b30) (build 1.9.0-ea-fastdebug-b30)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.9.0-fastdebug-internal-201409161153.magnusi.jdk9-hs-unsigned short restrict-HOTSPOT mixed mode bsd-amd64 compressed oops)
      # Problematic frame:
      # V [libjvm.dylib+0x436c03] InstanceKlass::purge_previous_versions(InstanceKlass*)+0x485
      #
      # Core dump written. Default location: /cores/core or core.97712
      #
      # If you would like to submit signed char bug report, please visit:
      # http://bugreport.sun.com/bugreport/crash.jsp
      #

      --------------- T H R E A D ---------------

      Current thread (0x00007fbe8d00a000): VMThread [stack: 0x0000000119547000,0x0000000119647000] [id=12291]

      siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000000000;;

      Registers:
      RAX=0x00000007c020c0a0, RBX=0x0000000000000000, RCX=0x0000000000000003, RDX=0x0000000000000000
      RSP=0x0000000119646270, RBP=0x0000000119646410, RSI=0x0000000000000001, RDI=0x00000007c020c0a0
      R8 =0x0000000001000001, R9 =0x0000000001080001, R10=0x0000000000000001, R11=0x000000008bcea6ee
      R12=0x0000000102f690f3, R13=0x00000007c020c0a0, R14=0x00007fbe8d806fd0, R15=0x0000000102f690d0
      RIP=0x0000000102a36c03, EFLAGS=0x0000000000010246, ERR=0x0000000000000004
        TRAPNO=0x000000000000000e

      Top of Stack: (sp=0x0000000119646270)
      0x0000000119646270: 00000007c020c0a0 000000018b603d80
      0x0000000119646280: 00007fbe8d924390 0000000000000001
      0x0000000119646290: 00000007c00f7830 0000000000000000
      0x00000001196462a0: 00000001196462e8 00007fbe8b731340
      0x00000001196462b0: 00000001196462d0 0000000102861871
      0x00000001196462c0: 0000000102cb4790 0000000104104810
      0x00000001196462d0: 00000001196462f0 0000000102cb46b1
      0x00000001196462e0: 0000000102cb4790 0000000116f62610
      0x00000001196462f0: 00000001196463d0 0000000102cf57f9
      0x0000000119646300: 0000000000000000 00000001032d6b50
      0x0000000119646310: 0000000000000000 0000000104104970
      0x0000000119646320: 0000000104104970 0000000104104810
      0x0000000119646330: 0000000104104b50 0000000000000060
      0x0000000119646340: 0000000119646388 00007fbe8b731340
      0x0000000119646350: 0000000119646370 0000000102861871
      0x0000000119646360: 00000001196463a8 00007fbe8b731340
      0x0000000119646370: 0000000119646390 0000000102861871
      0x0000000119646380: 00007fbe8d92c480 00007fbe8b7539e0
      0x0000000119646390: 00000001196463b0 0000000102cb46b1
      0x00000001196463a0: 00007fbe8d92c480 0000000117066b60
      0x00000001196463b0: 000000000556a8f6 0000000102d7ba7e
      0x00000001196463c0: 00000001196463e0 0000000102d7badc
      0x00000001196463d0: 00000007aab547b0 00000001034060e0
      0x00000001196463e0: 0000000119646410 00000001034060e0
      0x00000001196463f0: 0000000102f690f3 00000007c020c0a0
      0x0000000119646400: 00007fbe8d806fd0 0000000102f690d0
      0x0000000119646410: 0000000119646450 0000000102887fef
      0x0000000119646420: 00000001032f8af0 00000001034060e0
      0x0000000119646430: 00000001196465c0 00007fbe8e8c7000
      0x0000000119646440: 0000000000000000 00007fbe8e006c70
      0x0000000119646450: 0000000119646480 0000000102e32940
      0x0000000119646460: 0000000d00000000 00007fbe8da010e0

      Instructions: (pc=0x0000000102a36c03)
      0x0000000102a36be3: fe ff ff 30 c0 e8 3d 9c 2f 00 48 89 df e8 8b 98
      0x0000000102a36bf3: dc ff 48 8b bd 60 fe ff ff 48 8b 9f 90 01 00 00
      0x0000000102a36c03: 44 8b 33 45 85 f6 7e 31 45 31 ff 48 89 df 44 89
      0x0000000102a36c13: fe e8 5f 90 e4 ff 48 83 78 18 00 74 14 48 89 df
      (*****) Only runs on Solaris or Linux
      ;;
      Register to memory mapping:

      RAX=0x00000007c020c0a0 is pointing into metadata
      RBX=0x0000000000000000 is an unknown value
      RCX=0x0000000000000003 is an unknown value
      RDX=0x0000000000000000 is an unknown value
      RSP=0x0000000119646270 is an unknown value
      RBP=0x0000000119646410 is an unknown value
      RSI=0x0000000000000001 is an unknown value
      RDI=0x00000007c020c0a0 is pointing into metadata
      R8 =0x0000000001000001 is an unknown value
      R9 =0x0000000001080001 is an unknown value
      R10=0x0000000000000001 is an unknown value
      R11=0x000000008bcea6ee is an unknown value
      R12=0x0000000102f690f3: _ZN26YieldingFlexibleGangWorkerD1Ev+0x500b3 in /export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/rt_baseline/macosx-amd64//jre/lib/server/libjvm.dylib at 0x0000000102600000
      R13=0x00000007c020c0a0 is pointing into metadata
      R14=0x00007fbe8d806fd0 is an unknown value
      R15=0x0000000102f690d0: _ZN26YieldingFlexibleGangWorkerD1Ev+0x50090 in /export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/rt_baseline/macosx-amd64//jre/lib/server/libjvm.dylib at 0x0000000102600000


      Stack: [0x0000000119547000,0x0000000119647000], sp=0x0000000119646270, free space=1020k
      Native frames: (J=compiled Java code, unsigned int=interpreted, void volatile=VM code, C=native code)
      V [libjvm.dylib+0x436c03] InstanceKlass::purge_previous_versions(InstanceKlass*)+0x485
      V [libjvm.dylib+0x287fef] ClassLoaderDataGraph::do_unloading(BoolObjectClosure*)+0xb1
      V [libjvm.dylib+0x832940] SystemDictionary::do_unloading(BoolObjectClosure*)+0x16
      V [libjvm.dylib+0x78326e] PSParallelCompact::marking_phase(ParCompactionManager*, bool, ParallelOldTracer*)+0x636
      V [libjvm.dylib+0x785d42] PSParallelCompact::invoke_no_policy(bool)+0x550
      V [libjvm.dylib+0x786727] PSParallelCompact::invoke(bool)+0x11d
      V [libjvm.dylib+0x29ac0e] CollectedHeap::collect_as_vm_thread(GCCause::Cause)+0x132
      V [libjvm.dylib+0x8db477] VM_CollectForMetadataAllocation::doit()+0x119
      V [libjvm.dylib+0x8fedea] VM_Operation::evaluate()+0x4a
      V [libjvm.dylib+0x8fc6d5] VMThread::evaluate_operation(VM_Operation*)+0xdb
      V [libjvm.dylib+0x8fcc37] VMThread::loop()+0x3f7
      V [libjvm.dylib+0x8fbf1b] VMThread::run()+0xb5
      V [libjvm.dylib+0x72a9dd] java_start(Thread*)+0x105
      C [libsystem_pthread.dylib+0x1899] _pthread_body+0x8a
      C [libsystem_pthread.dylib+0x172a] _pthread_struct_init+0x0
      C [libsystem_pthread.dylib+0x5fc9] thread_start+0xd

      VM_Operation (0x000000011b83ee88): CollectForMetadataAllocation, mode: safepoint, requested by thread 0x00007fbe8b815800

        Attachments

          Activity

            People

            • Assignee:
              coleenp Coleen Phillimore
              Reporter:
              iklam Ioi Lam
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: