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.
profiler 061107 I tried to attach to an swing application several times and always it ends after a few seconds of profiling by java error. Both ide and application run on jdk 1.6. b104, linux i586. Application's log: # # An unexpected error has been detected by Java Runtime Environment: # # Internal Error (53484152454432554E54494D450E435050020F), pid=14600, tid=3041770400 # # Java VM: Java HotSpot(TM) Client VM (1.6.0-rc-b104 mixed mode, sharing) # An error report file with more information is saved as hs_err_pid14600.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # Aborted
Created attachment 35832 [details] error log
It was memory liveness profiling, including allocation stacktraces.
When I tried CPU profiling, all classes it always crashes during instrumentation. The application's log shows there are about 1800 classes redefined.
This looks to me like JDK bug. I will investigate.
I do not know if it is the same issue - always after detach with terminate application from dynamically attached j2se application (AnagramGame) profiled with jdk 1.6 (memory liveness profiling) a java error occurs: # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x01010101, pid=4467, tid=3043269536 # # Java VM: Java HotSpot(TM) Client VM (1.6.0-rc-b104 mixed mode, sharing) # Problematic frame: # C 0x01010101 #
This looks different to me. Please create new bug and attach VM crash dump.
Entered as JDK bug #6497639. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6497639
verified
*** Issue 98673 has been marked as a duplicate of this issue. ***
Running profiled application with -Xshare:off seems to work-around this issue.
*** Issue 119987 has been marked as a duplicate of this issue. ***