[ 
https://issues.apache.org/jira/browse/NETBEANS-1428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16699169#comment-16699169
 ] 

Eirik Bakke commented on NETBEANS-1428:
---------------------------------------

(Also sent this comment as a reply to the mailing list; including here for 
those looking at the JIRA issue:)
I tested the new DLL--it works!!

Here's what I did:
1) Start a Java profiling session via the "-agentpath" JVM argument and 
invoking "Attach to External Process". Shortly thereafter the JVM crashes with 
the "SUREFIRE-859: #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at 
pc=0x000000005f131f25, pid=10112, tid=23396" error (and a long JVM dump).
2) Download Peter Hull's recompiled profiler binaries from 
https://github.com/pedro-w/incubator-netbeans/releases/tag/v0.1-alpha , and 
paste the two files (profilerinterface.dll and profilerinterface.map) into 
NetBeans\profiler\lib\deployed\jdk16\windows-amd64 (overwriting the two 
existing files).
3) Repeat (1) again. No crash this time, everything works fine!

This is great. Very happy that the profiler functionality will be working 
again, for newer JDKs. Thanks, Peter!


> Fatal error when profiling
> --------------------------
>
>                 Key: NETBEANS-1428
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1428
>             Project: NetBeans
>          Issue Type: Bug
>          Components: profiler - Base
>    Affects Versions: 9.0, 10.0
>         Environment: Windows 10, JDK11 (OpenJDK 11.0+28)
>            Reporter: Peter Hull
>            Priority: Major
>              Labels: netcat
>         Attachments: hs_err_pid38528.log
>
>
> Attempting to profile a Java freeform project (Netcat 10, Profiling FreeForm, 
> Step 2)
> I get the following error
> {{#}}
> {{# A fatal error has been detected by the Java Runtime Environment:}}
> {{#}}
> {{#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ff8e831c775, 
> pid=38528, tid=38596}}
> {{#}}
> {{# JRE version: OpenJDK Runtime Environment (11.0+28) (build 11+28)}}
> {{# Java VM: OpenJDK 64-Bit Server VM (11+28, mixed mode, tiered, compressed 
> oops, g1 gc, windows-amd64)}}
> {{# Problematic frame:}}
> {{# V  [jvm.dll+0x5ec775]}}
> {{#}}
> {{# No core dump will be written. Minidumps are not enabled by default on 
> client versions of Windows}}
> {{#}}
> {{# An error report file with more information is saved as:}}
> {{# D:\Libraries\Downloads\TS_Profiler_freeform\freeform\hs_err_pid38528.log}}
> {{#}}
> {{# If you would like to submit a bug report, please visit:}}
> {{#   http://bugreport.java.com/bugreport/crash.jsp}}
> {{#}}
> Seems reproducible, I have attached the crash log.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to