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

repeated use of Java, from the cmd line, causes the crash

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Incomplete
    • Affects Version/s: 7
    • Fix Version/s: None
    • Component/s: core-libs

      Description

      FULL PRODUCT VERSION :
      $ java -version
      java version "1.7.0_03"
      Java(TM) SE Runtime Environment (build 1.7.0_03-b04)
      Java HotSpot(TM) 64-Bit Server VM (build 22.1-b02, mixed mode)


      A DESCRIPTION OF THE PROBLEM :
      Ran the ant script. Crashed

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00007fb52c4a6f52, pid=18648, tid=140416169056000
      #
      # JRE version: 7.0_03-b04
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (22.1-b02 mixed mode linux-amd64 compressed oops)
      # Problematic frame:
      # j java.util.concurrent.ConcurrentHashMap$Segment.put(Ljava/lang/Object;ILjava/lang/Object;Z)Ljava/lang/Object;+39
      #
      # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.sun.com/bugreport/crash.jsp
      #

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

      Current thread (0x00007fb528006800): JavaThread "main" [_thread_in_Java, id=18650, stack(0x00007fb52fd09000,0x00007fb52fe0a000)]

      siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x0000000079770230

      Registers:
      RAX=0x0000000079770230, RBX=0x0000000000000010, RCX=0x00000000dafe5bc0, RDX=0xffffffffffffffb7
      RSP=0x00007fb52fe04140, RBP=0x00007fb52fe04180, RSI=0x00007fb52fe040e0, RDI=0x00000000dafe0d70
      R8 =0x00000000e05eb378, R9 =0x0000000000000001, R10=0x00007fb530a9bba0, R11=0x00007fb52fe040c0
      R12=0x0000000000000000, R13=0x00000000dafe19e7, R14=0x00007fb52fe041f0, R15=0x00007fb528006800
      RIP=0x00007fb52c4a6f52, EFLAGS=0x0000000000010202, CSGSFS=0x0000000000000033, ERR=0x0000000000000004
        TRAPNO=0x000000000000000e

        Top of Stack: (sp=0x00007fb52fe04140)
      0x00007fb52fe04140: 00007fb52fe04140 00000000dafe19d7
      0x00007fb52fe04150: 00007fb52fe041f0 00000000dafe5bc0
      0x00007fb52fe04160: 00000000db4505c8 00000000dafe1ac0
      0x00007fb52fe04170: 0000000000000000 00007fb52fe041d0
      0x00007fb52fe04180: 00007fb52fe04238 00007fb52c48e173
      0x00007fb52fe04190: 0000000000000000 00000000fd7701a8
      0x00007fb52fe041a0: 0000000079770230 00000000fd770188
      0x00007fb52fe041b0: 000000000000003b 00000000fd765b50
      0x00007fb52fe041c0: 0000000000000000 0000000000000000
      0x00007fb52fe041d0: 0000000000000001 00000000f640a058
      0x00007fb52fe041e0: 00000000c1a899bb 00000000f6409270
      0x00007fb52fe041f0: 00000000fd765b08 00007fb52fe041f8
      0x00007fb52fe04200: 00000000dafde96d 00007fb52fe04270
      0x00007fb52fe04210: 00000000dafdfe00 00000000db6a25e8
      0x00007fb52fe04220: 00000000dafde980 00007fb52fe041d0
      0x00007fb52fe04230: 00007fb52fe04260 00007fb52fe042b8
      0x00007fb52fe04240: 00007fb52c48e173 000000000000000c
      0x00007fb52fe04250: 00000000c1a899bb 00000000fd765b08
      0x00007fb52fe04260: 00000000f640a058 00000000f6409270
      0x00007fb52fe04270: 00000000fd750508 00007fb52fe04278
      0x00007fb52fe04280: 00000000dae18ef7 00007fb52fe042e0
      0x00007fb52fe04290: 00000000daeac488 00000000db80db08
      0x00007fb52fe042a0: 00000000dae18f10 00007fb52fe04260
      0x00007fb52fe042b0: 00007fb52fe042d8 00007fb52fe04328
      0x00007fb52fe042c0: 00007fb52c48e173 00000000f640a058
      0x00007fb52fe042d0: 00000000fd7504b8 00000000f6409270
      0x00007fb52fe042e0: 00000000fd7504b8 00007fb52fe042e8
      0x00007fb52fe042f0: 00000000dae18d7a 00007fb52fe04380
      0x00007fb52fe04300: 00000000daeac488 00000000db80d790
      0x00007fb52fe04310: 00000000dae18e10 00007fb52fe042d8
      0x00007fb52fe04320: 00007fb52fe04370 00007fb52fe043d8
      0x00007fb52fe04330: 00007fb52c48e173 0000000000000000

      Instructions: (pc=0x00007fb52c4a6f52)
      0x00007fb52c4a6f32: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 58 41
      0x00007fb52c4a6f42: 0f b7 5d 01 48 8b 4d d8 c1 e3 02 48 8b 5c d9 30
      0x00007fb52c4a6f52: 48 3b 00 8b 04 18 41 0f b6 5d 03 49 83 c5 03 49
      0x00007fb52c4a6f62: ba a0 bb a9 30 b5 7f 00 00 41 ff 24 da 90 00 00

      Register to memory mapping:

      RAX=0x0000000079770230 is an unknown value
      RBX=0x0000000000000010 is an unknown value
      RCX=0x00000000dafe5bc0 is an oop
      {constant pool cache}
       - klass: {other class}
      RDX=0xffffffffffffffb7 is an unknown value
      RSP=0x00007fb52fe04140 is pointing into the stack for thread: 0x00007fb528006800
      RBP=0x00007fb52fe04180 is pointing into the stack for thread: 0x00007fb528006800
      RSI=0x00007fb52fe040e0 is pointing into the stack for thread: 0x00007fb528006800
      RDI=0x00000000dafe0d70 is an oop
      {instance class}
       - klass: {other class}
      R8 =0x00000000e05eb378 is an oop
      java.lang.Thread
       - klass: 'java/lang/Thread'
      R9 =0x0000000000000001 is an unknown value
      R10=0x00007fb530a9bba0: <offset 0xc91ba0> in /usr/java/jdk1.7.0_03/jre/lib/amd64/server/libjvm.so at 0x00007fb52fe0a000
      R11=0x00007fb52fe040c0 is pointing into the stack for thread: 0x00007fb528006800
      R12=0x0000000000000000 is an unknown value
      R13=0x00000000dafe19e7 is an oop
      {constMethod}
       - klass: {other class}
       - method: 0x00000000dafe1ac0 {method} 'put' '(Ljava/lang/Object;ILjava/lang/Object;Z)Ljava/lang/Object;' in 'java/util/concurrent/ConcurrentHashMap$Segment'
       - exceptions: 0x00000000dafe1938
      bci_from(0xdafe19e7) = 55; print_codes():
      R14=0x00007fb52fe041f0 is pointing into the stack for thread: 0x00007fb528006800
      R15=0x00007fb528006800 is a thread


      Stack: [0x00007fb52fd09000,0x00007fb52fe0a000], sp=0x00007fb52fe04140, free space=1004k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      j java.util.concurrent.ConcurrentHashMap$Segment.put(Ljava/lang/Object;ILjava/lang/Object;Z)Ljava/lang/Object;+39
      j java.util.concurrent.ConcurrentHashMap.putIfAbsent(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;+77
      j java.lang.ClassLoader.getClassLoadingLock(Ljava/lang/String;)Ljava/lang/Object;+23
      j java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+2
      j java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+38
      j sun.misc.Launcher$AppClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+36
      j java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+38
      j java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;+3
      v ~StubRoutines::call_stub
      V [libjvm.so+0x51a335] JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x355
      V [libjvm.so+0x518e58] JavaCalls::call(JavaValue*, methodHandle, JavaCallArguments*, Thread*)+0x28
      V [libjvm.so+0x5190ec] JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*)+0x17c
      V [libjvm.so+0x5191c6] JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Handle, Thread*)+0x56
      V [libjvm.so+0x7e6679] SystemDictionary::load_instance_class(Symbol*, Handle, Thread*)+0x459
      V [libjvm.so+0x7e6df1] SystemDictionary::resolve_instance_class_or_null(Symbol*, Handle, Handle, Thread*)+0x761
      V [libjvm.so+0x7e73b4] SystemDictionary::resolve_or_fail(Symbol*, Handle, Handle, bool, Thread*)+0x34
      V [libjvm.so+0x56524a] find_class_from_class_loader(JNIEnv_*, Symbol*, unsigned char, Handle, Handle, unsigned char, Thread*)+0x3a
      V [libjvm.so+0x569319] JVM_FindClassFromClass+0x259
      C [libverify.so+0x4652] load_class_global+0x32
      C [libverify.so+0x4710] object_fullinfo_to_classclass+0x40
      C [libverify.so+0x59d7] merge_fullinfo_types+0x227
      C [libverify.so+0x5da5] isAssignableTo+0x15
      C [libverify.so+0x738c] pop_stack+0x81c
      C [libverify.so+0x8199] run_dataflow+0x209
      C [libverify.so+0xa95b] verify_method+0xc3b
      C [libverify.so+0xc1e1] VerifyClassForMajorVersion+0x7a1
      V [libjvm.so+0x842101] Verifier::inference_verify(instanceKlassHandle, char*, unsigned long, Thread*)+0x151
      V [libjvm.so+0x84a8b1] Verifier::verify(instanceKlassHandle, Verifier::Mode, bool, Thread*)+0x4d1
      V [libjvm.so+0x4dc528] instanceKlass::link_class_impl(instanceKlassHandle, bool, Thread*)+0x518
      V [libjvm.so+0x4e12f8] instanceKlass::initialize_impl(instanceKlassHandle, Thread*)+0x88
      V [libjvm.so+0x4e18ea] instanceKlass::initialize(Thread*)+0x6a
      V [libjvm.so+0x511f13] InterpreterRuntime::_new(JavaThread*, constantPoolOopDesc*, int)+0x143
      j net.sf.saxon.expr.ExpressionParser.parseStepExpression()Lnet/sf/saxon/expr/Expression;+63
      j net.sf.saxon.expr.ExpressionParser.parseRelativePath()Lnet/sf/saxon/expr/Expression;+41
      j net.sf.saxon.expr.ExpressionParser.parsePathExpression()Lnet/sf/saxon/expr/Expression;+128
      j net.sf.saxon.expr.ExpressionParser.parseUnaryExpression()Lnet/sf/saxon/expr/Expression;+144
      j net.sf.saxon.expr.ExpressionParser.parseCastExpression()Lnet/sf/saxon/expr/Expression;+1
      j net.sf.saxon.expr.ExpressionParser.parseCastableExpression()Lnet/sf/saxon/expr/Expression;+1
      j net.sf.saxon.expr.ExpressionParser.parseTreatExpression()Lnet/sf/saxon/expr/Expression;+1
      j net.sf.saxon.expr.ExpressionParser.parseInstanceOfExpression()Lnet/sf/saxon/expr/Expression;+1
      j net.sf.saxon.expr.ExpressionParser.parseIntersectExpression()Lnet/sf/saxon/expr/Expression;+1
      j net.sf.saxon.expr.ExpressionParser.parseUnionExpression()Lnet/sf/saxon/expr/Expression;+1
      j net.sf.saxon.expr.ExpressionParser.parseMultiplicativeExpression()Lnet/sf/saxon/expr/Expression;+1
      j net.sf.saxon.expr.ExpressionParser.parseAdditiveExpression()Lnet/sf/saxon/expr/Expression;+1
      j net.sf.saxon.expr.ExpressionParser.parseRangeExpression()Lnet/sf/saxon/expr/Expression;+1
      j net.sf.saxon.expr.ExpressionParser.parseComparisonExpression()Lnet/sf/saxon/expr/Expression;+1
      j net.sf.saxon.expr.ExpressionParser.parseAndExpression()Lnet/sf/saxon/expr/Expression;+1
      j net.sf.saxon.expr.ExpressionParser.parseOrExpression()Lnet/sf/saxon/expr/Expression;+1
      j net.sf.saxon.expr.ExpressionParser.parseExprSingle()Lnet/sf/saxon/expr/Expression;+127
      j net.sf.saxon.expr.ExpressionParser.parseExpression()Lnet/sf/saxon/expr/Expression;+1
      j net.sf.saxon.expr.ExpressionParser.parse(Ljava/lang/String;IIILnet/sf/saxon/expr/StaticContext;)Lnet/sf/saxon/expr/Expression;+58
      j net.sf.saxon.expr.ExpressionTool.make(Ljava/lang/String;Lnet/sf/saxon/expr/StaticContext;IIIZ)Lnet/sf/saxon/expr/Expression;+31
      j net.sf.saxon.style.StyleElement.makeExpression(Ljava/lang/String;)Lnet/sf/saxon/expr/Expression;+18
      j net.sf.saxon.style.XSLApplyTemplates.prepareAttributes()V+226
      j net.sf.saxon.style.StyleElement.processAttributes()V+1
      j net.sf.saxon.style.StyleElement.processAllAttributes()V+26
      j net.sf.saxon.style.StyleElement.processAllAttributes()V+61
      j net.sf.saxon.style.StyleElement.processAllAttributes()V+61
      j net.sf.saxon.style.StyleElement.processAllAttributes()V+61
      j net.sf.saxon.style.StyleElement.processAllAttributes()V+61
      j net.sf.saxon.style.XSLStylesheet.processAllAttributes()V+55
      j net.sf.saxon.style.XSLStylesheet.preprocess()V+9
      j net.sf.saxon.PreparedStylesheet.setStylesheetDocument(Lnet/sf/saxon/tree/DocumentImpl;Lnet/sf/saxon/style/StyleNodeFactory;)V+140
      j net.sf.saxon.PreparedStylesheet.prepare(Ljavax/xml/transform/Source;)V+35
      j net.sf.saxon.TransformerFactoryImpl.newTemplates(Ljavax/xml/transform/Source;)Ljavax/xml/transform/Templates;+56
      j org.apache.tools.ant.taskdefs.optional.TraXLiaison.readTemplates()V+44
      j org.apache.tools.ant.taskdefs.optional.TraXLiaison.createTransformer()V+8
      j org.apache.tools.ant.taskdefs.optional.TraXLiaison.transform(Ljava/io/File;Ljava/io/File;)V+8
      j org.apache.tools.ant.taskdefs.XSLTProcess.process(Ljava/io/File;Ljava/lang/String;Ljava/io/File;Lorg/apache/tools/ant/types/Resource;)V+305
      j org.apache.tools.ant.taskdefs.XSLTProcess.execute()V+496
      j org.apache.tools.ant.UnknownElement.execute()V+58
      j sun.reflect.GeneratedMethodAccessor6.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+36
      j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
      j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+57
      j org.apache.tools.ant.dispatch.DispatchUtils.execute(Ljava/lang/Object;)V+518
      j org.apache.tools.ant.Task.perform()V+22
      j org.apache.tools.ant.Target.execute()V+155
      j org.apache.tools.ant.Target.performTasks()V+11
      j org.apache.tools.ant.Project.executeSortedTargets(Ljava/util/Vector;)V+145
      j org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(Lorg/apache/tools/ant/Project;[Ljava/lang/String;)V+11
      j org.apache.tools.ant.Project.executeTargets(Ljava/util/Vector;)V+29
      j org.apache.tools.ant.taskdefs.Ant.execute()V+684
      j org.apache.tools.ant.taskdefs.CallTarget.execute()V+74
      j org.apache.tools.ant.UnknownElement.execute()V+58
      j sun.reflect.GeneratedMethodAccessor6.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+36
      j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
      j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+57
      j org.apache.tools.ant.dispatch.DispatchUtils.execute(Ljava/lang/Object;)V+518
      j org.apache.tools.ant.Task.perform()V+22
      j org.apache.tools.ant.Target.execute()V+155
      j org.apache.tools.ant.Target.performTasks()V+11
      j org.apache.tools.ant.Project.executeSortedTargets(Ljava/util/Vector;)V+145
      j org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(Lorg/apache/tools/ant/Project;[Ljava/lang/String;)V+11
      j org.apache.tools.ant.Project.executeTargets(Ljava/util/Vector;)V+29
      j org.apache.tools.ant.taskdefs.Ant.execute()V+684
      j org.apache.tools.ant.UnknownElement.execute()V+58
      v ~StubRoutines::call_stub
      V [libjvm.so+0x51a335] JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x355
      V [libjvm.so+0x518e58] JavaCalls::call(JavaValue*, methodHandle, JavaCallArguments*, Thread*)+0x28
      V [libjvm.so+0x76b9a5] Reflection::invoke(instanceKlassHandle, methodHandle, Handle, bool, objArrayHandle, BasicType, objArrayHandle, bool, Thread*)+0x455
      ...<more frames>...


      --------------- P R O C E S S ---------------

      Java Threads: ( => current thread )
        0x00007fb5280e4800 JavaThread "Service Thread" daemon [_thread_blocked, id=18659, stack(0x00007fb527336000,0x00007fb527437000)]
        0x00007fb5280e2000 JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=18658, stack(0x00007fb527437000,0x00007fb527538000)]
        0x00007fb5280df000 JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=18657, stack(0x00007fb527538000,0x00007fb527639000)]
        0x00007fb5280dd000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=18656, stack(0x00007fb527639000,0x00007fb52773a000)]
        0x00007fb528090800 JavaThread "Finalizer" daemon [_thread_blocked, id=18655, stack(0x00007fb52773a000,0x00007fb52783b000)]
        0x00007fb52808e800 JavaThread "Reference Handler" daemon [_thread_blocked, id=18654, stack(0x00007fb52783b000,0x00007fb52793c000)]
      =>0x00007fb528006800 JavaThread "main" [_thread_in_Java, id=18650, stack(0x00007fb52fd09000,0x00007fb52fe0a000)]

      Other Threads:
        0x00007fb528086800 VMThread [stack: 0x00007fb52793c000,0x00007fb527a3d000] [id=18653]
        0x00007fb5280ef000 WatcherThread [stack: 0x00007fb527235000,0x00007fb527336000] [id=18660]

      VM state:not at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: None

      Heap
       PSYoungGen total 133056K, used 20455K [0x00000000f5560000, 0x00000000fdc80000, 0x0000000100000000)
        eden space 127744K, 11% used [0x00000000f5560000,0x00000000f6431ea8,0x00000000fd220000)
        from space 5312K, 99% used [0x00000000fd750000,0x00000000fdc78030,0x00000000fdc80000)
        to space 5312K, 0% used [0x00000000fd220000,0x00000000fd220000,0x00000000fd750000)
       PSOldGen total 85248K, used 19522K [0x00000000e0000000, 0x00000000e5340000, 0x00000000f5560000)
        object space 85248K, 22% used [0x00000000e0000000,0x00000000e1310ba0,0x00000000e5340000)
       PSPermGen total 21248K, used 14988K [0x00000000dae00000, 0x00000000dc2c0000, 0x00000000e0000000)
        object space 21248K, 70% used [0x00000000dae00000,0x00000000dbca3300,0x00000000dc2c0000)

      Code Cache [0x00007fb52c488000, 0x00007fb52c6f8000, 0x00007fb52f488000)
       total_blobs=707 nmethods=422 adapters=238 free_code_cache=47372Kb largest_free_block=48432128

      Dy


      ( This report has more than 16,000 characters and has been truncated. )

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: