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

Netbeans 7.1.1 crashed while selecting a source file Tab

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 7
    • Fix Version/s: None
    • Component/s: hotspot
    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux

      Description

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

      A DESCRIPTION OF THE PROBLEM :
      In Netbeans 7.1.1 I completely deleted a project (by right-clicking on it). After that, I clicked on a Tab of a source file of another project. That's when the application crashed.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0xb5fe682f, pid=5205, tid=2962762608
      #
      # JRE version: 7.0_03-b05
      # Java VM: Java HotSpot(TM) Client VM (22.1-b02 mixed mode, sharing linux-x86 )
      # Problematic frame:
      # J java.lang.System$2.getEnumConstantsShared(Ljava/lang/Class;)[Ljava/lang/Enum;
      #
      # 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 (0xad4d6400): JavaThread "Parsing & Indexing Loop (201203012225)" daemon [_thread_in_Java, id=5240, stack(0xb0782000,0xb0983000)]

      siginfo:si_signo=SIGSEGV: si_errno=0, si_code=128 (), si_addr=0x00000000

      Registers:
      EAX=0x94349668, EBX=0x94349668, ECX=0x63e693c8, EDX=0x63e693c8
      ESP=0xb0980860, EBP=0xb09808ac, ESI=0xb0980884, EDI=0xb5fe6820
      EIP=0xb5fe682f, EFLAGS=0x00210283, CR2=0xb776c100

        Top of Stack: (sp=0xb0980860)
      0xb0980860: 00fdd941 b45e8140 57097338 7cc8f5b8
      0xb0980870: 7cc8f5b8 5886b4f8 b09808ac b5554898
      0xb0980880: b5554898 63e693c8 62a6a310 b098088c
      0xb0980890: 7cc8d054 b09808b4 7cc8d5f0 00000000
      0xb09808a0: 7cc8d060 b0980884 b09808b4 b09808d8
      0xb09808b0: b555431a 63e693c8 b09808b8 7cc8c479
      0xb09808c0: b09808e4 7cc8d5f0 00000000 7cc8c4c8
      0xb09808d0: b09808b4 b09808e4 b0980908 b555431a

      Instructions: (pc=0xb5fe682f)
      0xb5fe680f: 00 90 90 90 90 90 90 90 3b 41 04 0f 85 f0 77 59
      0xb5fe681f: ff 89 84 24 00 d0 ff ff 55 83 ec 18 3b 02 8b ca
      0xb5fe682f: e8 ac b2 0c 00 83 f8 00 0f 84 15 00 00 00 8b 70
      0xb5fe683f: 04 81 7e 28 c0 ee 8b 7b 0f 85 15 00 00 00 e9 00

      Register to memory mapping:

      EAX=0x94349668 is an oop
      {method}
       - klass: {other class}
      EBX=0x94349668 is an oop
      {method}
       - klass: {other class}
      ECX=0x63e693c8 is an oop
      java.lang.Class
       - klass: 'java/lang/Class'
      EDX=0x63e693c8 is an oop
      java.lang.Class
       - klass: 'java/lang/Class'
      ESP=0xb0980860 is pointing into the stack for thread: 0xad4d6400
      EBP=0xb09808ac is pointing into the stack for thread: 0xad4d6400
      ESI=0xb0980884 is pointing into the stack for thread: 0xad4d6400
      EDI=0xb5fe6708 [CodeBlob (0xb5fe6708)]
      Framesize: 8


      Stack: [0xb0782000,0xb0983000], sp=0xb0980860, free space=2042k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      J java.lang.System$2.getEnumConstantsShared(Ljava/lang/Class;)[Ljava/lang/Enum;
      j java.util.EnumSet.noneOf(Ljava/lang/Class;)Ljava/util/EnumSet;+1
      j org.netbeans.api.java.source.TreeUtilities.findNameSpan(Ljava/lang/String;Lcom/sun/source/tree/Tree;[Lorg/netbeans/api/java/lexer/JavaTokenId;)[I+32
      j org.netbeans.api.java.source.TreeUtilities.findNameSpan(Lcom/sun/source/tree/VariableTree;)[I+15
      j org.netbeans.modules.java.editor.semantic.SemanticHighlighter$DetectorVisitor.visitVariable(Lcom/sun/source/tree/VariableTree;Ljava/util/EnumSet;)Ljava/lang/Void;+345
      j org.netbeans.modules.java.editor.semantic.SemanticHighlighter$DetectorVisitor.visitVariable(Lcom/sun/source/tree/VariableTree;Ljava/lang/Object;)Ljava/lang/Object;+6
      j com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(Lcom/sun/source/tree/TreeVisitor;Ljava/lang/Object;)Ljava/lang/Object;+3
      J com.sun.source.util.TreePathScanner.scan(Lcom/sun/source/tree/Tree;Ljava/lang/Object;)Ljava/lang/Object;
      j com.sun.source.util.TreeScanner.visitBlock(Lcom/sun/source/tree/BlockTree;Ljava/lang/Object;)Ljava/lang/Object;+8
      j com.sun.tools.javac.tree.JCTree$JCBlock.accept(Lcom/sun/source/tree/TreeVisitor;Ljava/lang/Object;)Ljava/lang/Object;+3
      J com.sun.source.util.TreePathScanner.scan(Lcom/sun/source/tree/Tree;Ljava/lang/Object;)Ljava/lang/Object;
      j org.netbeans.modules.java.editor.semantic.SemanticHighlighter$DetectorVisitor.visitForLoop(Lcom/sun/source/tree/ForLoopTree;Ljava/util/EnumSet;)Ljava/lang/Void;+56
      j org.netbeans.modules.java.editor.semantic.SemanticHighlighter$DetectorVisitor.visitForLoop(Lcom/sun/source/tree/ForLoopTree;Ljava/lang/Object;)Ljava/lang/Object;+6
      j com.sun.tools.javac.tree.JCTree$JCForLoop.accept(Lcom/sun/source/tree/TreeVisitor;Ljava/lang/Object;)Ljava/lang/Object;+3
      J com.sun.source.util.TreePathScanner.scan(Lcom/sun/source/tree/Tree;Ljava/lang/Object;)Ljava/lang/Object;
      j com.sun.source.util.TreeScanner.visitBlock(Lcom/sun/source/tree/BlockTree;Ljava/lang/Object;)Ljava/lang/Object;+8
      j com.sun.tools.javac.tree.JCTree$JCBlock.accept(Lcom/sun/source/tree/TreeVisitor;Ljava/lang/Object;)Ljava/lang/Object;+3
      J com.sun.source.util.TreePathScanner.scan(Lcom/sun/source/tree/Tree;Ljava/lang/Object;)Ljava/lang/Object;
      j org.netbeans.modules.java.editor.semantic.SemanticHighlighter$DetectorVisitor.visitMethod(Lcom/sun/source/tree/MethodTree;Ljava/lang/Object;)Ljava/lang/Object;+6
      j com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(Lcom/sun/source/tree/TreeVisitor;Ljava/lang/Object;)Ljava/lang/Object;+3
      J com.sun.source.util.TreePathScanner.scan(Lcom/sun/source/tree/Tree;Ljava/lang/Object;)Ljava/lang/Object;
      j org.netbeans.modules.java.editor.semantic.SemanticHighlighter$DetectorVisitor.visitClass(Lcom/sun/source/tree/ClassTree;Ljava/util/EnumSet;)Ljava/lang/Void;+371
      j org.netbeans.modules.java.editor.semantic.SemanticHighlighter$DetectorVisitor.visitClass(Lcom/sun/source/tree/ClassTree;Ljava/lang/Object;)Ljava/lang/Object;+6
      j com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(Lcom/sun/source/tree/TreeVisitor;Ljava/lang/Object;)Ljava/lang/Object;+3
      J com.sun.source.util.TreePathScanner.scan(Lcom/sun/source/tree/Tree;Ljava/lang/Object;)Ljava/lang/Object;
      J com.sun.source.util.TreeScanner.scan(Ljava/lang/Iterable;Ljava/lang/Object;)Ljava/lang/Object;
      j org.netbeans.modules.java.editor.semantic.SemanticHighlighter$DetectorVisitor.visitCompilationUnit(Lcom/sun/source/tree/CompilationUnitTree;Ljava/util/EnumSet;)Ljava/lang/Void;+71
      j org.netbeans.modules.java.editor.semantic.SemanticHighlighter$DetectorVisitor.visitCompilationUnit(Lcom/sun/source/tree/CompilationUnitTree;Ljava/lang/Object;)Ljava/lang/Object;+6
      j com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(Lcom/sun/source/tree/TreeVisitor;Ljava/lang/Object;)Ljava/lang/Object;+3
      J com.sun.source.util.TreePathScanner.scan(Lcom/sun/source/tree/Tree;Ljava/lang/Object;)Ljava/lang/Object;
      j org.netbeans.modules.java.editor.semantic.SemanticHighlighter.process(Lorg/netbeans/api/java/source/CompilationInfo;Ljavax/swing/text/Document;Lorg/netbeans/modules/java/editor/semantic/SemanticHighlighter$ErrorDescriptionSetter;)Z+50
      j org.netbeans.modules.java.editor.semantic.SemanticHighlighter.computeUnusedImports(Lorg/netbeans/api/java/source/CompilationInfo;)Ljava/util/List;+59
      j org.netbeans.modules.java.hints.Imports.unusedImport(Lorg/netbeans/modules/java/hints/jackpot/spi/HintContext;)Ljava/util/List;+8
      v ~StubRoutines::call_stub
      V [libjvm.so+0x261715] JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x315
      V [libjvm.so+0x37b799] os::os_exception_wrapper(void (*)(JavaValue*, methodHandle*, JavaCallArguments*, Thread*), JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x19
      V [libjvm.so+0x26052f] JavaCalls::call(JavaValue*, methodHandle, JavaCallArguments*, Thread*)+0x2f
      V [libjvm.so+0x3b7696] Reflection::invoke(instanceKlassHandle, methodHandle, Handle, bool, objArrayHandle, BasicType, objArrayHandle, bool, Thread*)+0x3c6
      V [libjvm.so+0x3b963a] Reflection::invoke_method(oopDesc*, Handle, objArrayHandle, Thread*)+0x15a
      V [libjvm.so+0x2aedc3] JVM_InvokeMethod+0x233
      C [libjava.so+0x152e2] Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x32
      j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
      j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
      J sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
      j org.netbeans.modules.java.hints.jackpot.impl.hints.HintsInvoker.runHint(Lorg/netbeans/modules/java/hints/jackpot/spi/HintDescription;Lorg/netbeans/modules/java/hints/jackpot/spi/HintContext;)Ljava/util/Collection;+9
      j org.netbeans.modules.java.hints.jackpot.impl.hints.HintsInvoker.access$200(Lorg/netbeans/modules/java/hints/jackpot/impl/hints/HintsInvoker;Lorg/netbeans/modules/java/hints/jackpot/spi/HintDescription;Lorg/netbeans/modules/java/hints/jackpot/spi/HintContext;)Ljava/util/Collection;+3
      j org.netbeans.modules.java.hints.jackpot.impl.hints.HintsInvoker$ScannerImpl.runAndAdd(Lcom/sun/source/util/TreePath;Ljava/util/List;Ljava/util/Map;)V+187
      j org.netbeans.modules.java.hints.jackpot.impl.hints.HintsInvoker$ScannerImpl.scan(Lcom/sun/source/util/TreePath;Ljava/util/Map;)Ljava/lang/Void;+33
      j org.netbeans.modules.java.hints.jackpot.impl.hints.HintsInvoker.computeHintsImpl(Lorg/netbeans/api/java/source/CompilationInfo;Lcom/sun/source/util/TreePath;Ljava/util/Map;Ljava/util/Collection;)Ljava/util/Map;+84
      j org.netbeans.modules.java.hints.jackpot.impl.hints.HintsInvoker.computeHints(Lorg/netbeans/api/java/source/CompilationInfo;Lcom/sun/source/util/TreePath;Ljava/lang/Iterable;Ljava/util/Collection;)Ljava/util/Map;+190
      J org.netbeans.modules.java.hints.jackpot.impl.hints.HintsInvoker.computeHints(Lorg/netbeans/api/java/source/CompilationInfo;Lcom/sun/source/util/TreePath;)Ljava/util/List;
      j org.netbeans.modules.java.hints.jackpot.impl.hints.HintsTask.run(Lorg/netbeans/api/java/source/CompilationInfo;)V+107
      j org.netbeans.modules.java.hints.jackpot.impl.hints.HintsTask.run(Ljava/lang/Object;)V+5
      j org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(Lorg/netbeans/modules/parsing/spi/Parser$Result;Lorg/netbeans/modules/parsing/spi/SchedulerEvent;)V+65
      j org.netbeans.modules.parsing.impl.TaskProcessor.callParserResultTask(Lorg/netbeans/modules/parsing/spi/ParserResultTask;Lorg/netbeans/modules/parsing/spi/Parser$Result;Lorg/netbeans/modules/parsing/spi/SchedulerEvent;)J+73
      j org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run()V+738
      j java.util.concurrent.Executors$RunnableAdapter.call()Ljava/lang/Object;+4
      j java.util.concurrent.FutureTask$Sync.innerRun()V+29
      j java.util.concurrent.FutureTask.run()V+4
      j java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+46
      j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5
      j java.lang.Thread.run()V+11
      v ~StubRoutines::call_stub
      V [libjvm.so+0x261715] JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x315
      V [libjvm.so+0x37b799] os::os_exception_wrapper(void (*)(JavaValue*, methodHandle*, JavaCallArguments*, Thread*), JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x19
      V [libjvm.so+0x26052f] JavaCalls::call(JavaValue*, methodHandle, JavaCallArguments*, Thread*)+0x2f
      V [libjvm.so+0x2618c2] JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*)+0x122
      V [libjvm.so+0x2a53e9] thread_entry(JavaThread*, Thread*)+0xd9
      V [libjvm.so+0x433938] JavaThread::run()+0x178
      V [libjvm.so+0x382351] java_start(Thread*)+0x111
      C [libpthread.so.0+0x6d31] start_thread+0xd1


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

      Java Threads: ( => current thread )
        0xabffc000 JavaThread "Inactive RequestProcessor thread [Was:OpenIDE-request-processor-6/org.netbeans.modules.parsing.spi.Scheduler$1]" daemon [_thread_blocked, id=12335, stack(0xac608000,0xac809000)]
        0x0861a000 JavaThread "Inactive RequestProcessor thread [Was:OpenIDE-request-processor-4/org.netbeans.modules.parsing.spi.Scheduler$1]" daemon [_thread_blocked, id=12334, stack(0xac407000,0xac608000)]
        0xabe94000 JavaThread "Inactive RequestProcessor thread [Was:OpenIDE-request-processor-3/org.netbeans.modules.parsing.spi.Scheduler$1]" daemon [_thread_blocked, id=7107, stack(0xadcf8000,0xadef9000)]
        0xadbf4c00 JavaThread "pool-4-thread-1" [_thread_blocked, id=5246, stack(0xaacfe000,0xaaeff000)]
      =>0xad4d6400 JavaThread "Parsing & Indexing Loop (201203012225)" daemon [_thread_in_Java, id=5240, stack(0xb0782000,0xb0983000)]
        0xadb04800 JavaThread "DestroyJavaVM" [_thread_blocked, id=5206, stack(0xb7551000,0xb7752000)]
        0xaed79c00 JavaThread "TimerQueue" daemon [_thread_blocked, id=5231, stack(0xae2fb000,0xae4fc000)]
        0xaed48400 JavaThread "Worker-JM" [_thread_blocked, id=5230, stack(0xae4fc000,0xae6fd000)]
        0xaed2a400 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=5229, stack(0xae6fd000,0xae8fe000)]
        0xaed00800 JavaThread "Thread-1" daemon [_thread_blocked, id=5227, stack(0xaeaff000,0xaed00000)]
        0xaf3e7c00 JavaThread "File Watcher" [_thread_in_native, id=5226, stack(0xaeefe000,0xaf0ff000)]
        0xafabec00 JavaThread "State Data Manager" daemon [_thread_blocked, id=5224, stack(0xaf4e3000,0xaf6e4000)]
        0xafaa7800 JavaThread "Framework Active Thread" [_thread_blocked, id=5223, stack(0xaf6e4000,0xaf8e5000)]
        0xb0641c00 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=5222, stack(0xafdfc000,0xafffd000)]
        0xb0641000 JavaThread "AWT-Shutdown" [_thread_blocked, id=5221, stack(0xafffd000,0xb01fe000)]
        0xb061f000 JavaThread "AWT-XAWT" daemon [_thread_blocked, id=5220, stack(0xb01fe000,0xb03ff000)]
        0xb060f400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=5219, stack(0xb03ff000,0xb0600000)]
        0xb45ddc00 JavaThread "CLI Requests Server" daemon [_thread_in_native, id=5216, stack(0xb0b84000,0xb0d85000)]
        0xb45a1000 JavaThread "Active Reference Queue Daemon" daemon [_thread_blocked, id=5215, stack(0xb3e7c000,0xb407d000)]
        0xb4532400 JavaThread "RequestProcessor queue manager" daemon [_thread_blocked, id=5214, stack(0xb407d000,0xb427e000)]
        0xb4500c00 JavaThread "Service Thread" daemon [_thread_blocked, id=5212, stack(0xb42ff000,0xb4500000)]
        0x0820e400 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=5211, stack(0xb4601000,0xb4682000)]
        0x0820cc00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5210, stack(0xb4682000,0xb4883000)]
        0x081fec00 JavaThread "Finalizer" daemon [_thread_blocked, id=5209, stack(0xb4ac4000,0xb4cc5000)]
        0x081fa000 JavaThread "Reference Handler" daemon [_thread_blocked, id=5208, stack(0xb4cc5000,0xb4ec6000)]

      Other Threads:
        0x081f8800 VMThread [stack: 0xb4ec6000,0xb4f47000] [id=5207]
        0xb4503400 WatcherThread [stack: 0xb427e000,0xb42ff000] [id=5213]

      VM state:synchronizing (normal execution)

      VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
      [0x081d1130] Safepoint_lock - owner thread: 0x081f8800
      [0x081d1198] Threads_lock - owner thread: 0x081f8800
      [0x081d15a8] Heap_lock - owner thread: 0xb061f000

      Heap
       def new generation total 37120K, used 36077K [0x562b0000, 0x58af0000, 0x62a00000)
        eden space 33024K, 100% used [0x562b0000, 0x582f0000, 0x582f0000)
        from space 4096K, 74% used [0x586f0000, 0x589eb710, 0x58af0000)
        to space 4096K, 0% used [0x582f0000, 0x582f0000, 0x586f0000)
       tenured generation total 82260K, used 55169K [0x62a00000, 0x67a55000, 0x7b8b0000)
         the space 82260K, 67% used [0x62a00000, 0x65fe0738, 0x65fe0800, 0x67a55000)
       compacting perm gen total 50944K, used 50871K [0x7b8b0000, 0x7ea70000, 0x938b0000)
         the space 50944K, 99% used [0x7b8b0000, 0x7ea5dd48, 0x7ea5de00, 0x7ea70000)
          ro space 10240K, 50% used [0x938b0000, 0x93db8d00, 0x93db8e00, 0x942b0000)
          rw space 12288K, 59% used [0x942b0000, 0x949d69b8, 0x949d6a00, 0x94eb0000)

      Code Cache [0xb5551000, 0xb60c9000, 0xb7551000)
       total_blobs=6355 nmethods=6024 adapters=262 free_co


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

        Attachments

          Issue Links

            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: