This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Couldn't make profiler to run my app in jdk5, when netbeans itself was in jdk6. It always ended up with complaining of jaxb being 2.1 which jdk6 doesn't support. Finally I made netbeans run in java5 using netbeans_jdkhome="C:\jdk1.5.0_12" in conf file this allows me to start the app, but then i get a native crash: # # An unexpected error has been detected by HotSpot Virtual Machine: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d9c67b0, pid=4268, tid=3900 # # Java VM: Java HotSpot(TM) Server VM (1.5.0_12-b04 mixed mode) # Problematic frame: # V [jvm.dll+0xe67b0] # Profiler Agent: Initializing... Profiler Agent: Options: >C:\Program Files\NetBeans 6.0RC2\profiler2\lib,5140,10< Profiler Agent: Initialized succesfully Profiler Agent: Redefining 100 classes at idx 0, out of total 297 Profiler Agent: Redefining 100 classes at idx 100, out of total 297 Profiler Agent: Redefining 97 classes at idx 200, out of total 297 # An error report file with more information is saved as hs_err_pid4268.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # Java Result: 1 BUILD SUCCESSFUL (total time: 1 minute 8 seconds)
Created attachment 57040 [details] crash dump
please, attach messages.log file and give a description of the parameters used for profiling
From the crash dump it's not obvious that profiler code would have been involved. Without the data I had asked you for we can not proceed with this issue.
Sorry, missed your comment. Will try to reproduce an find the "messages.log" file. Parameters used for debugging - you mean the ant target?
One more failure (while taking a heap dump): Messages from stdout: Dumping heap to C:\temp\dump\heapdump-1219938196045.hprof ... # # An unexpected error has been detected by HotSpot Virtual Machine: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d7b7721, pid=5452, tid=988 # # Java VM: Java HotSpot(TM) Client VM (1.5.0_14-b03 mixed mode) # Problematic frame: # V [jvm.dll+0x77721] # # An error report file with more information is saved as hs_err_pid5452.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # Profiler Agent: Initializing... Profiler Agent: Options: >C:\Program Files\NetBeans 6.1\profiler3\lib,5140,10< Profiler Agent: Initialized succesfully Profiler Agent: Redefining 100 classes at idx 0, out of total 297 Profiler Agent: Redefining 100 classes at idx 100, out of total 297 Profiler Agent: Redefining 97 classes at idx 200, out of total 297 Profiler Agent Warning: Invalid declaringClass obtained from jmethodID Profiler Agent Warning: mId = 0399C929, *mId = 939758015 Profiler Agent Warning: dCl = 039C7B98, *dCl = 924047496 Profiler Agent Warning: Invalid declaringClass obtained from jmethodID Profiler Agent Warning: mId = 039726D9, *mId = 939524096 Profiler Agent Warning: dCl = 03936FA8, *dCl = 917508648 Profiler Agent Warning: Invalid declaringClass obtained from jmethodID Profiler Agent Warning: mId = 0331D9D9, *mId = 939760427 Profiler Agent Warning: dCl = 039F43D0, *dCl = 907970920 Profiler Agent Warning: Invalid declaringClass obtained from jmethodID Profiler Agent Warning: mId = 031C3641, *mId = 245176 Profiler Agent Warning: dCl = 02E67630, *dCl = 924880536 Profiler Agent: Heap dump.. Java Result: 1 Dump: Stack: [0x03450000,0x03490000), sp=0x0348f5c8, free space=253k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [jvm.dll+0x77721] V [jvm.dll+0x77d9d] V [jvm.dll+0xa65a4] C [profilerinterface.dll+0x172a] j org.netbeans.lib.profiler.server.system.HeapDump.takeHeapDump15(Ljava/lang/String;)Ljava/lang/String;+3 j org.netbeans.lib.profiler.server.system.HeapDump.takeHeapDump(ZLjava/lang/String;)Ljava/lang/String;+5 j org.netbeans.lib.profiler.server.ProfilerServer.handleClientCommand(Lorg/netbeans/lib/profiler/wireprotocol/Command;)V+1031 J org.netbeans.lib.profiler.server.ProfilerServer.listenToClient()V v ~OSRAdapter j org.netbeans.lib.profiler.server.ProfilerServer.run()V+22 v ~StubRoutines::call_stub V [jvm.dll+0x875dd] V [jvm.dll+0xdfd96] V [jvm.dll+0x874ae] V [jvm.dll+0x8720b] V [jvm.dll+0xa2089] V [jvm.dll+0x1112e8] V [jvm.dll+0x1112b6] C [MSVCRT.dll+0x2a3b0] C [kernel32.dll+0xb683] Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j org.netbeans.lib.profiler.server.system.HeapDump.takeHeapDump15Native(Ljava/lang/String;)I+0 j org.netbeans.lib.profiler.server.system.HeapDump.takeHeapDump15(Ljava/lang/String;)Ljava/lang/String;+3 j org.netbeans.lib.profiler.server.system.HeapDump.takeHeapDump(ZLjava/lang/String;)Ljava/lang/String;+5 j org.netbeans.lib.profiler.server.ProfilerServer.handleClientCommand(Lorg/netbeans/lib/profiler/wireprotocol/Command;)V+1031 J org.netbeans.lib.profiler.server.ProfilerServer.listenToClient()V v ~OSRAdapter j org.netbeans.lib.profiler.server.ProfilerServer.run()V+22 v ~StubRoutines::call_stub Some sys info: Product Version: NetBeans IDE 6.1 (Build 200805300101) Java: 1.5.0_14; Java HotSpot(TM) Client VM 1.5.0_14-b03 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb) Userdir: C:\Documents and Settings\pyatigil\.netbeans\6.1 Profiler settings: Profiling Type: Memory (Allocations Only) Track Every: 10 instances Record Stack Traces: Yes Limit Stack Depth: Unlimited Run Garbage Collection When Getting Results: Yes What else information can I provide?
Created attachment 68553 [details] messages.log from teh latest run
Seems like my latest crash is the exact same problem as #130812
it's fixed for me with nb 7 version